From 0eccae9670d824c42962604b0773cb2dd30c2036 Mon Sep 17 00:00:00 2001 From: Tiago Costa Date: Mon, 11 Oct 2021 13:10:52 +0100 Subject: [PATCH 001/107] skip failing es promotion suites (#114471) --- x-pack/test/api_integration/apis/maps/get_tile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/test/api_integration/apis/maps/get_tile.js b/x-pack/test/api_integration/apis/maps/get_tile.js index 03a16175931a5..b153cc1ff030c 100644 --- a/x-pack/test/api_integration/apis/maps/get_tile.js +++ b/x-pack/test/api_integration/apis/maps/get_tile.js @@ -13,7 +13,8 @@ import { MVT_SOURCE_LAYER_NAME } from '../../../../plugins/maps/common/constants export default function ({ getService }) { const supertest = getService('supertest'); - describe('getTile', () => { + // FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/114471 + describe.skip('getTile', () => { it('should return vector tile containing document', async () => { const resp = await supertest .get( From e1443521c85961e4ec46e12e44f476a823e4a084 Mon Sep 17 00:00:00 2001 From: Tiago Costa Date: Mon, 11 Oct 2021 13:25:40 +0100 Subject: [PATCH 002/107] skip flaky suites (#114417) --- x-pack/test/api_integration/apis/maps/get_tile.js | 1 + 1 file changed, 1 insertion(+) diff --git a/x-pack/test/api_integration/apis/maps/get_tile.js b/x-pack/test/api_integration/apis/maps/get_tile.js index b153cc1ff030c..cacd7326d842a 100644 --- a/x-pack/test/api_integration/apis/maps/get_tile.js +++ b/x-pack/test/api_integration/apis/maps/get_tile.js @@ -14,6 +14,7 @@ export default function ({ getService }) { const supertest = getService('supertest'); // FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/114471 + // FLAKY: https://github.com/elastic/kibana/issues/114417 describe.skip('getTile', () => { it('should return vector tile containing document', async () => { const resp = await supertest From d780173fba44018f5e6410289c940d57fb7c1520 Mon Sep 17 00:00:00 2001 From: Tiago Costa Date: Mon, 11 Oct 2021 13:37:04 +0100 Subject: [PATCH 003/107] skip flaky suites (#100951) --- .../__jest__/client_integration/follower_indices_list.test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/follower_indices_list.test.js b/x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/follower_indices_list.test.js index b9e47b029e302..bcd4aaf82eeb3 100644 --- a/x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/follower_indices_list.test.js +++ b/x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/follower_indices_list.test.js @@ -314,7 +314,8 @@ describe('', () => { }); }); - describe('detail panel', () => { + // FLAKY: https://github.com/elastic/kibana/issues/100951 + describe.skip('detail panel', () => { test('should open a detail panel when clicking on a follower index', async () => { expect(exists('followerIndexDetail')).toBe(false); From 60cf849ac7c9e5e8d85b30533dc20babe813ff99 Mon Sep 17 00:00:00 2001 From: Tiago Costa Date: Mon, 11 Oct 2021 13:44:50 +0100 Subject: [PATCH 004/107] skip flaky suites (#114418) --- .../functional/apps/maps/documents_source/docvalue_fields.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/test/functional/apps/maps/documents_source/docvalue_fields.js b/x-pack/test/functional/apps/maps/documents_source/docvalue_fields.js index 70b2b3c383cf9..c5fd1534bbbcb 100644 --- a/x-pack/test/functional/apps/maps/documents_source/docvalue_fields.js +++ b/x-pack/test/functional/apps/maps/documents_source/docvalue_fields.js @@ -11,7 +11,8 @@ export default function ({ getPageObjects, getService }) { const PageObjects = getPageObjects(['maps']); const security = getService('security'); - describe('docvalue_fields', () => { + // FLAKY: https://github.com/elastic/kibana/issues/114418 + describe.skip('docvalue_fields', () => { before(async () => { await security.testUser.setRoles(['global_maps_read', 'test_logstash_reader'], false); await PageObjects.maps.loadSavedMap('document example'); From e7bec3091d7b3349bece3f797d5fdcaa47239bca Mon Sep 17 00:00:00 2001 From: Tiago Costa Date: Mon, 11 Oct 2021 13:50:27 +0100 Subject: [PATCH 005/107] skip flaky suite (#106053) --- .../test/functional/apps/ml/anomaly_detection/custom_urls.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/test/functional/apps/ml/anomaly_detection/custom_urls.ts b/x-pack/test/functional/apps/ml/anomaly_detection/custom_urls.ts index 0dcb767309608..7d4df75ccdcf7 100644 --- a/x-pack/test/functional/apps/ml/anomaly_detection/custom_urls.ts +++ b/x-pack/test/functional/apps/ml/anomaly_detection/custom_urls.ts @@ -81,7 +81,8 @@ export default function ({ getService }: FtrProviderContext) { const ml = getService('ml'); const browser = getService('browser'); - describe('custom urls', function () { + // FLAKY: https://github.com/elastic/kibana/issues/106053 + describe.skip('custom urls', function () { this.tags(['mlqa']); before(async () => { await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/ml/farequote'); From e190acd1cf0c86a23e6dd4236b84e9d1a84de1ba Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 11 Oct 2021 09:00:10 -0400 Subject: [PATCH 006/107] [Visualize] unskip the reporting funtional test (#114094) (#114461) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Stratoula Kalafateli --- x-pack/test/functional/apps/visualize/reporting.ts | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/x-pack/test/functional/apps/visualize/reporting.ts b/x-pack/test/functional/apps/visualize/reporting.ts index efffa0b6a692b..07ce3d9b23128 100644 --- a/x-pack/test/functional/apps/visualize/reporting.ts +++ b/x-pack/test/functional/apps/visualize/reporting.ts @@ -25,13 +25,16 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { 'visEditor', ]); - // Failing: See https://github.com/elastic/kibana/issues/113496 - describe.skip('Visualize Reporting Screenshots', () => { + describe('Visualize Reporting Screenshots', () => { before('initialize tests', async () => { log.debug('ReportingPage:initTests'); await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/reporting/ecommerce'); await kibanaServer.importExport.load(ecommerceSOPath); await browser.setWindowSize(1600, 850); + await kibanaServer.uiSettings.replace({ + 'timepicker:timeDefaults': + '{ "from": "2019-04-27T23:56:51.374Z", "to": "2019-08-23T16:18:51.821Z"}', + }); }); after('clean up archives', async () => { await esArchiver.unload('x-pack/test/functional/es_archives/reporting/ecommerce'); @@ -41,6 +44,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { refresh: true, body: { query: { match_all: {} } }, }); + await kibanaServer.uiSettings.unset('timepicker:timeDefaults'); }); describe('Print PDF button', () => { @@ -54,11 +58,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); it('becomes available when saved', async () => { - await PageObjects.timePicker.timePickerExists(); - const fromTime = 'Apr 27, 2019 @ 23:56:51.374'; - const toTime = 'Aug 23, 2019 @ 16:18:51.821'; - await PageObjects.timePicker.setAbsoluteRange(fromTime, toTime); - await PageObjects.visEditor.clickBucket('X-axis'); await PageObjects.visEditor.selectAggregation('Date Histogram'); await PageObjects.visEditor.clickGo(); From c4ddd03f953cca3712c93bfdbfd8942810343ec6 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 11 Oct 2021 11:10:26 -0400 Subject: [PATCH 007/107] Status service: improve overall status summary (#114228) (#114453) * improve getSummaryStatus * fix unit tests Co-authored-by: Pierre Gayvallet --- .../server/status/get_summary_status.test.ts | 153 +++++++++--------- src/core/server/status/get_summary_status.ts | 40 +++-- src/core/server/status/plugins_status.test.ts | 32 ++-- src/core/server/status/status_service.test.ts | 26 +-- 4 files changed, 127 insertions(+), 124 deletions(-) diff --git a/src/core/server/status/get_summary_status.test.ts b/src/core/server/status/get_summary_status.test.ts index 33b2e6f7913a1..2c91aa8c7b16a 100644 --- a/src/core/server/status/get_summary_status.test.ts +++ b/src/core/server/status/get_summary_status.test.ts @@ -81,93 +81,86 @@ describe('getSummaryStatus', () => { }); describe('summary', () => { - describe('when a single service is at highest level', () => { - it('returns all information about that single service', () => { - expect( - getSummaryStatus( - Object.entries({ - s1: degraded, - s2: { - level: ServiceStatusLevels.unavailable, - summary: 'Lorem ipsum', - meta: { - custom: { data: 'here' }, - }, + it('returns correct summary when a single service is affected', () => { + expect( + getSummaryStatus( + Object.entries({ + s1: degraded, + s2: { + level: ServiceStatusLevels.unavailable, + summary: 'Lorem ipsum', + meta: { + custom: { data: 'here' }, }, - }) - ) - ).toEqual({ - level: ServiceStatusLevels.unavailable, - summary: '[s2]: Lorem ipsum', - detail: 'See the status page for more information', - meta: { - affectedServices: ['s2'], - }, - }); + }, + }) + ) + ).toEqual({ + level: ServiceStatusLevels.unavailable, + summary: '1 service is unavailable: s2', + detail: 'See the status page for more information', + meta: { + affectedServices: ['s2'], + }, }); + }); - it('allows the single service to override the detail and documentationUrl fields', () => { - expect( - getSummaryStatus( - Object.entries({ - s1: degraded, - s2: { - level: ServiceStatusLevels.unavailable, - summary: 'Lorem ipsum', - detail: 'Vivamus pulvinar sem ac luctus ultrices.', - documentationUrl: 'http://helpmenow.com/problem1', - meta: { - custom: { data: 'here' }, - }, + it('returns correct summary when multiple services are affected', () => { + expect( + getSummaryStatus( + Object.entries({ + s1: degraded, + s2: { + level: ServiceStatusLevels.unavailable, + summary: 'Lorem ipsum', + detail: 'Vivamus pulvinar sem ac luctus ultrices.', + documentationUrl: 'http://helpmenow.com/problem1', + meta: { + custom: { data: 'here' }, + }, + }, + s3: { + level: ServiceStatusLevels.unavailable, + summary: 'Proin mattis', + detail: 'Nunc quis nulla at mi lobortis pretium.', + documentationUrl: 'http://helpmenow.com/problem2', + meta: { + other: { data: 'over there' }, }, - }) - ) - ).toEqual({ - level: ServiceStatusLevels.unavailable, - summary: '[s2]: Lorem ipsum', - detail: 'Vivamus pulvinar sem ac luctus ultrices.', - documentationUrl: 'http://helpmenow.com/problem1', - meta: { - affectedServices: ['s2'], - }, - }); + }, + }) + ) + ).toEqual({ + level: ServiceStatusLevels.unavailable, + summary: '2 services are unavailable: s2, s3', + detail: 'See the status page for more information', + meta: { + affectedServices: ['s2', 's3'], + }, }); }); - describe('when multiple services is at highest level', () => { - it('returns aggregated information about the affected services', () => { - expect( - getSummaryStatus( - Object.entries({ - s1: degraded, - s2: { - level: ServiceStatusLevels.unavailable, - summary: 'Lorem ipsum', - detail: 'Vivamus pulvinar sem ac luctus ultrices.', - documentationUrl: 'http://helpmenow.com/problem1', - meta: { - custom: { data: 'here' }, - }, - }, - s3: { - level: ServiceStatusLevels.unavailable, - summary: 'Proin mattis', - detail: 'Nunc quis nulla at mi lobortis pretium.', - documentationUrl: 'http://helpmenow.com/problem2', - meta: { - other: { data: 'over there' }, - }, - }, - }) - ) - ).toEqual({ - level: ServiceStatusLevels.unavailable, - summary: '[2] services are unavailable', - detail: 'See the status page for more information', - meta: { - affectedServices: ['s2', 's3'], - }, - }); + it('returns correct summary more than `maxServices` services are affected', () => { + expect( + getSummaryStatus( + Object.entries({ + s1: degraded, + s2: available, + s3: degraded, + s4: degraded, + s5: degraded, + s6: available, + s7: degraded, + }), + { maxServices: 3 } + ) + ).toEqual({ + level: ServiceStatusLevels.degraded, + summary: '5 services are degraded: s1, s3, s4 and 2 other(s)', + detail: 'See the status page for more information', + meta: { + affectedServices: ['s1', 's3', 's4', 's5', 's7'], + }, }); }); }); diff --git a/src/core/server/status/get_summary_status.ts b/src/core/server/status/get_summary_status.ts index 9124023148dd1..1dc939ce3f80c 100644 --- a/src/core/server/status/get_summary_status.ts +++ b/src/core/server/status/get_summary_status.ts @@ -10,11 +10,13 @@ import { ServiceStatus, ServiceStatusLevels, ServiceStatusLevel } from './types' /** * Returns a single {@link ServiceStatus} that summarizes the most severe status level from a group of statuses. - * @param statuses */ export const getSummaryStatus = ( statuses: Array<[string, ServiceStatus]>, - { allAvailableSummary = `All services are available` }: { allAvailableSummary?: string } = {} + { + allAvailableSummary = `All services are available`, + maxServices = 3, + }: { allAvailableSummary?: string; maxServices?: number } = {} ): ServiceStatus => { const { highestLevel, highestStatuses } = highestLevelSummary(statuses); @@ -23,30 +25,38 @@ export const getSummaryStatus = ( level: ServiceStatusLevels.available, summary: allAvailableSummary, }; - } else if (highestStatuses.length === 1) { - const [serviceName, status] = highestStatuses[0]! as [string, ServiceStatus]; - return { - ...status, - summary: `[${serviceName}]: ${status.summary!}`, - // TODO: include URL to status page - detail: status.detail ?? `See the status page for more information`, - meta: { - affectedServices: [serviceName], - }, - }; } else { + const affectedServices = highestStatuses.map(([serviceName]) => serviceName); return { level: highestLevel, - summary: `[${highestStatuses.length}] services are ${highestLevel.toString()}`, + summary: getSummaryContent(affectedServices, highestLevel, maxServices), // TODO: include URL to status page detail: `See the status page for more information`, meta: { - affectedServices: highestStatuses.map(([serviceName]) => serviceName), + affectedServices, }, }; } }; +const getSummaryContent = ( + affectedServices: string[], + statusLevel: ServiceStatusLevel, + maxServices: number +): string => { + const serviceCount = affectedServices.length; + if (serviceCount === 1) { + return `1 service is ${statusLevel.toString()}: ${affectedServices[0]}`; + } else if (serviceCount > maxServices) { + const exceedingCount = serviceCount - maxServices; + return `${serviceCount} services are ${statusLevel.toString()}: ${affectedServices + .slice(0, maxServices) + .join(', ')} and ${exceedingCount} other(s)`; + } else { + return `${serviceCount} services are ${statusLevel.toString()}: ${affectedServices.join(', ')}`; + } +}; + type StatusPair = [string, ServiceStatus]; const highestLevelSummary = ( diff --git a/src/core/server/status/plugins_status.test.ts b/src/core/server/status/plugins_status.test.ts index b7c0733de728e..0befbf63bd186 100644 --- a/src/core/server/status/plugins_status.test.ts +++ b/src/core/server/status/plugins_status.test.ts @@ -73,7 +73,7 @@ describe('PluginStatusService', () => { }); expect(await serviceDegraded.getDerivedStatus$('a').pipe(first()).toPromise()).toEqual({ level: ServiceStatusLevels.degraded, - summary: '[savedObjects]: savedObjects degraded', + summary: '1 service is degraded: savedObjects', detail: 'See the status page for more information', meta: expect.any(Object), }); @@ -84,7 +84,7 @@ describe('PluginStatusService', () => { }); expect(await serviceCritical.getDerivedStatus$('a').pipe(first()).toPromise()).toEqual({ level: ServiceStatusLevels.critical, - summary: '[elasticsearch]: elasticsearch critical', + summary: '1 service is critical: elasticsearch', detail: 'See the status page for more information', meta: expect.any(Object), }); @@ -95,7 +95,7 @@ describe('PluginStatusService', () => { service.set('a', of({ level: ServiceStatusLevels.degraded, summary: 'a is degraded' })); expect(await service.getDerivedStatus$('b').pipe(first()).toPromise()).toEqual({ level: ServiceStatusLevels.degraded, - summary: '[2] services are degraded', + summary: '2 services are degraded: savedObjects, a', detail: 'See the status page for more information', meta: expect.any(Object), }); @@ -106,7 +106,7 @@ describe('PluginStatusService', () => { service.set('a', of({ level: ServiceStatusLevels.unavailable, summary: 'a is not working' })); expect(await service.getDerivedStatus$('b').pipe(first()).toPromise()).toEqual({ level: ServiceStatusLevels.unavailable, - summary: '[a]: a is not working', + summary: '1 service is unavailable: a', detail: 'See the status page for more information', meta: expect.any(Object), }); @@ -120,7 +120,7 @@ describe('PluginStatusService', () => { service.set('a', of({ level: ServiceStatusLevels.unavailable, summary: 'a is not working' })); expect(await service.getDerivedStatus$('b').pipe(first()).toPromise()).toEqual({ level: ServiceStatusLevels.critical, - summary: '[elasticsearch]: elasticsearch critical', + summary: '1 service is critical: elasticsearch', detail: 'See the status page for more information', meta: expect.any(Object), }); @@ -132,7 +132,7 @@ describe('PluginStatusService', () => { service.set('b', of({ level: ServiceStatusLevels.unavailable, summary: 'b is not working' })); expect(await service.getDerivedStatus$('c').pipe(first()).toPromise()).toEqual({ level: ServiceStatusLevels.unavailable, - summary: '[b]: b is not working', + summary: '1 service is unavailable: b', detail: 'See the status page for more information', meta: expect.any(Object), }); @@ -166,19 +166,19 @@ describe('PluginStatusService', () => { expect(await serviceDegraded.getAll$().pipe(first()).toPromise()).toEqual({ a: { level: ServiceStatusLevels.degraded, - summary: '[savedObjects]: savedObjects degraded', + summary: '1 service is degraded: savedObjects', detail: 'See the status page for more information', meta: expect.any(Object), }, b: { level: ServiceStatusLevels.degraded, - summary: '[savedObjects]: savedObjects degraded', + summary: '1 service is degraded: savedObjects', detail: 'See the status page for more information', meta: expect.any(Object), }, c: { level: ServiceStatusLevels.degraded, - summary: '[savedObjects]: savedObjects degraded', + summary: '1 service is degraded: savedObjects', detail: 'See the status page for more information', meta: expect.any(Object), }, @@ -191,19 +191,19 @@ describe('PluginStatusService', () => { expect(await serviceCritical.getAll$().pipe(first()).toPromise()).toEqual({ a: { level: ServiceStatusLevels.critical, - summary: '[elasticsearch]: elasticsearch critical', + summary: '1 service is critical: elasticsearch', detail: 'See the status page for more information', meta: expect.any(Object), }, b: { level: ServiceStatusLevels.critical, - summary: '[elasticsearch]: elasticsearch critical', + summary: '1 service is critical: elasticsearch', detail: 'See the status page for more information', meta: expect.any(Object), }, c: { level: ServiceStatusLevels.critical, - summary: '[elasticsearch]: elasticsearch critical', + summary: '1 service is critical: elasticsearch', detail: 'See the status page for more information', meta: expect.any(Object), }, @@ -218,13 +218,13 @@ describe('PluginStatusService', () => { a: { level: ServiceStatusLevels.available, summary: 'a status' }, // a is available depsite savedObjects being degraded b: { level: ServiceStatusLevels.degraded, - summary: '[savedObjects]: savedObjects degraded', + summary: '1 service is degraded: savedObjects', detail: 'See the status page for more information', meta: expect.any(Object), }, c: { level: ServiceStatusLevels.degraded, - summary: '[2] services are degraded', + summary: '2 services are degraded: savedObjects, b', detail: 'See the status page for more information', meta: expect.any(Object), }, @@ -298,7 +298,7 @@ describe('PluginStatusService', () => { a: { level: ServiceStatusLevels.unavailable, summary: 'Status check timed out after 30s' }, b: { level: ServiceStatusLevels.unavailable, - summary: '[a]: Status check timed out after 30s', + summary: '1 service is unavailable: a', detail: 'See the status page for more information', meta: { affectedServices: ['a'], @@ -341,7 +341,7 @@ describe('PluginStatusService', () => { a: { level: ServiceStatusLevels.available, summary: 'a status' }, // a is available depsite savedObjects being degraded b: { level: ServiceStatusLevels.degraded, - summary: '[savedObjects]: savedObjects degraded', + summary: '1 service is degraded: savedObjects', detail: 'See the status page for more information', meta: expect.any(Object), }, diff --git a/src/core/server/status/status_service.test.ts b/src/core/server/status/status_service.test.ts index e876068efec34..615f65c990402 100644 --- a/src/core/server/status/status_service.test.ts +++ b/src/core/server/status/status_service.test.ts @@ -186,7 +186,7 @@ describe('StatusService', () => { ); expect(await setup.overall$.pipe(first()).toPromise()).toMatchObject({ level: ServiceStatusLevels.degraded, - summary: '[2] services are degraded', + summary: '2 services are degraded: elasticsearch, savedObjects', }); }); @@ -206,15 +206,15 @@ describe('StatusService', () => { const subResult3 = await setup.overall$.pipe(first()).toPromise(); expect(subResult1).toMatchObject({ level: ServiceStatusLevels.degraded, - summary: '[2] services are degraded', + summary: '2 services are degraded: elasticsearch, savedObjects', }); expect(subResult2).toMatchObject({ level: ServiceStatusLevels.degraded, - summary: '[2] services are degraded', + summary: '2 services are degraded: elasticsearch, savedObjects', }); expect(subResult3).toMatchObject({ level: ServiceStatusLevels.degraded, - summary: '[2] services are degraded', + summary: '2 services are degraded: elasticsearch, savedObjects', }); }); @@ -263,7 +263,7 @@ describe('StatusService', () => { "savedObjects", ], }, - "summary": "[savedObjects]: This is degraded!", + "summary": "1 service is degraded: savedObjects", }, Object { "level": available, @@ -313,7 +313,7 @@ describe('StatusService', () => { "savedObjects", ], }, - "summary": "[savedObjects]: This is degraded!", + "summary": "1 service is degraded: savedObjects", }, Object { "level": available, @@ -338,7 +338,7 @@ describe('StatusService', () => { ); expect(await setup.coreOverall$.pipe(first()).toPromise()).toMatchObject({ level: ServiceStatusLevels.degraded, - summary: '[2] services are degraded', + summary: '2 services are degraded: elasticsearch, savedObjects', }); }); @@ -355,7 +355,7 @@ describe('StatusService', () => { ); expect(await setup.coreOverall$.pipe(first()).toPromise()).toMatchObject({ level: ServiceStatusLevels.critical, - summary: '[savedObjects]: This is critical!', + summary: '1 service is critical: savedObjects', }); }); @@ -377,15 +377,15 @@ describe('StatusService', () => { expect(subResult1).toMatchObject({ level: ServiceStatusLevels.degraded, - summary: '[2] services are degraded', + summary: '2 services are degraded: elasticsearch, savedObjects', }); expect(subResult2).toMatchObject({ level: ServiceStatusLevels.degraded, - summary: '[2] services are degraded', + summary: '2 services are degraded: elasticsearch, savedObjects', }); expect(subResult3).toMatchObject({ level: ServiceStatusLevels.degraded, - summary: '[2] services are degraded', + summary: '2 services are degraded: elasticsearch, savedObjects', }); }); @@ -434,7 +434,7 @@ describe('StatusService', () => { "savedObjects", ], }, - "summary": "[savedObjects]: This is degraded!", + "summary": "1 service is degraded: savedObjects", }, Object { "level": available, @@ -484,7 +484,7 @@ describe('StatusService', () => { "savedObjects", ], }, - "summary": "[savedObjects]: This is degraded!", + "summary": "1 service is degraded: savedObjects", }, Object { "level": available, From bff788f1a3fb279d5926a62da29a66a25ed9b2a6 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 11 Oct 2021 11:14:11 -0400 Subject: [PATCH 008/107] [bfetch] Fix memory leak (#113756) (#114469) Co-authored-by: Anton Dosov --- .../create_streaming_batched_function.test.ts | 50 ++++++++--------- .../create_streaming_batched_function.ts | 7 +-- src/plugins/bfetch/public/plugin.ts | 29 ++++------ .../public/streaming/fetch_streaming.test.ts | 29 +++++----- .../public/streaming/fetch_streaming.ts | 55 ++++++++----------- 5 files changed, 76 insertions(+), 94 deletions(-) diff --git a/src/plugins/bfetch/public/batching/create_streaming_batched_function.test.ts b/src/plugins/bfetch/public/batching/create_streaming_batched_function.test.ts index 0b6dbe49d0e81..32adc0d7df0cf 100644 --- a/src/plugins/bfetch/public/batching/create_streaming_batched_function.test.ts +++ b/src/plugins/bfetch/public/batching/create_streaming_batched_function.test.ts @@ -9,7 +9,7 @@ import { createStreamingBatchedFunction } from './create_streaming_batched_function'; import { fetchStreaming as fetchStreamingReal } from '../streaming/fetch_streaming'; import { AbortError, defer, of } from '../../../kibana_utils/public'; -import { Subject, of as rxof } from 'rxjs'; +import { Subject } from 'rxjs'; const flushPromises = () => new Promise((resolve) => setImmediate(resolve)); @@ -61,7 +61,7 @@ describe('createStreamingBatchedFunction()', () => { const fn = createStreamingBatchedFunction({ url: '/test', fetchStreaming, - compressionDisabled$: rxof(true), + getIsCompressionDisabled: () => true, }); expect(typeof fn).toBe('function'); }); @@ -71,7 +71,7 @@ describe('createStreamingBatchedFunction()', () => { const fn = createStreamingBatchedFunction({ url: '/test', fetchStreaming, - compressionDisabled$: rxof(true), + getIsCompressionDisabled: () => true, }); const res = fn({}); expect(typeof res.then).toBe('function'); @@ -85,7 +85,7 @@ describe('createStreamingBatchedFunction()', () => { fetchStreaming, maxItemAge: 5, flushOnMaxItems: 3, - compressionDisabled$: rxof(true), + getIsCompressionDisabled: () => true, }); expect(fetchStreaming).toHaveBeenCalledTimes(0); @@ -105,7 +105,7 @@ describe('createStreamingBatchedFunction()', () => { fetchStreaming, maxItemAge: 5, flushOnMaxItems: 3, - compressionDisabled$: rxof(true), + getIsCompressionDisabled: () => true, }); expect(fetchStreaming).toHaveBeenCalledTimes(0); @@ -120,7 +120,7 @@ describe('createStreamingBatchedFunction()', () => { fetchStreaming, maxItemAge: 5, flushOnMaxItems: 3, - compressionDisabled$: rxof(true), + getIsCompressionDisabled: () => true, }); fn({ foo: 'bar' }); @@ -139,7 +139,7 @@ describe('createStreamingBatchedFunction()', () => { fetchStreaming, maxItemAge: 5, flushOnMaxItems: 3, - compressionDisabled$: rxof(true), + getIsCompressionDisabled: () => true, }); fn({ foo: 'bar' }); @@ -161,7 +161,7 @@ describe('createStreamingBatchedFunction()', () => { fetchStreaming, maxItemAge: 5, flushOnMaxItems: 3, - compressionDisabled$: rxof(true), + getIsCompressionDisabled: () => true, }); expect(fetchStreaming).toHaveBeenCalledTimes(0); @@ -180,7 +180,7 @@ describe('createStreamingBatchedFunction()', () => { fetchStreaming, maxItemAge: 5, flushOnMaxItems: 3, - compressionDisabled$: rxof(true), + getIsCompressionDisabled: () => true, }); const abortController = new AbortController(); @@ -203,7 +203,7 @@ describe('createStreamingBatchedFunction()', () => { fetchStreaming, maxItemAge: 5, flushOnMaxItems: 3, - compressionDisabled$: rxof(true), + getIsCompressionDisabled: () => true, }); fn({ a: '1' }); @@ -227,7 +227,7 @@ describe('createStreamingBatchedFunction()', () => { fetchStreaming, maxItemAge: 5, flushOnMaxItems: 3, - compressionDisabled$: rxof(true), + getIsCompressionDisabled: () => true, }); fn({ a: '1' }); @@ -248,7 +248,7 @@ describe('createStreamingBatchedFunction()', () => { fetchStreaming, maxItemAge: 5, flushOnMaxItems: 3, - compressionDisabled$: rxof(true), + getIsCompressionDisabled: () => true, }); const promise1 = fn({ a: '1' }); @@ -266,7 +266,7 @@ describe('createStreamingBatchedFunction()', () => { fetchStreaming, maxItemAge: 5, flushOnMaxItems: 3, - compressionDisabled$: rxof(true), + getIsCompressionDisabled: () => true, }); await flushPromises(); @@ -310,7 +310,7 @@ describe('createStreamingBatchedFunction()', () => { fetchStreaming, maxItemAge: 5, flushOnMaxItems: 3, - compressionDisabled$: rxof(true), + getIsCompressionDisabled: () => true, }); const promise1 = fn({ a: '1' }); @@ -348,7 +348,7 @@ describe('createStreamingBatchedFunction()', () => { fn({ a: '1' }); - const dontCompress = await fetchStreaming.mock.calls[0][0].compressionDisabled$.toPromise(); + const dontCompress = await fetchStreaming.mock.calls[0][0].getIsCompressionDisabled(); expect(dontCompress).toBe(false); }); @@ -359,7 +359,7 @@ describe('createStreamingBatchedFunction()', () => { fetchStreaming, maxItemAge: 5, flushOnMaxItems: 3, - compressionDisabled$: rxof(true), + getIsCompressionDisabled: () => true, }); const promise1 = fn({ a: '1' }); @@ -401,7 +401,7 @@ describe('createStreamingBatchedFunction()', () => { fetchStreaming, maxItemAge: 5, flushOnMaxItems: 3, - compressionDisabled$: rxof(true), + getIsCompressionDisabled: () => true, }); const promise = fn({ a: '1' }); @@ -430,7 +430,7 @@ describe('createStreamingBatchedFunction()', () => { fetchStreaming, maxItemAge: 5, flushOnMaxItems: 3, - compressionDisabled$: rxof(true), + getIsCompressionDisabled: () => true, }); const promise1 = of(fn({ a: '1' })); @@ -483,7 +483,7 @@ describe('createStreamingBatchedFunction()', () => { fetchStreaming, maxItemAge: 5, flushOnMaxItems: 3, - compressionDisabled$: rxof(true), + getIsCompressionDisabled: () => true, }); const abortController = new AbortController(); @@ -514,7 +514,7 @@ describe('createStreamingBatchedFunction()', () => { fetchStreaming, maxItemAge: 5, flushOnMaxItems: 3, - compressionDisabled$: rxof(true), + getIsCompressionDisabled: () => true, }); const abortController = new AbortController(); @@ -554,7 +554,7 @@ describe('createStreamingBatchedFunction()', () => { fetchStreaming, maxItemAge: 5, flushOnMaxItems: 3, - compressionDisabled$: rxof(true), + getIsCompressionDisabled: () => true, }); const promise1 = of(fn({ a: '1' })); @@ -585,7 +585,7 @@ describe('createStreamingBatchedFunction()', () => { fetchStreaming, maxItemAge: 5, flushOnMaxItems: 3, - compressionDisabled$: rxof(true), + getIsCompressionDisabled: () => true, }); const promise1 = of(fn({ a: '1' })); @@ -623,7 +623,7 @@ describe('createStreamingBatchedFunction()', () => { fetchStreaming, maxItemAge: 5, flushOnMaxItems: 3, - compressionDisabled$: rxof(true), + getIsCompressionDisabled: () => true, }); const promise1 = of(fn({ a: '1' })); @@ -656,7 +656,7 @@ describe('createStreamingBatchedFunction()', () => { fetchStreaming, maxItemAge: 5, flushOnMaxItems: 3, - compressionDisabled$: rxof(true), + getIsCompressionDisabled: () => true, }); const promise1 = of(fn({ a: '1' })); @@ -693,7 +693,7 @@ describe('createStreamingBatchedFunction()', () => { fetchStreaming, maxItemAge: 5, flushOnMaxItems: 3, - compressionDisabled$: rxof(true), + getIsCompressionDisabled: () => true, }); await flushPromises(); diff --git a/src/plugins/bfetch/public/batching/create_streaming_batched_function.ts b/src/plugins/bfetch/public/batching/create_streaming_batched_function.ts index d5f955f517d13..3ff8da08cfce7 100644 --- a/src/plugins/bfetch/public/batching/create_streaming_batched_function.ts +++ b/src/plugins/bfetch/public/batching/create_streaming_batched_function.ts @@ -6,7 +6,6 @@ * Side Public License, v 1. */ -import { Observable, of } from 'rxjs'; import { AbortError, abortSignalToPromise, defer } from '../../../kibana_utils/public'; import { ItemBufferParams, @@ -51,7 +50,7 @@ export interface StreamingBatchedFunctionParams { /** * Disabled zlib compression of response chunks. */ - compressionDisabled$?: Observable; + getIsCompressionDisabled?: () => boolean; } /** @@ -69,7 +68,7 @@ export const createStreamingBatchedFunction = ( fetchStreaming: fetchStreamingInjected = fetchStreaming, flushOnMaxItems = 25, maxItemAge = 10, - compressionDisabled$ = of(false), + getIsCompressionDisabled = () => false, } = params; const [fn] = createBatchedFunction({ onCall: (payload: Payload, signal?: AbortSignal) => { @@ -125,7 +124,7 @@ export const createStreamingBatchedFunction = ( body: JSON.stringify({ batch }), method: 'POST', signal: abortController.signal, - compressionDisabled$, + getIsCompressionDisabled, }); const handleStreamError = (error: any) => { diff --git a/src/plugins/bfetch/public/plugin.ts b/src/plugins/bfetch/public/plugin.ts index 3ad451c7713ea..54bcb305d8675 100644 --- a/src/plugins/bfetch/public/plugin.ts +++ b/src/plugins/bfetch/public/plugin.ts @@ -6,13 +6,12 @@ * Side Public License, v 1. */ -import { CoreStart, PluginInitializerContext, CoreSetup, Plugin } from 'src/core/public'; -import { from, Observable, of } from 'rxjs'; -import { switchMap } from 'rxjs/operators'; +import { CoreSetup, CoreStart, Plugin, PluginInitializerContext } from 'src/core/public'; import { fetchStreaming as fetchStreamingStatic, FetchStreamingParams } from './streaming'; import { DISABLE_BFETCH_COMPRESSION, removeLeadingSlash } from '../common'; import { createStreamingBatchedFunction, StreamingBatchedFunctionParams } from './batching'; import { BatchedFunc } from './batching/types'; +import { createStartServicesGetter } from '../../kibana_utils/public'; // eslint-disable-next-line export interface BfetchPublicSetupDependencies {} @@ -50,16 +49,12 @@ export class BfetchPublicPlugin const { version } = this.initializerContext.env.packageInfo; const basePath = core.http.basePath.get(); - const compressionDisabled$ = from(core.getStartServices()).pipe( - switchMap((deps) => { - return of(deps[0]); - }), - switchMap((coreStart) => { - return coreStart.uiSettings.get$(DISABLE_BFETCH_COMPRESSION); - }) - ); - const fetchStreaming = this.fetchStreaming(version, basePath, compressionDisabled$); - const batchedFunction = this.batchedFunction(fetchStreaming, compressionDisabled$); + const startServices = createStartServicesGetter(core.getStartServices); + const getIsCompressionDisabled = () => + startServices().core.uiSettings.get(DISABLE_BFETCH_COMPRESSION); + + const fetchStreaming = this.fetchStreaming(version, basePath, getIsCompressionDisabled); + const batchedFunction = this.batchedFunction(fetchStreaming, getIsCompressionDisabled); this.contract = { fetchStreaming, @@ -79,7 +74,7 @@ export class BfetchPublicPlugin ( version: string, basePath: string, - compressionDisabled$: Observable + getIsCompressionDisabled: () => boolean ): BfetchPublicSetup['fetchStreaming'] => (params) => fetchStreamingStatic({ @@ -90,18 +85,18 @@ export class BfetchPublicPlugin 'kbn-version': version, ...(params.headers || {}), }, - compressionDisabled$, + getIsCompressionDisabled, }); private batchedFunction = ( fetchStreaming: BfetchPublicContract['fetchStreaming'], - compressionDisabled$: Observable + getIsCompressionDisabled: () => boolean ): BfetchPublicContract['batchedFunction'] => (params) => createStreamingBatchedFunction({ ...params, - compressionDisabled$, + getIsCompressionDisabled, fetchStreaming: params.fetchStreaming || fetchStreaming, }); } diff --git a/src/plugins/bfetch/public/streaming/fetch_streaming.test.ts b/src/plugins/bfetch/public/streaming/fetch_streaming.test.ts index a5d066f6d9a24..67ebf8d5a1c23 100644 --- a/src/plugins/bfetch/public/streaming/fetch_streaming.test.ts +++ b/src/plugins/bfetch/public/streaming/fetch_streaming.test.ts @@ -8,7 +8,6 @@ import { fetchStreaming } from './fetch_streaming'; import { mockXMLHttpRequest } from '../test_helpers/xhr'; -import { of } from 'rxjs'; import { promisify } from 'util'; import { deflate } from 'zlib'; const pDeflate = promisify(deflate); @@ -30,7 +29,7 @@ test('returns XHR request', () => { setup(); const { xhr } = fetchStreaming({ url: 'http://example.com', - compressionDisabled$: of(true), + getIsCompressionDisabled: () => true, }); expect(typeof xhr.readyState).toBe('number'); }); @@ -39,7 +38,7 @@ test('returns stream', () => { setup(); const { stream } = fetchStreaming({ url: 'http://example.com', - compressionDisabled$: of(true), + getIsCompressionDisabled: () => true, }); expect(typeof stream.subscribe).toBe('function'); }); @@ -48,7 +47,7 @@ test('promise resolves when request completes', async () => { const env = setup(); const { stream } = fetchStreaming({ url: 'http://example.com', - compressionDisabled$: of(true), + getIsCompressionDisabled: () => true, }); let resolved = false; @@ -81,7 +80,7 @@ test('promise resolves when compressed request completes', async () => { const env = setup(); const { stream } = fetchStreaming({ url: 'http://example.com', - compressionDisabled$: of(false), + getIsCompressionDisabled: () => false, }); let resolved = false; @@ -116,7 +115,7 @@ test('promise resolves when compressed chunked request completes', async () => { const env = setup(); const { stream } = fetchStreaming({ url: 'http://example.com', - compressionDisabled$: of(false), + getIsCompressionDisabled: () => false, }); let resolved = false; @@ -160,7 +159,7 @@ test('streams incoming text as it comes through, according to separators', async const env = setup(); const { stream } = fetchStreaming({ url: 'http://example.com', - compressionDisabled$: of(true), + getIsCompressionDisabled: () => true, }); const spy = jest.fn(); @@ -201,7 +200,7 @@ test('completes stream observable when request finishes', async () => { const env = setup(); const { stream } = fetchStreaming({ url: 'http://example.com', - compressionDisabled$: of(true), + getIsCompressionDisabled: () => true, }); const spy = jest.fn(); @@ -226,7 +225,7 @@ test('completes stream observable when aborted', async () => { const { stream } = fetchStreaming({ url: 'http://example.com', signal: abort.signal, - compressionDisabled$: of(true), + getIsCompressionDisabled: () => true, }); const spy = jest.fn(); @@ -252,7 +251,7 @@ test('promise throws when request errors', async () => { const env = setup(); const { stream } = fetchStreaming({ url: 'http://example.com', - compressionDisabled$: of(true), + getIsCompressionDisabled: () => true, }); const spy = jest.fn(); @@ -279,7 +278,7 @@ test('stream observable errors when request errors', async () => { const env = setup(); const { stream } = fetchStreaming({ url: 'http://example.com', - compressionDisabled$: of(true), + getIsCompressionDisabled: () => true, }); const spy = jest.fn(); @@ -312,7 +311,7 @@ test('sets custom headers', async () => { 'Content-Type': 'text/plain', Authorization: 'Bearer 123', }, - compressionDisabled$: of(true), + getIsCompressionDisabled: () => true, }); expect(env.xhr.setRequestHeader).toHaveBeenCalledWith('Content-Type', 'text/plain'); @@ -326,7 +325,7 @@ test('uses credentials', async () => { fetchStreaming({ url: 'http://example.com', - compressionDisabled$: of(true), + getIsCompressionDisabled: () => true, }); expect(env.xhr.withCredentials).toBe(true); @@ -342,7 +341,7 @@ test('opens XHR request and sends specified body', async () => { url: 'http://elastic.co', method: 'GET', body: 'foobar', - compressionDisabled$: of(true), + getIsCompressionDisabled: () => true, }); expect(env.xhr.open).toHaveBeenCalledTimes(1); @@ -355,7 +354,7 @@ test('uses POST request method by default', async () => { const env = setup(); fetchStreaming({ url: 'http://elastic.co', - compressionDisabled$: of(true), + getIsCompressionDisabled: () => true, }); expect(env.xhr.open).toHaveBeenCalledWith('POST', 'http://elastic.co'); }); diff --git a/src/plugins/bfetch/public/streaming/fetch_streaming.ts b/src/plugins/bfetch/public/streaming/fetch_streaming.ts index 1af35ef68fb85..a94c8d3980cba 100644 --- a/src/plugins/bfetch/public/streaming/fetch_streaming.ts +++ b/src/plugins/bfetch/public/streaming/fetch_streaming.ts @@ -6,8 +6,7 @@ * Side Public License, v 1. */ -import { Observable, of } from 'rxjs'; -import { map, share, switchMap } from 'rxjs/operators'; +import { map, share } from 'rxjs/operators'; import { inflateResponse } from '.'; import { fromStreamingXhr } from './from_streaming_xhr'; import { split } from './split'; @@ -18,7 +17,7 @@ export interface FetchStreamingParams { method?: 'GET' | 'POST'; body?: string; signal?: AbortSignal; - compressionDisabled$?: Observable; + getIsCompressionDisabled?: () => boolean; } /** @@ -31,49 +30,39 @@ export function fetchStreaming({ method = 'POST', body = '', signal, - compressionDisabled$ = of(false), + getIsCompressionDisabled = () => false, }: FetchStreamingParams) { const xhr = new window.XMLHttpRequest(); - const msgStream = compressionDisabled$.pipe( - switchMap((compressionDisabled) => { - // Begin the request - xhr.open(method, url); - xhr.withCredentials = true; + // Begin the request + xhr.open(method, url); + xhr.withCredentials = true; - if (!compressionDisabled) { - headers['X-Chunk-Encoding'] = 'deflate'; - } + const isCompressionDisabled = getIsCompressionDisabled(); - // Set the HTTP headers - Object.entries(headers).forEach(([k, v]) => xhr.setRequestHeader(k, v)); + if (!isCompressionDisabled) { + headers['X-Chunk-Encoding'] = 'deflate'; + } - const stream = fromStreamingXhr(xhr, signal); + // Set the HTTP headers + Object.entries(headers).forEach(([k, v]) => xhr.setRequestHeader(k, v)); - // Send the payload to the server - xhr.send(body); + const stream = fromStreamingXhr(xhr, signal); - // Return a stream of chunked decompressed messages - return stream.pipe( - split('\n'), - map((msg) => { - return compressionDisabled ? msg : inflateResponse(msg); - }) - ); + // Send the payload to the server + xhr.send(body); + + // Return a stream of chunked decompressed messages + const stream$ = stream.pipe( + split('\n'), + map((msg) => { + return isCompressionDisabled ? msg : inflateResponse(msg); }), share() ); - // start execution - const msgStreamSub = msgStream.subscribe({ - error: (e) => {}, - complete: () => { - msgStreamSub.unsubscribe(); - }, - }); - return { xhr, - stream: msgStream, + stream: stream$, }; } From a0e0696714aa039b90f5a263d4b1818b6a83f6ac Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 11 Oct 2021 11:23:31 -0400 Subject: [PATCH 009/107] fix docs build (#113948) (#114485) Co-authored-by: Stacey Gammon --- dev_docs/key_concepts/kibana_platform_plugin_intro.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dev_docs/key_concepts/kibana_platform_plugin_intro.mdx b/dev_docs/key_concepts/kibana_platform_plugin_intro.mdx index 617944118cdbd..133b96f44da88 100644 --- a/dev_docs/key_concepts/kibana_platform_plugin_intro.mdx +++ b/dev_docs/key_concepts/kibana_platform_plugin_intro.mdx @@ -17,13 +17,13 @@ already existing applications. Did you know that almost everything you see in th Kibana UI is built inside a plugin? If you removed all plugins from Kibana, you'd be left with an empty navigation menu, and a set of developer tools. The Kibana platform is a blank canvas, just waiting for a developer to come along and create something! -![Kibana personas](assets/kibana_platform_plugin_end_user.png) +![Kibana personas](../assets/kibana_platform_plugin_end_user.png) ## 1,000 foot view At a super high-level, Kibana is composed of **plugins**, **core**, and **Kibana packages**. -![Kibana 1000 ft arch](assets/1000_ft_arch.png) +![Kibana 1000 ft arch](../assets/1000_ft_arch.png) **Plugins** provide the majority of all functionality in Kibana. All applications and UIs are defined here. @@ -51,7 +51,7 @@ We try to put only the most stable and fundamental code into `Core`, while optio Today it looks something like this. -![Core vs platform plugins vs plugins](assets/platform_plugins_core.png) +![Core vs platform plugins vs plugins](../assets/platform_plugins_core.png) "Platform plugins" provide core-like functionality, just outside of core, and their public APIs tend to be more volatile. Other plugins may still expose shared services, but they are intended only for usage by a small subset of specific plugins, and may not be generic or "platform-like". @@ -91,7 +91,7 @@ A plugin may register many applications, or none. Applications are top level pages in the Kibana UI. Dashboard, Canvas, Maps, App Search, etc, are all examples of applications: -![applications in kibana](./assets/applications.png) +![applications in kibana](../assets/applications.png) A plugin can register an application by adding it to core's application . From 9eed9ee39bdb277a5e9005aabc2401ea2ba1629b Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 11 Oct 2021 11:24:42 -0400 Subject: [PATCH 010/107] correct relativity in images (#113834) (#114484) Co-authored-by: Kellen <9484709+goodroot@users.noreply.github.com> --- dev_docs/contributing/best_practices.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev_docs/contributing/best_practices.mdx b/dev_docs/contributing/best_practices.mdx index d740ee307dac5..1e1847cfd17d0 100644 --- a/dev_docs/contributing/best_practices.mdx +++ b/dev_docs/contributing/best_practices.mdx @@ -111,7 +111,7 @@ export getSearchService: (searchSpec: { username: string; password: string }) => In the former, there will be a link to the `SearchSpec` interface with documentation for the `username` and `password` properties. In the latter the object will render inline, without comments: -![prefer interfaces documentation](./assets/dev_docs_nested_object.png) +![prefer interfaces documentation](../assets/dev_docs_nested_object.png) #### Export every type used in a public API @@ -135,7 +135,7 @@ export type foo: string | AnInterface; `Pick` not only ends up being unhelpful in our documentation system, but it's also of limited help in your IDE. For that reason, avoid `Pick` and other similarly complex types on your public API items. Using these semantics internally is fine. -![pick api documentation](./assets/api_doc_pick.png) +![pick api documentation](../assets/api_doc_pick.png) ### Example plugins @@ -210,7 +210,7 @@ your large change right _after_ feature freeze. If you are worried about missing When possible, build features with incrementals sets of small and focused PRs, but don't check in unused code, and don't expose any feature on master that you would not be comfortable releasing. -![product_stages](./assets/product_stages.png) +![product_stages](../assets/product_stages.png) If your feature cannot be broken down into smaller components, or multiple engineers will be contributing, you have a few other options to consider. From db7794f536072f3c3552546cc822f1e6173b9209 Mon Sep 17 00:00:00 2001 From: Jean-Louis Leysens Date: Mon, 11 Oct 2021 17:39:12 +0200 Subject: [PATCH 011/107] [Reporting] Update chromium exit behaviour (#113544) (#114464) * move uncaught exception out of exit$ * reintroduce original error, but as a log instead * change log level: error -> warning. also update copy to make it explicit that the error will be ignored Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../browsers/chromium/driver_factory/index.ts | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/x-pack/plugins/reporting/server/browsers/chromium/driver_factory/index.ts b/x-pack/plugins/reporting/server/browsers/chromium/driver_factory/index.ts index 2170b50f195b4..a0487421a9a0d 100644 --- a/x-pack/plugins/reporting/server/browsers/chromium/driver_factory/index.ts +++ b/x-pack/plugins/reporting/server/browsers/chromium/driver_factory/index.ts @@ -220,6 +220,17 @@ export class HeadlessChromiumDriverFactory { }) ); + const uncaughtExceptionPageError$ = Rx.fromEvent(page, 'pageerror').pipe( + map((err) => { + logger.warning( + i18n.translate('xpack.reporting.browsers.chromium.pageErrorDetected', { + defaultMessage: `Reporting encountered an uncaught error on the page that will be ignored: {err}`, + values: { err: err.toString() }, + }) + ); + }) + ); + const pageRequestFailed$ = Rx.fromEvent(page, 'requestfailed').pipe( map((req) => { const failure = req.failure && req.failure(); @@ -231,7 +242,7 @@ export class HeadlessChromiumDriverFactory { }) ); - return Rx.merge(consoleMessages$, pageRequestFailed$); + return Rx.merge(consoleMessages$, uncaughtExceptionPageError$, pageRequestFailed$); } getProcessLogger(browser: puppeteer.Browser, logger: LevelLogger): Rx.Observable { @@ -266,21 +277,10 @@ export class HeadlessChromiumDriverFactory { }) ); - const uncaughtExceptionPageError$ = Rx.fromEvent(page, 'pageerror').pipe( - mergeMap((err) => { - return Rx.throwError( - i18n.translate('xpack.reporting.browsers.chromium.pageErrorDetected', { - defaultMessage: `Reporting encountered an error on the page: {err}`, - values: { err: err.toString() }, - }) - ); - }) - ); - const browserDisconnect$ = Rx.fromEvent(browser, 'disconnected').pipe( mergeMap(() => Rx.throwError(getChromiumDisconnectedError())) ); - return Rx.merge(pageError$, uncaughtExceptionPageError$, browserDisconnect$); + return Rx.merge(pageError$, browserDisconnect$); } } From 6047f03138a0296034d230380b12271d521bcc64 Mon Sep 17 00:00:00 2001 From: Giorgos Bamparopoulos Date: Mon, 11 Oct 2021 16:42:04 +0100 Subject: [PATCH 012/107] Add all APM configuration settings to the documentation (#114139) (#114488) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add APM configuration settings to the documentation * Rename the deprecated apm_oss.* configurations to xpack.apm.* * Remove new lines * Add ess icon to config settings * Add link to the APM configuration settings docs Co-authored-by: Søren Louv-Jansen Co-authored-by: Søren Louv-Jansen Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Søren Louv-Jansen Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- docs/settings/apm-settings.asciidoc | 48 +++++++++++++++++++---------- x-pack/plugins/apm/server/index.ts | 2 ++ 2 files changed, 33 insertions(+), 17 deletions(-) diff --git a/docs/settings/apm-settings.asciidoc b/docs/settings/apm-settings.asciidoc index 897fbc7da2eac..fca28699ed164 100644 --- a/docs/settings/apm-settings.asciidoc +++ b/docs/settings/apm-settings.asciidoc @@ -45,57 +45,71 @@ Changing these settings may disable features of the APM App. [cols="2*<"] |=== -| `xpack.apm.enabled` +| `xpack.apm.enabled` {ess-icon} | deprecated:[7.16.0,"In 8.0 and later, this setting will no longer be supported."] Set to `false` to disable the APM app. Defaults to `true`. -| `xpack.apm.maxServiceEnvironments` +| `xpack.apm.maxServiceEnvironments` {ess-icon} | Maximum number of unique service environments recognized by the UI. Defaults to `100`. -| `xpack.apm.serviceMapFingerprintBucketSize` +| `xpack.apm.serviceMapFingerprintBucketSize` {ess-icon} | Maximum number of unique transaction combinations sampled for generating service map focused on a specific service. Defaults to `100`. -| `xpack.apm.serviceMapFingerprintGlobalBucketSize` +| `xpack.apm.serviceMapFingerprintGlobalBucketSize` {ess-icon} | Maximum number of unique transaction combinations sampled for generating the global service map. Defaults to `100`. +| `xpack.apm.serviceMapEnabled` {ess-icon} + | Set to `false` to disable service maps. Defaults to `true`. + +| `xpack.apm.serviceMapTraceIdBucketSize` {ess-icon} + | Maximum number of trace IDs sampled for generating service map focused on a specific service. Defaults to `65`. + +| `xpack.apm.serviceMapTraceIdGlobalBucketSize` {ess-icon} + | Maximum number of trace IDs sampled for generating the global service map. Defaults to `6`. + +| `xpack.apm.serviceMapMaxTracesPerRequest` {ess-icon} + | Maximum number of traces per request for generating the global service map. Defaults to `50`. + | `xpack.apm.ui.enabled` {ess-icon} | Set to `false` to hide the APM app from the main menu. Defaults to `true`. -| `xpack.apm.ui.transactionGroupBucketSize` +| `xpack.apm.ui.transactionGroupBucketSize` {ess-icon} | Number of top transaction groups displayed in the APM app. Defaults to `1000`. | `xpack.apm.ui.maxTraceItems` {ess-icon} | Maximum number of child items displayed when viewing trace details. Defaults to `1000`. -| `xpack.observability.annotations.index` +| `xpack.observability.annotations.index` {ess-icon} | Index name where Observability annotations are stored. Defaults to `observability-annotations`. -| `xpack.apm.searchAggregatedTransactions` +| `xpack.apm.searchAggregatedTransactions` {ess-icon} | experimental[] Enables Transaction histogram metrics. Defaults to `never` and aggregated transactions are not used. When set to `auto`, the UI will use metric indices over transaction indices for transactions if aggregated transactions are found. When set to `always`, additional configuration in APM Server is required. See {apm-server-ref-v}/transaction-metrics.html[Configure transaction metrics] for more information. -| `apm_oss.indexPattern` {ess-icon} - | The index pattern used for integrations with Machine Learning and Query Bar. - It must match all apm indices. Defaults to `apm-*`. +| `xpack.apm.metricsInterval` {ess-icon} + | Sets a `fixed_interval` for date histograms in metrics aggregations. Defaults to `30`. + +| `xpack.apm.agent.migrations.enabled` {ess-icon} + | Set to `false` to disable cloud APM migrations. Defaults to `true`. -| `apm_oss.errorIndices` {ess-icon} +| `xpack.apm.errorIndices` {ess-icon} | Matcher for all {apm-server-ref}/error-indices.html[error indices]. Defaults to `apm-*`. -| `apm_oss.onboardingIndices` +| `xpack.apm.onboardingIndices` {ess-icon} | Matcher for all onboarding indices. Defaults to `apm-*`. -| `apm_oss.spanIndices` {ess-icon} +| `xpack.apm.spanIndices` {ess-icon} | Matcher for all {apm-server-ref}/span-indices.html[span indices]. Defaults to `apm-*`. -| `apm_oss.transactionIndices` {ess-icon} +| `xpack.apm.transactionIndices` {ess-icon} | Matcher for all {apm-server-ref}/transaction-indices.html[transaction indices]. Defaults to `apm-*`. -| `apm_oss.metricsIndices` +| `xpack.apm.metricsIndices` {ess-icon} | Matcher for all {apm-server-ref}/metricset-indices.html[metrics indices]. Defaults to `apm-*`. -| `apm_oss.sourcemapIndices` +| `xpack.apm.sourcemapIndices` {ess-icon} | Matcher for all {apm-server-ref}/sourcemap-indices.html[source map indices]. Defaults to `apm-*`. |=== -// end::general-apm-settings[] +// end::general-apm-settings[] \ No newline at end of file diff --git a/x-pack/plugins/apm/server/index.ts b/x-pack/plugins/apm/server/index.ts index b7002ff7cbe79..22787b0301ce0 100644 --- a/x-pack/plugins/apm/server/index.ts +++ b/x-pack/plugins/apm/server/index.ts @@ -74,6 +74,8 @@ export type APMXPackConfig = TypeOf; export type APMConfig = ReturnType; // plugin config and ui indices settings +// All options should be documented in the APM configuration settings: https://github.com/elastic/kibana/blob/master/docs/settings/apm-settings.asciidoc +// and be included on cloud allow list unless there are specific reasons not to export function mergeConfigs( apmOssConfig: APMOSSConfig, apmConfig: APMXPackConfig From 50908d854217ea5f950c9b3774170711a3b910d2 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 11 Oct 2021 11:51:31 -0400 Subject: [PATCH 013/107] [Security Solution] Add host isolation exception IPs UI (#113762) (#114490) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Esteban Beltran --- .../host_isolation_exceptions/service.ts | 14 ++ .../host_isolation_exceptions/store/action.ts | 17 +- .../store/builders.ts | 4 + .../store/middleware.test.ts | 80 ++++++- .../store/middleware.ts | 46 +++- .../store/reducer.test.ts | 10 + .../store/reducer.ts | 18 ++ .../pages/host_isolation_exceptions/types.ts | 5 + .../pages/host_isolation_exceptions/utils.ts | 41 ++++ .../view/components/empty.tsx | 12 +- .../view/components/form.test.tsx | 75 +++++++ .../view/components/form.tsx | 206 ++++++++++++++++++ .../view/components/form_flyout.test.tsx | 114 ++++++++++ .../view/components/form_flyout.tsx | 180 +++++++++++++++ .../view/components/translations.ts | 64 ++++++ .../host_isolation_exceptions_list.test.tsx | 22 +- .../view/host_isolation_exceptions_list.tsx | 33 ++- 17 files changed, 925 insertions(+), 16 deletions(-) create mode 100644 x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/utils.ts create mode 100644 x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/form.test.tsx create mode 100644 x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/form.tsx create mode 100644 x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/form_flyout.test.tsx create mode 100644 x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/form_flyout.tsx create mode 100644 x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/translations.ts diff --git a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/service.ts b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/service.ts index 79ca595fbb61b..8af353a3c9531 100644 --- a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/service.ts +++ b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/service.ts @@ -6,6 +6,7 @@ */ import { + CreateExceptionListItemSchema, ExceptionListItemSchema, FoundExceptionListItemSchema, } from '@kbn/securitysolution-io-ts-list-types'; @@ -65,6 +66,19 @@ export async function getHostIsolationExceptionItems({ return entries; } +export async function createHostIsolationExceptionItem({ + http, + exception, +}: { + http: HttpStart; + exception: CreateExceptionListItemSchema; +}): Promise { + await ensureHostIsolationExceptionsListExists(http); + return http.post(EXCEPTION_LIST_ITEM_URL, { + body: JSON.stringify(exception), + }); +} + export async function deleteHostIsolationExceptionItems(http: HttpStart, id: string) { await ensureHostIsolationExceptionsListExists(http); return http.delete(EXCEPTION_LIST_ITEM_URL, { diff --git a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/action.ts b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/action.ts index 0a9f776655371..a5fae36486f98 100644 --- a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/action.ts +++ b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/action.ts @@ -14,6 +14,20 @@ export type HostIsolationExceptionsPageDataChanged = payload: HostIsolationExceptionsPageState['entries']; }; +export type HostIsolationExceptionsFormStateChanged = + Action<'hostIsolationExceptionsFormStateChanged'> & { + payload: HostIsolationExceptionsPageState['form']['status']; + }; + +export type HostIsolationExceptionsFormEntryChanged = + Action<'hostIsolationExceptionsFormEntryChanged'> & { + payload: HostIsolationExceptionsPageState['form']['entry']; + }; + +export type HostIsolationExceptionsCreateEntry = Action<'hostIsolationExceptionsCreateEntry'> & { + payload: HostIsolationExceptionsPageState['form']['entry']; +}; + export type HostIsolationExceptionsDeleteItem = Action<'hostIsolationExceptionsMarkToDelete'> & { payload?: ExceptionListItemSchema; }; @@ -24,9 +38,10 @@ export type HostIsolationExceptionsDeleteStatusChanged = Action<'hostIsolationExceptionsDeleteStatusChanged'> & { payload: HostIsolationExceptionsPageState['deletion']['status']; }; - export type HostIsolationExceptionsPageAction = | HostIsolationExceptionsPageDataChanged + | HostIsolationExceptionsCreateEntry + | HostIsolationExceptionsFormStateChanged | HostIsolationExceptionsDeleteItem | HostIsolationExceptionsSubmitDelete | HostIsolationExceptionsDeleteStatusChanged; diff --git a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/builders.ts b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/builders.ts index 68a50f9c813f4..8f32d9cf8d456 100644 --- a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/builders.ts +++ b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/builders.ts @@ -16,6 +16,10 @@ export const initialHostIsolationExceptionsPageState = (): HostIsolationExceptio page_size: MANAGEMENT_DEFAULT_PAGE_SIZE, filter: '', }, + form: { + entry: undefined, + status: createUninitialisedResourceState(), + }, deletion: { item: undefined, status: createUninitialisedResourceState(), diff --git a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/middleware.test.ts b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/middleware.test.ts index 984794e074ebb..266853fdab5e2 100644 --- a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/middleware.test.ts +++ b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/middleware.test.ts @@ -5,10 +5,11 @@ * 2.0. */ +import { CreateExceptionListItemSchema } from '@kbn/securitysolution-io-ts-list-types'; import { applyMiddleware, createStore, Store } from 'redux'; -import { HOST_ISOLATION_EXCEPTIONS_PATH } from '../../../../../common/constants'; import { coreMock } from '../../../../../../../../src/core/public/mocks'; import { getFoundExceptionListItemSchemaMock } from '../../../../../../lists/common/schemas/response/found_exception_list_item_schema.mock'; +import { HOST_ISOLATION_EXCEPTIONS_PATH } from '../../../../../common/constants'; import { AppAction } from '../../../../common/store/actions'; import { createSpyMiddleware, @@ -19,8 +20,13 @@ import { isLoadedResourceState, isLoadingResourceState, } from '../../../state'; -import { getHostIsolationExceptionItems, deleteHostIsolationExceptionItems } from '../service'; +import { + createHostIsolationExceptionItem, + deleteHostIsolationExceptionItems, + getHostIsolationExceptionItems, +} from '../service'; import { HostIsolationExceptionsPageState } from '../types'; +import { createEmptyHostIsolationException } from '../utils'; import { initialHostIsolationExceptionsPageState } from './builders'; import { createHostIsolationExceptionsPageMiddleware } from './middleware'; import { hostIsolationExceptionsPageReducer } from './reducer'; @@ -29,6 +35,7 @@ import { getListFetchError } from './selector'; jest.mock('../service'); const getHostIsolationExceptionItemsMock = getHostIsolationExceptionItems as jest.Mock; const deleteHostIsolationExceptionItemsMock = deleteHostIsolationExceptionItems as jest.Mock; +const createHostIsolationExceptionItemMock = createHostIsolationExceptionItem as jest.Mock; const fakeCoreStart = coreMock.createStart({ basePath: '/mock' }); @@ -81,7 +88,7 @@ describe('Host isolation exceptions middleware', () => { }; beforeEach(() => { - getHostIsolationExceptionItemsMock.mockClear(); + getHostIsolationExceptionItemsMock.mockReset(); getHostIsolationExceptionItemsMock.mockImplementation(getFoundExceptionListItemSchemaMock); }); @@ -145,11 +152,74 @@ describe('Host isolation exceptions middleware', () => { }); }); + describe('When adding an item to host isolation exceptions', () => { + let entry: CreateExceptionListItemSchema; + beforeEach(() => { + createHostIsolationExceptionItemMock.mockReset(); + entry = { + ...createEmptyHostIsolationException(), + name: 'test name', + description: 'description', + entries: [ + { + field: 'destination.ip', + operator: 'included', + type: 'match', + value: '10.0.0.1', + }, + ], + }; + }); + it('should dispatch a form loading state when an entry is submited', async () => { + const waiter = spyMiddleware.waitForAction('hostIsolationExceptionsFormStateChanged', { + validate({ payload }) { + return isLoadingResourceState(payload); + }, + }); + store.dispatch({ + type: 'hostIsolationExceptionsCreateEntry', + payload: entry, + }); + await waiter; + }); + it('should dispatch a form success state when an entry is confirmed by the API', async () => { + const waiter = spyMiddleware.waitForAction('hostIsolationExceptionsFormStateChanged', { + validate({ payload }) { + return isLoadedResourceState(payload); + }, + }); + store.dispatch({ + type: 'hostIsolationExceptionsCreateEntry', + payload: entry, + }); + await waiter; + expect(createHostIsolationExceptionItemMock).toHaveBeenCalledWith({ + http: fakeCoreStart.http, + exception: entry, + }); + }); + it('should dispatch a form failure state when an entry is rejected by the API', async () => { + createHostIsolationExceptionItemMock.mockRejectedValue({ + body: { message: 'error message', statusCode: 500, error: 'Not today' }, + }); + const waiter = spyMiddleware.waitForAction('hostIsolationExceptionsFormStateChanged', { + validate({ payload }) { + return isFailedResourceState(payload); + }, + }); + store.dispatch({ + type: 'hostIsolationExceptionsCreateEntry', + payload: entry, + }); + await waiter; + }); + }); + describe('When deleting an item from host isolation exceptions', () => { beforeEach(() => { - deleteHostIsolationExceptionItemsMock.mockClear(); + deleteHostIsolationExceptionItemsMock.mockReset(); deleteHostIsolationExceptionItemsMock.mockReturnValue(undefined); - getHostIsolationExceptionItemsMock.mockClear(); + getHostIsolationExceptionItemsMock.mockReset(); getHostIsolationExceptionItemsMock.mockImplementation(getFoundExceptionListItemSchemaMock); store.dispatch({ type: 'hostIsolationExceptionsMarkToDelete', diff --git a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/middleware.ts b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/middleware.ts index 4946cac488700..bbc754e8155b0 100644 --- a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/middleware.ts +++ b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/middleware.ts @@ -6,11 +6,13 @@ */ import { + CreateExceptionListItemSchema, ExceptionListItemSchema, FoundExceptionListItemSchema, } from '@kbn/securitysolution-io-ts-list-types'; import { CoreStart, HttpSetup, HttpStart } from 'kibana/public'; import { matchPath } from 'react-router-dom'; +import { transformNewItemOutput } from '@kbn/securitysolution-list-hooks'; import { AppLocation, Immutable } from '../../../../../common/endpoint/types'; import { ImmutableMiddleware, ImmutableMiddlewareAPI } from '../../../../common/store'; import { AppAction } from '../../../../common/store/actions'; @@ -20,7 +22,11 @@ import { createFailedResourceState, createLoadedResourceState, } from '../../../state/async_resource_builders'; -import { deleteHostIsolationExceptionItems, getHostIsolationExceptionItems } from '../service'; +import { + deleteHostIsolationExceptionItems, + getHostIsolationExceptionItems, + createHostIsolationExceptionItem, +} from '../service'; import { HostIsolationExceptionsPageState } from '../types'; import { getCurrentListPageDataState, getCurrentLocation, getItemToDelete } from './selector'; @@ -39,12 +45,50 @@ export const createHostIsolationExceptionsPageMiddleware = ( if (action.type === 'userChangedUrl' && isHostIsolationExceptionsPage(action.payload)) { loadHostIsolationExceptionsList(store, coreStart.http); } + + if (action.type === 'hostIsolationExceptionsCreateEntry') { + createHostIsolationException(store, coreStart.http); + } + if (action.type === 'hostIsolationExceptionsSubmitDelete') { deleteHostIsolationExceptionsItem(store, coreStart.http); } }; }; +async function createHostIsolationException( + store: ImmutableMiddlewareAPI, + http: HttpStart +) { + const { dispatch } = store; + const entry = transformNewItemOutput( + store.getState().form.entry as CreateExceptionListItemSchema + ); + dispatch({ + type: 'hostIsolationExceptionsFormStateChanged', + payload: { + type: 'LoadingResourceState', + // @ts-expect-error-next-line will be fixed with when AsyncResourceState is refactored (#830) + previousState: entry, + }, + }); + try { + const response = await createHostIsolationExceptionItem({ + http, + exception: entry, + }); + dispatch({ + type: 'hostIsolationExceptionsFormStateChanged', + payload: createLoadedResourceState(response), + }); + } catch (error) { + dispatch({ + type: 'hostIsolationExceptionsFormStateChanged', + payload: createFailedResourceState(error.body ?? error), + }); + } +} + async function loadHostIsolationExceptionsList( store: ImmutableMiddlewareAPI, http: HttpStart diff --git a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/reducer.test.ts b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/reducer.test.ts index 211b03f36d965..98b459fac41d3 100644 --- a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/reducer.test.ts +++ b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/reducer.test.ts @@ -11,6 +11,7 @@ import { initialHostIsolationExceptionsPageState } from './builders'; import { HOST_ISOLATION_EXCEPTIONS_PATH } from '../../../../../common/constants'; import { hostIsolationExceptionsPageReducer } from './reducer'; import { getCurrentLocation } from './selector'; +import { createEmptyHostIsolationException } from '../utils'; describe('Host Isolation Exceptions Reducer', () => { let initialState: HostIsolationExceptionsPageState; @@ -41,4 +42,13 @@ describe('Host Isolation Exceptions Reducer', () => { }); }); }); + it('should set an initial loading state when creating new entries', () => { + const entry = createEmptyHostIsolationException(); + const result = hostIsolationExceptionsPageReducer(initialState, { + type: 'hostIsolationExceptionsCreateEntry', + payload: entry, + }); + expect(result.form.status).toEqual({ type: 'UninitialisedResourceState' }); + expect(result.form.entry).toBe(entry); + }); }); diff --git a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/reducer.ts b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/reducer.ts index 09182661a80b3..d97295598f445 100644 --- a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/reducer.ts +++ b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/reducer.ts @@ -38,6 +38,24 @@ export const hostIsolationExceptionsPageReducer: StateReducer = ( action ) => { switch (action.type) { + case 'hostIsolationExceptionsCreateEntry': { + return { + ...state, + form: { + entry: action.payload, + status: createUninitialisedResourceState(), + }, + }; + } + case 'hostIsolationExceptionsFormStateChanged': { + return { + ...state, + form: { + ...state.form, + status: action.payload, + }, + }; + } case 'hostIsolationExceptionsPageDataChanged': { return { ...state, diff --git a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/types.ts b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/types.ts index 443a86fefab83..1a74042fb652e 100644 --- a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/types.ts +++ b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/types.ts @@ -6,6 +6,7 @@ */ import type { + CreateExceptionListItemSchema, ExceptionListItemSchema, FoundExceptionListItemSchema, } from '@kbn/securitysolution-io-ts-list-types'; @@ -27,4 +28,8 @@ export interface HostIsolationExceptionsPageState { item?: ExceptionListItemSchema; status: AsyncResourceState; }; + form: { + entry?: CreateExceptionListItemSchema; + status: AsyncResourceState; + }; } diff --git a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/utils.ts b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/utils.ts new file mode 100644 index 0000000000000..bfb1ac048e286 --- /dev/null +++ b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/utils.ts @@ -0,0 +1,41 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { CreateExceptionListItemSchema } from '@kbn/securitysolution-io-ts-list-types'; +import { ENDPOINT_HOST_ISOLATION_EXCEPTIONS_LIST_ID } from '@kbn/securitysolution-list-constants'; +import ipaddr from 'ipaddr.js'; + +export function createEmptyHostIsolationException(): CreateExceptionListItemSchema { + return { + comments: [], + description: '', + entries: [ + { + field: 'destination.ip', + operator: 'included', + type: 'match', + value: '', + }, + ], + item_id: undefined, + list_id: ENDPOINT_HOST_ISOLATION_EXCEPTIONS_LIST_ID, + name: '', + namespace_type: 'agnostic', + os_types: ['windows', 'linux', 'macos'], + tags: ['policy:all'], + type: 'simple', + }; +} + +export function isValidIPv4OrCIDR(maybeIp: string): boolean { + try { + ipaddr.IPv4.parseCIDR(maybeIp); + return true; + } catch (e) { + return ipaddr.IPv4.isValid(maybeIp); + } +} diff --git a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/empty.tsx b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/empty.tsx index d7c512794173c..eb53268a9fbd8 100644 --- a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/empty.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/empty.tsx @@ -7,7 +7,7 @@ import React, { memo } from 'react'; import styled, { css } from 'styled-components'; -import { EuiEmptyPrompt } from '@elastic/eui'; +import { EuiButton, EuiEmptyPrompt } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n/react'; const EmptyPrompt = styled(EuiEmptyPrompt)` @@ -16,7 +16,7 @@ const EmptyPrompt = styled(EuiEmptyPrompt)` `} `; -export const HostIsolationExceptionsEmptyState = memo<{}>(() => { +export const HostIsolationExceptionsEmptyState = memo<{ onAdd: () => void }>(({ onAdd }) => { return ( (() => { defaultMessage="There are currently no host isolation exceptions" /> } + actions={ + + + + } /> ); }); diff --git a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/form.test.tsx b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/form.test.tsx new file mode 100644 index 0000000000000..b06449de69d8c --- /dev/null +++ b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/form.test.tsx @@ -0,0 +1,75 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { createEmptyHostIsolationException } from '../../utils'; +import { HostIsolationExceptionsForm } from './form'; +import React from 'react'; +import { + AppContextTestRender, + createAppRootMockRenderer, +} from '../../../../../common/mock/endpoint'; +import { CreateExceptionListItemSchema } from '@kbn/securitysolution-io-ts-list-types'; +import userEvent from '@testing-library/user-event'; + +describe('When on the host isolation exceptions add entry form', () => { + let render: ( + exception: CreateExceptionListItemSchema + ) => ReturnType; + let renderResult: ReturnType; + const onChange = jest.fn(); + const onError = jest.fn(); + + beforeEach(() => { + onChange.mockReset(); + onError.mockReset(); + const mockedContext = createAppRootMockRenderer(); + render = (exception: CreateExceptionListItemSchema) => { + return mockedContext.render( + + ); + }; + }); + + describe('When creating a new exception', () => { + let newException: CreateExceptionListItemSchema; + beforeEach(() => { + newException = createEmptyHostIsolationException(); + renderResult = render(newException); + }); + it('should render the form with empty inputs', () => { + expect(renderResult.getByTestId('hostIsolationExceptions-form-name-input')).toHaveValue(''); + expect(renderResult.getByTestId('hostIsolationExceptions-form-ip-input')).toHaveValue(''); + expect( + renderResult.getByTestId('hostIsolationExceptions-form-description-input') + ).toHaveValue(''); + }); + it('should call onError with true when a wrong ip value is introduced', () => { + const ipInput = renderResult.getByTestId('hostIsolationExceptions-form-ip-input'); + userEvent.type(ipInput, 'not an ip'); + expect(onError).toHaveBeenCalledWith(true); + }); + it('should call onError with false when a correct values are introduced', () => { + const ipInput = renderResult.getByTestId('hostIsolationExceptions-form-ip-input'); + const nameInput = renderResult.getByTestId('hostIsolationExceptions-form-name-input'); + + userEvent.type(nameInput, 'test name'); + userEvent.type(ipInput, '10.0.0.1'); + + expect(onError).toHaveBeenLastCalledWith(false); + }); + it('should call onChange when a value is introduced in a field', () => { + const ipInput = renderResult.getByTestId('hostIsolationExceptions-form-ip-input'); + userEvent.type(ipInput, '10.0.0.1'); + expect(onChange).toHaveBeenLastCalledWith({ + ...newException, + entries: [ + { field: 'destination.ip', operator: 'included', type: 'match', value: '10.0.0.1' }, + ], + }); + }); + }); +}); diff --git a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/form.tsx b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/form.tsx new file mode 100644 index 0000000000000..84263f9d07c81 --- /dev/null +++ b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/form.tsx @@ -0,0 +1,206 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { + EuiFieldText, + EuiForm, + EuiFormRow, + EuiHorizontalRule, + EuiSpacer, + EuiText, + EuiTextArea, + EuiTitle, +} from '@elastic/eui'; +import { FormattedMessage } from '@kbn/i18n/react'; +import { CreateExceptionListItemSchema } from '@kbn/securitysolution-io-ts-list-types'; +import React, { memo, useCallback, useEffect, useMemo, useState } from 'react'; +import { isValidIPv4OrCIDR } from '../../utils'; +import { + DESCRIPTION_LABEL, + DESCRIPTION_PLACEHOLDER, + IP_ERROR, + IP_LABEL, + IP_PLACEHOLDER, + NAME_ERROR, + NAME_LABEL, + NAME_PLACEHOLDER, +} from './translations'; + +interface ExceptionIpEntry { + field: 'destination.ip'; + operator: 'included'; + type: 'match'; + value: ''; +} + +export const HostIsolationExceptionsForm: React.FC<{ + exception: CreateExceptionListItemSchema; + onError: (error: boolean) => void; + onChange: (exception: CreateExceptionListItemSchema) => void; +}> = memo(({ exception, onError, onChange }) => { + const [hasBeenInputNameVisited, setHasBeenInputNameVisited] = useState(false); + const [hasBeenInputIpVisited, setHasBeenInputIpVisited] = useState(false); + const [hasNameError, setHasNameError] = useState(true); + const [hasIpError, setHasIpError] = useState(true); + + useEffect(() => { + onError(hasNameError || hasIpError); + }, [hasNameError, hasIpError, onError]); + + const handleOnChangeName = useCallback( + (event: React.ChangeEvent) => { + const name = event.target.value; + if (!name.trim()) { + setHasNameError(true); + return; + } + setHasNameError(false); + onChange({ ...exception, name }); + }, + [exception, onChange] + ); + + const handleOnIpChange = useCallback( + (event: React.ChangeEvent) => { + const ip = event.target.value; + if (!isValidIPv4OrCIDR(ip)) { + setHasIpError(true); + return; + } + setHasIpError(false); + onChange({ + ...exception, + entries: [ + { + field: 'destination.ip', + operator: 'included', + type: 'match', + value: ip, + }, + ], + }); + }, + [exception, onChange] + ); + + const handleOnDescriptionChange = useCallback( + (event: React.ChangeEvent) => { + onChange({ ...exception, description: event.target.value }); + }, + [exception, onChange] + ); + + const nameInput = useMemo( + () => ( + + !hasBeenInputNameVisited && setHasBeenInputNameVisited(true)} + /> + + ), + [hasNameError, hasBeenInputNameVisited, exception.name, handleOnChangeName] + ); + + const ipInput = useMemo( + () => ( + + !hasBeenInputIpVisited && setHasBeenInputIpVisited(true)} + /> + + ), + [hasIpError, hasBeenInputIpVisited, exception.entries, handleOnIpChange] + ); + + const descriptionInput = useMemo( + () => ( + + + + ), + [exception.description, handleOnDescriptionChange] + ); + + return ( + + +

+ +

+
+ + + + + {nameInput} + {descriptionInput} + + + +

+ +

+
+ + + + + {ipInput} +
+ ); +}); + +HostIsolationExceptionsForm.displayName = 'HostIsolationExceptionsForm'; diff --git a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/form_flyout.test.tsx b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/form_flyout.test.tsx new file mode 100644 index 0000000000000..6cfc9f56beadf --- /dev/null +++ b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/form_flyout.test.tsx @@ -0,0 +1,114 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { + AppContextTestRender, + createAppRootMockRenderer, +} from '../../../../../common/mock/endpoint'; +import userEvent from '@testing-library/user-event'; +import { HostIsolationExceptionsFormFlyout } from './form_flyout'; +import { act } from 'react-dom/test-utils'; +import { HOST_ISOLATION_EXCEPTIONS_PATH } from '../../../../../../common/constants'; + +jest.mock('../../service.ts'); + +describe('When on the host isolation exceptions flyout form', () => { + let mockedContext: AppContextTestRender; + let render: () => ReturnType; + let renderResult: ReturnType; + let waitForAction: AppContextTestRender['middlewareSpy']['waitForAction']; + + // const createHostIsolationExceptionItemMock = createHostIsolationExceptionItem as jest.mock; + + beforeEach(() => { + mockedContext = createAppRootMockRenderer(); + render = () => { + return mockedContext.render(); + }; + waitForAction = mockedContext.middlewareSpy.waitForAction; + }); + + describe('When creating a new exception', () => { + describe('with invalid data', () => { + it('should show disabled buttons when the form first load', () => { + renderResult = render(); + expect(renderResult.getByTestId('add-exception-cancel-button')).not.toHaveAttribute( + 'disabled' + ); + expect(renderResult.getByTestId('add-exception-confirm-button')).toHaveAttribute( + 'disabled' + ); + }); + }); + describe('with valid data', () => { + beforeEach(() => { + renderResult = render(); + const ipInput = renderResult.getByTestId('hostIsolationExceptions-form-ip-input'); + const nameInput = renderResult.getByTestId('hostIsolationExceptions-form-name-input'); + userEvent.type(nameInput, 'test name'); + userEvent.type(ipInput, '10.0.0.1'); + }); + it('should show enable buttons when the form is valid', () => { + expect(renderResult.getByTestId('add-exception-cancel-button')).not.toHaveAttribute( + 'disabled' + ); + expect(renderResult.getByTestId('add-exception-confirm-button')).not.toHaveAttribute( + 'disabled' + ); + }); + it('should submit the entry data when submit is pressed with valid data', async () => { + const confirmButton = renderResult.getByTestId('add-exception-confirm-button'); + expect(confirmButton).not.toHaveAttribute('disabled'); + const waiter = waitForAction('hostIsolationExceptionsCreateEntry'); + userEvent.click(confirmButton); + await waiter; + }); + it('should disable the submit button when an operation is in progress', () => { + act(() => { + mockedContext.store.dispatch({ + type: 'hostIsolationExceptionsFormStateChanged', + payload: { + type: 'LoadingResourceState', + previousState: { type: 'UninitialisedResourceState' }, + }, + }); + }); + const confirmButton = renderResult.getByTestId('add-exception-confirm-button'); + expect(confirmButton).toHaveAttribute('disabled'); + }); + it('should show a toast and close the flyout when the operation is finished', () => { + mockedContext.history.push(`${HOST_ISOLATION_EXCEPTIONS_PATH}?show=create`); + act(() => { + mockedContext.store.dispatch({ + type: 'hostIsolationExceptionsFormStateChanged', + payload: { + type: 'LoadedResourceState', + previousState: { type: 'UninitialisedResourceState' }, + }, + }); + }); + expect(mockedContext.coreStart.notifications.toasts.addSuccess).toHaveBeenCalled(); + expect(mockedContext.history.location.search).toBe(''); + }); + it('should show an error toast operation fails and enable the submit button', () => { + act(() => { + mockedContext.store.dispatch({ + type: 'hostIsolationExceptionsFormStateChanged', + payload: { + type: 'FailedResourceState', + previousState: { type: 'UninitialisedResourceState' }, + }, + }); + }); + expect(mockedContext.coreStart.notifications.toasts.addDanger).toHaveBeenCalled(); + const confirmButton = renderResult.getByTestId('add-exception-confirm-button'); + expect(confirmButton).not.toHaveAttribute('disabled'); + }); + }); + }); +}); diff --git a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/form_flyout.tsx b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/form_flyout.tsx new file mode 100644 index 0000000000000..5502a1b8ea2b1 --- /dev/null +++ b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/form_flyout.tsx @@ -0,0 +1,180 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { + EuiButton, + EuiButtonEmpty, + EuiFlexGroup, + EuiFlexItem, + EuiFlyout, + EuiFlyoutBody, + EuiFlyoutFooter, + EuiFlyoutHeader, + EuiTitle, +} from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import { FormattedMessage } from '@kbn/i18n/react'; +import { CreateExceptionListItemSchema } from '@kbn/securitysolution-io-ts-list-types'; +import React, { memo, useCallback, useEffect, useMemo, useState } from 'react'; +import { useDispatch } from 'react-redux'; +import { Dispatch } from 'redux'; +import { Loader } from '../../../../../common/components/loader'; +import { useToasts } from '../../../../../common/lib/kibana'; +import { + isFailedResourceState, + isLoadedResourceState, + isLoadingResourceState, +} from '../../../../state/async_resource_state'; +import { HostIsolationExceptionsPageAction } from '../../store/action'; +import { createEmptyHostIsolationException } from '../../utils'; +import { + useHostIsolationExceptionsNavigateCallback, + useHostIsolationExceptionsSelector, +} from '../hooks'; +import { HostIsolationExceptionsForm } from './form'; + +export const HostIsolationExceptionsFormFlyout: React.FC<{}> = memo(() => { + const dispatch = useDispatch>(); + const toasts = useToasts(); + + const creationInProgress = useHostIsolationExceptionsSelector((state) => + isLoadingResourceState(state.form.status) + ); + const creationSuccessful = useHostIsolationExceptionsSelector((state) => + isLoadedResourceState(state.form.status) + ); + const creationFailure = useHostIsolationExceptionsSelector((state) => + isFailedResourceState(state.form.status) + ); + + const navigateCallback = useHostIsolationExceptionsNavigateCallback(); + + const [formHasError, setFormHasError] = useState(true); + const [exception, setException] = useState(undefined); + + const onCancel = useCallback( + () => + navigateCallback({ + show: undefined, + id: undefined, + }), + [navigateCallback] + ); + + useEffect(() => { + setException(createEmptyHostIsolationException()); + }, []); + + useEffect(() => { + if (creationSuccessful) { + onCancel(); + dispatch({ + type: 'hostIsolationExceptionsFormStateChanged', + payload: { + type: 'UninitialisedResourceState', + }, + }); + toasts.addSuccess( + i18n.translate( + 'xpack.securitySolution.hostIsolationExceptions.form.creationSuccessToastTitle', + { + defaultMessage: '"{name}" has been added to the host isolation exceptions list.', + values: { name: exception?.name }, + } + ) + ); + } + }, [creationSuccessful, onCancel, dispatch, toasts, exception?.name]); + + useEffect(() => { + if (creationFailure) { + toasts.addDanger( + i18n.translate( + 'xpack.securitySolution.hostIsolationExceptions.form.creationFailureToastTitle', + { + defaultMessage: 'There was an error creating the exception', + } + ) + ); + } + }, [dispatch, toasts, creationFailure]); + + const handleOnCancel = useCallback(() => { + if (creationInProgress) return; + onCancel(); + }, [creationInProgress, onCancel]); + + const handleOnSubmit = useCallback(() => { + dispatch({ + type: 'hostIsolationExceptionsCreateEntry', + payload: exception, + }); + }, [dispatch, exception]); + + const confirmButtonMemo = useMemo( + () => ( + + + + ), + [formHasError, creationInProgress, handleOnSubmit] + ); + + return exception ? ( + + + +

+ +

+
+
+ + + + + + + + + + + + + {confirmButtonMemo} + + +
+ ) : ( + + ); +}); + +HostIsolationExceptionsFormFlyout.displayName = 'HostIsolationExceptionsFormFlyout'; diff --git a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/translations.ts b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/translations.ts new file mode 100644 index 0000000000000..df179c7a2221c --- /dev/null +++ b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/translations.ts @@ -0,0 +1,64 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { i18n } from '@kbn/i18n'; + +export const NAME_PLACEHOLDER = i18n.translate( + 'xpack.securitySolution.hostIsolationExceptions.form.name.placeholder', + { + defaultMessage: 'New IP', + } +); + +export const NAME_LABEL = i18n.translate( + 'xpack.securitySolution.hostIsolationExceptions.form.name.label', + { + defaultMessage: 'Name your host isolation exceptions', + } +); + +export const NAME_ERROR = i18n.translate( + 'xpack.securitySolution.hostIsolationExceptions.form.name.error', + { + defaultMessage: "The name can't be empty", + } +); + +export const DESCRIPTION_PLACEHOLDER = i18n.translate( + 'xpack.securitySolution.hostIsolationExceptions.form.description.placeholder', + { + defaultMessage: 'Describe your Host Isolation Exception', + } +); + +export const DESCRIPTION_LABEL = i18n.translate( + 'xpack.securitySolution.hostIsolationExceptions.form.description.label', + { + defaultMessage: 'Description', + } +); + +export const IP_PLACEHOLDER = i18n.translate( + 'xpack.securitySolution.hostIsolationExceptions.form.ip.placeholder', + { + defaultMessage: 'Ex 0.0.0.0/24', + } +); + +export const IP_LABEL = i18n.translate( + 'xpack.securitySolution.hostIsolationExceptions.form.ip.label', + { + defaultMessage: 'Enter IP Address', + } +); + +export const IP_ERROR = i18n.translate( + 'xpack.securitySolution.hostIsolationExceptions.form.ip.error', + { + defaultMessage: 'The ip is invalid. Only IPv4 with optional CIDR is supported', + } +); diff --git a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/host_isolation_exceptions_list.test.tsx b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/host_isolation_exceptions_list.test.tsx index 53b8bc33c252f..ac472fdae4d7b 100644 --- a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/host_isolation_exceptions_list.test.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/host_isolation_exceptions_list.test.tsx @@ -5,16 +5,18 @@ * 2.0. */ -import React from 'react'; import { act } from '@testing-library/react'; -import { AppContextTestRender, createAppRootMockRenderer } from '../../../../common/mock/endpoint'; +import userEvent from '@testing-library/user-event'; +import React from 'react'; +import { getFoundExceptionListItemSchemaMock } from '../../../../../../lists/common/schemas/response/found_exception_list_item_schema.mock'; import { HOST_ISOLATION_EXCEPTIONS_PATH } from '../../../../../common/constants'; -import { HostIsolationExceptionsList } from './host_isolation_exceptions_list'; +import { AppContextTestRender, createAppRootMockRenderer } from '../../../../common/mock/endpoint'; import { isFailedResourceState, isLoadedResourceState } from '../../../state'; import { getHostIsolationExceptionItems } from '../service'; -import { getFoundExceptionListItemSchemaMock } from '../../../../../../lists/common/schemas/response/found_exception_list_item_schema.mock'; +import { HostIsolationExceptionsList } from './host_isolation_exceptions_list'; jest.mock('../service'); + const getHostIsolationExceptionItemsMock = getHostIsolationExceptionItems as jest.Mock; describe('When on the host isolation exceptions page', () => { @@ -103,5 +105,17 @@ describe('When on the host isolation exceptions page', () => { ).toEqual(' Server is too far away'); }); }); + it('should show the create flyout when the add button is pressed', () => { + render(); + act(() => { + userEvent.click(renderResult.getByTestId('hostIsolationExceptionsListAddButton')); + }); + expect(renderResult.getByTestId('hostIsolationExceptionsCreateEditFlyout')).toBeTruthy(); + }); + it('should show the create flyout when the show location is create', () => { + history.push(`${HOST_ISOLATION_EXCEPTIONS_PATH}?show=create`); + render(); + expect(renderResult.getByTestId('hostIsolationExceptionsCreateEditFlyout')).toBeTruthy(); + }); }); }); diff --git a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/host_isolation_exceptions_list.tsx b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/host_isolation_exceptions_list.tsx index 53fb74d5bd8f7..cfb0121396e24 100644 --- a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/host_isolation_exceptions_list.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/host_isolation_exceptions_list.tsx @@ -8,7 +8,7 @@ import { ExceptionListItemSchema } from '@kbn/securitysolution-io-ts-list-types'; import { i18n } from '@kbn/i18n'; import React, { Dispatch, useCallback } from 'react'; -import { EuiSpacer } from '@elastic/eui'; +import { EuiButton, EuiSpacer } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n/react'; import { useDispatch } from 'react-redux'; import { ExceptionItem } from '../../../../common/components/exceptions/viewer/exception_item'; @@ -32,6 +32,7 @@ import { ArtifactEntryCard, ArtifactEntryCardProps } from '../../../components/a import { HostIsolationExceptionsEmptyState } from './components/empty'; import { HostIsolationExceptionsPageAction } from '../store/action'; import { HostIsolationExceptionDeleteModal } from './components/delete_modal'; +import { HostIsolationExceptionsFormFlyout } from './components/form_flyout'; type HostIsolationExceptionPaginatedContent = PaginatedContentProps< Immutable, @@ -54,6 +55,8 @@ export const HostIsolationExceptionsList = () => { const dispatch = useDispatch>(); const itemToDelete = useHostIsolationExceptionsSelector(getItemToDelete); + const showFlyout = !!location.show; + const navigateCallback = useHostIsolationExceptionsNavigateCallback(); const handleOnSearch = useCallback( @@ -92,6 +95,15 @@ export const HostIsolationExceptionsList = () => { [navigateCallback] ); + const handleAddButtonClick = useCallback( + () => + navigateCallback({ + show: 'create', + id: undefined, + }), + [navigateCallback] + ); + return ( { defaultMessage="Host Isolation Exceptions" /> } - actions={[]} + actions={ + + + + } > + {showFlyout && } + { pagination={pagination} contentClassName="host-isolation-exceptions-container" data-test-subj="hostIsolationExceptionsContent" - noItemsMessage={} + noItemsMessage={} /> ); From f6e4f1b225f614b8e4a8491e9a3c6f15d4e0b33c Mon Sep 17 00:00:00 2001 From: Nathan L Smith Date: Mon, 11 Oct 2021 11:12:32 -0500 Subject: [PATCH 014/107] Relocate internal APM API endpoints to /internal (#114196) (#114494) All endpoints except annotations, source maps, and agent configuration are now at /internal/apm instead of /api/apm. None of the UX endpoints have been updated, only APM. If you search for "/api/apm" in the codebase, you should only see the above endpoints. Fixes #113383. # Conflicts: # x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/index.tsx # x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/index.tsx # x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/index.tsx # x-pack/plugins/apm/server/routes/event_metadata.ts # x-pack/test/apm_api_integration/tests/metadata/event_metadata.ts # x-pack/test/apm_api_integration/tests/services/throughput.ts --- x-pack/plugins/apm/dev_docs/local_setup.md | 2 +- .../integration/power_user/no_data_screen.ts | 2 +- .../integration/read_only_user/home.spec.ts | 4 +- .../service_overview/header_filters.spec.ts | 22 ++++++----- .../service_overview/instances_table.spec.ts | 6 +-- .../service_overview/service_overview.spec.ts | 2 +- .../service_overview/time_comparison.spec.ts | 14 ++++--- .../error_count_alert_trigger/index.tsx | 3 +- .../index.tsx | 3 +- .../index.tsx | 3 +- .../app/Settings/ApmIndices/index.tsx | 7 ++-- .../anomaly_detection/add_environments.tsx | 4 +- .../Settings/anomaly_detection/create_jobs.ts | 2 +- .../app/Settings/anomaly_detection/index.tsx | 4 +- .../DeleteButton.tsx | 2 +- .../link_preview.tsx | 2 +- .../saveCustomLink.ts | 4 +- .../customize_ui/custom_link/index.tsx | 2 +- .../components/app/Settings/schema/index.tsx | 9 +++-- .../public/components/app/TraceLink/index.tsx | 2 +- .../backend_detail_dependencies_table.tsx | 2 +- .../backend_error_rate_chart.tsx | 2 +- .../backend_latency_chart.tsx | 2 +- .../backend_throughput_chart.tsx | 2 +- .../index.tsx | 2 +- .../Distribution/index.tsx | 2 +- .../error_group_details/detail_view/index.tsx | 2 +- .../app/error_group_details/index.tsx | 2 +- .../app/error_group_overview/List/index.tsx | 2 +- .../app/error_group_overview/index.tsx | 2 +- .../service_dependencies_breakdown_chart.tsx | 3 +- .../app/service_inventory/index.tsx | 4 +- .../__fixtures__/service_api_mock_data.ts | 2 +- .../service_inventory/service_list/index.tsx | 4 +- .../service_list/service_list.test.tsx | 2 +- .../components/app/service_logs/index.tsx | 4 +- .../service_map/Popover/backend_contents.tsx | 2 +- .../service_map/Popover/service_contents.tsx | 2 +- .../components/app/service_map/index.tsx | 2 +- .../app/service_node_metrics/index.tsx | 2 +- .../app/service_node_overview/index.tsx | 2 +- .../service_overview.test.tsx | 37 +++++++++--------- .../index.tsx | 2 +- .../get_columns.tsx | 4 +- .../service_overview_errors_table/index.tsx | 8 ++-- ...ice_overview_instances_chart_and_table.tsx | 8 ++-- .../get_columns.tsx | 4 +- .../index.tsx | 4 +- .../instance_actions_menu/menu_sections.ts | 2 +- .../instance_details.test.tsx | 2 +- .../intance_details.tsx | 2 +- .../use_instance_details_fetcher.tsx | 2 +- .../service_overview_throughput_chart.tsx | 2 +- .../app/service_profiling/index.tsx | 4 +- .../service_profiling_flamegraph.tsx | 3 +- .../components/app/trace_overview/index.tsx | 4 +- .../app/trace_overview/trace_list.tsx | 2 +- .../use_waterfall_fetcher.ts | 2 +- .../waterfall_helpers/waterfall_helpers.ts | 2 +- .../waterfallContainer.stories.data.ts | 2 +- .../components/app/transaction_link/index.tsx | 2 +- .../routing/templates/apm_main_template.tsx | 2 +- .../anomaly_detection_setup_link.tsx | 2 +- .../helper/get_alert_annotations.test.tsx | 2 +- .../charts/helper/get_alert_annotations.tsx | 2 +- .../custom_tooltip.stories.tsx | 2 +- .../custom_tooltip.tsx | 2 +- .../index.tsx | 2 +- .../latency_chart/latency_chart.stories.tsx | 6 +-- .../use_transaction_breakdown.ts | 2 +- .../transaction_error_rate_chart/index.tsx | 4 +- .../shared/service_icons/cloud_details.tsx | 2 +- .../service_icons/container_details.tsx | 2 +- .../shared/service_icons/index.test.tsx | 8 ++-- .../components/shared/service_icons/index.tsx | 4 +- .../shared/service_icons/service_details.tsx | 2 +- .../custom_link_menu_section/index.tsx | 2 +- .../shared/transactions_table/get_columns.tsx | 4 +- .../shared/transactions_table/index.tsx | 6 +-- .../anomaly_detection_jobs_context.tsx | 4 +- .../apm_backend/apm_backend_context.tsx | 4 +- .../apm_service/apm_service_context.tsx | 2 +- .../apm_service/use_service_agent_fetcher.ts | 2 +- .../use_service_alerts_fetcher.tsx | 2 +- .../use_service_transaction_types_fetcher.tsx | 3 +- .../public/hooks/use_dynamic_index_pattern.ts | 2 +- .../public/hooks/use_environments_fetcher.tsx | 2 +- .../use_error_group_distribution_fetcher.tsx | 3 +- .../use_fallback_to_transactions_fetcher.tsx | 2 +- .../use_service_metric_charts_fetcher.ts | 2 +- .../use_transaction_latency_chart_fetcher.ts | 2 +- .../use_transaction_trace_samples_fetcher.ts | 2 +- .../selectors/latency_chart_selectors.ts | 2 +- .../apm/public/services/callApi.test.ts | 13 ++++--- .../apm/public/services/callApmApi.test.ts | 12 +++--- .../apm_observability_overview_fetchers.ts | 4 +- .../apm/public/services/rest/callApi.ts | 2 +- .../apm/public/services/rest/index_pattern.ts | 2 +- .../config_agent/config_agent.stories.tsx | 2 +- .../config_agent/get_policy_options.test.ts | 2 +- .../public/tutorial/config_agent/index.tsx | 4 +- .../tutorial/tutorial_apm_fleet_check.ts | 2 +- .../tutorial_fleet_instructions/index.tsx | 4 +- .../apm/server/routes/alerts/chart_preview.ts | 6 +-- x-pack/plugins/apm/server/routes/backends.ts | 12 +++--- .../plugins/apm/server/routes/environments.ts | 2 +- x-pack/plugins/apm/server/routes/errors.ts | 6 +-- .../server/routes/fallback_to_transactions.ts | 2 +- x-pack/plugins/apm/server/routes/fleet.ts | 12 +++--- .../server/routes/historical_data/index.ts | 2 +- .../apm/server/routes/index_pattern.ts | 4 +- x-pack/plugins/apm/server/routes/metrics.ts | 2 +- .../server/routes/observability_overview.ts | 4 +- .../plugins/apm/server/routes/service_map.ts | 6 +-- .../apm/server/routes/service_nodes.ts | 2 +- x-pack/plugins/apm/server/routes/services.ts | 39 ++++++++++--------- .../routes/settings/anomaly_detection.ts | 6 +-- .../apm/server/routes/settings/apm_indices.ts | 6 +-- .../apm/server/routes/settings/custom_link.ts | 10 ++--- x-pack/plugins/apm/server/routes/traces.ts | 8 ++-- .../plugins/apm/server/routes/transactions.ts | 15 ++++--- .../server/scripts/get_alerts_index.sh | 2 +- .../tests/alerts/chart_preview.ts | 12 +++--- .../tests/feature_controls.ts | 34 ++++++++-------- .../tests/historical_data/has_data.ts | 4 +- .../test/apm_api_integration/tests/index.ts | 2 +- .../tests/inspect/inspect.ts | 6 +-- .../tests/metrics_charts/metrics_charts.ts | 6 +-- .../tests/observability_overview/has_data.ts | 6 +-- .../observability_overview.ts | 4 +- .../__snapshots__/service_maps.snap | 4 +- .../tests/service_maps/service_maps.ts | 32 +++++++-------- .../service_overview/dependencies/index.ts | 10 ++--- .../service_overview/get_service_node_ids.ts | 2 +- .../service_overview/instance_details.ts | 9 +++-- .../instances_detailed_statistics.ts | 8 ++-- .../instances_main_statistics.ts | 14 +++---- .../tests/services/agent.ts | 4 +- .../error_groups_detailed_statistics.ts | 12 +++--- .../services/error_groups_main_statistics.ts | 6 +-- .../tests/services/get_error_group_ids.ts | 2 +- .../tests/services/service_details.ts | 6 +-- .../tests/services/service_icons.ts | 6 +-- .../services/services_detailed_statistics.ts | 15 +++---- .../tests/services/throughput.ts | 10 ++--- .../tests/services/top_services.ts | 20 +++++----- .../tests/services/transaction_types.ts | 4 +- .../tests/settings/anomaly_detection/basic.ts | 4 +- .../anomaly_detection/no_access_user.ts | 4 +- .../settings/anomaly_detection/read_user.ts | 4 +- .../settings/anomaly_detection/write_user.ts | 6 ++- .../tests/settings/custom_link.ts | 10 ++--- .../tests/traces/top_traces.ts | 4 +- .../tests/traces/trace_by_id.tsx | 6 +-- .../tests/transactions/breakdown.ts | 8 ++-- .../tests/transactions/error_rate.ts | 10 ++--- .../tests/transactions/latency.ts | 24 ++++++------ .../tests/transactions/trace_samples.ts | 2 +- ...transactions_groups_detailed_statistics.ts | 12 +++--- .../transactions_groups_main_statistics.ts | 8 ++-- 160 files changed, 449 insertions(+), 420 deletions(-) diff --git a/x-pack/plugins/apm/dev_docs/local_setup.md b/x-pack/plugins/apm/dev_docs/local_setup.md index fd350d81a35af..eaa99560400e6 100644 --- a/x-pack/plugins/apm/dev_docs/local_setup.md +++ b/x-pack/plugins/apm/dev_docs/local_setup.md @@ -46,4 +46,4 @@ This will create: All APM api endpoints accept `_inspect=true` as a query param that will output all Elasticsearch queries performed in that request. It will be available in the browser response and on localhost it is also available in the Kibana Node.js process output. Example: -`/api/apm/services/my_service?_inspect=true` +`/internal/apm/services/my_service?_inspect=true` diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/integration/power_user/no_data_screen.ts b/x-pack/plugins/apm/ftr_e2e/cypress/integration/power_user/no_data_screen.ts index 2d5c2a6f16228..1e954d9982295 100644 --- a/x-pack/plugins/apm/ftr_e2e/cypress/integration/power_user/no_data_screen.ts +++ b/x-pack/plugins/apm/ftr_e2e/cypress/integration/power_user/no_data_screen.ts @@ -6,7 +6,7 @@ */ /* eslint-disable @typescript-eslint/naming-convention */ -const apmIndicesSaveURL = '/api/apm/settings/apm-indices/save'; +const apmIndicesSaveURL = '/internal/apm/settings/apm-indices/save'; describe('No data screen', () => { describe('bypass no data screen on settings pages', () => { diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/integration/read_only_user/home.spec.ts b/x-pack/plugins/apm/ftr_e2e/cypress/integration/read_only_user/home.spec.ts index 679e2934f9c37..8457282f5c256 100644 --- a/x-pack/plugins/apm/ftr_e2e/cypress/integration/read_only_user/home.spec.ts +++ b/x-pack/plugins/apm/ftr_e2e/cypress/integration/read_only_user/home.spec.ts @@ -17,11 +17,11 @@ const serviceInventoryHref = url.format({ const apisToIntercept = [ { - endpoint: '/api/apm/service?*', + endpoint: '/internal/apm/service?*', name: 'servicesMainStatistics', }, { - endpoint: '/api/apm/services/detailed_statistics?*', + endpoint: '/internal/apm/services/detailed_statistics?*', name: 'servicesDetailedStatistics', }, ]; diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/integration/read_only_user/service_overview/header_filters.spec.ts b/x-pack/plugins/apm/ftr_e2e/cypress/integration/read_only_user/service_overview/header_filters.spec.ts index 720e9b4b67e0a..6950a0bbadb9c 100644 --- a/x-pack/plugins/apm/ftr_e2e/cypress/integration/read_only_user/service_overview/header_filters.spec.ts +++ b/x-pack/plugins/apm/ftr_e2e/cypress/integration/read_only_user/service_overview/header_filters.spec.ts @@ -16,43 +16,47 @@ const serviceOverviewHref = url.format({ const apisToIntercept = [ { - endpoint: '/api/apm/services/opbeans-node/transactions/charts/latency?*', + endpoint: + '/internal/apm/services/opbeans-node/transactions/charts/latency?*', name: 'latencyChartRequest', }, { - endpoint: '/api/apm/services/opbeans-node/throughput?*', + endpoint: '/internal/apm/services/opbeans-node/throughput?*', name: 'throughputChartRequest', }, { - endpoint: '/api/apm/services/opbeans-node/transactions/charts/error_rate?*', + endpoint: + '/internal/apm/services/opbeans-node/transactions/charts/error_rate?*', name: 'errorRateChartRequest', }, { endpoint: - '/api/apm/services/opbeans-node/transactions/groups/detailed_statistics?*', + '/internal/apm/services/opbeans-node/transactions/groups/detailed_statistics?*', name: 'transactionGroupsDetailedRequest', }, { endpoint: - '/api/apm/services/opbeans-node/service_overview_instances/detailed_statistics?*', + '/internal/apm/services/opbeans-node/service_overview_instances/detailed_statistics?*', name: 'instancesDetailedRequest', }, { endpoint: - '/api/apm/services/opbeans-node/service_overview_instances/main_statistics?*', + '/internal/apm/services/opbeans-node/service_overview_instances/main_statistics?*', name: 'instancesMainStatisticsRequest', }, { - endpoint: '/api/apm/services/opbeans-node/error_groups/main_statistics?*', + endpoint: + '/internal/apm/services/opbeans-node/error_groups/main_statistics?*', name: 'errorGroupsMainStatisticsRequest', }, { - endpoint: '/api/apm/services/opbeans-node/transaction/charts/breakdown?*', + endpoint: + '/internal/apm/services/opbeans-node/transaction/charts/breakdown?*', name: 'transactonBreakdownRequest', }, { endpoint: - '/api/apm/services/opbeans-node/transactions/groups/main_statistics?*', + '/internal/apm/services/opbeans-node/transactions/groups/main_statistics?*', name: 'transactionsGroupsMainStatisticsRequest', }, ]; diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/integration/read_only_user/service_overview/instances_table.spec.ts b/x-pack/plugins/apm/ftr_e2e/cypress/integration/read_only_user/service_overview/instances_table.spec.ts index 7bfa4689db4fe..c7d9fa4e32106 100644 --- a/x-pack/plugins/apm/ftr_e2e/cypress/integration/read_only_user/service_overview/instances_table.spec.ts +++ b/x-pack/plugins/apm/ftr_e2e/cypress/integration/read_only_user/service_overview/instances_table.spec.ts @@ -18,17 +18,17 @@ const serviceOverviewHref = url.format({ const apisToIntercept = [ { endpoint: - '/api/apm/services/opbeans-java/service_overview_instances/main_statistics?*', + '/internal/apm/services/opbeans-java/service_overview_instances/main_statistics?*', name: 'instancesMainRequest', }, { endpoint: - '/api/apm/services/opbeans-java/service_overview_instances/detailed_statistics?*', + '/internal/apm/services/opbeans-java/service_overview_instances/detailed_statistics?*', name: 'instancesDetailsRequest', }, { endpoint: - '/api/apm/services/opbeans-java/service_overview_instances/details/31651f3c624b81c55dd4633df0b5b9f9ab06b151121b0404ae796632cd1f87ad?*', + '/internal/apm/services/opbeans-java/service_overview_instances/details/31651f3c624b81c55dd4633df0b5b9f9ab06b151121b0404ae796632cd1f87ad?*', name: 'instanceDetailsRequest', }, ]; diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/integration/read_only_user/service_overview/service_overview.spec.ts b/x-pack/plugins/apm/ftr_e2e/cypress/integration/read_only_user/service_overview/service_overview.spec.ts index a0dc7082ca331..b0cf424b8067e 100644 --- a/x-pack/plugins/apm/ftr_e2e/cypress/integration/read_only_user/service_overview/service_overview.spec.ts +++ b/x-pack/plugins/apm/ftr_e2e/cypress/integration/read_only_user/service_overview/service_overview.spec.ts @@ -59,7 +59,7 @@ describe('Service Overview', () => { }); it('hides dependency tab when RUM service', () => { - cy.intercept('GET', '/api/apm/services/opbeans-rum/agent?*').as( + cy.intercept('GET', '/internal/apm/services/opbeans-rum/agent?*').as( 'agentRequest' ); cy.visit( diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/integration/read_only_user/service_overview/time_comparison.spec.ts b/x-pack/plugins/apm/ftr_e2e/cypress/integration/read_only_user/service_overview/time_comparison.spec.ts index 2e05a2c062aaf..65a82a8ab6bdf 100644 --- a/x-pack/plugins/apm/ftr_e2e/cypress/integration/read_only_user/service_overview/time_comparison.spec.ts +++ b/x-pack/plugins/apm/ftr_e2e/cypress/integration/read_only_user/service_overview/time_comparison.spec.ts @@ -18,30 +18,32 @@ const serviceOverviewHref = url.format({ const apisToIntercept = [ { - endpoint: '/api/apm/services/opbeans-java/transactions/charts/latency?*', + endpoint: + '/internal/apm/services/opbeans-java/transactions/charts/latency?*', name: 'latencyChartRequest', }, { - endpoint: '/api/apm/services/opbeans-java/throughput?*', + endpoint: '/internal/apm/services/opbeans-java/throughput?*', name: 'throughputChartRequest', }, { - endpoint: '/api/apm/services/opbeans-java/transactions/charts/error_rate?*', + endpoint: + '/internal/apm/services/opbeans-java/transactions/charts/error_rate?*', name: 'errorRateChartRequest', }, { endpoint: - '/api/apm/services/opbeans-java/transactions/groups/detailed_statistics?*', + '/internal/apm/services/opbeans-java/transactions/groups/detailed_statistics?*', name: 'transactionGroupsDetailedRequest', }, { endpoint: - '/api/apm/services/opbeans-java/error_groups/detailed_statistics?*', + '/internal/apm/services/opbeans-java/error_groups/detailed_statistics?*', name: 'errorGroupsDetailedRequest', }, { endpoint: - '/api/apm/services/opbeans-java/service_overview_instances/detailed_statistics?*', + '/internal/apm/services/opbeans-java/service_overview_instances/detailed_statistics?*', name: 'instancesDetailedRequest', }, ]; diff --git a/x-pack/plugins/apm/public/components/alerting/error_count_alert_trigger/index.tsx b/x-pack/plugins/apm/public/components/alerting/error_count_alert_trigger/index.tsx index cb7b367fb390b..eac128a7e88c4 100644 --- a/x-pack/plugins/apm/public/components/alerting/error_count_alert_trigger/index.tsx +++ b/x-pack/plugins/apm/public/components/alerting/error_count_alert_trigger/index.tsx @@ -61,7 +61,8 @@ export function ErrorCountAlertTrigger(props: Props) { }); if (interval && start && end) { return callApmApi({ - endpoint: 'GET /api/apm/alerts/chart_preview/transaction_error_count', + endpoint: + 'GET /internal/apm/alerts/chart_preview/transaction_error_count', params: { query: { environment: params.environment, diff --git a/x-pack/plugins/apm/public/components/alerting/transaction_duration_alert_trigger/index.tsx b/x-pack/plugins/apm/public/components/alerting/transaction_duration_alert_trigger/index.tsx index 5327eb561bfc6..8957dfc823e44 100644 --- a/x-pack/plugins/apm/public/components/alerting/transaction_duration_alert_trigger/index.tsx +++ b/x-pack/plugins/apm/public/components/alerting/transaction_duration_alert_trigger/index.tsx @@ -99,7 +99,8 @@ export function TransactionDurationAlertTrigger(props: Props) { }); if (interval && start && end) { return callApmApi({ - endpoint: 'GET /api/apm/alerts/chart_preview/transaction_duration', + endpoint: + 'GET /internal/apm/alerts/chart_preview/transaction_duration', params: { query: { aggregationType: params.aggregationType, diff --git a/x-pack/plugins/apm/public/components/alerting/transaction_error_rate_alert_trigger/index.tsx b/x-pack/plugins/apm/public/components/alerting/transaction_error_rate_alert_trigger/index.tsx index 3bad7ae15f658..ddddc4bbecbad 100644 --- a/x-pack/plugins/apm/public/components/alerting/transaction_error_rate_alert_trigger/index.tsx +++ b/x-pack/plugins/apm/public/components/alerting/transaction_error_rate_alert_trigger/index.tsx @@ -68,7 +68,8 @@ export function TransactionErrorRateAlertTrigger(props: Props) { }); if (interval && start && end) { return callApmApi({ - endpoint: 'GET /api/apm/alerts/chart_preview/transaction_error_rate', + endpoint: + 'GET /internal/apm/alerts/chart_preview/transaction_error_rate', params: { query: { environment: params.environment, diff --git a/x-pack/plugins/apm/public/components/app/Settings/ApmIndices/index.tsx b/x-pack/plugins/apm/public/components/app/Settings/ApmIndices/index.tsx index 2d74187f9d83b..6685dddd87d7f 100644 --- a/x-pack/plugins/apm/public/components/app/Settings/ApmIndices/index.tsx +++ b/x-pack/plugins/apm/public/components/app/Settings/ApmIndices/index.tsx @@ -76,7 +76,7 @@ async function saveApmIndices({ apmIndices: Record; }) { await callApmApi({ - endpoint: 'POST /api/apm/settings/apm-indices/save', + endpoint: 'POST /internal/apm/settings/apm-indices/save', signal: null, params: { body: apmIndices, @@ -86,7 +86,8 @@ async function saveApmIndices({ clearCache(); } -type ApiResponse = APIReturnType<`GET /api/apm/settings/apm-index-settings`>; +type ApiResponse = + APIReturnType<`GET /internal/apm/settings/apm-index-settings`>; // avoid infinite loop by initializing the state outside the component const INITIAL_STATE: ApiResponse = { apmIndexSettings: [] }; @@ -103,7 +104,7 @@ export function ApmIndices() { (_callApmApi) => { if (canSave) { return _callApmApi({ - endpoint: `GET /api/apm/settings/apm-index-settings`, + endpoint: `GET /internal/apm/settings/apm-index-settings`, }); } }, diff --git a/x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/add_environments.tsx b/x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/add_environments.tsx index a60e685eacbde..b130c727cfcfe 100644 --- a/x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/add_environments.tsx +++ b/x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/add_environments.tsx @@ -35,7 +35,7 @@ interface Props { } type ApiResponse = - APIReturnType<'GET /api/apm/settings/anomaly-detection/environments'>; + APIReturnType<'GET /internal/apm/settings/anomaly-detection/environments'>; const INITIAL_DATA: ApiResponse = { environments: [] }; export function AddEnvironments({ @@ -50,7 +50,7 @@ export function AddEnvironments({ const { data = INITIAL_DATA, status } = useFetcher( (callApmApi) => callApmApi({ - endpoint: `GET /api/apm/settings/anomaly-detection/environments`, + endpoint: `GET /internal/apm/settings/anomaly-detection/environments`, }), [], { preservePreviousData: false } diff --git a/x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/create_jobs.ts b/x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/create_jobs.ts index c7c435331f640..eeacaacf93fbe 100644 --- a/x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/create_jobs.ts +++ b/x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/create_jobs.ts @@ -28,7 +28,7 @@ export async function createJobs({ }) { try { await callApmApi({ - endpoint: 'POST /api/apm/settings/anomaly-detection/jobs', + endpoint: 'POST /internal/apm/settings/anomaly-detection/jobs', signal: null, params: { body: { environments }, diff --git a/x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/index.tsx b/x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/index.tsx index 0fe7f9360de0c..8e1064a71647f 100644 --- a/x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/index.tsx +++ b/x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/index.tsx @@ -17,7 +17,7 @@ import { useLicenseContext } from '../../../../context/license/use_license_conte import { APIReturnType } from '../../../../services/rest/createCallApmApi'; export type AnomalyDetectionApiResponse = - APIReturnType<'GET /api/apm/settings/anomaly-detection/jobs'>; + APIReturnType<'GET /internal/apm/settings/anomaly-detection/jobs'>; const DEFAULT_VALUE: AnomalyDetectionApiResponse = { jobs: [], @@ -40,7 +40,7 @@ export function AnomalyDetection() { (callApmApi) => { if (canGetJobs) { return callApmApi({ - endpoint: `GET /api/apm/settings/anomaly-detection/jobs`, + endpoint: `GET /internal/apm/settings/anomaly-detection/jobs`, }); } }, diff --git a/x-pack/plugins/apm/public/components/app/Settings/customize_ui/custom_link/create_edit_custom_link_flyout/DeleteButton.tsx b/x-pack/plugins/apm/public/components/app/Settings/customize_ui/custom_link/create_edit_custom_link_flyout/DeleteButton.tsx index c6547aaff0671..f425979df71e6 100644 --- a/x-pack/plugins/apm/public/components/app/Settings/customize_ui/custom_link/create_edit_custom_link_flyout/DeleteButton.tsx +++ b/x-pack/plugins/apm/public/components/app/Settings/customize_ui/custom_link/create_edit_custom_link_flyout/DeleteButton.tsx @@ -49,7 +49,7 @@ async function deleteConfig( ) { try { await callApmApi({ - endpoint: 'DELETE /api/apm/settings/custom_links/{id}', + endpoint: 'DELETE /internal/apm/settings/custom_links/{id}', signal: null, params: { path: { id: customLinkId }, diff --git a/x-pack/plugins/apm/public/components/app/Settings/customize_ui/custom_link/create_edit_custom_link_flyout/link_preview.tsx b/x-pack/plugins/apm/public/components/app/Settings/customize_ui/custom_link/create_edit_custom_link_flyout/link_preview.tsx index 726d4ba0d65ee..7ffeafedab4b3 100644 --- a/x-pack/plugins/apm/public/components/app/Settings/customize_ui/custom_link/create_edit_custom_link_flyout/link_preview.tsx +++ b/x-pack/plugins/apm/public/components/app/Settings/customize_ui/custom_link/create_edit_custom_link_flyout/link_preview.tsx @@ -34,7 +34,7 @@ const fetchTransaction = debounce( async (filters: Filter[], callback: (transaction: Transaction) => void) => { const transaction = await callApmApi({ signal: null, - endpoint: 'GET /api/apm/settings/custom_links/transaction', + endpoint: 'GET /internal/apm/settings/custom_links/transaction', params: { query: convertFiltersToQuery(filters) }, }); callback(transaction); diff --git a/x-pack/plugins/apm/public/components/app/Settings/customize_ui/custom_link/create_edit_custom_link_flyout/saveCustomLink.ts b/x-pack/plugins/apm/public/components/app/Settings/customize_ui/custom_link/create_edit_custom_link_flyout/saveCustomLink.ts index aa20cf74d1512..6dcabc4adeda3 100644 --- a/x-pack/plugins/apm/public/components/app/Settings/customize_ui/custom_link/create_edit_custom_link_flyout/saveCustomLink.ts +++ b/x-pack/plugins/apm/public/components/app/Settings/customize_ui/custom_link/create_edit_custom_link_flyout/saveCustomLink.ts @@ -35,7 +35,7 @@ export async function saveCustomLink({ if (id) { await callApmApi({ - endpoint: 'PUT /api/apm/settings/custom_links/{id}', + endpoint: 'PUT /internal/apm/settings/custom_links/{id}', signal: null, params: { path: { id }, @@ -44,7 +44,7 @@ export async function saveCustomLink({ }); } else { await callApmApi({ - endpoint: 'POST /api/apm/settings/custom_links', + endpoint: 'POST /internal/apm/settings/custom_links', signal: null, params: { body: customLink, diff --git a/x-pack/plugins/apm/public/components/app/Settings/customize_ui/custom_link/index.tsx b/x-pack/plugins/apm/public/components/app/Settings/customize_ui/custom_link/index.tsx index beea1d8276846..295cc4d008f80 100644 --- a/x-pack/plugins/apm/public/components/app/Settings/customize_ui/custom_link/index.tsx +++ b/x-pack/plugins/apm/public/components/app/Settings/customize_ui/custom_link/index.tsx @@ -38,7 +38,7 @@ export function CustomLinkOverview() { async (callApmApi) => { if (hasValidLicense) { return callApmApi({ - endpoint: 'GET /api/apm/settings/custom_links', + endpoint: 'GET /internal/apm/settings/custom_links', }); } }, diff --git a/x-pack/plugins/apm/public/components/app/Settings/schema/index.tsx b/x-pack/plugins/apm/public/components/app/Settings/schema/index.tsx index 6b7538e61c130..ac32e22fa3ded 100644 --- a/x-pack/plugins/apm/public/components/app/Settings/schema/index.tsx +++ b/x-pack/plugins/apm/public/components/app/Settings/schema/index.tsx @@ -20,7 +20,7 @@ import { import { useApmPluginContext } from '../../../../context/apm_plugin/use_apm_plugin_context'; type FleetMigrationCheckResponse = - APIReturnType<'GET /api/apm/fleet/migration_check'>; + APIReturnType<'GET /internal/apm/fleet/migration_check'>; const APM_DATA_STREAMS_MIGRATION_STATUS_LS = { value: '', @@ -46,7 +46,8 @@ export function Schema() { data = {} as FleetMigrationCheckResponse, status, } = useFetcher( - (callApi) => callApi({ endpoint: 'GET /api/apm/fleet/migration_check' }), + (callApi) => + callApi({ endpoint: 'GET /internal/apm/fleet/migration_check' }), [], { preservePreviousData: false } ); @@ -118,7 +119,7 @@ async function getUnsupportedApmServerConfigs( ) { try { const { unsupported } = await callApmApi({ - endpoint: 'GET /api/apm/fleet/apm_server_schema/unsupported', + endpoint: 'GET /internal/apm/fleet/apm_server_schema/unsupported', signal: null, }); return unsupported; @@ -142,7 +143,7 @@ async function createCloudApmPackagePolicy( updateLocalStorage(FETCH_STATUS.LOADING); try { const { cloudApmPackagePolicy } = await callApmApi({ - endpoint: 'POST /api/apm/fleet/cloud_apm_package_policy', + endpoint: 'POST /internal/apm/fleet/cloud_apm_package_policy', signal: null, }); updateLocalStorage(FETCH_STATUS.SUCCESS); diff --git a/x-pack/plugins/apm/public/components/app/TraceLink/index.tsx b/x-pack/plugins/apm/public/components/app/TraceLink/index.tsx index 2733ee0ddbdba..1da022f3d933d 100644 --- a/x-pack/plugins/apm/public/components/app/TraceLink/index.tsx +++ b/x-pack/plugins/apm/public/components/app/TraceLink/index.tsx @@ -29,7 +29,7 @@ export function TraceLink() { (callApmApi) => { if (traceId) { return callApmApi({ - endpoint: 'GET /api/apm/traces/{traceId}/root_transaction', + endpoint: 'GET /internal/apm/traces/{traceId}/root_transaction', params: { path: { traceId, diff --git a/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_detail_dependencies_table.tsx b/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_detail_dependencies_table.tsx index f98358e3a9c27..be493f8a98b1c 100644 --- a/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_detail_dependencies_table.tsx +++ b/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_detail_dependencies_table.tsx @@ -44,7 +44,7 @@ export function BackendDetailDependenciesTable() { } return callApmApi({ - endpoint: 'GET /api/apm/backends/{backendName}/upstream_services', + endpoint: 'GET /internal/apm/backends/{backendName}/upstream_services', params: { path: { backendName, diff --git a/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_error_rate_chart.tsx b/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_error_rate_chart.tsx index d48178a8522be..cf14145dba82a 100644 --- a/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_error_rate_chart.tsx +++ b/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_error_rate_chart.tsx @@ -44,7 +44,7 @@ export function BackendFailedTransactionRateChart({ } return callApmApi({ - endpoint: 'GET /api/apm/backends/{backendName}/charts/error_rate', + endpoint: 'GET /internal/apm/backends/{backendName}/charts/error_rate', params: { path: { backendName, diff --git a/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_latency_chart.tsx b/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_latency_chart.tsx index 759d153988875..3f5a56d55d823 100644 --- a/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_latency_chart.tsx +++ b/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_latency_chart.tsx @@ -40,7 +40,7 @@ export function BackendLatencyChart({ height }: { height: number }) { } return callApmApi({ - endpoint: 'GET /api/apm/backends/{backendName}/charts/latency', + endpoint: 'GET /internal/apm/backends/{backendName}/charts/latency', params: { path: { backendName, diff --git a/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_throughput_chart.tsx b/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_throughput_chart.tsx index 2cfc7ea317628..f5d9cb7a7a55e 100644 --- a/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_throughput_chart.tsx +++ b/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_throughput_chart.tsx @@ -36,7 +36,7 @@ export function BackendThroughputChart({ height }: { height: number }) { } return callApmApi({ - endpoint: 'GET /api/apm/backends/{backendName}/charts/throughput', + endpoint: 'GET /internal/apm/backends/{backendName}/charts/throughput', params: { path: { backendName, diff --git a/x-pack/plugins/apm/public/components/app/backend_inventory/backend_inventory_dependencies_table/index.tsx b/x-pack/plugins/apm/public/components/app/backend_inventory/backend_inventory_dependencies_table/index.tsx index ea135104982e5..05eb9892fc108 100644 --- a/x-pack/plugins/apm/public/components/app/backend_inventory/backend_inventory_dependencies_table/index.tsx +++ b/x-pack/plugins/apm/public/components/app/backend_inventory/backend_inventory_dependencies_table/index.tsx @@ -45,7 +45,7 @@ export function BackendInventoryDependenciesTable() { } return callApmApi({ - endpoint: 'GET /api/apm/backends/top_backends', + endpoint: 'GET /internal/apm/backends/top_backends', params: { query: { start, end, environment, numBuckets: 20, offset, kuery }, }, diff --git a/x-pack/plugins/apm/public/components/app/error_group_details/Distribution/index.tsx b/x-pack/plugins/apm/public/components/app/error_group_details/Distribution/index.tsx index b6fc0d4fcf65d..3d1d0ee564ba4 100644 --- a/x-pack/plugins/apm/public/components/app/error_group_details/Distribution/index.tsx +++ b/x-pack/plugins/apm/public/components/app/error_group_details/Distribution/index.tsx @@ -35,7 +35,7 @@ const ALERT_RULE_TYPE_ID: typeof ALERT_RULE_TYPE_ID_TYPED = ALERT_RULE_TYPE_ID_NON_TYPED; type ErrorDistributionAPIResponse = - APIReturnType<'GET /api/apm/services/{serviceName}/errors/distribution'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/errors/distribution'>; interface FormattedBucket { x0: number; diff --git a/x-pack/plugins/apm/public/components/app/error_group_details/detail_view/index.tsx b/x-pack/plugins/apm/public/components/app/error_group_details/detail_view/index.tsx index 6e6f323a5525a..d4ffd8ece9d4d 100644 --- a/x-pack/plugins/apm/public/components/app/error_group_details/detail_view/index.tsx +++ b/x-pack/plugins/apm/public/components/app/error_group_details/detail_view/index.tsx @@ -54,7 +54,7 @@ const TransactionLinkName = euiStyled.div` `; interface Props { - errorGroup: APIReturnType<'GET /api/apm/services/{serviceName}/errors/{groupId}'>; + errorGroup: APIReturnType<'GET /internal/apm/services/{serviceName}/errors/{groupId}'>; urlParams: ApmUrlParams; kuery: string; } diff --git a/x-pack/plugins/apm/public/components/app/error_group_details/index.tsx b/x-pack/plugins/apm/public/components/app/error_group_details/index.tsx index 9145e019c37ea..0114348892984 100644 --- a/x-pack/plugins/apm/public/components/app/error_group_details/index.tsx +++ b/x-pack/plugins/apm/public/components/app/error_group_details/index.tsx @@ -127,7 +127,7 @@ export function ErrorGroupDetails() { (callApmApi) => { if (start && end) { return callApmApi({ - endpoint: 'GET /api/apm/services/{serviceName}/errors/{groupId}', + endpoint: 'GET /internal/apm/services/{serviceName}/errors/{groupId}', params: { path: { serviceName, diff --git a/x-pack/plugins/apm/public/components/app/error_group_overview/List/index.tsx b/x-pack/plugins/apm/public/components/app/error_group_overview/List/index.tsx index d42c77c06b0ab..d7c5b1f4bc358 100644 --- a/x-pack/plugins/apm/public/components/app/error_group_overview/List/index.tsx +++ b/x-pack/plugins/apm/public/components/app/error_group_overview/List/index.tsx @@ -48,7 +48,7 @@ const Culprit = euiStyled.div` `; type ErrorGroupItem = - APIReturnType<'GET /api/apm/services/{serviceName}/errors'>['errorGroups'][0]; + APIReturnType<'GET /internal/apm/services/{serviceName}/errors'>['errorGroups'][0]; interface Props { items: ErrorGroupItem[]; diff --git a/x-pack/plugins/apm/public/components/app/error_group_overview/index.tsx b/x-pack/plugins/apm/public/components/app/error_group_overview/index.tsx index 97a3c38b65986..a445b0d8522c5 100644 --- a/x-pack/plugins/apm/public/components/app/error_group_overview/index.tsx +++ b/x-pack/plugins/apm/public/components/app/error_group_overview/index.tsx @@ -44,7 +44,7 @@ export function ErrorGroupOverview() { if (start && end) { return callApmApi({ - endpoint: 'GET /api/apm/services/{serviceName}/errors', + endpoint: 'GET /internal/apm/services/{serviceName}/errors', params: { path: { serviceName, diff --git a/x-pack/plugins/apm/public/components/app/service_dependencies/service_dependencies_breakdown_chart.tsx b/x-pack/plugins/apm/public/components/app/service_dependencies/service_dependencies_breakdown_chart.tsx index 426328a8ce9f0..979a2404dfdf0 100644 --- a/x-pack/plugins/apm/public/components/app/service_dependencies/service_dependencies_breakdown_chart.tsx +++ b/x-pack/plugins/apm/public/components/app/service_dependencies/service_dependencies_breakdown_chart.tsx @@ -29,7 +29,8 @@ export function ServiceDependenciesBreakdownChart({ const { data, status } = useFetcher( (callApmApi) => { return callApmApi({ - endpoint: 'GET /api/apm/services/{serviceName}/dependencies/breakdown', + endpoint: + 'GET /internal/apm/services/{serviceName}/dependencies/breakdown', params: { path: { serviceName, diff --git a/x-pack/plugins/apm/public/components/app/service_inventory/index.tsx b/x-pack/plugins/apm/public/components/app/service_inventory/index.tsx index 7cd9c7c8e199e..aea7c1faab601 100644 --- a/x-pack/plugins/apm/public/components/app/service_inventory/index.tsx +++ b/x-pack/plugins/apm/public/components/app/service_inventory/index.tsx @@ -64,7 +64,7 @@ function useServicesFetcher() { (callApmApi) => { if (start && end) { return callApmApi({ - endpoint: 'GET /api/apm/services', + endpoint: 'GET /internal/apm/services', params: { query: { environment, @@ -90,7 +90,7 @@ function useServicesFetcher() { (callApmApi) => { if (start && end && mainStatisticsData.items.length) { return callApmApi({ - endpoint: 'GET /api/apm/services/detailed_statistics', + endpoint: 'GET /internal/apm/services/detailed_statistics', params: { query: { environment, diff --git a/x-pack/plugins/apm/public/components/app/service_inventory/service_list/__fixtures__/service_api_mock_data.ts b/x-pack/plugins/apm/public/components/app/service_inventory/service_list/__fixtures__/service_api_mock_data.ts index 0f5edb5a4c9ce..85e7eeadc7487 100644 --- a/x-pack/plugins/apm/public/components/app/service_inventory/service_list/__fixtures__/service_api_mock_data.ts +++ b/x-pack/plugins/apm/public/components/app/service_inventory/service_list/__fixtures__/service_api_mock_data.ts @@ -7,7 +7,7 @@ import { APIReturnType } from '../../../../../services/rest/createCallApmApi'; -type ServiceListAPIResponse = APIReturnType<'GET /api/apm/services'>; +type ServiceListAPIResponse = APIReturnType<'GET /internal/apm/services'>; export const items: ServiceListAPIResponse['items'] = [ { diff --git a/x-pack/plugins/apm/public/components/app/service_inventory/service_list/index.tsx b/x-pack/plugins/apm/public/components/app/service_inventory/service_list/index.tsx index 9c1893b76f7db..ea65c837a4177 100644 --- a/x-pack/plugins/apm/public/components/app/service_inventory/service_list/index.tsx +++ b/x-pack/plugins/apm/public/components/app/service_inventory/service_list/index.tsx @@ -43,10 +43,10 @@ import { ServiceLink } from '../../../shared/service_link'; import { TruncateWithTooltip } from '../../../shared/truncate_with_tooltip'; import { HealthBadge } from './HealthBadge'; -type ServiceListAPIResponse = APIReturnType<'GET /api/apm/services'>; +type ServiceListAPIResponse = APIReturnType<'GET /internal/apm/services'>; type Items = ServiceListAPIResponse['items']; type ServicesDetailedStatisticsAPIResponse = - APIReturnType<'GET /api/apm/services/detailed_statistics'>; + APIReturnType<'GET /internal/apm/services/detailed_statistics'>; type ServiceListItem = ValuesType; diff --git a/x-pack/plugins/apm/public/components/app/service_inventory/service_list/service_list.test.tsx b/x-pack/plugins/apm/public/components/app/service_inventory/service_list/service_list.test.tsx index 75aad2283de0b..69ec1e6b1eb93 100644 --- a/x-pack/plugins/apm/public/components/app/service_inventory/service_list/service_list.test.tsx +++ b/x-pack/plugins/apm/public/components/app/service_inventory/service_list/service_list.test.tsx @@ -33,7 +33,7 @@ describe('ServiceList', () => { const callApmApiSpy = getCallApmApiSpy().mockImplementation( ({ endpoint }) => { - if (endpoint === 'GET /api/apm/fallback_to_transactions') { + if (endpoint === 'GET /internal/apm/fallback_to_transactions') { return Promise.resolve({ fallbackToTransactions: false }); } return Promise.reject(`Response for ${endpoint} is not defined`); diff --git a/x-pack/plugins/apm/public/components/app/service_logs/index.tsx b/x-pack/plugins/apm/public/components/app/service_logs/index.tsx index 79818473d26b1..bb32919196f84 100644 --- a/x-pack/plugins/apm/public/components/app/service_logs/index.tsx +++ b/x-pack/plugins/apm/public/components/app/service_logs/index.tsx @@ -35,7 +35,7 @@ export function ServiceLogs() { (callApmApi) => { if (start && end) { return callApmApi({ - endpoint: 'GET /api/apm/services/{serviceName}/infrastructure', + endpoint: 'GET /internal/apm/services/{serviceName}/infrastructure', params: { path: { serviceName }, query: { @@ -92,7 +92,7 @@ export function ServiceLogs() { } export const getInfrastructureKQLFilter = ( - data?: APIReturnType<'GET /api/apm/services/{serviceName}/infrastructure'> + data?: APIReturnType<'GET /internal/apm/services/{serviceName}/infrastructure'> ) => { const containerIds = data?.serviceInfrastructure?.containerIds ?? []; const hostNames = data?.serviceInfrastructure?.hostNames ?? []; diff --git a/x-pack/plugins/apm/public/components/app/service_map/Popover/backend_contents.tsx b/x-pack/plugins/apm/public/components/app/service_map/Popover/backend_contents.tsx index c01cf4579fdbd..c04619338f80b 100644 --- a/x-pack/plugins/apm/public/components/app/service_map/Popover/backend_contents.tsx +++ b/x-pack/plugins/apm/public/components/app/service_map/Popover/backend_contents.tsx @@ -38,7 +38,7 @@ export function BackendContents({ (callApmApi) => { if (backendName) { return callApmApi({ - endpoint: 'GET /api/apm/service-map/backend/{backendName}', + endpoint: 'GET /internal/apm/service-map/backend/{backendName}', params: { path: { backendName }, query: { diff --git a/x-pack/plugins/apm/public/components/app/service_map/Popover/service_contents.tsx b/x-pack/plugins/apm/public/components/app/service_map/Popover/service_contents.tsx index 5eef580793d10..f320123ce0723 100644 --- a/x-pack/plugins/apm/public/components/app/service_map/Popover/service_contents.tsx +++ b/x-pack/plugins/apm/public/components/app/service_map/Popover/service_contents.tsx @@ -47,7 +47,7 @@ export function ServiceContents({ (callApmApi) => { if (serviceName && start && end) { return callApmApi({ - endpoint: 'GET /api/apm/service-map/service/{serviceName}', + endpoint: 'GET /internal/apm/service-map/service/{serviceName}', params: { path: { serviceName }, query: { environment, start, end }, diff --git a/x-pack/plugins/apm/public/components/app/service_map/index.tsx b/x-pack/plugins/apm/public/components/app/service_map/index.tsx index 7499eb9cd658c..75d5837f738c5 100644 --- a/x-pack/plugins/apm/public/components/app/service_map/index.tsx +++ b/x-pack/plugins/apm/public/components/app/service_map/index.tsx @@ -124,7 +124,7 @@ export function ServiceMap({ return callApmApi({ isCachable: false, - endpoint: 'GET /api/apm/service-map', + endpoint: 'GET /internal/apm/service-map', params: { query: { start, diff --git a/x-pack/plugins/apm/public/components/app/service_node_metrics/index.tsx b/x-pack/plugins/apm/public/components/app/service_node_metrics/index.tsx index 1f83ad317e962..19527cd084989 100644 --- a/x-pack/plugins/apm/public/components/app/service_node_metrics/index.tsx +++ b/x-pack/plugins/apm/public/components/app/service_node_metrics/index.tsx @@ -85,7 +85,7 @@ export function ServiceNodeMetrics() { if (start && end) { return callApmApi({ endpoint: - 'GET /api/apm/services/{serviceName}/node/{serviceNodeName}/metadata', + 'GET /internal/apm/services/{serviceName}/node/{serviceNodeName}/metadata', params: { path: { serviceName, serviceNodeName }, query: { diff --git a/x-pack/plugins/apm/public/components/app/service_node_overview/index.tsx b/x-pack/plugins/apm/public/components/app/service_node_overview/index.tsx index bef87891d7416..04bb578b0c434 100644 --- a/x-pack/plugins/apm/public/components/app/service_node_overview/index.tsx +++ b/x-pack/plugins/apm/public/components/app/service_node_overview/index.tsx @@ -48,7 +48,7 @@ function ServiceNodeOverview() { return undefined; } return callApmApi({ - endpoint: 'GET /api/apm/services/{serviceName}/serviceNodes', + endpoint: 'GET /internal/apm/services/{serviceName}/serviceNodes', params: { path: { serviceName, diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview.test.tsx b/x-pack/plugins/apm/public/components/app/service_overview/service_overview.test.tsx index 62cefa5de47fa..42a0c68535efe 100644 --- a/x-pack/plugins/apm/public/components/app/service_overview/service_overview.test.tsx +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview.test.tsx @@ -99,21 +99,21 @@ describe('ServiceOverview', () => { /* eslint-disable @typescript-eslint/naming-convention */ const calls = { - 'GET /api/apm/services/{serviceName}/error_groups/main_statistics': { + 'GET /internal/apm/services/{serviceName}/error_groups/main_statistics': { error_groups: [] as any[], }, - 'GET /api/apm/services/{serviceName}/transactions/groups/main_statistics': + 'GET /internal/apm/services/{serviceName}/transactions/groups/main_statistics': { transactionGroups: [] as any[], totalTransactionGroups: 0, isAggregationAccurate: true, }, - 'GET /api/apm/services/{serviceName}/dependencies': { + 'GET /internal/apm/services/{serviceName}/dependencies': { serviceDependencies: [], }, - 'GET /api/apm/services/{serviceName}/service_overview_instances/main_statistics': + 'GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics': [], - 'GET /api/apm/services/{serviceName}/transactions/charts/latency': { + 'GET /internal/apm/services/{serviceName}/transactions/charts/latency': { currentPeriod: { overallAvgDuration: null, latencyTimeseries: [], @@ -123,26 +123,27 @@ describe('ServiceOverview', () => { latencyTimeseries: [], }, }, - 'GET /api/apm/services/{serviceName}/throughput': { + 'GET /internal/apm/services/{serviceName}/throughput': { currentPeriod: [], previousPeriod: [], }, - 'GET /api/apm/services/{serviceName}/transactions/charts/error_rate': { - currentPeriod: { - transactionErrorRate: [], - noHits: true, - average: null, - }, - previousPeriod: { - transactionErrorRate: [], - noHits: true, - average: null, + 'GET /internal/apm/services/{serviceName}/transactions/charts/error_rate': + { + currentPeriod: { + transactionErrorRate: [], + noHits: true, + average: null, + }, + previousPeriod: { + transactionErrorRate: [], + noHits: true, + average: null, + }, }, - }, 'GET /api/apm/services/{serviceName}/annotation/search': { annotations: [], }, - 'GET /api/apm/fallback_to_transactions': { + 'GET /internal/apm/fallback_to_transactions': { fallbackToTransactions: false, }, }; diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_dependencies_table/index.tsx b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_dependencies_table/index.tsx index b035d626c371a..b29daa1dd5585 100644 --- a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_dependencies_table/index.tsx +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_dependencies_table/index.tsx @@ -59,7 +59,7 @@ export function ServiceOverviewDependenciesTable({ } return callApmApi({ - endpoint: 'GET /api/apm/services/{serviceName}/dependencies', + endpoint: 'GET /internal/apm/services/{serviceName}/dependencies', params: { path: { serviceName }, query: { start, end, environment, numBuckets: 20, offset }, diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_errors_table/get_columns.tsx b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_errors_table/get_columns.tsx index 86f1907365bf6..14a8b59cd7826 100644 --- a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_errors_table/get_columns.tsx +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_errors_table/get_columns.tsx @@ -16,9 +16,9 @@ import { TimestampTooltip } from '../../../shared/TimestampTooltip'; import { TruncateWithTooltip } from '../../../shared/truncate_with_tooltip'; type ErrorGroupMainStatistics = - APIReturnType<'GET /api/apm/services/{serviceName}/error_groups/main_statistics'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/error_groups/main_statistics'>; type ErrorGroupDetailedStatistics = - APIReturnType<'GET /api/apm/services/{serviceName}/error_groups/detailed_statistics'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/error_groups/detailed_statistics'>; export function getColumns({ serviceName, diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_errors_table/index.tsx b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_errors_table/index.tsx index ebf634fd6b186..d711676378039 100644 --- a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_errors_table/index.tsx +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_errors_table/index.tsx @@ -30,9 +30,9 @@ interface Props { serviceName: string; } type ErrorGroupMainStatistics = - APIReturnType<'GET /api/apm/services/{serviceName}/error_groups/main_statistics'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/error_groups/main_statistics'>; type ErrorGroupDetailedStatistics = - APIReturnType<'GET /api/apm/services/{serviceName}/error_groups/detailed_statistics'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/error_groups/detailed_statistics'>; type SortDirection = 'asc' | 'desc'; type SortField = 'name' | 'lastSeen' | 'occurrences'; @@ -97,7 +97,7 @@ export function ServiceOverviewErrorsTable({ serviceName }: Props) { } return callApmApi({ endpoint: - 'GET /api/apm/services/{serviceName}/error_groups/main_statistics', + 'GET /internal/apm/services/{serviceName}/error_groups/main_statistics', params: { path: { serviceName }, query: { @@ -150,7 +150,7 @@ export function ServiceOverviewErrorsTable({ serviceName }: Props) { if (requestId && items.length && start && end && transactionType) { return callApmApi({ endpoint: - 'GET /api/apm/services/{serviceName}/error_groups/detailed_statistics', + 'GET /internal/apm/services/{serviceName}/error_groups/detailed_statistics', params: { path: { serviceName }, query: { diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_chart_and_table.tsx b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_chart_and_table.tsx index ab42d9b80634a..74a9a60afd915 100644 --- a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_chart_and_table.tsx +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_chart_and_table.tsx @@ -28,9 +28,9 @@ interface ServiceOverviewInstancesChartAndTableProps { } type ApiResponseMainStats = - APIReturnType<'GET /api/apm/services/{serviceName}/service_overview_instances/main_statistics'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics'>; type ApiResponseDetailedStats = - APIReturnType<'GET /api/apm/services/{serviceName}/service_overview_instances/detailed_statistics'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/service_overview_instances/detailed_statistics'>; const INITIAL_STATE_MAIN_STATS = { currentPeriodItems: [] as ApiResponseMainStats['currentPeriod'], @@ -100,7 +100,7 @@ export function ServiceOverviewInstancesChartAndTable({ return callApmApi({ endpoint: - 'GET /api/apm/services/{serviceName}/service_overview_instances/main_statistics', + 'GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics', params: { path: { serviceName, @@ -181,7 +181,7 @@ export function ServiceOverviewInstancesChartAndTable({ return callApmApi({ endpoint: - 'GET /api/apm/services/{serviceName}/service_overview_instances/detailed_statistics', + 'GET /internal/apm/services/{serviceName}/service_overview_instances/detailed_statistics', params: { path: { serviceName, diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/get_columns.tsx b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/get_columns.tsx index 3a80e0b075323..853ea37112ad8 100644 --- a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/get_columns.tsx +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/get_columns.tsx @@ -33,11 +33,11 @@ import { TruncateWithTooltip } from '../../../shared/truncate_with_tooltip'; import { InstanceActionsMenu } from './instance_actions_menu'; type ServiceInstanceMainStatistics = - APIReturnType<'GET /api/apm/services/{serviceName}/service_overview_instances/main_statistics'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics'>; type MainStatsServiceInstanceItem = ServiceInstanceMainStatistics['currentPeriod'][0]; type ServiceInstanceDetailedStatistics = - APIReturnType<'GET /api/apm/services/{serviceName}/service_overview_instances/detailed_statistics'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/service_overview_instances/detailed_statistics'>; export function getColumns({ serviceName, diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/index.tsx b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/index.tsx index a8a93e8d4473e..9084ffdda59f8 100644 --- a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/index.tsx +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/index.tsx @@ -29,11 +29,11 @@ import { useApmParams } from '../../../../hooks/use_apm_params'; import { useBreakpoints } from '../../../../hooks/use_breakpoints'; type ServiceInstanceMainStatistics = - APIReturnType<'GET /api/apm/services/{serviceName}/service_overview_instances/main_statistics'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics'>; type MainStatsServiceInstanceItem = ServiceInstanceMainStatistics['currentPeriod'][0]; type ServiceInstanceDetailedStatistics = - APIReturnType<'GET /api/apm/services/{serviceName}/service_overview_instances/detailed_statistics'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/service_overview_instances/detailed_statistics'>; export interface TableOptions { pageIndex: number; diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/menu_sections.ts b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/menu_sections.ts index cd7e64ae39668..7e7f30065c958 100644 --- a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/menu_sections.ts +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/menu_sections.ts @@ -17,7 +17,7 @@ import { } from '../../../../shared/transaction_action_menu/sections_helper'; type InstaceDetails = - APIReturnType<'GET /api/apm/services/{serviceName}/service_overview_instances/details/{serviceNodeName}'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/service_overview_instances/details/{serviceNodeName}'>; function getInfraMetricsQuery(timestamp?: string) { if (!timestamp) { diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_details.test.tsx b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_details.test.tsx index 3a0ed21ca9808..b8e18eec43e6a 100644 --- a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_details.test.tsx +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_details.test.tsx @@ -16,7 +16,7 @@ import { InstanceDetails } from './intance_details'; import * as useInstanceDetailsFetcher from './use_instance_details_fetcher'; type ServiceInstanceDetails = - APIReturnType<'GET /api/apm/services/{serviceName}/service_overview_instances/details/{serviceNodeName}'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/service_overview_instances/details/{serviceNodeName}'>; describe('InstanceDetails', () => { it('renders loading spinner when data is being fetched', () => { diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/intance_details.tsx b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/intance_details.tsx index 7a194039e0d4c..fad5628b2192d 100644 --- a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/intance_details.tsx +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/intance_details.tsx @@ -34,7 +34,7 @@ import { getCloudIcon, getContainerIcon } from '../../../shared/service_icons'; import { useInstanceDetailsFetcher } from './use_instance_details_fetcher'; type ServiceInstanceDetails = - APIReturnType<'GET /api/apm/services/{serviceName}/service_overview_instances/details/{serviceNodeName}'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/service_overview_instances/details/{serviceNodeName}'>; interface Props { serviceName: string; diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/use_instance_details_fetcher.tsx b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/use_instance_details_fetcher.tsx index c1018d6d742fa..de833b9b3be11 100644 --- a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/use_instance_details_fetcher.tsx +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/use_instance_details_fetcher.tsx @@ -28,7 +28,7 @@ export function useInstanceDetailsFetcher({ } return callApmApi({ endpoint: - 'GET /api/apm/services/{serviceName}/service_overview_instances/details/{serviceNodeName}', + 'GET /internal/apm/services/{serviceName}/service_overview_instances/details/{serviceNodeName}', params: { path: { serviceName, diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_throughput_chart.tsx b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_throughput_chart.tsx index c3d17b9f18a98..0780c2d272715 100644 --- a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_throughput_chart.tsx +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_throughput_chart.tsx @@ -69,7 +69,7 @@ export function ServiceOverviewThroughputChart({ (callApmApi) => { if (serviceName && transactionType && start && end) { return callApmApi({ - endpoint: 'GET /api/apm/services/{serviceName}/throughput', + endpoint: 'GET /internal/apm/services/{serviceName}/throughput', params: { path: { serviceName, diff --git a/x-pack/plugins/apm/public/components/app/service_profiling/index.tsx b/x-pack/plugins/apm/public/components/app/service_profiling/index.tsx index 15caa833764b9..5342ae8e0db28 100644 --- a/x-pack/plugins/apm/public/components/app/service_profiling/index.tsx +++ b/x-pack/plugins/apm/public/components/app/service_profiling/index.tsx @@ -19,7 +19,7 @@ import { ServiceProfilingFlamegraph } from './service_profiling_flamegraph'; import { ServiceProfilingTimeline } from './service_profiling_timeline'; type ApiResponse = - APIReturnType<'GET /api/apm/services/{serviceName}/profiling/timeline'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/profiling/timeline'>; const DEFAULT_DATA: ApiResponse = { profilingTimeline: [] }; export function ServiceProfiling() { @@ -38,7 +38,7 @@ export function ServiceProfiling() { } return callApmApi({ - endpoint: 'GET /api/apm/services/{serviceName}/profiling/timeline', + endpoint: 'GET /internal/apm/services/{serviceName}/profiling/timeline', params: { path: { serviceName }, query: { diff --git a/x-pack/plugins/apm/public/components/app/service_profiling/service_profiling_flamegraph.tsx b/x-pack/plugins/apm/public/components/app/service_profiling/service_profiling_flamegraph.tsx index a2ce4dcf7e83f..8626c4a3b061c 100644 --- a/x-pack/plugins/apm/public/components/app/service_profiling/service_profiling_flamegraph.tsx +++ b/x-pack/plugins/apm/public/components/app/service_profiling/service_profiling_flamegraph.tsx @@ -147,7 +147,8 @@ export function ServiceProfilingFlamegraph({ } return callApmApi({ - endpoint: 'GET /api/apm/services/{serviceName}/profiling/statistics', + endpoint: + 'GET /internal/apm/services/{serviceName}/profiling/statistics', params: { path: { serviceName, diff --git a/x-pack/plugins/apm/public/components/app/trace_overview/index.tsx b/x-pack/plugins/apm/public/components/app/trace_overview/index.tsx index 63cd27cba41e8..9725df9809ea0 100644 --- a/x-pack/plugins/apm/public/components/app/trace_overview/index.tsx +++ b/x-pack/plugins/apm/public/components/app/trace_overview/index.tsx @@ -16,7 +16,7 @@ import { useFallbackToTransactionsFetcher } from '../../../hooks/use_fallback_to import { AggregatedTransactionsBadge } from '../../shared/aggregated_transactions_badge'; import { useTimeRange } from '../../../hooks/use_time_range'; -type TracesAPIResponse = APIReturnType<'GET /api/apm/traces'>; +type TracesAPIResponse = APIReturnType<'GET /internal/apm/traces'>; const DEFAULT_RESPONSE: TracesAPIResponse = { items: [], }; @@ -35,7 +35,7 @@ export function TraceOverview() { (callApmApi) => { if (start && end) { return callApmApi({ - endpoint: 'GET /api/apm/traces', + endpoint: 'GET /internal/apm/traces', params: { query: { environment, diff --git a/x-pack/plugins/apm/public/components/app/trace_overview/trace_list.tsx b/x-pack/plugins/apm/public/components/app/trace_overview/trace_list.tsx index 7c4e0ffca1f58..0fc25b28b60e8 100644 --- a/x-pack/plugins/apm/public/components/app/trace_overview/trace_list.tsx +++ b/x-pack/plugins/apm/public/components/app/trace_overview/trace_list.tsx @@ -20,7 +20,7 @@ import { ImpactBar } from '../../shared/ImpactBar'; import { TransactionDetailLink } from '../../shared/Links/apm/transaction_detail_link'; import { ITableColumn, ManagedTable } from '../../shared/managed_table'; -type TraceGroup = APIReturnType<'GET /api/apm/traces'>['items'][0]; +type TraceGroup = APIReturnType<'GET /internal/apm/traces'>['items'][0]; const StyledTransactionLink = euiStyled(TransactionDetailLink)` font-size: ${({ theme }) => theme.eui.euiFontSizeS}; diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/use_waterfall_fetcher.ts b/x-pack/plugins/apm/public/components/app/transaction_details/use_waterfall_fetcher.ts index 12bb8dbe12e4b..e7fbc315522e4 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/use_waterfall_fetcher.ts +++ b/x-pack/plugins/apm/public/components/app/transaction_details/use_waterfall_fetcher.ts @@ -36,7 +36,7 @@ export function useWaterfallFetcher() { (callApmApi) => { if (traceId && start && end) { return callApmApi({ - endpoint: 'GET /api/apm/traces/{traceId}', + endpoint: 'GET /internal/apm/traces/{traceId}', params: { path: { traceId }, query: { diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/waterfall_helpers/waterfall_helpers.ts b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/waterfall_helpers/waterfall_helpers.ts index f438de49baaec..5e45c4ae74b51 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/waterfall_helpers/waterfall_helpers.ts +++ b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/waterfall_helpers/waterfall_helpers.ts @@ -12,7 +12,7 @@ import { APMError } from '../../../../../../../../typings/es_schemas/ui/apm_erro import { Span } from '../../../../../../../../typings/es_schemas/ui/span'; import { Transaction } from '../../../../../../../../typings/es_schemas/ui/transaction'; -type TraceAPIResponse = APIReturnType<'GET /api/apm/traces/{traceId}'>; +type TraceAPIResponse = APIReturnType<'GET /internal/apm/traces/{traceId}'>; interface IWaterfallGroup { [key: string]: IWaterfallSpanOrTransaction[]; diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfallContainer.stories.data.ts b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfallContainer.stories.data.ts index 87150cdfc83a8..60285c835bbf3 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfallContainer.stories.data.ts +++ b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfallContainer.stories.data.ts @@ -16,7 +16,7 @@ export const location = { hash: '', } as Location; -type TraceAPIResponse = APIReturnType<'GET /api/apm/traces/{traceId}'>; +type TraceAPIResponse = APIReturnType<'GET /internal/apm/traces/{traceId}'>; export const urlParams = { start: '2020-03-22T15:16:38.742Z', diff --git a/x-pack/plugins/apm/public/components/app/transaction_link/index.tsx b/x-pack/plugins/apm/public/components/app/transaction_link/index.tsx index 468a90f6b17de..251daf3d0d032 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_link/index.tsx +++ b/x-pack/plugins/apm/public/components/app/transaction_link/index.tsx @@ -28,7 +28,7 @@ export function TransactionLink() { (callApmApi) => { if (transactionId) { return callApmApi({ - endpoint: 'GET /api/apm/transactions/{transactionId}', + endpoint: 'GET /internal/apm/transactions/{transactionId}', params: { path: { transactionId, diff --git a/x-pack/plugins/apm/public/components/routing/templates/apm_main_template.tsx b/x-pack/plugins/apm/public/components/routing/templates/apm_main_template.tsx index ac0b8a1517b20..14bf7de789c98 100644 --- a/x-pack/plugins/apm/public/components/routing/templates/apm_main_template.tsx +++ b/x-pack/plugins/apm/public/components/routing/templates/apm_main_template.tsx @@ -49,7 +49,7 @@ export function ApmMainTemplate({ services.observability.navigation.PageTemplate; const { data } = useFetcher((callApmApi) => { - return callApmApi({ endpoint: 'GET /api/apm/has_data' }); + return callApmApi({ endpoint: 'GET /internal/apm/has_data' }); }, []); const noDataConfig = getNoDataConfig({ diff --git a/x-pack/plugins/apm/public/components/shared/apm_header_action_menu/anomaly_detection_setup_link.tsx b/x-pack/plugins/apm/public/components/shared/apm_header_action_menu/anomaly_detection_setup_link.tsx index c84cbc9a4b104..970cc886d30bd 100644 --- a/x-pack/plugins/apm/public/components/shared/apm_header_action_menu/anomaly_detection_setup_link.tsx +++ b/x-pack/plugins/apm/public/components/shared/apm_header_action_menu/anomaly_detection_setup_link.tsx @@ -27,7 +27,7 @@ import { APIReturnType } from '../../../services/rest/createCallApmApi'; import { getAPMHref } from '../Links/apm/APMLink'; export type AnomalyDetectionApiResponse = - APIReturnType<'GET /api/apm/settings/anomaly-detection/jobs'>; + APIReturnType<'GET /internal/apm/settings/anomaly-detection/jobs'>; const DEFAULT_DATA = { jobs: [], hasLegacyJobs: false }; diff --git a/x-pack/plugins/apm/public/components/shared/charts/helper/get_alert_annotations.test.tsx b/x-pack/plugins/apm/public/components/shared/charts/helper/get_alert_annotations.test.tsx index e63f7fbc79ab2..4573e8e5a174f 100644 --- a/x-pack/plugins/apm/public/components/shared/charts/helper/get_alert_annotations.test.tsx +++ b/x-pack/plugins/apm/public/components/shared/charts/helper/get_alert_annotations.test.tsx @@ -30,7 +30,7 @@ import { APIReturnType } from '../../../../services/rest/createCallApmApi'; import { getAlertAnnotations } from './get_alert_annotations'; type Alert = ValuesType< - APIReturnType<'GET /api/apm/services/{serviceName}/alerts'>['alerts'] + APIReturnType<'GET /internal/apm/services/{serviceName}/alerts'>['alerts'] >; const euiColorDanger = 'red'; diff --git a/x-pack/plugins/apm/public/components/shared/charts/helper/get_alert_annotations.tsx b/x-pack/plugins/apm/public/components/shared/charts/helper/get_alert_annotations.tsx index 39e1ce59de4bc..f4c47a9247e75 100644 --- a/x-pack/plugins/apm/public/components/shared/charts/helper/get_alert_annotations.tsx +++ b/x-pack/plugins/apm/public/components/shared/charts/helper/get_alert_annotations.tsx @@ -46,7 +46,7 @@ const ALERT_RULE_TYPE_ID: typeof ALERT_RULE_TYPE_ID_TYPED = const ALERT_RULE_NAME: typeof ALERT_RULE_NAME_TYPED = ALERT_RULE_NAME_NON_TYPED; type Alert = ValuesType< - APIReturnType<'GET /api/apm/services/{serviceName}/alerts'>['alerts'] + APIReturnType<'GET /internal/apm/services/{serviceName}/alerts'>['alerts'] >; function getAlertColor({ diff --git a/x-pack/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/custom_tooltip.stories.tsx b/x-pack/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/custom_tooltip.stories.tsx index d39770b68d5b6..56138a676a29d 100644 --- a/x-pack/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/custom_tooltip.stories.tsx +++ b/x-pack/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/custom_tooltip.stories.tsx @@ -12,7 +12,7 @@ import { getDurationFormatter } from '../../../../../common/utils/formatters'; import { CustomTooltip } from './custom_tooltip'; type ServiceInstanceMainStatistics = - APIReturnType<'GET /api/apm/services/{serviceName}/service_overview_instances/main_statistics'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics'>; type MainStatsServiceInstanceItem = ServiceInstanceMainStatistics['currentPeriod'][0]; diff --git a/x-pack/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/custom_tooltip.tsx b/x-pack/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/custom_tooltip.tsx index 7289ffddd0eab..2974f909615f4 100644 --- a/x-pack/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/custom_tooltip.tsx +++ b/x-pack/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/custom_tooltip.tsx @@ -18,7 +18,7 @@ import { import { useTheme } from '../../../../hooks/use_theme'; type ServiceInstanceMainStatistics = - APIReturnType<'GET /api/apm/services/{serviceName}/service_overview_instances/main_statistics'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics'>; type MainStatsServiceInstanceItem = ServiceInstanceMainStatistics['currentPeriod'][0]; diff --git a/x-pack/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/index.tsx b/x-pack/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/index.tsx index 5c974664eb1d3..30bf5908ef376 100644 --- a/x-pack/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/index.tsx @@ -37,7 +37,7 @@ import { getResponseTimeTickFormatter } from '../transaction_charts/helper'; import { CustomTooltip } from './custom_tooltip'; type ApiResponseMainStats = - APIReturnType<'GET /api/apm/services/{serviceName}/service_overview_instances/main_statistics'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics'>; export interface InstancesLatencyDistributionChartProps { height: number; diff --git a/x-pack/plugins/apm/public/components/shared/charts/latency_chart/latency_chart.stories.tsx b/x-pack/plugins/apm/public/components/shared/charts/latency_chart/latency_chart.stories.tsx index 511b605e3c22c..ad51e66f1959c 100644 --- a/x-pack/plugins/apm/public/components/shared/charts/latency_chart/latency_chart.stories.tsx +++ b/x-pack/plugins/apm/public/components/shared/charts/latency_chart/latency_chart.stories.tsx @@ -42,8 +42,8 @@ import { import { LatencyChart } from './'; interface Args { - alertsResponse: APIReturnType<'GET /api/apm/services/{serviceName}/alerts'>; - latencyChartResponse: APIReturnType<'GET /api/apm/services/{serviceName}/transactions/charts/latency'>; + alertsResponse: APIReturnType<'GET /internal/apm/services/{serviceName}/alerts'>; + latencyChartResponse: APIReturnType<'GET /internal/apm/services/{serviceName}/transactions/charts/latency'>; } export default { @@ -70,7 +70,7 @@ export default { basePath: { prepend: () => {} }, get: (endpoint: string) => { switch (endpoint) { - case `/api/apm/services/${serviceName}/transactions/charts/latency`: + case `/internal/apm/services/${serviceName}/transactions/charts/latency`: return latencyChartResponse; default: return {}; diff --git a/x-pack/plugins/apm/public/components/shared/charts/transaction_breakdown_chart/use_transaction_breakdown.ts b/x-pack/plugins/apm/public/components/shared/charts/transaction_breakdown_chart/use_transaction_breakdown.ts index e814459fbf519..079b8455de7ad 100644 --- a/x-pack/plugins/apm/public/components/shared/charts/transaction_breakdown_chart/use_transaction_breakdown.ts +++ b/x-pack/plugins/apm/public/components/shared/charts/transaction_breakdown_chart/use_transaction_breakdown.ts @@ -39,7 +39,7 @@ export function useTransactionBreakdown({ if (serviceName && start && end && transactionType) { return callApmApi({ endpoint: - 'GET /api/apm/services/{serviceName}/transaction/charts/breakdown', + 'GET /internal/apm/services/{serviceName}/transaction/charts/breakdown', params: { path: { serviceName }, query: { diff --git a/x-pack/plugins/apm/public/components/shared/charts/transaction_error_rate_chart/index.tsx b/x-pack/plugins/apm/public/components/shared/charts/transaction_error_rate_chart/index.tsx index 88788c7c3d39f..95b73a5276b8a 100644 --- a/x-pack/plugins/apm/public/components/shared/charts/transaction_error_rate_chart/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/charts/transaction_error_rate_chart/index.tsx @@ -36,7 +36,7 @@ interface Props { } type ErrorRate = - APIReturnType<'GET /api/apm/services/{serviceName}/transactions/charts/error_rate'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/transactions/charts/error_rate'>; const INITIAL_STATE: ErrorRate = { currentPeriod: { @@ -82,7 +82,7 @@ export function TransactionErrorRateChart({ if (transactionType && serviceName && start && end) { return callApmApi({ endpoint: - 'GET /api/apm/services/{serviceName}/transactions/charts/error_rate', + 'GET /internal/apm/services/{serviceName}/transactions/charts/error_rate', params: { path: { serviceName, diff --git a/x-pack/plugins/apm/public/components/shared/service_icons/cloud_details.tsx b/x-pack/plugins/apm/public/components/shared/service_icons/cloud_details.tsx index 2c706fa863a93..eded3ff9fd1c6 100644 --- a/x-pack/plugins/apm/public/components/shared/service_icons/cloud_details.tsx +++ b/x-pack/plugins/apm/public/components/shared/service_icons/cloud_details.tsx @@ -12,7 +12,7 @@ import React from 'react'; import { APIReturnType } from '../../../services/rest/createCallApmApi'; type ServiceDetailsReturnType = - APIReturnType<'GET /api/apm/services/{serviceName}/metadata/details'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/metadata/details'>; interface Props { cloud: ServiceDetailsReturnType['cloud']; diff --git a/x-pack/plugins/apm/public/components/shared/service_icons/container_details.tsx b/x-pack/plugins/apm/public/components/shared/service_icons/container_details.tsx index 75f7c23a78085..cd2e3a518b3b3 100644 --- a/x-pack/plugins/apm/public/components/shared/service_icons/container_details.tsx +++ b/x-pack/plugins/apm/public/components/shared/service_icons/container_details.tsx @@ -13,7 +13,7 @@ import { asInteger } from '../../../../common/utils/formatters'; import { APIReturnType } from '../../../services/rest/createCallApmApi'; type ServiceDetailsReturnType = - APIReturnType<'GET /api/apm/services/{serviceName}/metadata/details'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/metadata/details'>; interface Props { container: ServiceDetailsReturnType['container']; diff --git a/x-pack/plugins/apm/public/components/shared/service_icons/index.test.tsx b/x-pack/plugins/apm/public/components/shared/service_icons/index.test.tsx index bd90cae0277af..b04fe26e1a8bc 100644 --- a/x-pack/plugins/apm/public/components/shared/service_icons/index.test.tsx +++ b/x-pack/plugins/apm/public/components/shared/service_icons/index.test.tsx @@ -186,7 +186,7 @@ describe('ServiceIcons', () => { }; it('Shows loading spinner while fetching data', () => { const apisMockData = { - 'GET /api/apm/services/{serviceName}/metadata/icons': { + 'GET /internal/apm/services/{serviceName}/metadata/icons': { data: { agentName: 'java', containerType: 'Kubernetes', @@ -195,7 +195,7 @@ describe('ServiceIcons', () => { status: fetcherHook.FETCH_STATUS.SUCCESS, refetch: jest.fn(), }, - 'GET /api/apm/services/{serviceName}/metadata/details': { + 'GET /internal/apm/services/{serviceName}/metadata/details': { data: undefined, status: fetcherHook.FETCH_STATUS.LOADING, refetch: jest.fn(), @@ -228,7 +228,7 @@ describe('ServiceIcons', () => { it('shows service content', () => { const apisMockData = { - 'GET /api/apm/services/{serviceName}/metadata/icons': { + 'GET /internal/apm/services/{serviceName}/metadata/icons': { data: { agentName: 'java', containerType: 'Kubernetes', @@ -237,7 +237,7 @@ describe('ServiceIcons', () => { status: fetcherHook.FETCH_STATUS.SUCCESS, refetch: jest.fn(), }, - 'GET /api/apm/services/{serviceName}/metadata/details': { + 'GET /internal/apm/services/{serviceName}/metadata/details': { data: { service: { versions: ['v1.0.0'] } }, status: fetcherHook.FETCH_STATUS.SUCCESS, refetch: jest.fn(), diff --git a/x-pack/plugins/apm/public/components/shared/service_icons/index.tsx b/x-pack/plugins/apm/public/components/shared/service_icons/index.tsx index 780c3b0222f13..77639ea1f6d72 100644 --- a/x-pack/plugins/apm/public/components/shared/service_icons/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/service_icons/index.tsx @@ -71,7 +71,7 @@ export function ServiceIcons({ start, end, serviceName }: Props) { (callApmApi) => { if (serviceName && start && end) { return callApmApi({ - endpoint: 'GET /api/apm/services/{serviceName}/metadata/icons', + endpoint: 'GET /internal/apm/services/{serviceName}/metadata/icons', params: { path: { serviceName }, query: { start, end }, @@ -87,7 +87,7 @@ export function ServiceIcons({ start, end, serviceName }: Props) { if (selectedIconPopover && serviceName && start && end) { return callApmApi({ isCachable: true, - endpoint: 'GET /api/apm/services/{serviceName}/metadata/details', + endpoint: 'GET /internal/apm/services/{serviceName}/metadata/details', params: { path: { serviceName }, query: { start, end }, diff --git a/x-pack/plugins/apm/public/components/shared/service_icons/service_details.tsx b/x-pack/plugins/apm/public/components/shared/service_icons/service_details.tsx index daf253f6bc0a9..9ab8b5ba8a1f0 100644 --- a/x-pack/plugins/apm/public/components/shared/service_icons/service_details.tsx +++ b/x-pack/plugins/apm/public/components/shared/service_icons/service_details.tsx @@ -12,7 +12,7 @@ import React from 'react'; import { APIReturnType } from '../../../services/rest/createCallApmApi'; type ServiceDetailsReturnType = - APIReturnType<'GET /api/apm/services/{serviceName}/metadata/details'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/metadata/details'>; interface Props { service: ServiceDetailsReturnType['service']; diff --git a/x-pack/plugins/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/index.tsx b/x-pack/plugins/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/index.tsx index bc234b88a08e4..ea247d1907a26 100644 --- a/x-pack/plugins/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/index.tsx @@ -61,7 +61,7 @@ export function CustomLinkMenuSection({ (callApmApi) => callApmApi({ isCachable: false, - endpoint: 'GET /api/apm/settings/custom_links', + endpoint: 'GET /internal/apm/settings/custom_links', params: { query: convertFiltersToQuery(filters) }, }), [filters] diff --git a/x-pack/plugins/apm/public/components/shared/transactions_table/get_columns.tsx b/x-pack/plugins/apm/public/components/shared/transactions_table/get_columns.tsx index b11a2994f1caa..18e9beb2c8795 100644 --- a/x-pack/plugins/apm/public/components/shared/transactions_table/get_columns.tsx +++ b/x-pack/plugins/apm/public/components/shared/transactions_table/get_columns.tsx @@ -28,13 +28,13 @@ import { TruncateWithTooltip } from '../truncate_with_tooltip'; import { getLatencyColumnLabel } from './get_latency_column_label'; type TransactionGroupMainStatistics = - APIReturnType<'GET /api/apm/services/{serviceName}/transactions/groups/main_statistics'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/transactions/groups/main_statistics'>; type ServiceTransactionGroupItem = ValuesType< TransactionGroupMainStatistics['transactionGroups'] >; type TransactionGroupDetailedStatistics = - APIReturnType<'GET /api/apm/services/{serviceName}/transactions/groups/detailed_statistics'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/transactions/groups/detailed_statistics'>; export function getColumns({ serviceName, diff --git a/x-pack/plugins/apm/public/components/shared/transactions_table/index.tsx b/x-pack/plugins/apm/public/components/shared/transactions_table/index.tsx index 6f91684de0ee5..d6d955b8ef5ab 100644 --- a/x-pack/plugins/apm/public/components/shared/transactions_table/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/transactions_table/index.tsx @@ -30,7 +30,7 @@ import { ElasticDocsLink } from '../Links/ElasticDocsLink'; import { useBreakpoints } from '../../../hooks/use_breakpoints'; type ApiResponse = - APIReturnType<'GET /api/apm/services/{serviceName}/transactions/groups/main_statistics'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/transactions/groups/main_statistics'>; interface InitialState { requestId: string; @@ -116,7 +116,7 @@ export function TransactionsTable({ } return callApmApi({ endpoint: - 'GET /api/apm/services/{serviceName}/transactions/groups/main_statistics', + 'GET /internal/apm/services/{serviceName}/transactions/groups/main_statistics', params: { path: { serviceName }, query: { @@ -189,7 +189,7 @@ export function TransactionsTable({ ) { return callApmApi({ endpoint: - 'GET /api/apm/services/{serviceName}/transactions/groups/detailed_statistics', + 'GET /internal/apm/services/{serviceName}/transactions/groups/detailed_statistics', params: { path: { serviceName }, query: { diff --git a/x-pack/plugins/apm/public/context/anomaly_detection_jobs/anomaly_detection_jobs_context.tsx b/x-pack/plugins/apm/public/context/anomaly_detection_jobs/anomaly_detection_jobs_context.tsx index b8d6feda826a5..bf9f2941fa2fb 100644 --- a/x-pack/plugins/apm/public/context/anomaly_detection_jobs/anomaly_detection_jobs_context.tsx +++ b/x-pack/plugins/apm/public/context/anomaly_detection_jobs/anomaly_detection_jobs_context.tsx @@ -10,7 +10,7 @@ import { FETCH_STATUS, useFetcher } from '../../hooks/use_fetcher'; import { APIReturnType } from '../../services/rest/createCallApmApi'; export interface AnomalyDetectionJobsContextValue { - anomalyDetectionJobsData?: APIReturnType<'GET /api/apm/settings/anomaly-detection/jobs'>; + anomalyDetectionJobsData?: APIReturnType<'GET /internal/apm/settings/anomaly-detection/jobs'>; anomalyDetectionJobsStatus: FETCH_STATUS; anomalyDetectionJobsRefetch: () => void; } @@ -30,7 +30,7 @@ export function AnomalyDetectionJobsContextProvider({ const { data, status } = useFetcher( (callApmApi) => callApmApi({ - endpoint: `GET /api/apm/settings/anomaly-detection/jobs`, + endpoint: `GET /internal/apm/settings/anomaly-detection/jobs`, }), [fetchId], // eslint-disable-line react-hooks/exhaustive-deps { showToastOnError: false } diff --git a/x-pack/plugins/apm/public/context/apm_backend/apm_backend_context.tsx b/x-pack/plugins/apm/public/context/apm_backend/apm_backend_context.tsx index d6cc139e72b64..6093f05c2cb02 100644 --- a/x-pack/plugins/apm/public/context/apm_backend/apm_backend_context.tsx +++ b/x-pack/plugins/apm/public/context/apm_backend/apm_backend_context.tsx @@ -15,7 +15,7 @@ export const ApmBackendContext = createContext< | { backendName: string; metadata: { - data?: APIReturnType<'GET /api/apm/backends/{backendName}/metadata'>; + data?: APIReturnType<'GET /internal/apm/backends/{backendName}/metadata'>; status?: FETCH_STATUS; }; } @@ -41,7 +41,7 @@ export function ApmBackendContextProvider({ } return callApmApi({ - endpoint: 'GET /api/apm/backends/{backendName}/metadata', + endpoint: 'GET /internal/apm/backends/{backendName}/metadata', params: { path: { backendName, diff --git a/x-pack/plugins/apm/public/context/apm_service/apm_service_context.tsx b/x-pack/plugins/apm/public/context/apm_service/apm_service_context.tsx index d6b052a5dc884..9d207eee2fbaa 100644 --- a/x-pack/plugins/apm/public/context/apm_service/apm_service_context.tsx +++ b/x-pack/plugins/apm/public/context/apm_service/apm_service_context.tsx @@ -20,7 +20,7 @@ import { useApmParams } from '../../hooks/use_apm_params'; import { useTimeRange } from '../../hooks/use_time_range'; export type APMServiceAlert = ValuesType< - APIReturnType<'GET /api/apm/services/{serviceName}/alerts'>['alerts'] + APIReturnType<'GET /internal/apm/services/{serviceName}/alerts'>['alerts'] >; export const APMServiceContext = createContext<{ diff --git a/x-pack/plugins/apm/public/context/apm_service/use_service_agent_fetcher.ts b/x-pack/plugins/apm/public/context/apm_service/use_service_agent_fetcher.ts index e30fd962e5a92..0202ff3a10123 100644 --- a/x-pack/plugins/apm/public/context/apm_service/use_service_agent_fetcher.ts +++ b/x-pack/plugins/apm/public/context/apm_service/use_service_agent_fetcher.ts @@ -29,7 +29,7 @@ export function useServiceAgentFetcher({ (callApmApi) => { if (serviceName) { return callApmApi({ - endpoint: 'GET /api/apm/services/{serviceName}/agent', + endpoint: 'GET /internal/apm/services/{serviceName}/agent', params: { path: { serviceName }, query: { start, end }, diff --git a/x-pack/plugins/apm/public/context/apm_service/use_service_alerts_fetcher.tsx b/x-pack/plugins/apm/public/context/apm_service/use_service_alerts_fetcher.tsx index 8491cdfb3f5eb..d0e1edc775a81 100644 --- a/x-pack/plugins/apm/public/context/apm_service/use_service_alerts_fetcher.tsx +++ b/x-pack/plugins/apm/public/context/apm_service/use_service_alerts_fetcher.tsx @@ -41,7 +41,7 @@ export function useServiceAlertsFetcher({ } return callApmApi({ - endpoint: 'GET /api/apm/services/{serviceName}/alerts', + endpoint: 'GET /internal/apm/services/{serviceName}/alerts', params: { path: { serviceName, diff --git a/x-pack/plugins/apm/public/context/apm_service/use_service_transaction_types_fetcher.tsx b/x-pack/plugins/apm/public/context/apm_service/use_service_transaction_types_fetcher.tsx index c2e81cb0c92ae..e81a2d956bf3c 100644 --- a/x-pack/plugins/apm/public/context/apm_service/use_service_transaction_types_fetcher.tsx +++ b/x-pack/plugins/apm/public/context/apm_service/use_service_transaction_types_fetcher.tsx @@ -22,7 +22,8 @@ export function useServiceTransactionTypesFetcher({ (callApmApi) => { if (serviceName && start && end) { return callApmApi({ - endpoint: 'GET /api/apm/services/{serviceName}/transaction_types', + endpoint: + 'GET /internal/apm/services/{serviceName}/transaction_types', params: { path: { serviceName }, query: { start, end }, diff --git a/x-pack/plugins/apm/public/hooks/use_dynamic_index_pattern.ts b/x-pack/plugins/apm/public/hooks/use_dynamic_index_pattern.ts index 9c637dc1336ad..dc19af0a98cea 100644 --- a/x-pack/plugins/apm/public/hooks/use_dynamic_index_pattern.ts +++ b/x-pack/plugins/apm/public/hooks/use_dynamic_index_pattern.ts @@ -10,7 +10,7 @@ import { useFetcher } from './use_fetcher'; export function useDynamicIndexPatternFetcher() { const { data, status } = useFetcher((callApmApi) => { return callApmApi({ - endpoint: 'GET /api/apm/index_pattern/dynamic', + endpoint: 'GET /internal/apm/index_pattern/dynamic', isCachable: true, }); }, []); diff --git a/x-pack/plugins/apm/public/hooks/use_environments_fetcher.tsx b/x-pack/plugins/apm/public/hooks/use_environments_fetcher.tsx index d6352b561c641..e37677e806e8a 100644 --- a/x-pack/plugins/apm/public/hooks/use_environments_fetcher.tsx +++ b/x-pack/plugins/apm/public/hooks/use_environments_fetcher.tsx @@ -38,7 +38,7 @@ export function useEnvironmentsFetcher({ (callApmApi) => { if (start && end) { return callApmApi({ - endpoint: 'GET /api/apm/environments', + endpoint: 'GET /internal/apm/environments', params: { query: { start, diff --git a/x-pack/plugins/apm/public/hooks/use_error_group_distribution_fetcher.tsx b/x-pack/plugins/apm/public/hooks/use_error_group_distribution_fetcher.tsx index 683a545cdd125..120cbba952f3e 100644 --- a/x-pack/plugins/apm/public/hooks/use_error_group_distribution_fetcher.tsx +++ b/x-pack/plugins/apm/public/hooks/use_error_group_distribution_fetcher.tsx @@ -30,7 +30,8 @@ export function useErrorGroupDistributionFetcher({ (callApmApi) => { if (start && end) { return callApmApi({ - endpoint: 'GET /api/apm/services/{serviceName}/errors/distribution', + endpoint: + 'GET /internal/apm/services/{serviceName}/errors/distribution', params: { path: { serviceName }, query: { diff --git a/x-pack/plugins/apm/public/hooks/use_fallback_to_transactions_fetcher.tsx b/x-pack/plugins/apm/public/hooks/use_fallback_to_transactions_fetcher.tsx index 35122bfef1749..3dfb02cec5fbc 100644 --- a/x-pack/plugins/apm/public/hooks/use_fallback_to_transactions_fetcher.tsx +++ b/x-pack/plugins/apm/public/hooks/use_fallback_to_transactions_fetcher.tsx @@ -19,7 +19,7 @@ export function useFallbackToTransactionsFetcher({ kuery }: { kuery: string }) { const { data = { fallbackToTransactions: false } } = useFetcher( (callApmApi) => { return callApmApi({ - endpoint: 'GET /api/apm/fallback_to_transactions', + endpoint: 'GET /internal/apm/fallback_to_transactions', params: { query: { kuery, start, end }, }, diff --git a/x-pack/plugins/apm/public/hooks/use_service_metric_charts_fetcher.ts b/x-pack/plugins/apm/public/hooks/use_service_metric_charts_fetcher.ts index 82338d45a4133..ef360698192e1 100644 --- a/x-pack/plugins/apm/public/hooks/use_service_metric_charts_fetcher.ts +++ b/x-pack/plugins/apm/public/hooks/use_service_metric_charts_fetcher.ts @@ -40,7 +40,7 @@ export function useServiceMetricChartsFetcher({ (callApmApi) => { if (serviceName && start && end && agentName) { return callApmApi({ - endpoint: 'GET /api/apm/services/{serviceName}/metrics/charts', + endpoint: 'GET /internal/apm/services/{serviceName}/metrics/charts', params: { path: { serviceName }, query: { diff --git a/x-pack/plugins/apm/public/hooks/use_transaction_latency_chart_fetcher.ts b/x-pack/plugins/apm/public/hooks/use_transaction_latency_chart_fetcher.ts index 660408700b4df..d44ec853a242c 100644 --- a/x-pack/plugins/apm/public/hooks/use_transaction_latency_chart_fetcher.ts +++ b/x-pack/plugins/apm/public/hooks/use_transaction_latency_chart_fetcher.ts @@ -57,7 +57,7 @@ export function useTransactionLatencyChartsFetcher({ ) { return callApmApi({ endpoint: - 'GET /api/apm/services/{serviceName}/transactions/charts/latency', + 'GET /internal/apm/services/{serviceName}/transactions/charts/latency', params: { path: { serviceName }, query: { diff --git a/x-pack/plugins/apm/public/hooks/use_transaction_trace_samples_fetcher.ts b/x-pack/plugins/apm/public/hooks/use_transaction_trace_samples_fetcher.ts index 5279c7ce143fc..48c2d555fd43b 100644 --- a/x-pack/plugins/apm/public/hooks/use_transaction_trace_samples_fetcher.ts +++ b/x-pack/plugins/apm/public/hooks/use_transaction_trace_samples_fetcher.ts @@ -51,7 +51,7 @@ export function useTransactionTraceSamplesFetcher({ if (serviceName && start && end && transactionType && transactionName) { const response = await callApmApi({ endpoint: - 'GET /api/apm/services/{serviceName}/transactions/traces/samples', + 'GET /internal/apm/services/{serviceName}/transactions/traces/samples', params: { path: { serviceName, diff --git a/x-pack/plugins/apm/public/selectors/latency_chart_selectors.ts b/x-pack/plugins/apm/public/selectors/latency_chart_selectors.ts index 1fb4eb51dd770..bb68143089347 100644 --- a/x-pack/plugins/apm/public/selectors/latency_chart_selectors.ts +++ b/x-pack/plugins/apm/public/selectors/latency_chart_selectors.ts @@ -14,7 +14,7 @@ import { APMChartSpec, Coordinate } from '../../typings/timeseries'; import { APIReturnType } from '../services/rest/createCallApmApi'; export type LatencyChartsResponse = - APIReturnType<'GET /api/apm/services/{serviceName}/transactions/charts/latency'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/transactions/charts/latency'>; export interface LatencyChartData { currentPeriod?: APMChartSpec; diff --git a/x-pack/plugins/apm/public/services/callApi.test.ts b/x-pack/plugins/apm/public/services/callApi.test.ts index 82be0bbf5dfcf..85e58bc81a93f 100644 --- a/x-pack/plugins/apm/public/services/callApi.test.ts +++ b/x-pack/plugins/apm/public/services/callApi.test.ts @@ -41,11 +41,14 @@ describe('callApi', () => { }); it('should add debug param for APM endpoints', async () => { - await callApi(core, { pathname: `/api/apm/status/server` }); - - expect(core.http.get).toHaveBeenCalledWith('/api/apm/status/server', { - query: { _inspect: true }, - }); + await callApi(core, { pathname: `/internal/apm/status/server` }); + + expect(core.http.get).toHaveBeenCalledWith( + '/internal/apm/status/server', + { + query: { _inspect: true }, + } + ); }); it('should not add debug param for non-APM endpoints', async () => { diff --git a/x-pack/plugins/apm/public/services/callApmApi.test.ts b/x-pack/plugins/apm/public/services/callApmApi.test.ts index 56146c49fc57d..b1d31586c2cee 100644 --- a/x-pack/plugins/apm/public/services/callApmApi.test.ts +++ b/x-pack/plugins/apm/public/services/callApmApi.test.ts @@ -24,7 +24,7 @@ describe('callApmApi', () => { it('should format the pathname with the given path params', async () => { await callApmApi({ - endpoint: 'GET /api/apm/{param1}/to/{param2}', + endpoint: 'GET /internal/apm/{param1}/to/{param2}', params: { path: { param1: 'foo', @@ -36,14 +36,14 @@ describe('callApmApi', () => { expect(callApi).toHaveBeenCalledWith( {}, expect.objectContaining({ - pathname: '/api/apm/foo/to/bar', + pathname: '/internal/apm/foo/to/bar', }) ); }); it('should add the query parameters to the options object', async () => { await callApmApi({ - endpoint: 'GET /api/apm', + endpoint: 'GET /internal/apm', params: { query: { foo: 'bar', @@ -55,7 +55,7 @@ describe('callApmApi', () => { expect(callApi).toHaveBeenCalledWith( {}, expect.objectContaining({ - pathname: '/api/apm', + pathname: '/internal/apm', query: { foo: 'bar', bar: 'foo', @@ -66,7 +66,7 @@ describe('callApmApi', () => { it('should stringify the body and add it to the options object', async () => { await callApmApi({ - endpoint: 'POST /api/apm', + endpoint: 'POST /internal/apm', params: { body: { foo: 'bar', @@ -78,7 +78,7 @@ describe('callApmApi', () => { expect(callApi).toHaveBeenCalledWith( {}, expect.objectContaining({ - pathname: '/api/apm', + pathname: '/internal/apm', method: 'post', body: { foo: 'bar', diff --git a/x-pack/plugins/apm/public/services/rest/apm_observability_overview_fetchers.ts b/x-pack/plugins/apm/public/services/rest/apm_observability_overview_fetchers.ts index 1b95c88a5fdc5..f26fd85bde968 100644 --- a/x-pack/plugins/apm/public/services/rest/apm_observability_overview_fetchers.ts +++ b/x-pack/plugins/apm/public/services/rest/apm_observability_overview_fetchers.ts @@ -17,7 +17,7 @@ export const fetchObservabilityOverviewPageData = async ({ bucketSize, }: FetchDataParams): Promise => { const data = await callApmApi({ - endpoint: 'GET /api/apm/observability_overview', + endpoint: 'GET /internal/apm/observability_overview', signal: null, params: { query: { @@ -52,7 +52,7 @@ export const fetchObservabilityOverviewPageData = async ({ export async function getHasData() { return await callApmApi({ - endpoint: 'GET /api/apm/observability_overview/has_data', + endpoint: 'GET /internal/apm/observability_overview/has_data', signal: null, }); } diff --git a/x-pack/plugins/apm/public/services/rest/callApi.ts b/x-pack/plugins/apm/public/services/rest/callApi.ts index 53ddbed90413a..9b6d0c383e9a7 100644 --- a/x-pack/plugins/apm/public/services/rest/callApi.ts +++ b/x-pack/plugins/apm/public/services/rest/callApi.ts @@ -18,7 +18,7 @@ function fetchOptionsWithDebug( ) { const debugEnabled = inspectableEsQueriesEnabled && - startsWith(fetchOptions.pathname, '/api/apm'); + startsWith(fetchOptions.pathname, '/internal/apm'); const { body, ...rest } = fetchOptions; diff --git a/x-pack/plugins/apm/public/services/rest/index_pattern.ts b/x-pack/plugins/apm/public/services/rest/index_pattern.ts index 0bb5839759f64..f250c514000ba 100644 --- a/x-pack/plugins/apm/public/services/rest/index_pattern.ts +++ b/x-pack/plugins/apm/public/services/rest/index_pattern.ts @@ -9,7 +9,7 @@ import { callApmApi } from './createCallApmApi'; export const createStaticIndexPattern = async () => { return await callApmApi({ - endpoint: 'POST /api/apm/index_pattern/static', + endpoint: 'POST /internal/apm/index_pattern/static', signal: null, }); }; diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/config_agent.stories.tsx b/x-pack/plugins/apm/public/tutorial/config_agent/config_agent.stories.tsx index 166839390bc22..7bebd89dc0021 100644 --- a/x-pack/plugins/apm/public/tutorial/config_agent/config_agent.stories.tsx +++ b/x-pack/plugins/apm/public/tutorial/config_agent/config_agent.stories.tsx @@ -12,7 +12,7 @@ import { POLICY_ELASTIC_AGENT_ON_CLOUD } from '../../../common/fleet'; import TutorialConfigAgent from './'; import { APIReturnType } from '../../services/rest/createCallApmApi'; -export type APIResponseType = APIReturnType<'GET /api/apm/fleet/agents'>; +export type APIResponseType = APIReturnType<'GET /internal/apm/fleet/agents'>; interface Args { apmAgent: string; diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/get_policy_options.test.ts b/x-pack/plugins/apm/public/tutorial/config_agent/get_policy_options.test.ts index c6dc7265f3d3e..79eefeab85c63 100644 --- a/x-pack/plugins/apm/public/tutorial/config_agent/get_policy_options.test.ts +++ b/x-pack/plugins/apm/public/tutorial/config_agent/get_policy_options.test.ts @@ -7,7 +7,7 @@ import { getPolicyOptions } from './get_policy_options'; import { APIReturnType } from '../../services/rest/createCallApmApi'; -type APIResponseType = APIReturnType<'GET /api/apm/fleet/agents'>; +type APIResponseType = APIReturnType<'GET /internal/apm/fleet/agents'>; const policyElasticAgentOnCloudAgent = { id: 'policy-elastic-agent-on-cloud', diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/index.tsx b/x-pack/plugins/apm/public/tutorial/config_agent/index.tsx index cfb51b4cd3b68..5ff1fd7f42119 100644 --- a/x-pack/plugins/apm/public/tutorial/config_agent/index.tsx +++ b/x-pack/plugins/apm/public/tutorial/config_agent/index.tsx @@ -21,7 +21,7 @@ import { CopyCommands } from './copy_commands'; import { getPolicyOptions, PolicyOption } from './get_policy_options'; import { PolicySelector } from './policy_selector'; -export type APIResponseType = APIReturnType<'GET /api/apm/fleet/agents'>; +export type APIResponseType = APIReturnType<'GET /internal/apm/fleet/agents'>; const CentralizedContainer = styled.div` display: flex; @@ -90,7 +90,7 @@ function TutorialConfigAgent({ async function fetchData() { setIsLoading(true); try { - const response = await http.get('/api/apm/fleet/agents'); + const response = await http.get('/internal/apm/fleet/agents'); if (response) { setData(response as APIResponseType); } diff --git a/x-pack/plugins/apm/public/tutorial/tutorial_apm_fleet_check.ts b/x-pack/plugins/apm/public/tutorial/tutorial_apm_fleet_check.ts index 8db8614d606a9..8502689724d04 100644 --- a/x-pack/plugins/apm/public/tutorial/tutorial_apm_fleet_check.ts +++ b/x-pack/plugins/apm/public/tutorial/tutorial_apm_fleet_check.ts @@ -9,7 +9,7 @@ import { callApmApi } from '../services/rest/createCallApmApi'; export async function hasFleetApmIntegrations() { try { const { hasData = false } = await callApmApi({ - endpoint: 'GET /api/apm/fleet/has_data', + endpoint: 'GET /internal/apm/fleet/has_data', signal: null, }); return hasData; diff --git a/x-pack/plugins/apm/public/tutorial/tutorial_fleet_instructions/index.tsx b/x-pack/plugins/apm/public/tutorial/tutorial_fleet_instructions/index.tsx index 175d6797bb29f..f0d6dc72b72a5 100644 --- a/x-pack/plugins/apm/public/tutorial/tutorial_fleet_instructions/index.tsx +++ b/x-pack/plugins/apm/public/tutorial/tutorial_fleet_instructions/index.tsx @@ -29,7 +29,7 @@ const CentralizedContainer = styled.div` align-items: center; `; -type APIResponseType = APIReturnType<'GET /api/apm/fleet/has_data'>; +type APIResponseType = APIReturnType<'GET /internal/apm/fleet/has_data'>; function TutorialFleetInstructions({ http, basePath, isDarkTheme }: Props) { const [data, setData] = useState(); @@ -39,7 +39,7 @@ function TutorialFleetInstructions({ http, basePath, isDarkTheme }: Props) { async function fetchData() { setIsLoading(true); try { - const response = await http.get('/api/apm/fleet/has_data'); + const response = await http.get('/internal/apm/fleet/has_data'); setData(response as APIResponseType); } catch (e) { setIsLoading(false); diff --git a/x-pack/plugins/apm/server/routes/alerts/chart_preview.ts b/x-pack/plugins/apm/server/routes/alerts/chart_preview.ts index 012cf304aa3ce..23a794bb7976a 100644 --- a/x-pack/plugins/apm/server/routes/alerts/chart_preview.ts +++ b/x-pack/plugins/apm/server/routes/alerts/chart_preview.ts @@ -34,7 +34,7 @@ const alertParamsRt = t.intersection([ export type AlertParams = t.TypeOf; const transactionErrorRateChartPreview = createApmServerRoute({ - endpoint: 'GET /api/apm/alerts/chart_preview/transaction_error_rate', + endpoint: 'GET /internal/apm/alerts/chart_preview/transaction_error_rate', params: t.type({ query: alertParamsRt }), options: { tags: ['access:apm'] }, handler: async (resources) => { @@ -52,7 +52,7 @@ const transactionErrorRateChartPreview = createApmServerRoute({ }); const transactionErrorCountChartPreview = createApmServerRoute({ - endpoint: 'GET /api/apm/alerts/chart_preview/transaction_error_count', + endpoint: 'GET /internal/apm/alerts/chart_preview/transaction_error_count', params: t.type({ query: alertParamsRt }), options: { tags: ['access:apm'] }, handler: async (resources) => { @@ -71,7 +71,7 @@ const transactionErrorCountChartPreview = createApmServerRoute({ }); const transactionDurationChartPreview = createApmServerRoute({ - endpoint: 'GET /api/apm/alerts/chart_preview/transaction_duration', + endpoint: 'GET /internal/apm/alerts/chart_preview/transaction_duration', params: t.type({ query: alertParamsRt }), options: { tags: ['access:apm'] }, handler: async (resources) => { diff --git a/x-pack/plugins/apm/server/routes/backends.ts b/x-pack/plugins/apm/server/routes/backends.ts index 7aabfb3299134..feb4ca8bb978c 100644 --- a/x-pack/plugins/apm/server/routes/backends.ts +++ b/x-pack/plugins/apm/server/routes/backends.ts @@ -19,7 +19,7 @@ import { getThroughputChartsForBackend } from '../lib/backends/get_throughput_ch import { getErrorRateChartsForBackend } from '../lib/backends/get_error_rate_charts_for_backend'; const topBackendsRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/backends/top_backends', + endpoint: 'GET /internal/apm/backends/top_backends', params: t.intersection([ t.type({ query: t.intersection([ @@ -65,7 +65,7 @@ const topBackendsRoute = createApmServerRoute({ }); const upstreamServicesForBackendRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/backends/{backendName}/upstream_services', + endpoint: 'GET /internal/apm/backends/{backendName}/upstream_services', params: t.intersection([ t.type({ path: t.type({ @@ -121,7 +121,7 @@ const upstreamServicesForBackendRoute = createApmServerRoute({ }); const backendMetadataRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/backends/{backendName}/metadata', + endpoint: 'GET /internal/apm/backends/{backendName}/metadata', params: t.type({ path: t.type({ backendName: t.string, @@ -150,7 +150,7 @@ const backendMetadataRoute = createApmServerRoute({ }); const backendLatencyChartsRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/backends/{backendName}/charts/latency', + endpoint: 'GET /internal/apm/backends/{backendName}/charts/latency', params: t.type({ path: t.type({ backendName: t.string, @@ -193,7 +193,7 @@ const backendLatencyChartsRoute = createApmServerRoute({ }); const backendThroughputChartsRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/backends/{backendName}/charts/throughput', + endpoint: 'GET /internal/apm/backends/{backendName}/charts/throughput', params: t.type({ path: t.type({ backendName: t.string, @@ -236,7 +236,7 @@ const backendThroughputChartsRoute = createApmServerRoute({ }); const backendFailedTransactionRateChartsRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/backends/{backendName}/charts/error_rate', + endpoint: 'GET /internal/apm/backends/{backendName}/charts/error_rate', params: t.type({ path: t.type({ backendName: t.string, diff --git a/x-pack/plugins/apm/server/routes/environments.ts b/x-pack/plugins/apm/server/routes/environments.ts index 4b00320009e27..59e75f6f9c341 100644 --- a/x-pack/plugins/apm/server/routes/environments.ts +++ b/x-pack/plugins/apm/server/routes/environments.ts @@ -15,7 +15,7 @@ import { createApmServerRoute } from './create_apm_server_route'; import { createApmServerRouteRepository } from './create_apm_server_route_repository'; const environmentsRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/environments', + endpoint: 'GET /internal/apm/environments', params: t.type({ query: t.intersection([ t.partial({ diff --git a/x-pack/plugins/apm/server/routes/errors.ts b/x-pack/plugins/apm/server/routes/errors.ts index 9a4199e319494..0864276b67fee 100644 --- a/x-pack/plugins/apm/server/routes/errors.ts +++ b/x-pack/plugins/apm/server/routes/errors.ts @@ -15,7 +15,7 @@ import { environmentRt, kueryRt, rangeRt } from './default_api_types'; import { createApmServerRouteRepository } from './create_apm_server_route_repository'; const errorsRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/services/{serviceName}/errors', + endpoint: 'GET /internal/apm/services/{serviceName}/errors', params: t.type({ path: t.type({ serviceName: t.string, @@ -54,7 +54,7 @@ const errorsRoute = createApmServerRoute({ }); const errorGroupsRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/services/{serviceName}/errors/{groupId}', + endpoint: 'GET /internal/apm/services/{serviceName}/errors/{groupId}', params: t.type({ path: t.type({ serviceName: t.string, @@ -82,7 +82,7 @@ const errorGroupsRoute = createApmServerRoute({ }); const errorDistributionRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/services/{serviceName}/errors/distribution', + endpoint: 'GET /internal/apm/services/{serviceName}/errors/distribution', params: t.type({ path: t.type({ serviceName: t.string, diff --git a/x-pack/plugins/apm/server/routes/fallback_to_transactions.ts b/x-pack/plugins/apm/server/routes/fallback_to_transactions.ts index 8f30b9c089821..ba74cc0b7a88a 100644 --- a/x-pack/plugins/apm/server/routes/fallback_to_transactions.ts +++ b/x-pack/plugins/apm/server/routes/fallback_to_transactions.ts @@ -13,7 +13,7 @@ import { createApmServerRouteRepository } from './create_apm_server_route_reposi import { kueryRt, rangeRt } from './default_api_types'; const fallbackToTransactionsRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/fallback_to_transactions', + endpoint: 'GET /internal/apm/fallback_to_transactions', params: t.partial({ query: t.intersection([kueryRt, t.partial(rangeRt.props)]), }), diff --git a/x-pack/plugins/apm/server/routes/fleet.ts b/x-pack/plugins/apm/server/routes/fleet.ts index 5bfbfef5e6800..d8097228df0dc 100644 --- a/x-pack/plugins/apm/server/routes/fleet.ts +++ b/x-pack/plugins/apm/server/routes/fleet.ts @@ -28,7 +28,7 @@ import { createApmServerRoute } from './create_apm_server_route'; import { createApmServerRouteRepository } from './create_apm_server_route_repository'; const hasFleetDataRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/fleet/has_data', + endpoint: 'GET /internal/apm/fleet/has_data', options: { tags: [] }, handler: async ({ core, plugins }) => { const fleetPluginStart = await plugins.fleet?.start(); @@ -44,7 +44,7 @@ const hasFleetDataRoute = createApmServerRoute({ }); const fleetAgentsRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/fleet/agents', + endpoint: 'GET /internal/apm/fleet/agents', options: { tags: [] }, handler: async ({ core, plugins }) => { const cloudSetup = plugins.cloud?.setup; @@ -92,7 +92,7 @@ const fleetAgentsRoute = createApmServerRoute({ }); const saveApmServerSchemaRoute = createApmServerRoute({ - endpoint: 'POST /api/apm/fleet/apm_server_schema', + endpoint: 'POST /internal/apm/fleet/apm_server_schema', options: { tags: ['access:apm', 'access:apm_write'] }, params: t.type({ body: t.type({ @@ -113,7 +113,7 @@ const saveApmServerSchemaRoute = createApmServerRoute({ }); const getUnsupportedApmServerSchemaRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/fleet/apm_server_schema/unsupported', + endpoint: 'GET /internal/apm/fleet/apm_server_schema/unsupported', options: { tags: ['access:apm'] }, handler: async (resources) => { const { context } = resources; @@ -125,7 +125,7 @@ const getUnsupportedApmServerSchemaRoute = createApmServerRoute({ }); const getMigrationCheckRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/fleet/migration_check', + endpoint: 'GET /internal/apm/fleet/migration_check', options: { tags: ['access:apm'] }, handler: async (resources) => { const { plugins, context, config, request } = resources; @@ -154,7 +154,7 @@ const getMigrationCheckRoute = createApmServerRoute({ }); const createCloudApmPackagePolicyRoute = createApmServerRoute({ - endpoint: 'POST /api/apm/fleet/cloud_apm_package_policy', + endpoint: 'POST /internal/apm/fleet/cloud_apm_package_policy', options: { tags: ['access:apm', 'access:apm_write'] }, handler: async (resources) => { const { plugins, context, config, request, logger } = resources; diff --git a/x-pack/plugins/apm/server/routes/historical_data/index.ts b/x-pack/plugins/apm/server/routes/historical_data/index.ts index be3fd29d14b9d..fb67dc4f5b649 100644 --- a/x-pack/plugins/apm/server/routes/historical_data/index.ts +++ b/x-pack/plugins/apm/server/routes/historical_data/index.ts @@ -11,7 +11,7 @@ import { createApmServerRouteRepository } from '../create_apm_server_route_repos import { hasHistoricalAgentData } from './has_historical_agent_data'; const hasDataRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/has_data', + endpoint: 'GET /internal/apm/has_data', options: { tags: ['access:apm'] }, handler: async (resources) => { const setup = await setupRequest(resources); diff --git a/x-pack/plugins/apm/server/routes/index_pattern.ts b/x-pack/plugins/apm/server/routes/index_pattern.ts index c957e828bf12a..a996636ae56a1 100644 --- a/x-pack/plugins/apm/server/routes/index_pattern.ts +++ b/x-pack/plugins/apm/server/routes/index_pattern.ts @@ -12,7 +12,7 @@ import { getDynamicIndexPattern } from '../lib/index_pattern/get_dynamic_index_p import { createApmServerRoute } from './create_apm_server_route'; const staticIndexPatternRoute = createApmServerRoute({ - endpoint: 'POST /api/apm/index_pattern/static', + endpoint: 'POST /internal/apm/index_pattern/static', options: { tags: ['access:apm'] }, handler: async (resources) => { const { @@ -43,7 +43,7 @@ const staticIndexPatternRoute = createApmServerRoute({ }); const dynamicIndexPatternRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/index_pattern/dynamic', + endpoint: 'GET /internal/apm/index_pattern/dynamic', options: { tags: ['access:apm'] }, handler: async ({ context, config, logger }) => { const dynamicIndexPattern = await getDynamicIndexPattern({ diff --git a/x-pack/plugins/apm/server/routes/metrics.ts b/x-pack/plugins/apm/server/routes/metrics.ts index ea4878016652f..8b6b16a26f1d8 100644 --- a/x-pack/plugins/apm/server/routes/metrics.ts +++ b/x-pack/plugins/apm/server/routes/metrics.ts @@ -13,7 +13,7 @@ import { createApmServerRouteRepository } from './create_apm_server_route_reposi import { environmentRt, kueryRt, rangeRt } from './default_api_types'; const metricsChartsRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/services/{serviceName}/metrics/charts', + endpoint: 'GET /internal/apm/services/{serviceName}/metrics/charts', params: t.type({ path: t.type({ serviceName: t.string, diff --git a/x-pack/plugins/apm/server/routes/observability_overview.ts b/x-pack/plugins/apm/server/routes/observability_overview.ts index feaa6b580dac7..a99291ff32bb6 100644 --- a/x-pack/plugins/apm/server/routes/observability_overview.ts +++ b/x-pack/plugins/apm/server/routes/observability_overview.ts @@ -17,7 +17,7 @@ import { createApmServerRouteRepository } from './create_apm_server_route_reposi import { createApmServerRoute } from './create_apm_server_route'; const observabilityOverviewHasDataRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/observability_overview/has_data', + endpoint: 'GET /internal/apm/observability_overview/has_data', options: { tags: ['access:apm'] }, handler: async (resources) => { const setup = await setupRequest(resources); @@ -26,7 +26,7 @@ const observabilityOverviewHasDataRoute = createApmServerRoute({ }); const observabilityOverviewRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/observability_overview', + endpoint: 'GET /internal/apm/observability_overview', params: t.type({ query: t.intersection([rangeRt, t.type({ bucketSize: t.string })]), }), diff --git a/x-pack/plugins/apm/server/routes/service_map.ts b/x-pack/plugins/apm/server/routes/service_map.ts index 8fb3abe99e36c..f9062ac13e049 100644 --- a/x-pack/plugins/apm/server/routes/service_map.ts +++ b/x-pack/plugins/apm/server/routes/service_map.ts @@ -20,7 +20,7 @@ import { createApmServerRouteRepository } from './create_apm_server_route_reposi import { environmentRt, rangeRt } from './default_api_types'; const serviceMapRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/service-map', + endpoint: 'GET /internal/apm/service-map', params: t.type({ query: t.intersection([ t.partial({ @@ -70,7 +70,7 @@ const serviceMapRoute = createApmServerRoute({ }); const serviceMapServiceNodeRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/service-map/service/{serviceName}', + endpoint: 'GET /internal/apm/service-map/service/{serviceName}', params: t.type({ path: t.type({ serviceName: t.string, @@ -114,7 +114,7 @@ const serviceMapServiceNodeRoute = createApmServerRoute({ }); const serviceMapBackendNodeRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/service-map/backend/{backendName}', + endpoint: 'GET /internal/apm/service-map/backend/{backendName}', params: t.type({ path: t.type({ backendName: t.string, diff --git a/x-pack/plugins/apm/server/routes/service_nodes.ts b/x-pack/plugins/apm/server/routes/service_nodes.ts index 4bd1c93599723..2081b794f8ab1 100644 --- a/x-pack/plugins/apm/server/routes/service_nodes.ts +++ b/x-pack/plugins/apm/server/routes/service_nodes.ts @@ -14,7 +14,7 @@ import { rangeRt, kueryRt } from './default_api_types'; import { environmentRt } from '../../common/environment_rt'; const serviceNodesRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/services/{serviceName}/serviceNodes', + endpoint: 'GET /internal/apm/services/{serviceName}/serviceNodes', params: t.type({ path: t.type({ serviceName: t.string, diff --git a/x-pack/plugins/apm/server/routes/services.ts b/x-pack/plugins/apm/server/routes/services.ts index a612575d16ff6..d4af7315b9c23 100644 --- a/x-pack/plugins/apm/server/routes/services.ts +++ b/x-pack/plugins/apm/server/routes/services.ts @@ -48,7 +48,7 @@ import { getServiceDependenciesBreakdown } from '../lib/services/get_service_dep import { getBucketSizeForAggregatedTransactions } from '../lib/helpers/get_bucket_size_for_aggregated_transactions'; const servicesRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/services', + endpoint: 'GET /internal/apm/services', params: t.type({ query: t.intersection([environmentRt, kueryRt, rangeRt]), }), @@ -75,7 +75,7 @@ const servicesRoute = createApmServerRoute({ }); const servicesDetailedStatisticsRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/services/detailed_statistics', + endpoint: 'GET /internal/apm/services/detailed_statistics', params: t.type({ query: t.intersection([ environmentRt, @@ -116,7 +116,7 @@ const servicesDetailedStatisticsRoute = createApmServerRoute({ }); const serviceMetadataDetailsRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/services/{serviceName}/metadata/details', + endpoint: 'GET /internal/apm/services/{serviceName}/metadata/details', params: t.type({ path: t.type({ serviceName: t.string }), query: rangeRt, @@ -147,7 +147,7 @@ const serviceMetadataDetailsRoute = createApmServerRoute({ }); const serviceMetadataIconsRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/services/{serviceName}/metadata/icons', + endpoint: 'GET /internal/apm/services/{serviceName}/metadata/icons', params: t.type({ path: t.type({ serviceName: t.string }), query: rangeRt, @@ -178,7 +178,7 @@ const serviceMetadataIconsRoute = createApmServerRoute({ }); const serviceAgentRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/services/{serviceName}/agent', + endpoint: 'GET /internal/apm/services/{serviceName}/agent', params: t.type({ path: t.type({ serviceName: t.string, @@ -211,7 +211,7 @@ const serviceAgentRoute = createApmServerRoute({ }); const serviceTransactionTypesRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/services/{serviceName}/transaction_types', + endpoint: 'GET /internal/apm/services/{serviceName}/transaction_types', params: t.type({ path: t.type({ serviceName: t.string, @@ -243,7 +243,7 @@ const serviceTransactionTypesRoute = createApmServerRoute({ const serviceNodeMetadataRoute = createApmServerRoute({ endpoint: - 'GET /api/apm/services/{serviceName}/node/{serviceNodeName}/metadata', + 'GET /internal/apm/services/{serviceName}/node/{serviceNodeName}/metadata', params: t.type({ path: t.type({ serviceName: t.string, @@ -383,7 +383,8 @@ const serviceAnnotationsCreateRoute = createApmServerRoute({ }); const serviceErrorGroupsMainStatisticsRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/services/{serviceName}/error_groups/main_statistics', + endpoint: + 'GET /internal/apm/services/{serviceName}/error_groups/main_statistics', params: t.type({ path: t.type({ serviceName: t.string, @@ -420,7 +421,7 @@ const serviceErrorGroupsMainStatisticsRoute = createApmServerRoute({ const serviceErrorGroupsDetailedStatisticsRoute = createApmServerRoute({ endpoint: - 'GET /api/apm/services/{serviceName}/error_groups/detailed_statistics', + 'GET /internal/apm/services/{serviceName}/error_groups/detailed_statistics', params: t.type({ path: t.type({ serviceName: t.string, @@ -474,7 +475,7 @@ const serviceErrorGroupsDetailedStatisticsRoute = createApmServerRoute({ }); const serviceThroughputRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/services/{serviceName}/throughput', + endpoint: 'GET /internal/apm/services/{serviceName}/throughput', params: t.type({ path: t.type({ serviceName: t.string, @@ -556,7 +557,7 @@ const serviceThroughputRoute = createApmServerRoute({ const serviceInstancesMainStatisticsRoute = createApmServerRoute({ endpoint: - 'GET /api/apm/services/{serviceName}/service_overview_instances/main_statistics', + 'GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics', params: t.type({ path: t.type({ serviceName: t.string, @@ -630,7 +631,7 @@ const serviceInstancesMainStatisticsRoute = createApmServerRoute({ const serviceInstancesDetailedStatisticsRoute = createApmServerRoute({ endpoint: - 'GET /api/apm/services/{serviceName}/service_overview_instances/detailed_statistics', + 'GET /internal/apm/services/{serviceName}/service_overview_instances/detailed_statistics', params: t.type({ path: t.type({ serviceName: t.string, @@ -693,7 +694,7 @@ const serviceInstancesDetailedStatisticsRoute = createApmServerRoute({ export const serviceInstancesMetadataDetails = createApmServerRoute({ endpoint: - 'GET /api/apm/services/{serviceName}/service_overview_instances/details/{serviceNodeName}', + 'GET /internal/apm/services/{serviceName}/service_overview_instances/details/{serviceNodeName}', params: t.type({ path: t.type({ serviceName: t.string, @@ -718,7 +719,7 @@ export const serviceInstancesMetadataDetails = createApmServerRoute({ }); export const serviceDependenciesRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/services/{serviceName}/dependencies', + endpoint: 'GET /internal/apm/services/{serviceName}/dependencies', params: t.type({ path: t.type({ serviceName: t.string, @@ -773,7 +774,7 @@ export const serviceDependenciesRoute = createApmServerRoute({ }); export const serviceDependenciesBreakdownRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/services/{serviceName}/dependencies/breakdown', + endpoint: 'GET /internal/apm/services/{serviceName}/dependencies/breakdown', params: t.type({ path: t.type({ serviceName: t.string, @@ -805,7 +806,7 @@ export const serviceDependenciesBreakdownRoute = createApmServerRoute({ }); const serviceProfilingTimelineRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/services/{serviceName}/profiling/timeline', + endpoint: 'GET /internal/apm/services/{serviceName}/profiling/timeline', params: t.type({ path: t.type({ serviceName: t.string, @@ -837,7 +838,7 @@ const serviceProfilingTimelineRoute = createApmServerRoute({ }); const serviceProfilingStatisticsRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/services/{serviceName}/profiling/statistics', + endpoint: 'GET /internal/apm/services/{serviceName}/profiling/statistics', params: t.type({ path: t.type({ serviceName: t.string, @@ -886,7 +887,7 @@ const serviceProfilingStatisticsRoute = createApmServerRoute({ }); const serviceAlertsRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/services/{serviceName}/alerts', + endpoint: 'GET /internal/apm/services/{serviceName}/alerts', params: t.type({ path: t.type({ serviceName: t.string, @@ -922,7 +923,7 @@ const serviceAlertsRoute = createApmServerRoute({ }); const serviceInfrastructureRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/services/{serviceName}/infrastructure', + endpoint: 'GET /internal/apm/services/{serviceName}/infrastructure', params: t.type({ path: t.type({ serviceName: t.string, diff --git a/x-pack/plugins/apm/server/routes/settings/anomaly_detection.ts b/x-pack/plugins/apm/server/routes/settings/anomaly_detection.ts index c7e45eb8c32e5..78db4e0c14b36 100644 --- a/x-pack/plugins/apm/server/routes/settings/anomaly_detection.ts +++ b/x-pack/plugins/apm/server/routes/settings/anomaly_detection.ts @@ -23,7 +23,7 @@ import { createApmServerRouteRepository } from '../create_apm_server_route_repos // get ML anomaly detection jobs for each environment const anomalyDetectionJobsRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/settings/anomaly-detection/jobs', + endpoint: 'GET /internal/apm/settings/anomaly-detection/jobs', options: { tags: ['access:apm', 'access:ml:canGetJobs'], }, @@ -51,7 +51,7 @@ const anomalyDetectionJobsRoute = createApmServerRoute({ // create new ML anomaly detection jobs for each given environment const createAnomalyDetectionJobsRoute = createApmServerRoute({ - endpoint: 'POST /api/apm/settings/anomaly-detection/jobs', + endpoint: 'POST /internal/apm/settings/anomaly-detection/jobs', options: { tags: ['access:apm', 'access:apm_write', 'access:ml:canCreateJob'], }, @@ -83,7 +83,7 @@ const createAnomalyDetectionJobsRoute = createApmServerRoute({ // get all available environments to create anomaly detection jobs for const anomalyDetectionEnvironmentsRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/settings/anomaly-detection/environments', + endpoint: 'GET /internal/apm/settings/anomaly-detection/environments', options: { tags: ['access:apm'] }, handler: async (resources) => { const setup = await setupRequest(resources); diff --git a/x-pack/plugins/apm/server/routes/settings/apm_indices.ts b/x-pack/plugins/apm/server/routes/settings/apm_indices.ts index 003471aa89f39..1cba5f972c27e 100644 --- a/x-pack/plugins/apm/server/routes/settings/apm_indices.ts +++ b/x-pack/plugins/apm/server/routes/settings/apm_indices.ts @@ -16,7 +16,7 @@ import { saveApmIndices } from '../../lib/settings/apm_indices/save_apm_indices' // get list of apm indices and values const apmIndexSettingsRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/settings/apm-index-settings', + endpoint: 'GET /internal/apm/settings/apm-index-settings', options: { tags: ['access:apm'] }, handler: async ({ config, context }) => { const apmIndexSettings = await getApmIndexSettings({ config, context }); @@ -26,7 +26,7 @@ const apmIndexSettingsRoute = createApmServerRoute({ // get apm indices configuration object const apmIndicesRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/settings/apm-indices', + endpoint: 'GET /internal/apm/settings/apm-indices', options: { tags: ['access:apm'] }, handler: async (resources) => { const { context, config } = resources; @@ -39,7 +39,7 @@ const apmIndicesRoute = createApmServerRoute({ // save ui indices const saveApmIndicesRoute = createApmServerRoute({ - endpoint: 'POST /api/apm/settings/apm-indices/save', + endpoint: 'POST /internal/apm/settings/apm-indices/save', options: { tags: ['access:apm', 'access:apm_write'], }, diff --git a/x-pack/plugins/apm/server/routes/settings/custom_link.ts b/x-pack/plugins/apm/server/routes/settings/custom_link.ts index c9c5d236c14f9..af880898176bb 100644 --- a/x-pack/plugins/apm/server/routes/settings/custom_link.ts +++ b/x-pack/plugins/apm/server/routes/settings/custom_link.ts @@ -25,7 +25,7 @@ import { createApmServerRoute } from '../create_apm_server_route'; import { createApmServerRouteRepository } from '../create_apm_server_route_repository'; const customLinkTransactionRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/settings/custom_links/transaction', + endpoint: 'GET /internal/apm/settings/custom_links/transaction', options: { tags: ['access:apm'] }, params: t.partial({ query: filterOptionsRt, @@ -41,7 +41,7 @@ const customLinkTransactionRoute = createApmServerRoute({ }); const listCustomLinksRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/settings/custom_links', + endpoint: 'GET /internal/apm/settings/custom_links', options: { tags: ['access:apm'] }, params: t.partial({ query: filterOptionsRt, @@ -63,7 +63,7 @@ const listCustomLinksRoute = createApmServerRoute({ }); const createCustomLinkRoute = createApmServerRoute({ - endpoint: 'POST /api/apm/settings/custom_links', + endpoint: 'POST /internal/apm/settings/custom_links', params: t.type({ body: payloadRt, }), @@ -86,7 +86,7 @@ const createCustomLinkRoute = createApmServerRoute({ }); const updateCustomLinkRoute = createApmServerRoute({ - endpoint: 'PUT /api/apm/settings/custom_links/{id}', + endpoint: 'PUT /internal/apm/settings/custom_links/{id}', params: t.type({ path: t.type({ id: t.string, @@ -116,7 +116,7 @@ const updateCustomLinkRoute = createApmServerRoute({ }); const deleteCustomLinkRoute = createApmServerRoute({ - endpoint: 'DELETE /api/apm/settings/custom_links/{id}', + endpoint: 'DELETE /internal/apm/settings/custom_links/{id}', params: t.type({ path: t.type({ id: t.string, diff --git a/x-pack/plugins/apm/server/routes/traces.ts b/x-pack/plugins/apm/server/routes/traces.ts index 52aa507bb38b1..a71b7eefeed3f 100644 --- a/x-pack/plugins/apm/server/routes/traces.ts +++ b/x-pack/plugins/apm/server/routes/traces.ts @@ -17,7 +17,7 @@ import { createApmServerRouteRepository } from './create_apm_server_route_reposi import { getTransaction } from '../lib/transactions/get_transaction'; const tracesRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/traces', + endpoint: 'GET /internal/apm/traces', params: t.type({ query: t.intersection([environmentRt, kueryRt, rangeRt]), }), @@ -41,7 +41,7 @@ const tracesRoute = createApmServerRoute({ }); const tracesByIdRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/traces/{traceId}', + endpoint: 'GET /internal/apm/traces/{traceId}', params: t.type({ path: t.type({ traceId: t.string, @@ -60,7 +60,7 @@ const tracesByIdRoute = createApmServerRoute({ }); const rootTransactionByTraceIdRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/traces/{traceId}/root_transaction', + endpoint: 'GET /internal/apm/traces/{traceId}/root_transaction', params: t.type({ path: t.type({ traceId: t.string, @@ -76,7 +76,7 @@ const rootTransactionByTraceIdRoute = createApmServerRoute({ }); const transactionByIdRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/transactions/{transactionId}', + endpoint: 'GET /internal/apm/transactions/{transactionId}', params: t.type({ path: t.type({ transactionId: t.string, diff --git a/x-pack/plugins/apm/server/routes/transactions.ts b/x-pack/plugins/apm/server/routes/transactions.ts index a8d5c11699093..0e24d64d8c6c7 100644 --- a/x-pack/plugins/apm/server/routes/transactions.ts +++ b/x-pack/plugins/apm/server/routes/transactions.ts @@ -31,7 +31,7 @@ import { const transactionGroupsMainStatisticsRoute = createApmServerRoute({ endpoint: - 'GET /api/apm/services/{serviceName}/transactions/groups/main_statistics', + 'GET /internal/apm/services/{serviceName}/transactions/groups/main_statistics', params: t.type({ path: t.type({ serviceName: t.string }), query: t.intersection([ @@ -85,7 +85,7 @@ const transactionGroupsMainStatisticsRoute = createApmServerRoute({ const transactionGroupsDetailedStatisticsRoute = createApmServerRoute({ endpoint: - 'GET /api/apm/services/{serviceName}/transactions/groups/detailed_statistics', + 'GET /internal/apm/services/{serviceName}/transactions/groups/detailed_statistics', params: t.type({ path: t.type({ serviceName: t.string }), query: t.intersection([ @@ -150,7 +150,8 @@ const transactionGroupsDetailedStatisticsRoute = createApmServerRoute({ }); const transactionLatencyChartsRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/services/{serviceName}/transactions/charts/latency', + endpoint: + 'GET /internal/apm/services/{serviceName}/transactions/charts/latency', params: t.type({ path: t.type({ serviceName: t.string, @@ -227,7 +228,8 @@ const transactionLatencyChartsRoute = createApmServerRoute({ }); const transactionTraceSamplesRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/services/{serviceName}/transactions/traces/samples', + endpoint: + 'GET /internal/apm/services/{serviceName}/transactions/traces/samples', params: t.type({ path: t.type({ serviceName: t.string, @@ -284,7 +286,8 @@ const transactionTraceSamplesRoute = createApmServerRoute({ }); const transactionChartsBreakdownRoute = createApmServerRoute({ - endpoint: 'GET /api/apm/services/{serviceName}/transaction/charts/breakdown', + endpoint: + 'GET /internal/apm/services/{serviceName}/transaction/charts/breakdown', params: t.type({ path: t.type({ serviceName: t.string, @@ -321,7 +324,7 @@ const transactionChartsBreakdownRoute = createApmServerRoute({ const transactionChartsErrorRateRoute = createApmServerRoute({ endpoint: - 'GET /api/apm/services/{serviceName}/transactions/charts/error_rate', + 'GET /internal/apm/services/{serviceName}/transactions/charts/error_rate', params: t.type({ path: t.type({ serviceName: t.string, diff --git a/x-pack/plugins/rule_registry/server/scripts/get_alerts_index.sh b/x-pack/plugins/rule_registry/server/scripts/get_alerts_index.sh index bfa74aa016f02..addd2d4ab6195 100755 --- a/x-pack/plugins/rule_registry/server/scripts/get_alerts_index.sh +++ b/x-pack/plugins/rule_registry/server/scripts/get_alerts_index.sh @@ -20,4 +20,4 @@ curl -v -k \ -u $USER:changeme \ -X GET "${KIBANA_URL}${SPACE_URL}/internal/rac/alerts/index" | jq . -# -X GET "${KIBANA_URL}${SPACE_URL}/api/apm/settings/apm-alerts-as-data-indices" | jq . +# -X GET "${KIBANA_URL}${SPACE_URL}/internal/apm/settings/apm-alerts-as-data-indices" | jq . diff --git a/x-pack/test/apm_api_integration/tests/alerts/chart_preview.ts b/x-pack/test/apm_api_integration/tests/alerts/chart_preview.ts index d3e5b08233487..621ed5dcfd8d7 100644 --- a/x-pack/test/apm_api_integration/tests/alerts/chart_preview.ts +++ b/x-pack/test/apm_api_integration/tests/alerts/chart_preview.ts @@ -33,7 +33,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('transaction_error_rate (without data)', async () => { const options = getOptions(); const response = await apmApiClient.readUser({ - endpoint: 'GET /api/apm/alerts/chart_preview/transaction_error_rate', + endpoint: 'GET /internal/apm/alerts/chart_preview/transaction_error_rate', ...options, }); @@ -46,7 +46,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { options.params.query.transactionType = undefined; const response = await apmApiClient.readUser({ - endpoint: 'GET /api/apm/alerts/chart_preview/transaction_error_count', + endpoint: 'GET /internal/apm/alerts/chart_preview/transaction_error_count', ...options, }); @@ -58,7 +58,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { const options = getOptions(); const response = await apmApiClient.readUser({ - endpoint: 'GET /api/apm/alerts/chart_preview/transaction_duration', + endpoint: 'GET /internal/apm/alerts/chart_preview/transaction_duration', ...options, }); @@ -71,7 +71,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('transaction_error_rate (with data)', async () => { const options = getOptions(); const response = await apmApiClient.readUser({ - endpoint: 'GET /api/apm/alerts/chart_preview/transaction_error_rate', + endpoint: 'GET /internal/apm/alerts/chart_preview/transaction_error_rate', ...options, }); @@ -88,7 +88,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { options.params.query.transactionType = undefined; const response = await apmApiClient.readUser({ - endpoint: 'GET /api/apm/alerts/chart_preview/transaction_error_count', + endpoint: 'GET /internal/apm/alerts/chart_preview/transaction_error_count', ...options, }); @@ -104,7 +104,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { const options = getOptions(); const response = await apmApiClient.readUser({ ...options, - endpoint: 'GET /api/apm/alerts/chart_preview/transaction_duration', + endpoint: 'GET /internal/apm/alerts/chart_preview/transaction_duration', }); expect(response.status).to.be(200); diff --git a/x-pack/test/apm_api_integration/tests/feature_controls.ts b/x-pack/test/apm_api_integration/tests/feature_controls.ts index 18fcf4fef5fec..ef3ba5d61fb54 100644 --- a/x-pack/test/apm_api_integration/tests/feature_controls.ts +++ b/x-pack/test/apm_api_integration/tests/feature_controls.ts @@ -44,87 +44,89 @@ export default function featureControlsTests({ getService }: FtrProviderContext) { // this doubles as a smoke test for the _inspect query parameter req: { - url: `/api/apm/services/foo/errors?start=${start}&end=${end}&_inspect=true&environment=ENVIRONMENT_ALL&kuery=`, + url: `/internal/apm/services/foo/errors?start=${start}&end=${end}&_inspect=true&environment=ENVIRONMENT_ALL&kuery=`, }, expectForbidden: expect403, expectResponse: expect200, }, { req: { - url: `/api/apm/services/foo/errors/bar?start=${start}&end=${end}&environment=ENVIRONMENT_ALL&kuery=`, + url: `/internal/apm/services/foo/errors/bar?start=${start}&end=${end}&environment=ENVIRONMENT_ALL&kuery=`, }, expectForbidden: expect403, expectResponse: expect200, }, { req: { - url: `/api/apm/services/foo/errors/distribution?start=${start}&end=${end}&groupId=bar&environment=ENVIRONMENT_ALL&kuery=`, + url: `/internal/apm/services/foo/errors/distribution?start=${start}&end=${end}&groupId=bar&environment=ENVIRONMENT_ALL&kuery=`, }, expectForbidden: expect403, expectResponse: expect200, }, { req: { - url: `/api/apm/services/foo/errors/distribution?start=${start}&end=${end}&environment=ENVIRONMENT_ALL&kuery=`, + url: `/internal/apm/services/foo/errors/distribution?start=${start}&end=${end}&environment=ENVIRONMENT_ALL&kuery=`, }, expectForbidden: expect403, expectResponse: expect200, }, { req: { - url: `/api/apm/services/foo/metrics/charts?start=${start}&end=${end}&agentName=cool-agent&environment=ENVIRONMENT_ALL&kuery=`, + url: `/internal/apm/services/foo/metrics/charts?start=${start}&end=${end}&agentName=cool-agent&environment=ENVIRONMENT_ALL&kuery=`, }, expectForbidden: expect403, expectResponse: expect200, }, { req: { - url: `/api/apm/services?start=${start}&end=${end}&environment=ENVIRONMENT_ALL&kuery=`, + url: `/internal/apm/services?start=${start}&end=${end}&environment=ENVIRONMENT_ALL&kuery=`, }, expectForbidden: expect403, expectResponse: expect200, }, { req: { - url: `/api/apm/services/foo/agent?start=${start}&end=${end}`, + url: `/internal/apm/services/foo/agent?start=${start}&end=${end}`, }, expectForbidden: expect403, expectResponse: expect200, }, { - req: { url: `/api/apm/services/foo/transaction_types?start=${start}&end=${end}` }, + req: { url: `/internal/apm/services/foo/transaction_types?start=${start}&end=${end}` }, expectForbidden: expect403, expectResponse: expect200, }, { - req: { url: `/api/apm/traces?start=${start}&end=${end}&environment=ENVIRONMENT_ALL&kuery=` }, + req: { + url: `/internal/apm/traces?start=${start}&end=${end}&environment=ENVIRONMENT_ALL&kuery=`, + }, expectForbidden: expect403, expectResponse: expect200, }, { req: { - url: `/api/apm/traces/foo?start=${start}&end=${end}`, + url: `/internal/apm/traces/foo?start=${start}&end=${end}`, }, expectForbidden: expect403, expectResponse: expect200, }, { req: { - url: `/api/apm/services/foo/transactions/charts/latency?environment=testing&start=${start}&end=${end}&transactionType=bar&latencyAggregationType=avg&kuery=`, + url: `/internal/apm/services/foo/transactions/charts/latency?environment=testing&start=${start}&end=${end}&transactionType=bar&latencyAggregationType=avg&kuery=`, }, expectForbidden: expect403, expectResponse: expect200, }, { req: { - url: `/api/apm/services/foo/transactions/charts/latency?environment=testing&start=${start}&end=${end}&transactionType=bar&latencyAggregationType=avg&transactionName=baz&kuery=`, + url: `/internal/apm/services/foo/transactions/charts/latency?environment=testing&start=${start}&end=${end}&transactionType=bar&latencyAggregationType=avg&transactionName=baz&kuery=`, }, expectForbidden: expect403, expectResponse: expect200, }, { req: { - url: `/api/apm/services/foo/transactions/traces/samples?start=${start}&end=${end}&transactionType=bar&transactionName=baz&environment=ENVIRONMENT_ALL&kuery=`, + url: `/internal/apm/services/foo/transactions/traces/samples?start=${start}&end=${end}&transactionType=bar&transactionName=baz&environment=ENVIRONMENT_ALL&kuery=`, }, expectForbidden: expect403, expectResponse: expect200, @@ -147,21 +149,21 @@ export default function featureControlsTests({ getService }: FtrProviderContext) }, { req: { - url: `/api/apm/settings/custom_links/transaction`, + url: `/internal/apm/settings/custom_links/transaction`, }, expectForbidden: expect403, expectResponse: expect200, }, { req: { - url: `/api/apm/services/foo/metadata/details?start=${start}&end=${end}`, + url: `/internal/apm/services/foo/metadata/details?start=${start}&end=${end}`, }, expectForbidden: expect403, expectResponse: expect200, }, { req: { - url: `/api/apm/services/foo/metadata/icons?start=${start}&end=${end}`, + url: `/internal/apm/services/foo/metadata/icons?start=${start}&end=${end}`, }, expectForbidden: expect403, expectResponse: expect200, diff --git a/x-pack/test/apm_api_integration/tests/historical_data/has_data.ts b/x-pack/test/apm_api_integration/tests/historical_data/has_data.ts index ec3f0e5e7f362..70048c3d39210 100644 --- a/x-pack/test/apm_api_integration/tests/historical_data/has_data.ts +++ b/x-pack/test/apm_api_integration/tests/historical_data/has_data.ts @@ -18,7 +18,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { { config: 'basic', archives: [] }, () => { it('handles the empty state', async () => { - const response = await supertest.get(`/api/apm/has_data`); + const response = await supertest.get(`/internal/apm/has_data`); expect(response.status).to.be(200); expect(response.body.hasData).to.be(false); @@ -31,7 +31,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { { config: 'basic', archives: [archiveName] }, () => { it('returns hasData: true', async () => { - const response = await supertest.get(`/api/apm/has_data`); + const response = await supertest.get(`/internal/apm/has_data`); expect(response.status).to.be(200); expect(response.body.hasData).to.be(true); diff --git a/x-pack/test/apm_api_integration/tests/index.ts b/x-pack/test/apm_api_integration/tests/index.ts index d402a74287f98..b4522a833462b 100644 --- a/x-pack/test/apm_api_integration/tests/index.ts +++ b/x-pack/test/apm_api_integration/tests/index.ts @@ -146,7 +146,7 @@ export default function apmApiIntegrationTests(providerContext: FtrProviderConte describe('traces/top_traces', function () { loadTestFile(require.resolve('./traces/top_traces')); }); - describe('/api/apm/traces/{traceId}', function () { + describe('/internal/apm/traces/{traceId}', function () { loadTestFile(require.resolve('./traces/trace_by_id')); }); diff --git a/x-pack/test/apm_api_integration/tests/inspect/inspect.ts b/x-pack/test/apm_api_integration/tests/inspect/inspect.ts index 95805f4ef4524..75b5a02fff800 100644 --- a/x-pack/test/apm_api_integration/tests/inspect/inspect.ts +++ b/x-pack/test/apm_api_integration/tests/inspect/inspect.ts @@ -21,7 +21,7 @@ export default function customLinksTests({ getService }: FtrProviderContext) { describe('when omitting `_inspect` query param', () => { it('returns response without `_inspect`', async () => { const { status, body } = await apmApiClient.readUser({ - endpoint: 'GET /api/apm/environments', + endpoint: 'GET /internal/apm/environments', params: { query: { start: metadata.start, @@ -39,7 +39,7 @@ export default function customLinksTests({ getService }: FtrProviderContext) { describe('elasticsearch calls made with end-user auth are returned', () => { it('for environments', async () => { const { status, body } = await apmApiClient.readUser({ - endpoint: 'GET /api/apm/environments', + endpoint: 'GET /internal/apm/environments', params: { query: { start: metadata.start, @@ -67,7 +67,7 @@ export default function customLinksTests({ getService }: FtrProviderContext) { describe('elasticsearch calls made with internal user are not return', () => { it('for custom links', async () => { const { status, body } = await apmApiClient.readUser({ - endpoint: 'GET /api/apm/settings/custom_links', + endpoint: 'GET /internal/apm/settings/custom_links', params: { query: { 'service.name': 'opbeans-node', diff --git a/x-pack/test/apm_api_integration/tests/metrics_charts/metrics_charts.ts b/x-pack/test/apm_api_integration/tests/metrics_charts/metrics_charts.ts index a3e02984a16de..8d3a18a44f02e 100644 --- a/x-pack/test/apm_api_integration/tests/metrics_charts/metrics_charts.ts +++ b/x-pack/test/apm_api_integration/tests/metrics_charts/metrics_charts.ts @@ -33,7 +33,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { let chartsResponse: ChartResponse; before(async () => { chartsResponse = await supertest.get( - `/api/apm/services/opbeans-node/metrics/charts?start=${start}&end=${end}&agentName=${agentName}&kuery=&environment=ENVIRONMENT_ALL` + `/internal/apm/services/opbeans-node/metrics/charts?start=${start}&end=${end}&agentName=${agentName}&kuery=&environment=ENVIRONMENT_ALL` ); }); it('contains CPU usage and System memory usage chart data', async () => { @@ -121,7 +121,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { let chartsResponse: ChartResponse; before(async () => { chartsResponse = await supertest.get( - `/api/apm/services/opbeans-java/metrics/charts?start=${start}&end=${end}&agentName=${agentName}&environment=ENVIRONMENT_ALL&kuery=` + `/internal/apm/services/opbeans-java/metrics/charts?start=${start}&end=${end}&agentName=${agentName}&environment=ENVIRONMENT_ALL&kuery=` ); }); @@ -410,7 +410,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { const end = encodeURIComponent('2020-09-08T15:05:00.000Z'); const chartsResponse: ChartResponse = await supertest.get( - `/api/apm/services/opbeans-java/metrics/charts?start=${start}&end=${end}&agentName=${agentName}&environment=ENVIRONMENT_ALL&kuery=` + `/internal/apm/services/opbeans-java/metrics/charts?start=${start}&end=${end}&agentName=${agentName}&environment=ENVIRONMENT_ALL&kuery=` ); const systemMemoryUsageChart = chartsResponse.body.charts.find( diff --git a/x-pack/test/apm_api_integration/tests/observability_overview/has_data.ts b/x-pack/test/apm_api_integration/tests/observability_overview/has_data.ts index 1b0f8fdcf8736..90a01c472e13e 100644 --- a/x-pack/test/apm_api_integration/tests/observability_overview/has_data.ts +++ b/x-pack/test/apm_api_integration/tests/observability_overview/has_data.ts @@ -19,7 +19,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { () => { it('returns false when there is no data', async () => { const response = await apmApiClient.readUser({ - endpoint: 'GET /api/apm/observability_overview/has_data', + endpoint: 'GET /internal/apm/observability_overview/has_data', }); expect(response.status).to.be(200); expect(response.body.hasData).to.eql(false); @@ -33,7 +33,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { () => { it('returns false when there is only onboarding data', async () => { const response = await apmApiClient.readUser({ - endpoint: 'GET /api/apm/observability_overview/has_data', + endpoint: 'GET /internal/apm/observability_overview/has_data', }); expect(response.status).to.be(200); expect(response.body.hasData).to.eql(false); @@ -47,7 +47,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { () => { it('returns true when there is at least one document on transaction, error or metrics indices', async () => { const response = await apmApiClient.readUser({ - endpoint: 'GET /api/apm/observability_overview/has_data', + endpoint: 'GET /internal/apm/observability_overview/has_data', }); expect(response.status).to.be(200); expect(response.body.hasData).to.eql(true); diff --git a/x-pack/test/apm_api_integration/tests/observability_overview/observability_overview.ts b/x-pack/test/apm_api_integration/tests/observability_overview/observability_overview.ts index 76a157d72cc6f..b463db81e6c99 100644 --- a/x-pack/test/apm_api_integration/tests/observability_overview/observability_overview.ts +++ b/x-pack/test/apm_api_integration/tests/observability_overview/observability_overview.ts @@ -28,7 +28,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { describe('when data is not loaded', () => { it('handles the empty state', async () => { const response = await supertest.get( - `/api/apm/observability_overview?start=${start}&end=${end}&bucketSize=${bucketSize}` + `/internal/apm/observability_overview?start=${start}&end=${end}&bucketSize=${bucketSize}` ); expect(response.status).to.be(200); @@ -45,7 +45,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { () => { it('returns the service count and transaction coordinates', async () => { const response = await supertest.get( - `/api/apm/observability_overview?start=${start}&end=${end}&bucketSize=${bucketSize}` + `/internal/apm/observability_overview?start=${start}&end=${end}&bucketSize=${bucketSize}` ); expect(response.status).to.be(200); diff --git a/x-pack/test/apm_api_integration/tests/service_maps/__snapshots__/service_maps.snap b/x-pack/test/apm_api_integration/tests/service_maps/__snapshots__/service_maps.snap index c66609b8a8a91..9e32f311e8d11 100644 --- a/x-pack/test/apm_api_integration/tests/service_maps/__snapshots__/service_maps.snap +++ b/x-pack/test/apm_api_integration/tests/service_maps/__snapshots__/service_maps.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`APM API tests trial apm_8.0.0 Service Map with data /api/apm/service-map returns the correct data 3`] = ` +exports[`APM API tests trial apm_8.0.0 Service Map with data /internal/apm/service-map returns the correct data 3`] = ` Array [ Object { "data": Object { @@ -1376,7 +1376,7 @@ Array [ ] `; -exports[`APM API tests trial apm_8.0.0 Service Map with data /api/apm/service-map with ML data with the default apm user returns the correct anomaly stats 3`] = ` +exports[`APM API tests trial apm_8.0.0 Service Map with data /internal/apm/service-map with ML data with the default apm user returns the correct anomaly stats 3`] = ` Object { "elements": Array [ Object { diff --git a/x-pack/test/apm_api_integration/tests/service_maps/service_maps.ts b/x-pack/test/apm_api_integration/tests/service_maps/service_maps.ts index 816e4e26ef869..37fe340d75194 100644 --- a/x-pack/test/apm_api_integration/tests/service_maps/service_maps.ts +++ b/x-pack/test/apm_api_integration/tests/service_maps/service_maps.ts @@ -28,7 +28,7 @@ export default function serviceMapsApiTests({ getService }: FtrProviderContext) registry.when('Service map with a basic license', { config: 'basic', archives: [] }, () => { it('is only be available to users with Platinum license (or higher)', async () => { const response = await supertest.get( - `/api/apm/service-map?start=${start}&end=${end}&environment=ENVIRONMENT_ALL` + `/internal/apm/service-map?start=${start}&end=${end}&environment=ENVIRONMENT_ALL` ); expect(response.status).to.be(403); @@ -40,10 +40,10 @@ export default function serviceMapsApiTests({ getService }: FtrProviderContext) }); registry.when('Service map without data', { config: 'trial', archives: [] }, () => { - describe('/api/apm/service-map', () => { + describe('/internal/apm/service-map', () => { it('returns an empty list', async () => { const response = await supertest.get( - `/api/apm/service-map?start=${start}&end=${end}&environment=ENVIRONMENT_ALL` + `/internal/apm/service-map?start=${start}&end=${end}&environment=ENVIRONMENT_ALL` ); expect(response.status).to.be(200); @@ -51,14 +51,14 @@ export default function serviceMapsApiTests({ getService }: FtrProviderContext) }); }); - describe('/api/apm/service-map/service/{serviceName}', () => { + describe('/internal/apm/service-map/service/{serviceName}', () => { it('returns an object with nulls', async () => { const q = querystring.stringify({ start: metadata.start, end: metadata.end, environment: 'ENVIRONMENT_ALL', }); - const response = await supertest.get(`/api/apm/service-map/service/opbeans-node?${q}`); + const response = await supertest.get(`/internal/apm/service-map/service/opbeans-node?${q}`); expect(response.status).to.be(200); @@ -76,14 +76,14 @@ export default function serviceMapsApiTests({ getService }: FtrProviderContext) }); }); - describe('/api/apm/service-map/backend/{backendName}', () => { + describe('/internal/apm/service-map/backend/{backendName}', () => { it('returns an object with nulls', async () => { const q = querystring.stringify({ start: metadata.start, end: metadata.end, environment: 'ENVIRONMENT_ALL', }); - const response = await supertest.get(`/api/apm/service-map/backend/postgres?${q}`); + const response = await supertest.get(`/internal/apm/service-map/backend/postgres?${q}`); expect(response.status).to.be(200); @@ -101,12 +101,12 @@ export default function serviceMapsApiTests({ getService }: FtrProviderContext) }); registry.when('Service Map with data', { config: 'trial', archives: ['apm_8.0.0'] }, () => { - describe('/api/apm/service-map', () => { + describe('/internal/apm/service-map', () => { let response: PromiseReturnType; before(async () => { response = await supertest.get( - `/api/apm/service-map?start=${start}&end=${end}&environment=ENVIRONMENT_ALL` + `/internal/apm/service-map?start=${start}&end=${end}&environment=ENVIRONMENT_ALL` ); }); @@ -159,7 +159,7 @@ export default function serviceMapsApiTests({ getService }: FtrProviderContext) describe('with the default apm user', () => { before(async () => { response = await supertest.get( - `/api/apm/service-map?start=${start}&end=${end}&environment=ENVIRONMENT_ALL` + `/internal/apm/service-map?start=${start}&end=${end}&environment=ENVIRONMENT_ALL` ); }); @@ -246,7 +246,7 @@ export default function serviceMapsApiTests({ getService }: FtrProviderContext) describe('with a user that does not have access to ML', () => { before(async () => { response = await supertestAsApmReadUserWithoutMlAccess.get( - `/api/apm/service-map?start=${start}&end=${end}&environment=ENVIRONMENT_ALL` + `/internal/apm/service-map?start=${start}&end=${end}&environment=ENVIRONMENT_ALL` ); }); @@ -267,7 +267,7 @@ export default function serviceMapsApiTests({ getService }: FtrProviderContext) it('returns service map elements', async () => { response = await supertest.get( url.format({ - pathname: '/api/apm/service-map', + pathname: '/internal/apm/service-map', query: { environment: 'ENVIRONMENT_ALL', start: metadata.start, @@ -284,14 +284,14 @@ export default function serviceMapsApiTests({ getService }: FtrProviderContext) }); }); - describe('/api/apm/service-map/service/{serviceName}', () => { + describe('/internal/apm/service-map/service/{serviceName}', () => { it('returns an object with data', async () => { const q = querystring.stringify({ start: metadata.start, end: metadata.end, environment: 'ENVIRONMENT_ALL', }); - const response = await supertest.get(`/api/apm/service-map/service/opbeans-node?${q}`); + const response = await supertest.get(`/internal/apm/service-map/service/opbeans-node?${q}`); expect(response.status).to.be(200); @@ -309,14 +309,14 @@ export default function serviceMapsApiTests({ getService }: FtrProviderContext) }); }); - describe('/api/apm/service-map/backend/{backendName}', () => { + describe('/internal/apm/service-map/backend/{backendName}', () => { it('returns an object with data', async () => { const q = querystring.stringify({ start: metadata.start, end: metadata.end, environment: 'ENVIRONMENT_ALL', }); - const response = await supertest.get(`/api/apm/service-map/backend/postgresql?${q}`); + const response = await supertest.get(`/internal/apm/service-map/backend/postgresql?${q}`); expect(response.status).to.be(200); diff --git a/x-pack/test/apm_api_integration/tests/service_overview/dependencies/index.ts b/x-pack/test/apm_api_integration/tests/service_overview/dependencies/index.ts index 4bd9785b31427..1e8acccbb192a 100644 --- a/x-pack/test/apm_api_integration/tests/service_overview/dependencies/index.ts +++ b/x-pack/test/apm_api_integration/tests/service_overview/dependencies/index.ts @@ -37,7 +37,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { () => { it('handles the empty state', async () => { const response = await apmApiClient.readUser({ - endpoint: `GET /api/apm/services/{serviceName}/dependencies`, + endpoint: `GET /internal/apm/services/{serviceName}/dependencies`, params: { path: { serviceName: 'opbeans-java' }, query: { @@ -61,7 +61,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { () => { let response: { status: number; - body: APIReturnType<'GET /api/apm/services/{serviceName}/dependencies'>; + body: APIReturnType<'GET /internal/apm/services/{serviceName}/dependencies'>; }; const indices = { @@ -212,7 +212,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { }); response = await apmApiClient.readUser({ - endpoint: `GET /api/apm/services/{serviceName}/dependencies`, + endpoint: `GET /internal/apm/services/{serviceName}/dependencies`, params: { path: { serviceName: 'opbeans-java' }, query: { @@ -309,12 +309,12 @@ export default function ApiTest({ getService }: FtrProviderContext) { () => { let response: { status: number; - body: APIReturnType<'GET /api/apm/services/{serviceName}/dependencies'>; + body: APIReturnType<'GET /internal/apm/services/{serviceName}/dependencies'>; }; before(async () => { response = await apmApiClient.readUser({ - endpoint: `GET /api/apm/services/{serviceName}/dependencies`, + endpoint: `GET /internal/apm/services/{serviceName}/dependencies`, params: { path: { serviceName: 'opbeans-python' }, query: { diff --git a/x-pack/test/apm_api_integration/tests/service_overview/get_service_node_ids.ts b/x-pack/test/apm_api_integration/tests/service_overview/get_service_node_ids.ts index 1472c1f8c1a09..019c41f9292ba 100644 --- a/x-pack/test/apm_api_integration/tests/service_overview/get_service_node_ids.ts +++ b/x-pack/test/apm_api_integration/tests/service_overview/get_service_node_ids.ts @@ -22,7 +22,7 @@ export async function getServiceNodeIds({ count?: number; }) { const { body } = await apmApiSupertest({ - endpoint: `GET /api/apm/services/{serviceName}/service_overview_instances/main_statistics`, + endpoint: `GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics`, params: { path: { serviceName }, query: { diff --git a/x-pack/test/apm_api_integration/tests/service_overview/instance_details.ts b/x-pack/test/apm_api_integration/tests/service_overview/instance_details.ts index d2b6136fafebf..f3de8823199a8 100644 --- a/x-pack/test/apm_api_integration/tests/service_overview/instance_details.ts +++ b/x-pack/test/apm_api_integration/tests/service_overview/instance_details.ts @@ -14,7 +14,7 @@ import { getServiceNodeIds } from './get_service_node_ids'; import { createApmApiClient } from '../../common/apm_api_supertest'; type ServiceOverviewInstanceDetails = - APIReturnType<'GET /api/apm/services/{serviceName}/service_overview_instances/details/{serviceNodeName}'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/service_overview_instances/details/{serviceNodeName}'>; export default function ApiTest({ getService }: FtrProviderContext) { const supertest = getService('legacySupertestAsApmReadUser'); @@ -31,7 +31,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('handles empty state', async () => { const response = await supertest.get( url.format({ - pathname: '/api/apm/services/opbeans-java/service_overview_instances/details/foo', + pathname: + '/internal/apm/services/opbeans-java/service_overview_instances/details/foo', query: { start, end, @@ -62,7 +63,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { serviceNodeIds = await getServiceNodeIds({ apmApiSupertest, start, end }); response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-java/service_overview_instances/details/${serviceNodeIds[0]}`, + pathname: `/internal/apm/services/opbeans-java/service_overview_instances/details/${serviceNodeIds[0]}`, query: { start, end, @@ -89,7 +90,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('handles empty state when instance id not found', async () => { const response = await supertest.get( url.format({ - pathname: '/api/apm/services/opbeans-java/service_overview_instances/details/foo', + pathname: '/internal/apm/services/opbeans-java/service_overview_instances/details/foo', query: { start, end, diff --git a/x-pack/test/apm_api_integration/tests/service_overview/instances_detailed_statistics.ts b/x-pack/test/apm_api_integration/tests/service_overview/instances_detailed_statistics.ts index 1ad272bafaa80..9d9fb6a221cf6 100644 --- a/x-pack/test/apm_api_integration/tests/service_overview/instances_detailed_statistics.ts +++ b/x-pack/test/apm_api_integration/tests/service_overview/instances_detailed_statistics.ts @@ -26,7 +26,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { interface Response { status: number; - body: APIReturnType<'GET /api/apm/services/{serviceName}/service_overview_instances/detailed_statistics'>; + body: APIReturnType<'GET /internal/apm/services/{serviceName}/service_overview_instances/detailed_statistics'>; } registry.when( @@ -37,7 +37,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('handles the empty state', async () => { const response: Response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-java/service_overview_instances/detailed_statistics`, + pathname: `/internal/apm/services/opbeans-java/service_overview_instances/detailed_statistics`, query: { latencyAggregationType: 'avg', start, @@ -75,7 +75,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { beforeEach(async () => { response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-java/service_overview_instances/detailed_statistics`, + pathname: `/internal/apm/services/opbeans-java/service_overview_instances/detailed_statistics`, query: { latencyAggregationType: 'avg', start, @@ -129,7 +129,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { beforeEach(async () => { response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-java/service_overview_instances/detailed_statistics`, + pathname: `/internal/apm/services/opbeans-java/service_overview_instances/detailed_statistics`, query: { latencyAggregationType: 'avg', numBuckets: 20, diff --git a/x-pack/test/apm_api_integration/tests/service_overview/instances_main_statistics.ts b/x-pack/test/apm_api_integration/tests/service_overview/instances_main_statistics.ts index 355778757af3c..2d165f4ceb902 100644 --- a/x-pack/test/apm_api_integration/tests/service_overview/instances_main_statistics.ts +++ b/x-pack/test/apm_api_integration/tests/service_overview/instances_main_statistics.ts @@ -29,7 +29,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { describe('when data is not loaded', () => { it('handles the empty state', async () => { const response = await apmApiClient.readUser({ - endpoint: `GET /api/apm/services/{serviceName}/service_overview_instances/main_statistics`, + endpoint: `GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics`, params: { path: { serviceName: 'opbeans-java' }, query: { @@ -58,12 +58,12 @@ export default function ApiTest({ getService }: FtrProviderContext) { () => { describe('fetching java data', () => { let response: { - body: APIReturnType<`GET /api/apm/services/{serviceName}/service_overview_instances/main_statistics`>; + body: APIReturnType<`GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics`>; }; beforeEach(async () => { response = await apmApiClient.readUser({ - endpoint: `GET /api/apm/services/{serviceName}/service_overview_instances/main_statistics`, + endpoint: `GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics`, params: { path: { serviceName: 'opbeans-java' }, query: { @@ -129,12 +129,12 @@ export default function ApiTest({ getService }: FtrProviderContext) { describe('fetching non-java data', () => { let response: { - body: APIReturnType<`GET /api/apm/services/{serviceName}/service_overview_instances/main_statistics`>; + body: APIReturnType<`GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics`>; }; beforeEach(async () => { response = await apmApiClient.readUser({ - endpoint: `GET /api/apm/services/{serviceName}/service_overview_instances/main_statistics`, + endpoint: `GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics`, params: { path: { serviceName: 'opbeans-ruby' }, query: { @@ -197,12 +197,12 @@ export default function ApiTest({ getService }: FtrProviderContext) { () => { describe('fetching java data', () => { let response: { - body: APIReturnType<`GET /api/apm/services/{serviceName}/service_overview_instances/main_statistics`>; + body: APIReturnType<`GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics`>; }; beforeEach(async () => { response = await apmApiClient.readUser({ - endpoint: `GET /api/apm/services/{serviceName}/service_overview_instances/main_statistics`, + endpoint: `GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics`, params: { path: { serviceName: 'opbeans-java' }, query: { diff --git a/x-pack/test/apm_api_integration/tests/services/agent.ts b/x-pack/test/apm_api_integration/tests/services/agent.ts index 3e44dbe685cd8..fcd21f5a1a072 100644 --- a/x-pack/test/apm_api_integration/tests/services/agent.ts +++ b/x-pack/test/apm_api_integration/tests/services/agent.ts @@ -21,7 +21,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { registry.when('Agent name when data is not loaded', { config: 'basic', archives: [] }, () => { it('handles the empty state', async () => { const response = await supertest.get( - `/api/apm/services/opbeans-node/agent?start=${start}&end=${end}` + `/internal/apm/services/opbeans-node/agent?start=${start}&end=${end}` ); expect(response.status).to.be(200); @@ -35,7 +35,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { () => { it('returns the agent name', async () => { const response = await supertest.get( - `/api/apm/services/opbeans-node/agent?start=${start}&end=${end}` + `/internal/apm/services/opbeans-node/agent?start=${start}&end=${end}` ); expect(response.status).to.be(200); diff --git a/x-pack/test/apm_api_integration/tests/services/error_groups_detailed_statistics.ts b/x-pack/test/apm_api_integration/tests/services/error_groups_detailed_statistics.ts index 7c7a5b5e9c51f..3587a3e96c0d1 100644 --- a/x-pack/test/apm_api_integration/tests/services/error_groups_detailed_statistics.ts +++ b/x-pack/test/apm_api_integration/tests/services/error_groups_detailed_statistics.ts @@ -16,7 +16,7 @@ import { createApmApiClient } from '../../common/apm_api_supertest'; import { getErrorGroupIds } from './get_error_group_ids'; type ErrorGroupsDetailedStatistics = - APIReturnType<'GET /api/apm/services/{serviceName}/error_groups/detailed_statistics'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/error_groups/detailed_statistics'>; export default function ApiTest({ getService }: FtrProviderContext) { const supertest = getService('legacySupertestAsApmReadUser'); @@ -35,7 +35,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-java/error_groups/detailed_statistics`, + pathname: `/internal/apm/services/opbeans-java/error_groups/detailed_statistics`, query: { start, end, @@ -63,7 +63,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-java/error_groups/detailed_statistics`, + pathname: `/internal/apm/services/opbeans-java/error_groups/detailed_statistics`, query: { start, end, @@ -98,7 +98,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns an empty state when requested groupIds are not available in the given time range', async () => { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-java/error_groups/detailed_statistics`, + pathname: `/internal/apm/services/opbeans-java/error_groups/detailed_statistics`, query: { start, end, @@ -133,7 +133,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-java/error_groups/detailed_statistics`, + pathname: `/internal/apm/services/opbeans-java/error_groups/detailed_statistics`, query: { numBuckets: 20, transactionType: 'request', @@ -179,7 +179,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns an empty state when requested groupIds are not available in the given time range', async () => { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-java/error_groups/detailed_statistics`, + pathname: `/internal/apm/services/opbeans-java/error_groups/detailed_statistics`, query: { numBuckets: 20, transactionType: 'request', diff --git a/x-pack/test/apm_api_integration/tests/services/error_groups_main_statistics.ts b/x-pack/test/apm_api_integration/tests/services/error_groups_main_statistics.ts index 98c906fe61192..b6fb0696f3f74 100644 --- a/x-pack/test/apm_api_integration/tests/services/error_groups_main_statistics.ts +++ b/x-pack/test/apm_api_integration/tests/services/error_groups_main_statistics.ts @@ -13,7 +13,7 @@ import { registry } from '../../common/registry'; import { APIReturnType } from '../../../../plugins/apm/public/services/rest/createCallApmApi'; type ErrorGroupsMainStatistics = - APIReturnType<'GET /api/apm/services/{serviceName}/error_groups/main_statistics'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/error_groups/main_statistics'>; export default function ApiTest({ getService }: FtrProviderContext) { const supertest = getService('legacySupertestAsApmReadUser'); @@ -29,7 +29,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('handles empty state', async () => { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-java/error_groups/main_statistics`, + pathname: `/internal/apm/services/opbeans-java/error_groups/main_statistics`, query: { start, end, @@ -56,7 +56,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns the correct data', async () => { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-java/error_groups/main_statistics`, + pathname: `/internal/apm/services/opbeans-java/error_groups/main_statistics`, query: { start, end, diff --git a/x-pack/test/apm_api_integration/tests/services/get_error_group_ids.ts b/x-pack/test/apm_api_integration/tests/services/get_error_group_ids.ts index b2253750ae7f9..9fa7232240db1 100644 --- a/x-pack/test/apm_api_integration/tests/services/get_error_group_ids.ts +++ b/x-pack/test/apm_api_integration/tests/services/get_error_group_ids.ts @@ -21,7 +21,7 @@ export async function getErrorGroupIds({ count?: number; }) { const { body } = await apmApiSupertest({ - endpoint: `GET /api/apm/services/{serviceName}/error_groups/main_statistics`, + endpoint: `GET /internal/apm/services/{serviceName}/error_groups/main_statistics`, params: { path: { serviceName }, query: { diff --git a/x-pack/test/apm_api_integration/tests/services/service_details.ts b/x-pack/test/apm_api_integration/tests/services/service_details.ts index 263aaa504946b..28a3ee3ef82fd 100644 --- a/x-pack/test/apm_api_integration/tests/services/service_details.ts +++ b/x-pack/test/apm_api_integration/tests/services/service_details.ts @@ -24,7 +24,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('handles the empty state', async () => { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-java/metadata/details`, + pathname: `/internal/apm/services/opbeans-java/metadata/details`, query: { start, end }, }) ); @@ -42,7 +42,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns java service details', async () => { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-java/metadata/details`, + pathname: `/internal/apm/services/opbeans-java/metadata/details`, query: { start, end }, }) ); @@ -88,7 +88,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns python service details', async () => { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-python/metadata/details`, + pathname: `/internal/apm/services/opbeans-python/metadata/details`, query: { start, end }, }) ); diff --git a/x-pack/test/apm_api_integration/tests/services/service_icons.ts b/x-pack/test/apm_api_integration/tests/services/service_icons.ts index 619603efc4128..e948c6981d6c6 100644 --- a/x-pack/test/apm_api_integration/tests/services/service_icons.ts +++ b/x-pack/test/apm_api_integration/tests/services/service_icons.ts @@ -21,7 +21,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('handles the empty state', async () => { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-java/metadata/icons`, + pathname: `/internal/apm/services/opbeans-java/metadata/icons`, query: { start, end }, }) ); @@ -38,7 +38,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns java service icons', async () => { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-java/metadata/icons`, + pathname: `/internal/apm/services/opbeans-java/metadata/icons`, query: { start, end }, }) ); @@ -57,7 +57,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns python service icons', async () => { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-python/metadata/icons`, + pathname: `/internal/apm/services/opbeans-python/metadata/icons`, query: { start, end }, }) ); diff --git a/x-pack/test/apm_api_integration/tests/services/services_detailed_statistics.ts b/x-pack/test/apm_api_integration/tests/services/services_detailed_statistics.ts index c5c1032a794f9..d605c5f313825 100644 --- a/x-pack/test/apm_api_integration/tests/services/services_detailed_statistics.ts +++ b/x-pack/test/apm_api_integration/tests/services/services_detailed_statistics.ts @@ -13,7 +13,8 @@ import { FtrProviderContext } from '../../common/ftr_provider_context'; import { APIReturnType } from '../../../../plugins/apm/public/services/rest/createCallApmApi'; import { isFiniteNumber } from '../../../../plugins/apm/common/utils/is_finite_number'; -type ServicesDetailedStatisticsReturn = APIReturnType<'GET /api/apm/services/detailed_statistics'>; +type ServicesDetailedStatisticsReturn = + APIReturnType<'GET /internal/apm/services/detailed_statistics'>; export default function ApiTest({ getService }: FtrProviderContext) { const supertest = getService('legacySupertestAsApmReadUser'); @@ -30,7 +31,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('handles the empty state', async () => { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/detailed_statistics`, + pathname: `/internal/apm/services/detailed_statistics`, query: { start, end, @@ -56,7 +57,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { before(async () => { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/detailed_statistics`, + pathname: `/internal/apm/services/detailed_statistics`, query: { start, end, @@ -107,7 +108,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns empty when empty service names is passed', async () => { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/detailed_statistics`, + pathname: `/internal/apm/services/detailed_statistics`, query: { start, end, @@ -124,7 +125,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('filters by environment', async () => { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/detailed_statistics`, + pathname: `/internal/apm/services/detailed_statistics`, query: { start, end, @@ -141,7 +142,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('filters by kuery', async () => { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/detailed_statistics`, + pathname: `/internal/apm/services/detailed_statistics`, query: { start, end, @@ -165,7 +166,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { before(async () => { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/detailed_statistics`, + pathname: `/internal/apm/services/detailed_statistics`, query: { start: moment(end).subtract(15, 'minutes').toISOString(), end, diff --git a/x-pack/test/apm_api_integration/tests/services/throughput.ts b/x-pack/test/apm_api_integration/tests/services/throughput.ts index 03815c9947e9a..3ca5b62cb51ee 100644 --- a/x-pack/test/apm_api_integration/tests/services/throughput.ts +++ b/x-pack/test/apm_api_integration/tests/services/throughput.ts @@ -14,7 +14,7 @@ import archives_metadata from '../../common/fixtures/es_archiver/archives_metada import { FtrProviderContext } from '../../common/ftr_provider_context'; import { registry } from '../../common/registry'; -type ThroughputReturn = APIReturnType<'GET /api/apm/services/{serviceName}/throughput'>; +type ThroughputReturn = APIReturnType<'GET /internal/apm/services/{serviceName}/throughput'>; export default function ApiTest({ getService }: FtrProviderContext) { const apmApiClient = getService('apmApiClient'); @@ -25,7 +25,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { registry.when('Throughput when data is not loaded', { config: 'basic', archives: [] }, () => { it('handles the empty state', async () => { const response = await apmApiClient.readUser({ - endpoint: 'GET /api/apm/services/{serviceName}/throughput', + endpoint: 'GET /internal/apm/services/{serviceName}/throughput', params: { path: { serviceName: 'opbeans-java', @@ -54,7 +54,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { describe('when querying without kql filter', () => { before(async () => { const response = await apmApiClient.readUser({ - endpoint: 'GET /api/apm/services/{serviceName}/throughput', + endpoint: 'GET /internal/apm/services/{serviceName}/throughput', params: { path: { serviceName: 'opbeans-java', @@ -108,7 +108,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { describe('with kql filter to force transaction-based UI', () => { before(async () => { const response = await apmApiClient.readUser({ - endpoint: 'GET /api/apm/services/{serviceName}/throughput', + endpoint: 'GET /internal/apm/services/{serviceName}/throughput', params: { path: { serviceName: 'opbeans-java', @@ -144,7 +144,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { () => { before(async () => { const response = await apmApiClient.readUser({ - endpoint: 'GET /api/apm/services/{serviceName}/throughput', + endpoint: 'GET /internal/apm/services/{serviceName}/throughput', params: { path: { serviceName: 'opbeans-java', diff --git a/x-pack/test/apm_api_integration/tests/services/top_services.ts b/x-pack/test/apm_api_integration/tests/services/top_services.ts index 8e79d6cda58e1..18700fb041252 100644 --- a/x-pack/test/apm_api_integration/tests/services/top_services.ts +++ b/x-pack/test/apm_api_integration/tests/services/top_services.ts @@ -33,7 +33,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { () => { it('handles the empty state', async () => { const response = await supertest.get( - `/api/apm/services?start=${start}&end=${end}&environment=ENVIRONMENT_ALL&kuery=` + `/internal/apm/services?start=${start}&end=${end}&environment=ENVIRONMENT_ALL&kuery=` ); expect(response.status).to.be(200); @@ -49,14 +49,14 @@ export default function ApiTest({ getService }: FtrProviderContext) { () => { let response: { status: number; - body: APIReturnType<'GET /api/apm/services'>; + body: APIReturnType<'GET /internal/apm/services'>; }; let sortedItems: typeof response.body.items; before(async () => { response = await supertest.get( - `/api/apm/services?start=${start}&end=${end}&environment=ENVIRONMENT_ALL&kuery=` + `/internal/apm/services?start=${start}&end=${end}&environment=ENVIRONMENT_ALL&kuery=` ); sortedItems = sortBy(response.body.items, 'serviceName'); }); @@ -192,15 +192,15 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('includes services that only report metric data', async () => { interface Response { status: number; - body: APIReturnType<'GET /api/apm/services'>; + body: APIReturnType<'GET /internal/apm/services'>; } const [unfilteredResponse, filteredResponse] = await Promise.all([ supertest.get( - `/api/apm/services?start=${start}&end=${end}&environment=ENVIRONMENT_ALL&kuery=` + `/internal/apm/services?start=${start}&end=${end}&environment=ENVIRONMENT_ALL&kuery=` ) as Promise, supertest.get( - `/api/apm/services?start=${start}&end=${end}&environment=ENVIRONMENT_ALL&kuery=${encodeURIComponent( + `/internal/apm/services?start=${start}&end=${end}&environment=ENVIRONMENT_ALL&kuery=${encodeURIComponent( 'not (processor.event:transaction)' )}` ) as Promise, @@ -231,12 +231,12 @@ export default function ApiTest({ getService }: FtrProviderContext) { describe('and fetching a list of services', () => { let response: { status: number; - body: APIReturnType<'GET /api/apm/services'>; + body: APIReturnType<'GET /internal/apm/services'>; }; before(async () => { response = await supertest.get( - `/api/apm/services?start=${start}&end=${end}&environment=ENVIRONMENT_ALL&kuery=` + `/internal/apm/services?start=${start}&end=${end}&environment=ENVIRONMENT_ALL&kuery=` ); }); @@ -282,7 +282,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { let response: PromiseReturnType; before(async () => { response = await supertestAsApmReadUserWithoutMlAccess.get( - `/api/apm/services?start=${start}&end=${end}&environment=ENVIRONMENT_ALL&kuery=` + `/internal/apm/services?start=${start}&end=${end}&environment=ENVIRONMENT_ALL&kuery=` ); }); @@ -307,7 +307,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { let response: PromiseReturnType; before(async () => { response = await supertest.get( - `/api/apm/services?environment=ENVIRONMENT_ALL&start=${start}&end=${end}&kuery=${encodeURIComponent( + `/internal/apm/services?environment=ENVIRONMENT_ALL&start=${start}&end=${end}&kuery=${encodeURIComponent( 'service.name:opbeans-java' )}` ); diff --git a/x-pack/test/apm_api_integration/tests/services/transaction_types.ts b/x-pack/test/apm_api_integration/tests/services/transaction_types.ts index 6f574b5c8e997..4b752971e82f8 100644 --- a/x-pack/test/apm_api_integration/tests/services/transaction_types.ts +++ b/x-pack/test/apm_api_integration/tests/services/transaction_types.ts @@ -26,7 +26,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { () => { it('handles empty state', async () => { const response = await supertest.get( - `/api/apm/services/opbeans-node/transaction_types?start=${start}&end=${end}` + `/internal/apm/services/opbeans-node/transaction_types?start=${start}&end=${end}` ); expect(response.status).to.be(200); @@ -42,7 +42,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { () => { it('handles empty state', async () => { const response = await supertest.get( - `/api/apm/services/opbeans-node/transaction_types?start=${start}&end=${end}` + `/internal/apm/services/opbeans-node/transaction_types?start=${start}&end=${end}` ); expect(response.status).to.be(200); diff --git a/x-pack/test/apm_api_integration/tests/settings/anomaly_detection/basic.ts b/x-pack/test/apm_api_integration/tests/settings/anomaly_detection/basic.ts index 40708adb754a8..7e05bd3faabfa 100644 --- a/x-pack/test/apm_api_integration/tests/settings/anomaly_detection/basic.ts +++ b/x-pack/test/apm_api_integration/tests/settings/anomaly_detection/basic.ts @@ -17,12 +17,12 @@ export default function apiTest({ getService }: FtrProviderContext) { type SupertestAsUser = typeof noAccessUser | typeof readUser | typeof writeUser; function getJobs(user: SupertestAsUser) { - return user.get(`/api/apm/settings/anomaly-detection/jobs`).set('kbn-xsrf', 'foo'); + return user.get(`/internal/apm/settings/anomaly-detection/jobs`).set('kbn-xsrf', 'foo'); } function createJobs(user: SupertestAsUser, environments: string[]) { return user - .post(`/api/apm/settings/anomaly-detection/jobs`) + .post(`/internal/apm/settings/anomaly-detection/jobs`) .send({ environments }) .set('kbn-xsrf', 'foo'); } diff --git a/x-pack/test/apm_api_integration/tests/settings/anomaly_detection/no_access_user.ts b/x-pack/test/apm_api_integration/tests/settings/anomaly_detection/no_access_user.ts index 135038755dc6e..0b73b67c8e4c2 100644 --- a/x-pack/test/apm_api_integration/tests/settings/anomaly_detection/no_access_user.ts +++ b/x-pack/test/apm_api_integration/tests/settings/anomaly_detection/no_access_user.ts @@ -13,12 +13,12 @@ export default function apiTest({ getService }: FtrProviderContext) { const noAccessUser = getService('legacySupertestAsNoAccessUser'); function getJobs() { - return noAccessUser.get(`/api/apm/settings/anomaly-detection/jobs`).set('kbn-xsrf', 'foo'); + return noAccessUser.get(`/internal/apm/settings/anomaly-detection/jobs`).set('kbn-xsrf', 'foo'); } function createJobs(environments: string[]) { return noAccessUser - .post(`/api/apm/settings/anomaly-detection/jobs`) + .post(`/internal/apm/settings/anomaly-detection/jobs`) .send({ environments }) .set('kbn-xsrf', 'foo'); } diff --git a/x-pack/test/apm_api_integration/tests/settings/anomaly_detection/read_user.ts b/x-pack/test/apm_api_integration/tests/settings/anomaly_detection/read_user.ts index 3beebb434b317..982a47001f826 100644 --- a/x-pack/test/apm_api_integration/tests/settings/anomaly_detection/read_user.ts +++ b/x-pack/test/apm_api_integration/tests/settings/anomaly_detection/read_user.ts @@ -13,12 +13,12 @@ export default function apiTest({ getService }: FtrProviderContext) { const apmReadUser = getService('legacySupertestAsApmReadUser'); function getJobs() { - return apmReadUser.get(`/api/apm/settings/anomaly-detection/jobs`).set('kbn-xsrf', 'foo'); + return apmReadUser.get(`/internal/apm/settings/anomaly-detection/jobs`).set('kbn-xsrf', 'foo'); } function createJobs(environments: string[]) { return apmReadUser - .post(`/api/apm/settings/anomaly-detection/jobs`) + .post(`/internal/apm/settings/anomaly-detection/jobs`) .send({ environments }) .set('kbn-xsrf', 'foo'); } diff --git a/x-pack/test/apm_api_integration/tests/settings/anomaly_detection/write_user.ts b/x-pack/test/apm_api_integration/tests/settings/anomaly_detection/write_user.ts index 7c13533a14291..3d671c8fb825e 100644 --- a/x-pack/test/apm_api_integration/tests/settings/anomaly_detection/write_user.ts +++ b/x-pack/test/apm_api_integration/tests/settings/anomaly_detection/write_user.ts @@ -15,12 +15,14 @@ export default function apiTest({ getService }: FtrProviderContext) { const legacyWriteUserClient = getService('legacySupertestAsApmWriteUser'); function getJobs() { - return apmApiClient.writeUser({ endpoint: `GET /api/apm/settings/anomaly-detection/jobs` }); + return apmApiClient.writeUser({ + endpoint: `GET /internal/apm/settings/anomaly-detection/jobs`, + }); } function createJobs(environments: string[]) { return apmApiClient.writeUser({ - endpoint: `POST /api/apm/settings/anomaly-detection/jobs`, + endpoint: `POST /internal/apm/settings/anomaly-detection/jobs`, params: { body: { environments }, }, diff --git a/x-pack/test/apm_api_integration/tests/settings/custom_link.ts b/x-pack/test/apm_api_integration/tests/settings/custom_link.ts index 03b2ad4aa3212..86f60be3fdc4c 100644 --- a/x-pack/test/apm_api_integration/tests/settings/custom_link.ts +++ b/x-pack/test/apm_api_integration/tests/settings/custom_link.ts @@ -126,7 +126,7 @@ export default function customLinksTests({ getService }: FtrProviderContext) { it('fetches a transaction sample', async () => { const response = await apmApiClient.readUser({ - endpoint: 'GET /api/apm/settings/custom_links/transaction', + endpoint: 'GET /internal/apm/settings/custom_links/transaction', params: { query: { 'service.name': 'opbeans-java', @@ -141,7 +141,7 @@ export default function customLinksTests({ getService }: FtrProviderContext) { function searchCustomLinks(filters?: any) { return apmApiClient.readUser({ - endpoint: 'GET /api/apm/settings/custom_links', + endpoint: 'GET /internal/apm/settings/custom_links', params: { query: filters, }, @@ -152,7 +152,7 @@ export default function customLinksTests({ getService }: FtrProviderContext) { log.debug('creating configuration', customLink); return apmApiClient.writeUser({ - endpoint: 'POST /api/apm/settings/custom_links', + endpoint: 'POST /internal/apm/settings/custom_links', params: { body: customLink, }, @@ -163,7 +163,7 @@ export default function customLinksTests({ getService }: FtrProviderContext) { log.debug('updating configuration', id, customLink); return apmApiClient.writeUser({ - endpoint: 'PUT /api/apm/settings/custom_links/{id}', + endpoint: 'PUT /internal/apm/settings/custom_links/{id}', params: { path: { id }, body: customLink, @@ -175,7 +175,7 @@ export default function customLinksTests({ getService }: FtrProviderContext) { log.debug('deleting configuration', id); return apmApiClient.writeUser({ - endpoint: 'DELETE /api/apm/settings/custom_links/{id}', + endpoint: 'DELETE /internal/apm/settings/custom_links/{id}', params: { path: { id } }, }); } diff --git a/x-pack/test/apm_api_integration/tests/traces/top_traces.ts b/x-pack/test/apm_api_integration/tests/traces/top_traces.ts index 705c3d9ff4a15..4968732f82203 100644 --- a/x-pack/test/apm_api_integration/tests/traces/top_traces.ts +++ b/x-pack/test/apm_api_integration/tests/traces/top_traces.ts @@ -24,7 +24,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { registry.when('Top traces when data is not loaded', { config: 'basic', archives: [] }, () => { it('handles empty state', async () => { const response = await supertest.get( - `/api/apm/traces?start=${start}&end=${end}&environment=ENVIRONMENT_ALL&kuery=` + `/internal/apm/traces?start=${start}&end=${end}&environment=ENVIRONMENT_ALL&kuery=` ); expect(response.status).to.be(200); @@ -39,7 +39,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { let response: any; before(async () => { response = await supertest.get( - `/api/apm/traces?start=${start}&end=${end}&environment=ENVIRONMENT_ALL&kuery=` + `/internal/apm/traces?start=${start}&end=${end}&environment=ENVIRONMENT_ALL&kuery=` ); }); diff --git a/x-pack/test/apm_api_integration/tests/traces/trace_by_id.tsx b/x-pack/test/apm_api_integration/tests/traces/trace_by_id.tsx index 5b4ab5f45da49..d99a2b95a792e 100644 --- a/x-pack/test/apm_api_integration/tests/traces/trace_by_id.tsx +++ b/x-pack/test/apm_api_integration/tests/traces/trace_by_id.tsx @@ -22,7 +22,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { registry.when('Trace does not exist', { config: 'basic', archives: [] }, () => { it('handles empty state', async () => { const response = await apmApiSupertest({ - endpoint: `GET /api/apm/traces/{traceId}`, + endpoint: `GET /internal/apm/traces/{traceId}`, params: { path: { traceId: 'foo' }, query: { start, end }, @@ -35,10 +35,10 @@ export default function ApiTest({ getService }: FtrProviderContext) { }); registry.when('Trace exists', { config: 'basic', archives: [archiveName] }, () => { - let response: SupertestReturnType<`GET /api/apm/traces/{traceId}`>; + let response: SupertestReturnType<`GET /internal/apm/traces/{traceId}`>; before(async () => { response = await apmApiSupertest({ - endpoint: `GET /api/apm/traces/{traceId}`, + endpoint: `GET /internal/apm/traces/{traceId}`, params: { path: { traceId: '64d0014f7530df24e549dd17cc0a8895' }, query: { start, end }, diff --git a/x-pack/test/apm_api_integration/tests/transactions/breakdown.ts b/x-pack/test/apm_api_integration/tests/transactions/breakdown.ts index de23b8fea5363..bc2e2f534a0bb 100644 --- a/x-pack/test/apm_api_integration/tests/transactions/breakdown.ts +++ b/x-pack/test/apm_api_integration/tests/transactions/breakdown.ts @@ -24,7 +24,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { registry.when('Breakdown when data is not loaded', { config: 'basic', archives: [] }, () => { it('handles the empty state', async () => { const response = await supertest.get( - `/api/apm/services/opbeans-node/transaction/charts/breakdown?start=${start}&end=${end}&transactionType=${transactionType}&environment=ENVIRONMENT_ALL&kuery=` + `/internal/apm/services/opbeans-node/transaction/charts/breakdown?start=${start}&end=${end}&transactionType=${transactionType}&environment=ENVIRONMENT_ALL&kuery=` ); expect(response.status).to.be(200); expect(response.body).to.eql({ timeseries: [] }); @@ -37,7 +37,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { () => { it('returns the transaction breakdown for a service', async () => { const response = await supertest.get( - `/api/apm/services/opbeans-node/transaction/charts/breakdown?start=${start}&end=${end}&transactionType=${transactionType}&environment=ENVIRONMENT_ALL&kuery=` + `/internal/apm/services/opbeans-node/transaction/charts/breakdown?start=${start}&end=${end}&transactionType=${transactionType}&environment=ENVIRONMENT_ALL&kuery=` ); expect(response.status).to.be(200); @@ -45,7 +45,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { }); it('returns the transaction breakdown for a transaction group', async () => { const response = await supertest.get( - `/api/apm/services/opbeans-node/transaction/charts/breakdown?start=${start}&end=${end}&transactionType=${transactionType}&transactionName=${transactionName}&environment=ENVIRONMENT_ALL&kuery=` + `/internal/apm/services/opbeans-node/transaction/charts/breakdown?start=${start}&end=${end}&transactionType=${transactionType}&transactionName=${transactionName}&environment=ENVIRONMENT_ALL&kuery=` ); expect(response.status).to.be(200); @@ -104,7 +104,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { }); it('returns the transaction breakdown sorted by name', async () => { const response = await supertest.get( - `/api/apm/services/opbeans-node/transaction/charts/breakdown?start=${start}&end=${end}&transactionType=${transactionType}&environment=ENVIRONMENT_ALL&kuery=` + `/internal/apm/services/opbeans-node/transaction/charts/breakdown?start=${start}&end=${end}&transactionType=${transactionType}&environment=ENVIRONMENT_ALL&kuery=` ); expect(response.status).to.be(200); diff --git a/x-pack/test/apm_api_integration/tests/transactions/error_rate.ts b/x-pack/test/apm_api_integration/tests/transactions/error_rate.ts index d06eebd2cb982..2ddaa4677394c 100644 --- a/x-pack/test/apm_api_integration/tests/transactions/error_rate.ts +++ b/x-pack/test/apm_api_integration/tests/transactions/error_rate.ts @@ -15,7 +15,7 @@ import { FtrProviderContext } from '../../common/ftr_provider_context'; import { registry } from '../../common/registry'; type ErrorRate = - APIReturnType<'GET /api/apm/services/{serviceName}/transactions/charts/error_rate'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/transactions/charts/error_rate'>; export default function ApiTest({ getService }: FtrProviderContext) { const supertest = getService('legacySupertestAsApmReadUser'); @@ -30,7 +30,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('handles the empty state', async () => { const response = await supertest.get( format({ - pathname: '/api/apm/services/opbeans-java/transactions/charts/error_rate', + pathname: '/internal/apm/services/opbeans-java/transactions/charts/error_rate', query: { start, end, transactionType, environment: 'ENVIRONMENT_ALL', kuery: '' }, }) ); @@ -46,7 +46,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('handles the empty state with comparison data', async () => { const response = await supertest.get( format({ - pathname: '/api/apm/services/opbeans-java/transactions/charts/error_rate', + pathname: '/internal/apm/services/opbeans-java/transactions/charts/error_rate', query: { transactionType, start: moment(end).subtract(15, 'minutes').toISOString(), @@ -78,7 +78,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { before(async () => { const response = await supertest.get( format({ - pathname: '/api/apm/services/opbeans-java/transactions/charts/error_rate', + pathname: '/internal/apm/services/opbeans-java/transactions/charts/error_rate', query: { start, end, transactionType, environment: 'ENVIRONMENT_ALL', kuery: '' }, }) ); @@ -138,7 +138,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { before(async () => { const response = await supertest.get( format({ - pathname: '/api/apm/services/opbeans-java/transactions/charts/error_rate', + pathname: '/internal/apm/services/opbeans-java/transactions/charts/error_rate', query: { transactionType, start: moment(end).subtract(15, 'minutes').toISOString(), diff --git a/x-pack/test/apm_api_integration/tests/transactions/latency.ts b/x-pack/test/apm_api_integration/tests/transactions/latency.ts index df6daa8973801..beaff7647868a 100644 --- a/x-pack/test/apm_api_integration/tests/transactions/latency.ts +++ b/x-pack/test/apm_api_integration/tests/transactions/latency.ts @@ -15,7 +15,7 @@ import archives_metadata from '../../common/fixtures/es_archiver/archives_metada import { registry } from '../../common/registry'; type LatencyChartReturnType = - APIReturnType<'GET /api/apm/services/{serviceName}/transactions/charts/latency'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/transactions/charts/latency'>; export default function ApiTest({ getService }: FtrProviderContext) { const supertest = getService('legacySupertestAsApmReadUser'); @@ -31,7 +31,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns 400 when latencyAggregationType is not informed', async () => { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-node/transactions/charts/latency`, + pathname: `/internal/apm/services/opbeans-node/transactions/charts/latency`, query: { start, end, @@ -47,7 +47,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns 400 when transactionType is not informed', async () => { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-node/transactions/charts/latency`, + pathname: `/internal/apm/services/opbeans-node/transactions/charts/latency`, query: { start, end, @@ -63,7 +63,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('handles the empty state', async () => { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-node/transactions/charts/latency`, + pathname: `/internal/apm/services/opbeans-node/transactions/charts/latency`, query: { start, end, @@ -96,7 +96,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { before(async () => { response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-node/transactions/charts/latency`, + pathname: `/internal/apm/services/opbeans-node/transactions/charts/latency`, query: { start, end, @@ -121,7 +121,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { before(async () => { response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-node/transactions/charts/latency`, + pathname: `/internal/apm/services/opbeans-node/transactions/charts/latency`, query: { start, end, @@ -146,7 +146,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { before(async () => { response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-node/transactions/charts/latency`, + pathname: `/internal/apm/services/opbeans-node/transactions/charts/latency`, query: { start, end, @@ -176,7 +176,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { before(async () => { response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-node/transactions/charts/latency`, + pathname: `/internal/apm/services/opbeans-node/transactions/charts/latency`, query: { latencyAggregationType: 'avg', transactionType: 'request', @@ -217,7 +217,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { before(async () => { response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-node/transactions/charts/latency`, + pathname: `/internal/apm/services/opbeans-node/transactions/charts/latency`, query: { start, end, @@ -257,7 +257,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { before(async () => { response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-java/transactions/charts/latency`, + pathname: `/internal/apm/services/opbeans-java/transactions/charts/latency`, query: { start, end, @@ -279,7 +279,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { before(async () => { response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-python/transactions/charts/latency`, + pathname: `/internal/apm/services/opbeans-python/transactions/charts/latency`, query: { start, end, @@ -319,7 +319,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { before(async () => { response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-java/transactions/charts/latency`, + pathname: `/internal/apm/services/opbeans-java/transactions/charts/latency`, query: { start, end, diff --git a/x-pack/test/apm_api_integration/tests/transactions/trace_samples.ts b/x-pack/test/apm_api_integration/tests/transactions/trace_samples.ts index fca9222e69bd0..19e75ff08fec2 100644 --- a/x-pack/test/apm_api_integration/tests/transactions/trace_samples.ts +++ b/x-pack/test/apm_api_integration/tests/transactions/trace_samples.ts @@ -17,7 +17,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { const archiveName = 'apm_8.0.0'; const metadata = archives_metadata[archiveName]; - const url = `/api/apm/services/opbeans-java/transactions/traces/samples?${qs.stringify({ + const url = `/internal/apm/services/opbeans-java/transactions/traces/samples?${qs.stringify({ environment: 'ENVIRONMENT_ALL', kuery: '', start: metadata.start, diff --git a/x-pack/test/apm_api_integration/tests/transactions/transactions_groups_detailed_statistics.ts b/x-pack/test/apm_api_integration/tests/transactions/transactions_groups_detailed_statistics.ts index 84d7a2986ecb3..add954f490db1 100644 --- a/x-pack/test/apm_api_integration/tests/transactions/transactions_groups_detailed_statistics.ts +++ b/x-pack/test/apm_api_integration/tests/transactions/transactions_groups_detailed_statistics.ts @@ -16,7 +16,7 @@ import { registry } from '../../common/registry'; import { removeEmptyCoordinates, roundNumber } from '../../utils'; type TransactionsGroupsDetailedStatistics = - APIReturnType<'GET /api/apm/services/{serviceName}/transactions/groups/detailed_statistics'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/transactions/groups/detailed_statistics'>; export default function ApiTest({ getService }: FtrProviderContext) { const supertest = getService('legacySupertestAsApmReadUser'); @@ -32,7 +32,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('handles the empty state', async () => { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-java/transactions/groups/detailed_statistics`, + pathname: `/internal/apm/services/opbeans-java/transactions/groups/detailed_statistics`, query: { start, end, @@ -59,7 +59,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns the correct data', async () => { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-java/transactions/groups/detailed_statistics`, + pathname: `/internal/apm/services/opbeans-java/transactions/groups/detailed_statistics`, query: { start, end, @@ -113,7 +113,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns the correct data for latency aggregation 99th percentile', async () => { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-java/transactions/groups/detailed_statistics`, + pathname: `/internal/apm/services/opbeans-java/transactions/groups/detailed_statistics`, query: { start, end, @@ -161,7 +161,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns empty when transaction name is not found', async () => { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-java/transactions/groups/detailed_statistics`, + pathname: `/internal/apm/services/opbeans-java/transactions/groups/detailed_statistics`, query: { start, end, @@ -185,7 +185,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { before(async () => { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-java/transactions/groups/detailed_statistics`, + pathname: `/internal/apm/services/opbeans-java/transactions/groups/detailed_statistics`, query: { numBuckets: 20, transactionType: 'request', diff --git a/x-pack/test/apm_api_integration/tests/transactions/transactions_groups_main_statistics.ts b/x-pack/test/apm_api_integration/tests/transactions/transactions_groups_main_statistics.ts index ffdbf35992d7c..7664d28271e14 100644 --- a/x-pack/test/apm_api_integration/tests/transactions/transactions_groups_main_statistics.ts +++ b/x-pack/test/apm_api_integration/tests/transactions/transactions_groups_main_statistics.ts @@ -14,7 +14,7 @@ import archives from '../../common/fixtures/es_archiver/archives_metadata'; import { registry } from '../../common/registry'; type TransactionsGroupsPrimaryStatistics = - APIReturnType<'GET /api/apm/services/{serviceName}/transactions/groups/main_statistics'>; + APIReturnType<'GET /internal/apm/services/{serviceName}/transactions/groups/main_statistics'>; export default function ApiTest({ getService }: FtrProviderContext) { const supertest = getService('legacySupertestAsApmReadUser'); @@ -29,7 +29,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('handles the empty state', async () => { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-java/transactions/groups/main_statistics`, + pathname: `/internal/apm/services/opbeans-java/transactions/groups/main_statistics`, query: { start, end, @@ -57,7 +57,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns the correct data', async () => { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-java/transactions/groups/main_statistics`, + pathname: `/internal/apm/services/opbeans-java/transactions/groups/main_statistics`, query: { start, end, @@ -132,7 +132,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns the correct data for latency aggregation 99th percentile', async () => { const response = await supertest.get( url.format({ - pathname: `/api/apm/services/opbeans-java/transactions/groups/main_statistics`, + pathname: `/internal/apm/services/opbeans-java/transactions/groups/main_statistics`, query: { start, end, From 4b372b1bed2aaf1a06b69a3ccb8d39168e9aff8e Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 11 Oct 2021 12:15:56 -0400 Subject: [PATCH 015/107] [Enterprise Search] Fix typo (#114462) (#114496) Fixing a small typo (`recieve` -> `receive`) I noticed in comments. Co-authored-by: Orhan Toy --- .../crawler_status_indicator/crawler_status_indicator.test.tsx | 2 +- .../applications/shared/flash_messages/handle_api_errors.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_indicator/crawler_status_indicator.test.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_indicator/crawler_status_indicator.test.tsx index 9d585789d8e50..c46c360934d0b 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_indicator/crawler_status_indicator.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_indicator/crawler_status_indicator.test.tsx @@ -37,7 +37,7 @@ describe('CrawlerStatusIndicator', () => { describe('when status is not a valid status', () => { it('is disabled', () => { // this tests a codepath that should be impossible to reach, status should always be a CrawlerStatus - // but we use a switch statement and need to test the default case for this to recieve 100% coverage + // but we use a switch statement and need to test the default case for this to receive 100% coverage setMockValues({ ...MOCK_VALUES, mostRecentCrawlRequestStatus: null, diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/handle_api_errors.ts b/x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/handle_api_errors.ts index 4fe8ad1cb851d..abaa67e06f606 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/handle_api_errors.ts +++ b/x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/handle_api_errors.ts @@ -14,7 +14,7 @@ import { IFlashMessage } from './types'; /** * The API errors we are handling can come from one of two ways: - * - When our http calls recieve a response containing an error code, such as a 404 or 500 + * - When our http calls receive a response containing an error code, such as a 404 or 500 * - Our own JS while handling a successful response * * In the first case, if it is a purposeful error (like a 404) we will receive an From 5f9fc999acab09dac1b4dba66876ac4bd07c2368 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 11 Oct 2021 12:51:50 -0400 Subject: [PATCH 016/107] Detection Rule Exception List telemetry (#113239) (#114504) * Add telemetry for detection rule exception lists to improve UX. * Add length for debugging. * Fix type. * Clean up exception list telemetry document. * Dynamically set kibana index (just in case). * Update task title. * Rename version to rule_version. Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Pete Hampton --- .../server/lib/telemetry/constants.ts | 6 +- .../server/lib/telemetry/filters.ts | 5 +- .../server/lib/telemetry/helpers.test.ts | 80 +++++++--- .../server/lib/telemetry/helpers.ts | 48 ++++-- .../server/lib/telemetry/mocks.ts | 11 +- .../server/lib/telemetry/receiver.ts | 68 +++++++- .../server/lib/telemetry/sender.ts | 10 +- .../telemetry/tasks/detection_rule.test.ts | 127 +++++++++++++++ .../lib/telemetry/tasks/detection_rule.ts | 149 ++++++++++++++++++ .../server/lib/telemetry/tasks/endpoint.ts | 4 +- .../server/lib/telemetry/tasks/index.ts | 1 + .../server/lib/telemetry/types.ts | 39 ++++- .../security_solution/server/plugin.ts | 8 +- 13 files changed, 499 insertions(+), 57 deletions(-) create mode 100644 x-pack/plugins/security_solution/server/lib/telemetry/tasks/detection_rule.test.ts create mode 100644 x-pack/plugins/security_solution/server/lib/telemetry/tasks/detection_rule.ts diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/constants.ts b/x-pack/plugins/security_solution/server/lib/telemetry/constants.ts index 771e3e059c336..91f83d5e7cb37 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/constants.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/constants.ts @@ -7,12 +7,14 @@ export const TELEMETRY_MAX_BUFFER_SIZE = 100; -export const TELEMETRY_CHANNEL_LISTS = 'security-lists'; +export const TELEMETRY_CHANNEL_LISTS = 'security-lists-v2'; export const TELEMETRY_CHANNEL_ENDPOINT_META = 'endpoint-metadata'; -export const LIST_TRUSTED_APPLICATION = 'trusted_application'; +export const LIST_DETECTION_RULE_EXCEPTION = 'detection_rule_exception'; export const LIST_ENDPOINT_EXCEPTION = 'endpoint_exception'; export const LIST_ENDPOINT_EVENT_FILTER = 'endpoint_event_filter'; + +export const LIST_TRUSTED_APPLICATION = 'trusted_application'; diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/filters.ts b/x-pack/plugins/security_solution/server/lib/telemetry/filters.ts index 61172fac511f7..a29f195ed5ecc 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/filters.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/filters.ts @@ -129,13 +129,12 @@ export const allowlistEventFields: AllowlistFields = { export const exceptionListEventFields: AllowlistFields = { created_at: true, - description: true, effectScope: true, entries: true, id: true, name: true, - os: true, os_types: true, + rule_version: true, }; /** @@ -143,7 +142,7 @@ export const exceptionListEventFields: AllowlistFields = { * * @param allowlist * @param event - * @returns + * @returns TelemetryEvent with explicitly required fields */ export function copyAllowlistedFields( allowlist: AllowlistFields, diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/helpers.test.ts b/x-pack/plugins/security_solution/server/lib/telemetry/helpers.test.ts index 647219e8c5585..528082d8cb5b1 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/helpers.test.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/helpers.test.ts @@ -8,13 +8,14 @@ import moment from 'moment'; import { createMockPackagePolicy } from './mocks'; import { + LIST_DETECTION_RULE_EXCEPTION, LIST_ENDPOINT_EXCEPTION, LIST_ENDPOINT_EVENT_FILTER, LIST_TRUSTED_APPLICATION, } from './constants'; import { getPreviousDiagTaskTimestamp, - getPreviousEpMetaTaskTimestamp, + getPreviousDailyTaskTimestamp, batchTelemetryRecords, isPackagePolicyList, templateExceptionList, @@ -53,7 +54,7 @@ describe('test endpoint meta telemetry scheduled task timing helper', () => { test('test -24 hours is returned when there is no previous task run', async () => { const executeTo = moment().utc().toISOString(); const executeFrom = undefined; - const newExecuteFrom = getPreviousEpMetaTaskTimestamp(executeTo, executeFrom); + const newExecuteFrom = getPreviousDailyTaskTimestamp(executeTo, executeFrom); expect(newExecuteFrom).toEqual(moment(executeTo).subtract(24, 'hours').toISOString()); }); @@ -61,7 +62,7 @@ describe('test endpoint meta telemetry scheduled task timing helper', () => { test('test -24 hours is returned when there was a previous task run', async () => { const executeTo = moment().utc().toISOString(); const executeFrom = moment(executeTo).subtract(24, 'hours').toISOString(); - const newExecuteFrom = getPreviousEpMetaTaskTimestamp(executeTo, executeFrom); + const newExecuteFrom = getPreviousDailyTaskTimestamp(executeTo, executeFrom); expect(newExecuteFrom).toEqual(executeFrom); }); @@ -71,7 +72,7 @@ describe('test endpoint meta telemetry scheduled task timing helper', () => { test('test 24 hours is returned when previous task run took longer than 24 hours', async () => { const executeTo = moment().utc().toISOString(); const executeFrom = moment(executeTo).subtract(72, 'hours').toISOString(); // down 3 days - const newExecuteFrom = getPreviousEpMetaTaskTimestamp(executeTo, executeFrom); + const newExecuteFrom = getPreviousDailyTaskTimestamp(executeTo, executeFrom); expect(newExecuteFrom).toEqual(moment(executeTo).subtract(24, 'hours').toISOString()); }); @@ -134,61 +135,88 @@ describe('test package policy type guard', () => { }); describe('list telemetry schema', () => { + test('detection rules document is correctly formed', () => { + const data = [{ id: 'test_1' }] as ExceptionListItem[]; + const templatedItems = templateExceptionList(data, LIST_DETECTION_RULE_EXCEPTION); + + expect(templatedItems[0]?.detection_rule).not.toBeUndefined(); + expect(templatedItems[0]?.endpoint_exception).toBeUndefined(); + expect(templatedItems[0]?.endpoint_event_filter).toBeUndefined(); + expect(templatedItems[0]?.trusted_application).toBeUndefined(); + }); + + test('detection rules document is correctly formed with multiple entries', () => { + const data = [{ id: 'test_2' }, { id: 'test_2' }] as ExceptionListItem[]; + const templatedItems = templateExceptionList(data, LIST_DETECTION_RULE_EXCEPTION); + + expect(templatedItems[0]?.detection_rule).not.toBeUndefined(); + expect(templatedItems[1]?.detection_rule).not.toBeUndefined(); + expect(templatedItems[0]?.endpoint_exception).toBeUndefined(); + expect(templatedItems[0]?.endpoint_event_filter).toBeUndefined(); + expect(templatedItems[0]?.trusted_application).toBeUndefined(); + }); + test('trusted apps document is correctly formed', () => { const data = [{ id: 'test_1' }] as ExceptionListItem[]; const templatedItems = templateExceptionList(data, LIST_TRUSTED_APPLICATION); - expect(templatedItems[0]?.trusted_application.length).toEqual(1); - expect(templatedItems[0]?.endpoint_exception.length).toEqual(0); - expect(templatedItems[0]?.endpoint_event_filter.length).toEqual(0); + expect(templatedItems[0]?.detection_rule).toBeUndefined(); + expect(templatedItems[0]?.endpoint_exception).toBeUndefined(); + expect(templatedItems[0]?.endpoint_event_filter).toBeUndefined(); + expect(templatedItems[0]?.trusted_application).not.toBeUndefined(); }); test('trusted apps document is correctly formed with multiple entries', () => { const data = [{ id: 'test_2' }, { id: 'test_2' }] as ExceptionListItem[]; const templatedItems = templateExceptionList(data, LIST_TRUSTED_APPLICATION); - expect(templatedItems[0]?.trusted_application.length).toEqual(1); - expect(templatedItems[1]?.trusted_application.length).toEqual(1); - expect(templatedItems[0]?.endpoint_exception.length).toEqual(0); - expect(templatedItems[0]?.endpoint_event_filter.length).toEqual(0); + expect(templatedItems[0]?.detection_rule).toBeUndefined(); + expect(templatedItems[0]?.endpoint_exception).toBeUndefined(); + expect(templatedItems[0]?.endpoint_event_filter).toBeUndefined(); + expect(templatedItems[0]?.trusted_application).not.toBeUndefined(); + expect(templatedItems[1]?.trusted_application).not.toBeUndefined(); }); test('endpoint exception document is correctly formed', () => { const data = [{ id: 'test_3' }] as ExceptionListItem[]; const templatedItems = templateExceptionList(data, LIST_ENDPOINT_EXCEPTION); - expect(templatedItems[0]?.trusted_application.length).toEqual(0); - expect(templatedItems[0]?.endpoint_exception.length).toEqual(1); - expect(templatedItems[0]?.endpoint_event_filter.length).toEqual(0); + expect(templatedItems[0]?.detection_rule).toBeUndefined(); + expect(templatedItems[0]?.endpoint_exception).not.toBeUndefined(); + expect(templatedItems[0]?.endpoint_event_filter).toBeUndefined(); + expect(templatedItems[0]?.trusted_application).toBeUndefined(); }); test('endpoint exception document is correctly formed with multiple entries', () => { const data = [{ id: 'test_4' }, { id: 'test_4' }, { id: 'test_4' }] as ExceptionListItem[]; const templatedItems = templateExceptionList(data, LIST_ENDPOINT_EXCEPTION); - expect(templatedItems[0]?.trusted_application.length).toEqual(0); - expect(templatedItems[0]?.endpoint_exception.length).toEqual(1); - expect(templatedItems[1]?.endpoint_exception.length).toEqual(1); - expect(templatedItems[2]?.endpoint_exception.length).toEqual(1); - expect(templatedItems[0]?.endpoint_event_filter.length).toEqual(0); + expect(templatedItems[0]?.detection_rule).toBeUndefined(); + expect(templatedItems[0]?.endpoint_event_filter).toBeUndefined(); + expect(templatedItems[0]?.endpoint_exception).not.toBeUndefined(); + expect(templatedItems[1]?.endpoint_exception).not.toBeUndefined(); + expect(templatedItems[2]?.endpoint_exception).not.toBeUndefined(); + expect(templatedItems[0]?.trusted_application).toBeUndefined(); }); test('endpoint event filters document is correctly formed', () => { const data = [{ id: 'test_5' }] as ExceptionListItem[]; const templatedItems = templateExceptionList(data, LIST_ENDPOINT_EVENT_FILTER); - expect(templatedItems[0]?.trusted_application.length).toEqual(0); - expect(templatedItems[0]?.endpoint_exception.length).toEqual(0); - expect(templatedItems[0]?.endpoint_event_filter.length).toEqual(1); + expect(templatedItems[0]?.detection_rule).toBeUndefined(); + expect(templatedItems[0]?.endpoint_event_filter).not.toBeUndefined(); + expect(templatedItems[0]?.endpoint_exception).toBeUndefined(); + expect(templatedItems[0]?.trusted_application).toBeUndefined(); }); test('endpoint event filters document is correctly formed with multiple entries', () => { const data = [{ id: 'test_6' }, { id: 'test_6' }] as ExceptionListItem[]; const templatedItems = templateExceptionList(data, LIST_ENDPOINT_EVENT_FILTER); - expect(templatedItems[0]?.trusted_application.length).toEqual(0); - expect(templatedItems[0]?.endpoint_exception.length).toEqual(0); - expect(templatedItems[0]?.endpoint_event_filter.length).toEqual(1); - expect(templatedItems[1]?.endpoint_event_filter.length).toEqual(1); + expect(templatedItems[0]?.detection_rule).toBeUndefined(); + expect(templatedItems[0]?.endpoint_event_filter).not.toBeUndefined(); + expect(templatedItems[1]?.endpoint_event_filter).not.toBeUndefined(); + expect(templatedItems[0]?.endpoint_exception).toBeUndefined(); + expect(templatedItems[0]?.trusted_application).toBeUndefined(); }); }); diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/helpers.ts b/x-pack/plugins/security_solution/server/lib/telemetry/helpers.ts index a9eaef3ce6edc..e72b0ba7d16fe 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/helpers.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/helpers.ts @@ -11,6 +11,7 @@ import { PackagePolicy } from '../../../../fleet/common/types/models/package_pol import { copyAllowlistedFields, exceptionListEventFields } from './filters'; import { ExceptionListItem, ListTemplate, TelemetryEvent } from './types'; import { + LIST_DETECTION_RULE_EXCEPTION, LIST_ENDPOINT_EXCEPTION, LIST_ENDPOINT_EVENT_FILTER, LIST_TRUSTED_APPLICATION, @@ -46,7 +47,7 @@ export const getPreviousDiagTaskTimestamp = ( * @param lastExecutionTimestamp * @returns the timestamp to search from */ -export const getPreviousEpMetaTaskTimestamp = ( +export const getPreviousDailyTaskTimestamp = ( executeTo: string, lastExecutionTimestamp?: string ) => { @@ -97,18 +98,16 @@ export function isPackagePolicyList( * Maps trusted application to shared telemetry object * * @param exceptionListItem - * @returns collection of endpoint exceptions + * @returns collection of trusted applications */ export const trustedApplicationToTelemetryEntry = (trustedApplication: TrustedApp) => { return { id: trustedApplication.id, - version: trustedApplication.version || '', name: trustedApplication.name, - description: trustedApplication.description, created_at: trustedApplication.created_at, updated_at: trustedApplication.updated_at, entries: trustedApplication.entries, - os: trustedApplication.os, + os_types: [trustedApplication.os], } as ExceptionListItem; }; @@ -121,9 +120,29 @@ export const trustedApplicationToTelemetryEntry = (trustedApplication: TrustedAp export const exceptionListItemToTelemetryEntry = (exceptionListItem: ExceptionListItemSchema) => { return { id: exceptionListItem.id, - version: exceptionListItem._version || '', name: exceptionListItem.name, - description: exceptionListItem.description, + created_at: exceptionListItem.created_at, + updated_at: exceptionListItem.updated_at, + entries: exceptionListItem.entries, + os_types: exceptionListItem.os_types, + } as ExceptionListItem; +}; + +/** + * Maps detection rule exception list items to shared telemetry object + * + * @param exceptionListItem + * @param ruleVersion + * @returns collection of detection rule exceptions + */ +export const ruleExceptionListItemToTelemetryEvent = ( + exceptionListItem: ExceptionListItemSchema, + ruleVersion: number +) => { + return { + id: exceptionListItem.item_id, + name: exceptionListItem.description, + rule_version: ruleVersion, created_at: exceptionListItem.created_at, updated_at: exceptionListItem.updated_at, entries: exceptionListItem.entries, @@ -141,9 +160,7 @@ export const exceptionListItemToTelemetryEntry = (exceptionListItem: ExceptionLi export const templateExceptionList = (listData: ExceptionListItem[], listType: string) => { return listData.map((item) => { const template: ListTemplate = { - trusted_application: [], - endpoint_exception: [], - endpoint_event_filter: [], + '@timestamp': new Date().getTime(), }; // cast exception list type to a TelemetryEvent for allowlist filtering @@ -152,18 +169,23 @@ export const templateExceptionList = (listData: ExceptionListItem[], listType: s item as unknown as TelemetryEvent ); + if (listType === LIST_DETECTION_RULE_EXCEPTION) { + template.detection_rule = filteredListItem; + return template; + } + if (listType === LIST_TRUSTED_APPLICATION) { - template.trusted_application.push(filteredListItem); + template.trusted_application = filteredListItem; return template; } if (listType === LIST_ENDPOINT_EXCEPTION) { - template.endpoint_exception.push(filteredListItem); + template.endpoint_exception = filteredListItem; return template; } if (listType === LIST_ENDPOINT_EVENT_FILTER) { - template.endpoint_event_filter.push(filteredListItem); + template.endpoint_event_filter = filteredListItem; return template; } diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/mocks.ts b/x-pack/plugins/security_solution/server/lib/telemetry/mocks.ts index 20a71657b2ffe..9168683141e48 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/mocks.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/mocks.ts @@ -8,7 +8,7 @@ // eslint-disable-next-line max-classes-per-file import { TelemetryEventsSender } from './sender'; import { TelemetryReceiver } from './receiver'; -import { DiagnosticTask, EndpointTask, ExceptionListsTask } from './tasks'; +import { DiagnosticTask, EndpointTask, ExceptionListsTask, DetectionRulesTask } from './tasks'; import { PackagePolicy } from '../../../../fleet/common/types/models/package_policy'; /** @@ -40,6 +40,8 @@ export const createMockTelemetryReceiver = (): jest.Mocked => fetchEndpointMetrics: jest.fn(), fetchEndpointPolicyResponses: jest.fn(), fetchTrustedApplications: jest.fn(), + fetchDetectionRules: jest.fn(), + fetchDetectionExceptionList: jest.fn(), } as unknown as jest.Mocked; }; @@ -79,3 +81,10 @@ export class MockTelemetryEndpointTask extends EndpointTask { export class MockExceptionListsTask extends ExceptionListsTask { public runTask = jest.fn(); } + +/** + * Creates a mocked Telemetry detection rules lists Task + */ +export class MockDetectionRuleListsTask extends DetectionRulesTask { + public runTask = jest.fn(); +} diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/receiver.ts b/x-pack/plugins/security_solution/server/lib/telemetry/receiver.ts index 038b7687784f4..94aa6c867304f 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/receiver.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/receiver.ts @@ -17,8 +17,18 @@ import { AgentService, AgentPolicyServiceInterface } from '../../../../fleet/ser import { ExceptionListClient } from '../../../../lists/server'; import { EndpointAppContextService } from '../../endpoint/endpoint_app_context_services'; import { TELEMETRY_MAX_BUFFER_SIZE } from './constants'; -import { exceptionListItemToTelemetryEntry, trustedApplicationToTelemetryEntry } from './helpers'; -import { TelemetryEvent, ESLicense, ESClusterInfo, GetEndpointListResponse } from './types'; +import { + exceptionListItemToTelemetryEntry, + trustedApplicationToTelemetryEntry, + ruleExceptionListItemToTelemetryEvent, +} from './helpers'; +import { + TelemetryEvent, + ESLicense, + ESClusterInfo, + GetEndpointListResponse, + RuleSearchResult, +} from './types'; export class TelemetryReceiver { private readonly logger: Logger; @@ -27,6 +37,7 @@ export class TelemetryReceiver { private esClient?: ElasticsearchClient; private exceptionListClient?: ExceptionListClient; private soClient?: SavedObjectsClientContract; + private kibanaIndex?: string; private readonly max_records = 10_000; constructor(logger: Logger) { @@ -35,9 +46,11 @@ export class TelemetryReceiver { public async start( core?: CoreStart, + kibanaIndex?: string, endpointContextService?: EndpointAppContextService, exceptionListClient?: ExceptionListClient ) { + this.kibanaIndex = kibanaIndex; this.agentService = endpointContextService?.getAgentService(); this.agentPolicyService = endpointContextService?.getAgentPolicyService(); this.esClient = core?.elasticsearch.client.asInternalUser; @@ -240,6 +253,57 @@ export class TelemetryReceiver { }; } + public async fetchDetectionRules() { + if (this.esClient === undefined || this.esClient === null) { + throw Error('elasticsearch client is unavailable: cannot retrieve diagnostic alerts'); + } + + const query: SearchRequest = { + expand_wildcards: 'open,hidden', + index: `${this.kibanaIndex}*`, + ignore_unavailable: true, + size: this.max_records, + body: { + query: { + bool: { + filter: [ + { term: { 'alert.alertTypeId': 'siem.signals' } }, + { term: { 'alert.params.immutable': true } }, + ], + }, + }, + }, + }; + + return this.esClient.search(query); + } + + public async fetchDetectionExceptionList(listId: string, ruleVersion: number) { + if (this?.exceptionListClient === undefined || this?.exceptionListClient === null) { + throw Error('exception list client is unavailable: could not retrieve trusted applications'); + } + + // Ensure list is created if it does not exist + await this.exceptionListClient.createTrustedAppsList(); + + const results = await this.exceptionListClient?.findExceptionListsItem({ + listId: [listId], + filter: [], + perPage: this.max_records, + page: 1, + sortField: 'exception-list.created_at', + sortOrder: 'desc', + namespaceType: ['single'], + }); + + return { + data: results?.data.map((r) => ruleExceptionListItemToTelemetryEvent(r, ruleVersion)) ?? [], + total: results?.total ?? 0, + page: results?.page ?? 1, + per_page: results?.per_page ?? this.max_records, + }; + } + public async fetchClusterInfo(): Promise { if (this.esClient === undefined || this.esClient === null) { throw Error('elasticsearch client is unavailable: cannot retrieve cluster infomation'); diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/sender.ts b/x-pack/plugins/security_solution/server/lib/telemetry/sender.ts index 0037aaa28fee3..b0792ed7b4610 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/sender.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/sender.ts @@ -18,7 +18,7 @@ import { } from '../../../../task_manager/server'; import { TelemetryReceiver } from './receiver'; import { allowlistEventFields, copyAllowlistedFields } from './filters'; -import { DiagnosticTask, EndpointTask, ExceptionListsTask } from './tasks'; +import { DiagnosticTask, EndpointTask, ExceptionListsTask, DetectionRulesTask } from './tasks'; import { createUsageCounterLabel } from './helpers'; import { TelemetryEvent } from './types'; import { TELEMETRY_MAX_BUFFER_SIZE } from './constants'; @@ -42,6 +42,7 @@ export class TelemetryEventsSender { private diagnosticTask?: DiagnosticTask; private endpointTask?: EndpointTask; private exceptionListsTask?: ExceptionListsTask; + private detectionRulesTask?: DetectionRulesTask; constructor(logger: Logger) { this.logger = logger.get('telemetry_events'); @@ -59,6 +60,12 @@ export class TelemetryEventsSender { if (taskManager) { this.diagnosticTask = new DiagnosticTask(this.logger, taskManager, this, telemetryReceiver); this.endpointTask = new EndpointTask(this.logger, taskManager, this, telemetryReceiver); + this.detectionRulesTask = new DetectionRulesTask( + this.logger, + taskManager, + this, + telemetryReceiver + ); this.exceptionListsTask = new ExceptionListsTask( this.logger, taskManager, @@ -80,6 +87,7 @@ export class TelemetryEventsSender { this.logger.debug(`starting security telemetry tasks`); this.diagnosticTask.start(taskManager); this.endpointTask.start(taskManager); + this.detectionRulesTask?.start(taskManager); this.exceptionListsTask?.start(taskManager); } diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/tasks/detection_rule.test.ts b/x-pack/plugins/security_solution/server/lib/telemetry/tasks/detection_rule.test.ts new file mode 100644 index 0000000000000..0a05afb8a6535 --- /dev/null +++ b/x-pack/plugins/security_solution/server/lib/telemetry/tasks/detection_rule.test.ts @@ -0,0 +1,127 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { loggingSystemMock } from 'src/core/server/mocks'; +import { taskManagerMock } from '../../../../../task_manager/server/mocks'; +import { TaskStatus } from '../../../../../task_manager/server'; +import { + TelemetryDetectionRulesTask, + TelemetryDetectionRuleListsTaskConstants, +} from './detection_rule'; +import { + createMockTelemetryEventsSender, + MockDetectionRuleListsTask, + createMockTelemetryReceiver, +} from '../mocks'; + +describe('test detection rule exception lists telemetry', () => { + let logger: ReturnType; + + beforeEach(() => { + logger = loggingSystemMock.createLogger(); + }); + + describe('basic telemetry sanity checks', () => { + test('detection rule lists task can register', () => { + const telemetryDiagTask = new TelemetryDetectionRulesTask( + logger, + taskManagerMock.createSetup(), + createMockTelemetryEventsSender(true), + createMockTelemetryReceiver() + ); + + expect(telemetryDiagTask).toBeInstanceOf(TelemetryDetectionRulesTask); + }); + }); + + test('detection rule task should be registered', () => { + const mockTaskManager = taskManagerMock.createSetup(); + new TelemetryDetectionRulesTask( + logger, + mockTaskManager, + createMockTelemetryEventsSender(true), + createMockTelemetryReceiver() + ); + + expect(mockTaskManager.registerTaskDefinitions).toHaveBeenCalled(); + }); + + test('detection rule task should be scheduled', async () => { + const mockTaskManagerSetup = taskManagerMock.createSetup(); + const telemetryDiagTask = new TelemetryDetectionRulesTask( + logger, + mockTaskManagerSetup, + createMockTelemetryEventsSender(true), + createMockTelemetryReceiver() + ); + + const mockTaskManagerStart = taskManagerMock.createStart(); + await telemetryDiagTask.start(mockTaskManagerStart); + expect(mockTaskManagerStart.ensureScheduled).toHaveBeenCalled(); + }); + + test('detection rule task should run', async () => { + const mockContext = createMockTelemetryEventsSender(true); + const mockTaskManager = taskManagerMock.createSetup(); + const mockReceiver = createMockTelemetryReceiver(); + const telemetryDiagTask = new MockDetectionRuleListsTask( + logger, + mockTaskManager, + mockContext, + mockReceiver + ); + + const mockTaskInstance = { + id: TelemetryDetectionRuleListsTaskConstants.TYPE, + runAt: new Date(), + attempts: 0, + ownerId: '', + status: TaskStatus.Running, + startedAt: new Date(), + scheduledAt: new Date(), + retryAt: new Date(), + params: {}, + state: {}, + taskType: TelemetryDetectionRuleListsTaskConstants.TYPE, + }; + const createTaskRunner = + mockTaskManager.registerTaskDefinitions.mock.calls[0][0][ + TelemetryDetectionRuleListsTaskConstants.TYPE + ].createTaskRunner; + const taskRunner = createTaskRunner({ taskInstance: mockTaskInstance }); + await taskRunner.run(); + expect(telemetryDiagTask.runTask).toHaveBeenCalled(); + }); + + test('detection rule task should not query elastic if telemetry is not opted in', async () => { + const mockSender = createMockTelemetryEventsSender(false); + const mockTaskManager = taskManagerMock.createSetup(); + const mockReceiver = createMockTelemetryReceiver(); + new MockDetectionRuleListsTask(logger, mockTaskManager, mockSender, mockReceiver); + + const mockTaskInstance = { + id: TelemetryDetectionRuleListsTaskConstants.TYPE, + runAt: new Date(), + attempts: 0, + ownerId: '', + status: TaskStatus.Running, + startedAt: new Date(), + scheduledAt: new Date(), + retryAt: new Date(), + params: {}, + state: {}, + taskType: TelemetryDetectionRuleListsTaskConstants.TYPE, + }; + const createTaskRunner = + mockTaskManager.registerTaskDefinitions.mock.calls[0][0][ + TelemetryDetectionRuleListsTaskConstants.TYPE + ].createTaskRunner; + const taskRunner = createTaskRunner({ taskInstance: mockTaskInstance }); + await taskRunner.run(); + expect(mockReceiver.fetchDiagnosticAlerts).not.toHaveBeenCalled(); + }); +}); diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/tasks/detection_rule.ts b/x-pack/plugins/security_solution/server/lib/telemetry/tasks/detection_rule.ts new file mode 100644 index 0000000000000..a362be187921d --- /dev/null +++ b/x-pack/plugins/security_solution/server/lib/telemetry/tasks/detection_rule.ts @@ -0,0 +1,149 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import moment from 'moment'; +import { Logger } from 'src/core/server'; +import { + ConcreteTaskInstance, + TaskManagerSetupContract, + TaskManagerStartContract, +} from '../../../../../task_manager/server'; +import { LIST_DETECTION_RULE_EXCEPTION, TELEMETRY_CHANNEL_LISTS } from '../constants'; +import { batchTelemetryRecords, templateExceptionList } from '../helpers'; +import { TelemetryEventsSender } from '../sender'; +import { TelemetryReceiver } from '../receiver'; +import { ExceptionListItem, RuleSearchResult } from '../types'; + +export const TelemetryDetectionRuleListsTaskConstants = { + TIMEOUT: '10m', + TYPE: 'security:telemetry-detection-rules', + INTERVAL: '24h', + VERSION: '1.0.0', +}; + +const MAX_TELEMETRY_BATCH = 1_000; + +export class TelemetryDetectionRulesTask { + private readonly logger: Logger; + private readonly sender: TelemetryEventsSender; + private readonly receiver: TelemetryReceiver; + + constructor( + logger: Logger, + taskManager: TaskManagerSetupContract, + sender: TelemetryEventsSender, + receiver: TelemetryReceiver + ) { + this.logger = logger; + this.sender = sender; + this.receiver = receiver; + + taskManager.registerTaskDefinitions({ + [TelemetryDetectionRuleListsTaskConstants.TYPE]: { + title: 'Security Solution Detection Rule Lists Telemetry', + timeout: TelemetryDetectionRuleListsTaskConstants.TIMEOUT, + createTaskRunner: ({ taskInstance }: { taskInstance: ConcreteTaskInstance }) => { + const { state } = taskInstance; + + return { + run: async () => { + const taskExecutionTime = moment().utc().toISOString(); + const hits = await this.runTask(taskInstance.id); + + return { + state: { + lastExecutionTimestamp: taskExecutionTime, + runs: (state.runs || 0) + 1, + hits, + }, + }; + }, + cancel: async () => {}, + }; + }, + }, + }); + } + + public start = async (taskManager: TaskManagerStartContract) => { + try { + await taskManager.ensureScheduled({ + id: this.getTaskId(), + taskType: TelemetryDetectionRuleListsTaskConstants.TYPE, + scope: ['securitySolution'], + schedule: { + interval: TelemetryDetectionRuleListsTaskConstants.INTERVAL, + }, + state: { runs: 0 }, + params: { version: TelemetryDetectionRuleListsTaskConstants.VERSION }, + }); + } catch (e) { + this.logger.error(`Error scheduling task, received ${e.message}`); + } + }; + + private getTaskId = (): string => { + return `${TelemetryDetectionRuleListsTaskConstants.TYPE}:${TelemetryDetectionRuleListsTaskConstants.VERSION}`; + }; + + public runTask = async (taskId: string) => { + if (taskId !== this.getTaskId()) { + return 0; + } + + const isOptedIn = await this.sender.isTelemetryOptedIn(); + if (!isOptedIn) { + return 0; + } + + // Lists Telemetry: Detection Rules + + const { body: prebuiltRules } = await this.receiver.fetchDetectionRules(); + + const cacheArray = prebuiltRules.hits.hits.reduce((cache, searchHit) => { + const rule = searchHit._source as RuleSearchResult; + const ruleId = rule.alert.params.ruleId; + + const shouldNotProcess = + rule === null || + rule === undefined || + ruleId === null || + ruleId === undefined || + searchHit._source?.alert.params.exceptionsList.length === 0; + + if (shouldNotProcess) { + return cache; + } + + cache.push(rule); + return cache; + }, [] as RuleSearchResult[]); + + const detectionRuleExceptions = [] as ExceptionListItem[]; + for (const item of cacheArray) { + const ruleVersion = item.alert.params.version; + + for (const ex of item.alert.params.exceptionsList) { + const listItem = await this.receiver.fetchDetectionExceptionList(ex.list_id, ruleVersion); + for (const exceptionItem of listItem.data) { + detectionRuleExceptions.push(exceptionItem); + } + } + } + + const detectionRuleExceptionsJson = templateExceptionList( + detectionRuleExceptions, + LIST_DETECTION_RULE_EXCEPTION + ); + + batchTelemetryRecords(detectionRuleExceptionsJson, MAX_TELEMETRY_BATCH).forEach((batch) => { + this.sender.sendOnDemand(TELEMETRY_CHANNEL_LISTS, batch); + }); + + return detectionRuleExceptions.length; + }; +} diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/tasks/endpoint.ts b/x-pack/plugins/security_solution/server/lib/telemetry/tasks/endpoint.ts index 0c066deea17d9..c6bf4b06e70f0 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/tasks/endpoint.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/tasks/endpoint.ts @@ -14,7 +14,7 @@ import { } from '../../../../../task_manager/server'; import { batchTelemetryRecords, - getPreviousEpMetaTaskTimestamp, + getPreviousDailyTaskTimestamp, isPackagePolicyList, } from '../helpers'; import { TelemetryEventsSender } from '../sender'; @@ -76,7 +76,7 @@ export class TelemetryEndpointTask { return { run: async () => { const taskExecutionTime = moment().utc().toISOString(); - const lastExecutionTimestamp = getPreviousEpMetaTaskTimestamp( + const lastExecutionTimestamp = getPreviousDailyTaskTimestamp( taskExecutionTime, taskInstance.state?.lastExecutionTimestamp ); diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/tasks/index.ts b/x-pack/plugins/security_solution/server/lib/telemetry/tasks/index.ts index e090252b88d8f..a850f848567cb 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/tasks/index.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/tasks/index.ts @@ -8,3 +8,4 @@ export { TelemetryDiagTask as DiagnosticTask } from './diagnostic'; export { TelemetryEndpointTask as EndpointTask } from './endpoint'; export { TelemetryExceptionListsTask as ExceptionListsTask } from './security_lists'; +export { TelemetryDetectionRulesTask as DetectionRulesTask } from './detection_rule'; diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/types.ts b/x-pack/plugins/security_solution/server/lib/telemetry/types.ts index abcad26ed000c..6aaf6f4371475 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/types.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/types.ts @@ -217,18 +217,45 @@ export interface GetEndpointListResponse { export interface ExceptionListItem { id: string; - version: string; + rule_version?: number; name: string; - description: string; created_at: string; updated_at: string; entries: object; - os: string; os_types: object; } export interface ListTemplate { - trusted_application: TelemetryEvent[]; - endpoint_exception: TelemetryEvent[]; - endpoint_event_filter: TelemetryEvent[]; + '@timestamp': number; + detection_rule?: TelemetryEvent; + endpoint_exception?: TelemetryEvent; + endpoint_event_filter?: TelemetryEvent; + trusted_application?: TelemetryEvent; +} + +// Detection Rule types + +interface ExceptionListEntry { + id: string; + list_id: string; + type: string; + namespace_type: string; +} + +interface DetectionRuleParms { + ruleId: string; + version: number; + type: string; + exceptionsList: ExceptionListEntry[]; +} + +export interface RuleSearchResult { + alert: { + name: string; + enabled: boolean; + tags: string[]; + createdAt: string; + updatedAt: string; + params: DetectionRuleParms; + }; } diff --git a/x-pack/plugins/security_solution/server/plugin.ts b/x-pack/plugins/security_solution/server/plugin.ts index 413b5c37bb06d..679e13a749a7d 100644 --- a/x-pack/plugins/security_solution/server/plugin.ts +++ b/x-pack/plugins/security_solution/server/plugin.ts @@ -452,7 +452,13 @@ export class Plugin implements IPlugin Date: Mon, 11 Oct 2021 12:57:27 -0400 Subject: [PATCH 017/107] Bump hapi to a version with aborted request fix (#114414) (#114434) * bump hapi to a version with aborted request fix * enable apm functional tests Co-authored-by: Mikhail Shustov --- package.json | 4 ++-- vars/tasks.groovy | 15 +++++++-------- yarn.lock | 15 ++++++++++----- 3 files changed, 19 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index 9782631a06dc5..49a2c38b99bae 100644 --- a/package.json +++ b/package.json @@ -112,8 +112,8 @@ "@hapi/cookie": "^11.0.2", "@hapi/good-squeeze": "6.0.0", "@hapi/h2o2": "^9.1.0", - "@hapi/hapi": "^20.2.0", - "@hapi/hoek": "^9.2.0", + "@hapi/hapi": "^20.2.1", + "@hapi/hoek": "^9.2.1", "@hapi/inert": "^6.0.4", "@hapi/podium": "^4.1.3", "@hapi/wreck": "^17.1.0", diff --git a/vars/tasks.groovy b/vars/tasks.groovy index b9ad6110122bf..3775e06d41b09 100644 --- a/vars/tasks.groovy +++ b/vars/tasks.groovy @@ -146,14 +146,13 @@ def functionalXpack(Map params = [:]) { } } - //temporarily disable apm e2e test since it's breaking due to a version upgrade. - // whenChanged([ - // 'x-pack/plugins/apm/', - // ]) { - // if (githubPr.isPr()) { - // task(kibanaPipeline.functionalTestProcess('xpack-APMCypress', './test/scripts/jenkins_apm_cypress.sh')) - // } - // } + whenChanged([ + 'x-pack/plugins/apm/', + ]) { + if (githubPr.isPr()) { + task(kibanaPipeline.functionalTestProcess('xpack-APMCypress', './test/scripts/jenkins_apm_cypress.sh')) + } + } whenChanged([ 'x-pack/plugins/uptime/', diff --git a/yarn.lock b/yarn.lock index 34b381a7106d4..5dd96c328d898 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2915,10 +2915,10 @@ "@hapi/validate" "1.x.x" "@hapi/wreck" "17.x.x" -"@hapi/hapi@^20.2.0": - version "20.2.0" - resolved "https://registry.yarnpkg.com/@hapi/hapi/-/hapi-20.2.0.tgz#bf0eca9cc591e83f3d72d06a998d31be35d044a1" - integrity sha512-yPH/z8KvlSLV8lI4EuId9z595fKKk5n6YA7H9UddWYWsBXMcnCyoFmHtYq0PCV4sNgKLD6QW9e27R9V9Z9aqqw== +"@hapi/hapi@^20.2.1": + version "20.2.1" + resolved "https://registry.yarnpkg.com/@hapi/hapi/-/hapi-20.2.1.tgz#7482bc28757cb4671623a61bdb5ce920bffc8a2f" + integrity sha512-OXAU+yWLwkMfPFic+KITo+XPp6Oxpgc9WUH+pxXWcTIuvWbgco5TC/jS8UDvz+NFF5IzRgF2CL6UV/KLdQYUSQ== dependencies: "@hapi/accept" "^5.0.1" "@hapi/ammo" "^5.0.1" @@ -2948,11 +2948,16 @@ "@hapi/hoek" "9.x.x" "@hapi/validate" "1.x.x" -"@hapi/hoek@9.x.x", "@hapi/hoek@^9.0.0", "@hapi/hoek@^9.0.4", "@hapi/hoek@^9.2.0": +"@hapi/hoek@9.x.x", "@hapi/hoek@^9.0.0", "@hapi/hoek@^9.0.4": version "9.2.0" resolved "https://registry.yarnpkg.com/@hapi/hoek/-/hoek-9.2.0.tgz#f3933a44e365864f4dad5db94158106d511e8131" integrity sha512-sqKVVVOe5ivCaXDWivIJYVSaEgdQK9ul7a4Kity5Iw7u9+wBAPbX1RMSnLLmp7O4Vzj0WOWwMAJsTL00xwaNug== +"@hapi/hoek@^9.2.1": + version "9.2.1" + resolved "https://registry.yarnpkg.com/@hapi/hoek/-/hoek-9.2.1.tgz#9551142a1980503752536b5050fd99f4a7f13b17" + integrity sha512-gfta+H8aziZsm8pZa0vj04KO6biEiisppNgA1kbJvFrrWu9Vm7eaUEy76DIxsuTaWvti5fkJVhllWc6ZTE+Mdw== + "@hapi/inert@^6.0.4": version "6.0.4" resolved "https://registry.yarnpkg.com/@hapi/inert/-/inert-6.0.4.tgz#0544221eabc457110a426818358d006e70ff1f41" From 0d614dc16593ab3810ff4589019e253c6d38eaf8 Mon Sep 17 00:00:00 2001 From: Ignacio Rivas Date: Mon, 11 Oct 2021 18:16:44 +0100 Subject: [PATCH 018/107] Add show upgrade flag to url (#114243) --- .../overview/upgrade_step/upgrade_step.test.tsx | 2 +- .../components/overview/upgrade_step/upgrade_step.tsx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/upgrade_step/upgrade_step.test.tsx b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/upgrade_step/upgrade_step.test.tsx index 7135c5849fb73..601ed8992aa47 100644 --- a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/upgrade_step/upgrade_step.test.tsx +++ b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/upgrade_step/upgrade_step.test.tsx @@ -53,7 +53,7 @@ describe('Overview - Upgrade Step', () => { expect(exists('upgradeSetupCloudLink')).toBe(true); expect(find('upgradeSetupCloudLink').props().href).toBe( - 'https://cloud.elastic.co./deployments/bfdad4ef99a24212a06d387593686d63' + 'https://cloud.elastic.co./deployments/bfdad4ef99a24212a06d387593686d63?show_upgrade=true' ); }); }); diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/upgrade_step/upgrade_step.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/overview/upgrade_step/upgrade_step.tsx index dffdf39e5dd59..5acbf280e0b4e 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/overview/upgrade_step/upgrade_step.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/overview/upgrade_step/upgrade_step.tsx @@ -56,11 +56,12 @@ const UpgradeStep = ({ docLinks }: { docLinks: DocLinksStart }) => { let callToAction; if (isCloudEnabled) { + const upgradeOnCloudUrl = cloud!.deploymentUrl + '?show_upgrade=true'; callToAction = ( Date: Mon, 11 Oct 2021 18:17:52 +0100 Subject: [PATCH 019/107] [Upgrade Assistant] Delete deprecation log cache (#114113) --- .../helpers/http_requests.ts | 11 +++++ .../fix_logs_step/fix_logs_step.test.tsx | 43 +++++++++++++++++++ .../deprecations_count_checkpoint.tsx | 32 ++++++++++++-- .../public/application/lib/api.ts | 7 +++ .../server/routes/deprecation_logging.test.ts | 38 ++++++++++++++++ .../server/routes/deprecation_logging.ts | 29 +++++++++++++ 6 files changed, 156 insertions(+), 4 deletions(-) diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/helpers/http_requests.ts b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/helpers/http_requests.ts index 448eb79152894..4f0e048da0792 100644 --- a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/helpers/http_requests.ts +++ b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/helpers/http_requests.ts @@ -69,6 +69,16 @@ const registerHttpRequestMockHelpers = (server: SinonFakeServer) => { ]); }; + const setDeleteLogsCacheResponse = (response?: string, error?: ResponseError) => { + const status = error ? error.statusCode || 400 : 200; + const body = error ? error : response; + server.respondWith('DELETE', `${API_BASE_PATH}/deprecation_logging/cache`, [ + status, + { 'Content-Type': 'application/json' }, + JSON.stringify(body), + ]); + }; + const setUpdateDeprecationLoggingResponse = ( response?: DeprecationLoggingStatus, error?: ResponseError @@ -169,6 +179,7 @@ const registerHttpRequestMockHelpers = (server: SinonFakeServer) => { setDeleteMlSnapshotResponse, setUpgradeMlSnapshotStatusResponse, setLoadDeprecationLogsCountResponse, + setDeleteLogsCacheResponse, setStartReindexingResponse, setReindexStatusResponse, setLoadMlUpgradeModeResponse, diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/fix_logs_step/fix_logs_step.test.tsx b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/fix_logs_step/fix_logs_step.test.tsx index 7f58b36d29c36..7d4b6b8518dff 100644 --- a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/fix_logs_step/fix_logs_step.test.tsx +++ b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/fix_logs_step/fix_logs_step.test.tsx @@ -248,6 +248,7 @@ describe('Overview - Fix deprecation logs step', () => { describe('Step 3 - Resolve log issues', () => { beforeEach(async () => { httpRequestsMockHelpers.setLoadDeprecationLoggingResponse(getLoggingResponse(true)); + httpRequestsMockHelpers.setDeleteLogsCacheResponse('ok'); }); test('With deprecation warnings', async () => { @@ -337,6 +338,48 @@ describe('Overview - Fix deprecation logs step', () => { expect(exists('noWarningsCallout')).toBe(true); }); + test('Shows a toast if deleting cache fails', async () => { + const error = { + statusCode: 500, + error: 'Internal server error', + message: 'Internal server error', + }; + + httpRequestsMockHelpers.setDeleteLogsCacheResponse(undefined, error); + // Initially we want to have the callout to have a warning state + httpRequestsMockHelpers.setLoadDeprecationLogsCountResponse({ count: 10 }); + + const addDanger = jest.fn(); + await act(async () => { + testBed = await setupOverviewPage({ + services: { + core: { + notifications: { + toasts: { + addDanger, + }, + }, + }, + }, + }); + }); + + const { exists, actions, component } = testBed; + + component.update(); + + httpRequestsMockHelpers.setLoadDeprecationLogsCountResponse({ count: 0 }); + + await actions.clickResetButton(); + + // The toast should always be shown if the delete logs cache fails. + expect(addDanger).toHaveBeenCalled(); + // Even though we changed the response of the getLogsCountResponse, when the + // deleteLogsCache fails the getLogsCount api should not be called and the + // status of the callout should remain the same it initially was. + expect(exists('hasWarningsCallout')).toBe(true); + }); + describe('Poll for logs count', () => { beforeEach(async () => { jest.useFakeTimers(); diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_logs_step/deprecations_count_checkpoint/deprecations_count_checkpoint.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_logs_step/deprecations_count_checkpoint/deprecations_count_checkpoint.tsx index 2769fc2dbdaae..e444c6f35348b 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_logs_step/deprecations_count_checkpoint/deprecations_count_checkpoint.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_logs_step/deprecations_count_checkpoint/deprecations_count_checkpoint.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import React, { FunctionComponent, useEffect } from 'react'; +import React, { FunctionComponent, useEffect, useState } from 'react'; import moment from 'moment-timezone'; import { FormattedDate, FormattedTime, FormattedMessage } from '@kbn/i18n/react'; @@ -44,6 +44,9 @@ const i18nTexts = { defaultMessage: 'Reset counter', } ), + errorToastTitle: i18n.translate('xpack.upgradeAssistant.overview.verifyChanges.errorToastTitle', { + defaultMessage: 'Could not delete deprecation logs cache', + }), }; interface Props { @@ -57,8 +60,12 @@ export const DeprecationsCountCheckpoint: FunctionComponent = ({ setCheckpoint, setHasNoDeprecationLogs, }) => { + const [isDeletingCache, setIsDeletingCache] = useState(false); const { - services: { api }, + services: { + api, + core: { notifications }, + }, } = useAppContext(); const { data, error, isLoading, resendRequest, isInitialRequest } = api.getDeprecationLogsCount(checkpoint); @@ -69,7 +76,19 @@ export const DeprecationsCountCheckpoint: FunctionComponent = ({ const calloutIcon = hasLogs ? 'alert' : 'check'; const calloutTestId = hasLogs ? 'hasWarningsCallout' : 'noWarningsCallout'; - const onResetClick = () => { + const onResetClick = async () => { + setIsDeletingCache(true); + const { error: deleteLogsCacheError } = await api.deleteDeprecationLogsCache(); + setIsDeletingCache(false); + + if (deleteLogsCacheError) { + notifications.toasts.addDanger({ + title: i18nTexts.errorToastTitle, + text: deleteLogsCacheError.message.toString(), + }); + return; + } + const now = moment().toISOString(); setCheckpoint(now); }; @@ -114,7 +133,12 @@ export const DeprecationsCountCheckpoint: FunctionComponent = ({ data-test-subj={calloutTestId} >

{i18nTexts.calloutBody}

- + {i18nTexts.resetCounterButton} diff --git a/x-pack/plugins/upgrade_assistant/public/application/lib/api.ts b/x-pack/plugins/upgrade_assistant/public/application/lib/api.ts index da4f87f497467..b701a5a5eff2c 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/lib/api.ts +++ b/x-pack/plugins/upgrade_assistant/public/application/lib/api.ts @@ -106,6 +106,13 @@ export class ApiService { }); } + public deleteDeprecationLogsCache() { + return this.sendRequest({ + path: `${API_BASE_PATH}/deprecation_logging/cache`, + method: 'delete', + }); + } + public async updateIndexSettings(indexName: string, settings: string[]) { const result = await this.sendRequest({ path: `${API_BASE_PATH}/${indexName}/index_settings`, diff --git a/x-pack/plugins/upgrade_assistant/server/routes/deprecation_logging.test.ts b/x-pack/plugins/upgrade_assistant/server/routes/deprecation_logging.test.ts index 1a4b55447f4ad..fc61832e69c12 100644 --- a/x-pack/plugins/upgrade_assistant/server/routes/deprecation_logging.test.ts +++ b/x-pack/plugins/upgrade_assistant/server/routes/deprecation_logging.test.ts @@ -176,4 +176,42 @@ describe('deprecation logging API', () => { ).rejects.toThrow('scary error!'); }); }); + + describe('DELETE /api/upgrade_assistant/deprecation_logging/cache', () => { + it('returns ok if if the cache was deleted', async () => { + ( + routeHandlerContextMock.core.elasticsearch.client.asCurrentUser.transport + .request as jest.Mock + ).mockResolvedValue({ + body: 'ok', + }); + + const resp = await routeDependencies.router.getHandler({ + method: 'delete', + pathPattern: '/api/upgrade_assistant/deprecation_logging/cache', + })(routeHandlerContextMock, createRequestMock(), kibanaResponseFactory); + + expect(resp.status).toEqual(200); + expect( + routeHandlerContextMock.core.elasticsearch.client.asCurrentUser.transport.request + ).toHaveBeenCalledWith({ + method: 'DELETE', + path: '/_logging/deprecation_cache', + }); + expect(resp.payload).toEqual('ok'); + }); + + it('returns an error if it throws', async () => { + ( + routeHandlerContextMock.core.elasticsearch.client.asCurrentUser.transport + .request as jest.Mock + ).mockRejectedValue(new Error('scary error!')); + await expect( + routeDependencies.router.getHandler({ + method: 'delete', + pathPattern: '/api/upgrade_assistant/deprecation_logging/cache', + })(routeHandlerContextMock, createRequestMock(), kibanaResponseFactory) + ).rejects.toThrow('scary error!'); + }); + }); }); diff --git a/x-pack/plugins/upgrade_assistant/server/routes/deprecation_logging.ts b/x-pack/plugins/upgrade_assistant/server/routes/deprecation_logging.ts index 00116ae24a3fb..5d7f0f67b0ca9 100644 --- a/x-pack/plugins/upgrade_assistant/server/routes/deprecation_logging.ts +++ b/x-pack/plugins/upgrade_assistant/server/routes/deprecation_logging.ts @@ -124,4 +124,33 @@ export function registerDeprecationLoggingRoutes({ } ) ); + + router.delete( + { + path: `${API_BASE_PATH}/deprecation_logging/cache`, + validate: false, + }, + versionCheckHandlerWrapper( + async ( + { + core: { + elasticsearch: { client }, + }, + }, + request, + response + ) => { + try { + await client.asCurrentUser.transport.request({ + method: 'DELETE', + path: '/_logging/deprecation_cache', + }); + + return response.ok({ body: 'ok' }); + } catch (error) { + return handleEsError({ error, response }); + } + } + ) + ); } From fc35816e47e0f08b34cee7a5076253a7b1944acf Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 11 Oct 2021 13:33:50 -0400 Subject: [PATCH 020/107] Implement writing rule execution events to event_log (#112286) (#114466) Co-authored-by: Dmitry Shevchenko --- .../plugins/event_log/generated/mappings.json | 43 +++ x-pack/plugins/event_log/generated/schemas.ts | 23 ++ x-pack/plugins/event_log/scripts/mappings.js | 48 +++- x-pack/plugins/security_solution/kibana.json | 5 +- .../security_solution/server/config.ts | 14 + .../routes/__mocks__/index.ts | 4 + .../__mocks__/rule_execution_log_client.ts | 2 +- .../event_log_adapter/constants.ts | 15 + .../event_log_adapter/event_log_adapter.ts | 87 ++++++ .../event_log_adapter/event_log_client.ts | 157 ++++++++++ .../register_event_log_provider.ts | 16 ++ .../rule_execution_log_client.ts | 34 ++- .../rule_registry_adapter.ts | 106 ------- .../rule_registry_log_client/constants.ts | 41 --- .../parse_rule_execution_log.ts | 40 --- .../rule_execution_field_map.ts | 32 --- .../rule_registry_log_client.ts | 270 ------------------ .../rule_registry_log_client/utils.ts | 76 ----- .../saved_objects_adapter.ts | 35 ++- .../rule_execution_log/types.ts | 55 ++-- .../rule_types/__mocks__/rule_type.ts | 4 +- .../create_security_rule_type_factory.ts | 49 ++-- .../eql/create_eql_alert_type.test.ts | 6 +- .../rule_types/eql/create_eql_alert_type.ts | 17 +- .../build_alert_group_from_sequence.test.ts | 1 + .../create_indicator_match_alert_type.test.ts | 16 +- .../create_indicator_match_alert_type.ts | 17 +- .../ml/create_ml_alert_type.test.ts | 6 +- .../rule_types/ml/create_ml_alert_type.ts | 8 +- .../query/create_query_alert_type.test.ts | 11 +- .../query/create_query_alert_type.ts | 17 +- .../create_threshold_alert_type.test.ts | 6 +- .../threshold/create_threshold_alert_type.ts | 17 +- .../lib/detection_engine/rule_types/types.ts | 12 +- .../lib/detection_engine/rules/enable_rule.ts | 2 + .../signals/__mocks__/es_results.ts | 1 + .../signals/executors/eql.test.ts | 1 + .../signals/executors/threshold.test.ts | 1 + .../signals/signal_rule_alert_type.test.ts | 23 +- .../signals/signal_rule_alert_type.ts | 63 ++-- .../lib/detection_engine/signals/types.ts | 1 + .../detection_engine/signals/utils.test.ts | 4 + .../lib/detection_engine/signals/utils.ts | 23 +- .../security_solution/server/plugin.ts | 26 +- .../event_log/service_api_integration.ts | 15 + 45 files changed, 653 insertions(+), 797 deletions(-) create mode 100644 x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/event_log_adapter/constants.ts create mode 100644 x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/event_log_adapter/event_log_adapter.ts create mode 100644 x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/event_log_adapter/event_log_client.ts create mode 100644 x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/event_log_adapter/register_event_log_provider.ts delete mode 100644 x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/rule_registry_adapter/rule_registry_adapter.ts delete mode 100644 x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/rule_registry_adapter/rule_registry_log_client/constants.ts delete mode 100644 x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/rule_registry_adapter/rule_registry_log_client/parse_rule_execution_log.ts delete mode 100644 x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/rule_registry_adapter/rule_registry_log_client/rule_execution_field_map.ts delete mode 100644 x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/rule_registry_adapter/rule_registry_log_client/rule_registry_log_client.ts delete mode 100644 x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/rule_registry_adapter/rule_registry_log_client/utils.ts diff --git a/x-pack/plugins/event_log/generated/mappings.json b/x-pack/plugins/event_log/generated/mappings.json index cbb59cc3204c0..aba23eef79e3f 100644 --- a/x-pack/plugins/event_log/generated/mappings.json +++ b/x-pack/plugins/event_log/generated/mappings.json @@ -267,6 +267,42 @@ } } }, + "alert": { + "properties": { + "rule": { + "properties": { + "execution": { + "properties": { + "uuid": { + "type": "keyword", + "ignore_above": 1024 + }, + "status": { + "type": "keyword", + "ignore_above": 1024 + }, + "status_order": { + "type": "long" + }, + "metrics": { + "properties": { + "total_indexing_duration_ms": { + "type": "long" + }, + "total_search_duration_ms": { + "type": "long" + }, + "execution_gap_duration_s": { + "type": "long" + } + } + } + } + } + } + } + } + }, "saved_objects": { "type": "nested", "properties": { @@ -292,6 +328,13 @@ } } }, + "space_ids": { + "type": "keyword", + "ignore_above": 1024, + "meta": { + "isArray": "true" + } + }, "version": { "type": "version" } diff --git a/x-pack/plugins/event_log/generated/schemas.ts b/x-pack/plugins/event_log/generated/schemas.ts index 15dc182dbe653..e73bafd9cb81e 100644 --- a/x-pack/plugins/event_log/generated/schemas.ts +++ b/x-pack/plugins/event_log/generated/schemas.ts @@ -116,6 +116,28 @@ export const EventSchema = schema.maybe( status: ecsString(), }) ), + alert: schema.maybe( + schema.object({ + rule: schema.maybe( + schema.object({ + execution: schema.maybe( + schema.object({ + uuid: ecsString(), + status: ecsString(), + status_order: ecsNumber(), + metrics: schema.maybe( + schema.object({ + total_indexing_duration_ms: ecsNumber(), + total_search_duration_ms: ecsNumber(), + execution_gap_duration_s: ecsNumber(), + }) + ), + }) + ), + }) + ), + }) + ), saved_objects: schema.maybe( schema.arrayOf( schema.object({ @@ -127,6 +149,7 @@ export const EventSchema = schema.maybe( }) ) ), + space_ids: ecsStringMulti(), version: ecsVersion(), }) ), diff --git a/x-pack/plugins/event_log/scripts/mappings.js b/x-pack/plugins/event_log/scripts/mappings.js index d114603052491..231cc225f7c47 100644 --- a/x-pack/plugins/event_log/scripts/mappings.js +++ b/x-pack/plugins/event_log/scripts/mappings.js @@ -49,6 +49,42 @@ exports.EcsCustomPropertyMappings = { }, }, }, + alert: { + properties: { + rule: { + properties: { + execution: { + properties: { + uuid: { + type: 'keyword', + ignore_above: 1024, + }, + status: { + type: 'keyword', + ignore_above: 1024, + }, + status_order: { + type: 'long', + }, + metrics: { + properties: { + total_indexing_duration_ms: { + type: 'long', + }, + total_search_duration_ms: { + type: 'long', + }, + execution_gap_duration_s: { + type: 'long', + }, + }, + }, + }, + }, + }, + }, + }, + }, // array of saved object references, for "linking" via search saved_objects: { type: 'nested', @@ -77,6 +113,10 @@ exports.EcsCustomPropertyMappings = { }, }, }, + space_ids: { + type: 'keyword', + ignore_above: 1024, + }, version: { type: 'version', }, @@ -105,4 +145,10 @@ exports.EcsPropertiesToGenerate = [ /** * These properties can have multiple values (are arrays in the generated event schema). */ -exports.EcsEventLogMultiValuedProperties = ['tags', 'event.category', 'event.type', 'rule.author']; +exports.EcsEventLogMultiValuedProperties = [ + 'tags', + 'event.category', + 'event.type', + 'rule.author', + 'kibana.space_ids', +]; diff --git a/x-pack/plugins/security_solution/kibana.json b/x-pack/plugins/security_solution/kibana.json index 8bb1f4d75e6bc..a76b942e555bc 100644 --- a/x-pack/plugins/security_solution/kibana.json +++ b/x-pack/plugins/security_solution/kibana.json @@ -12,15 +12,16 @@ "actions", "alerting", "cases", - "ruleRegistry", "data", "dataEnhanced", "embeddable", + "eventLog", "features", - "taskManager", "inspector", "licensing", "maps", + "ruleRegistry", + "taskManager", "timelines", "triggersActionsUi", "uiActions" diff --git a/x-pack/plugins/security_solution/server/config.ts b/x-pack/plugins/security_solution/server/config.ts index 0850e43b21eda..bc5b43c6d25fd 100644 --- a/x-pack/plugins/security_solution/server/config.ts +++ b/x-pack/plugins/security_solution/server/config.ts @@ -12,6 +12,7 @@ import { getExperimentalAllowedValues, isValidExperimentalValue, } from '../common/experimental_features'; +import { UnderlyingLogClient } from './lib/detection_engine/rule_execution_log/types'; const allowedExperimentalValues = getExperimentalAllowedValues(); @@ -103,6 +104,19 @@ export const configSchema = schema.object({ }, }), + /** + * Rule Execution Log Configuration + */ + ruleExecutionLog: schema.object({ + underlyingClient: schema.oneOf( + [ + schema.literal(UnderlyingLogClient.eventLog), + schema.literal(UnderlyingLogClient.savedObjects), + ], + { defaultValue: UnderlyingLogClient.savedObjects } + ), + }), + /** * Host Endpoint Configuration */ diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/__mocks__/index.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/__mocks__/index.ts index 1ac85f9a27969..2f401d27813ac 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/__mocks__/index.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/__mocks__/index.ts @@ -11,6 +11,7 @@ import { serverMock } from './server'; import { requestMock } from './request'; import { responseMock } from './response_factory'; import { ConfigType } from '../../../../config'; +import { UnderlyingLogClient } from '../../rule_execution_log/types'; export { requestMock, requestContextMock, responseMock, serverMock }; @@ -29,6 +30,9 @@ export const createMockConfig = (): ConfigType => ({ alertIgnoreFields: [], prebuiltRulesFromFileSystem: true, prebuiltRulesFromSavedObjects: false, + ruleExecutionLog: { + underlyingClient: UnderlyingLogClient.savedObjects, + }, }); export const mockGetCurrentUser = { diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/__mocks__/rule_execution_log_client.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/__mocks__/rule_execution_log_client.ts index bc9723e47a9d0..910e1ecaa508f 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/__mocks__/rule_execution_log_client.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/__mocks__/rule_execution_log_client.ts @@ -14,7 +14,7 @@ export const ruleExecutionLogClientMock = { update: jest.fn(), delete: jest.fn(), logStatusChange: jest.fn(), - logExecutionMetric: jest.fn(), + logExecutionMetrics: jest.fn(), }), }; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/event_log_adapter/constants.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/event_log_adapter/constants.ts new file mode 100644 index 0000000000000..f09eb43bf15f1 --- /dev/null +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/event_log_adapter/constants.ts @@ -0,0 +1,15 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export const RULE_EXECUTION_LOG_PROVIDER = 'rule-execution.security'; + +export const ALERT_SAVED_OBJECT_TYPE = 'alert'; + +export enum RuleExecutionLogAction { + 'status-change' = 'status-change', + 'execution-metrics' = 'execution-metrics', +} diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/event_log_adapter/event_log_adapter.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/event_log_adapter/event_log_adapter.ts new file mode 100644 index 0000000000000..6b1a0cd5b18d0 --- /dev/null +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/event_log_adapter/event_log_adapter.ts @@ -0,0 +1,87 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { IEventLogService } from '../../../../../../event_log/server'; +import { + FindBulkExecutionLogArgs, + FindExecutionLogArgs, + IRuleExecutionLogClient, + LogExecutionMetricsArgs, + LogStatusChangeArgs, + UpdateExecutionLogArgs, +} from '../types'; +import { EventLogClient } from './event_log_client'; + +export class EventLogAdapter implements IRuleExecutionLogClient { + private eventLogClient: EventLogClient; + + constructor(eventLogService: IEventLogService) { + this.eventLogClient = new EventLogClient(eventLogService); + } + + public async find({ ruleId, logsCount = 1, spaceId }: FindExecutionLogArgs) { + return []; // TODO Implement + } + + public async findBulk({ ruleIds, logsCount = 1, spaceId }: FindBulkExecutionLogArgs) { + return {}; // TODO Implement + } + + public async update({ attributes, spaceId, ruleName, ruleType }: UpdateExecutionLogArgs) { + // execution events are immutable, so we just log a status change istead of updating previous + if (attributes.status) { + this.eventLogClient.logStatusChange({ + ruleName, + ruleType, + ruleId: attributes.alertId, + newStatus: attributes.status, + spaceId, + }); + } + } + + public async delete(id: string) { + // execution events are immutable, nothing to do here + } + + public async logExecutionMetrics({ + ruleId, + spaceId, + ruleType, + ruleName, + metrics, + }: LogExecutionMetricsArgs) { + this.eventLogClient.logExecutionMetrics({ + ruleId, + ruleName, + ruleType, + spaceId, + metrics: { + executionGapDuration: metrics.executionGap?.asSeconds(), + totalIndexingDuration: metrics.indexingDurations?.reduce( + (acc, cur) => acc + Number(cur), + 0 + ), + totalSearchDuration: metrics.searchDurations?.reduce((acc, cur) => acc + Number(cur), 0), + }, + }); + } + + public async logStatusChange(args: LogStatusChangeArgs) { + if (args.metrics) { + this.logExecutionMetrics({ + ruleId: args.ruleId, + ruleName: args.ruleName, + ruleType: args.ruleType, + spaceId: args.spaceId, + metrics: args.metrics, + }); + } + + this.eventLogClient.logStatusChange(args); + } +} diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/event_log_adapter/event_log_client.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/event_log_adapter/event_log_client.ts new file mode 100644 index 0000000000000..d85c67e422035 --- /dev/null +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/event_log_adapter/event_log_client.ts @@ -0,0 +1,157 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { SavedObjectsUtils } from '../../../../../../../../src/core/server'; +import { + IEventLogger, + IEventLogService, + SAVED_OBJECT_REL_PRIMARY, +} from '../../../../../../event_log/server'; +import { RuleExecutionStatus } from '../../../../../common/detection_engine/schemas/common/schemas'; +import { LogStatusChangeArgs } from '../types'; +import { + RuleExecutionLogAction, + RULE_EXECUTION_LOG_PROVIDER, + ALERT_SAVED_OBJECT_TYPE, +} from './constants'; + +const spaceIdToNamespace = SavedObjectsUtils.namespaceStringToId; + +const statusSeverityDict: Record = { + [RuleExecutionStatus.succeeded]: 0, + [RuleExecutionStatus['going to run']]: 10, + [RuleExecutionStatus.warning]: 20, + [RuleExecutionStatus['partial failure']]: 20, + [RuleExecutionStatus.failed]: 30, +}; + +interface FindExecutionLogArgs { + ruleIds: string[]; + spaceId: string; + logsCount?: number; + statuses?: RuleExecutionStatus[]; +} + +interface LogExecutionMetricsArgs { + ruleId: string; + ruleName: string; + ruleType: string; + spaceId: string; + metrics: EventLogExecutionMetrics; +} + +interface EventLogExecutionMetrics { + totalSearchDuration?: number; + totalIndexingDuration?: number; + executionGapDuration?: number; +} + +interface IExecLogEventLogClient { + find: (args: FindExecutionLogArgs) => Promise<{}>; + logStatusChange: (args: LogStatusChangeArgs) => void; + logExecutionMetrics: (args: LogExecutionMetricsArgs) => void; +} + +export class EventLogClient implements IExecLogEventLogClient { + private sequence = 0; + private eventLogger: IEventLogger; + + constructor(eventLogService: IEventLogService) { + this.eventLogger = eventLogService.getLogger({ + event: { provider: RULE_EXECUTION_LOG_PROVIDER }, + }); + } + + public async find({ ruleIds, spaceId, statuses, logsCount = 1 }: FindExecutionLogArgs) { + return {}; // TODO implement + } + + public logExecutionMetrics({ + ruleId, + ruleName, + ruleType, + metrics, + spaceId, + }: LogExecutionMetricsArgs) { + this.eventLogger.logEvent({ + rule: { + id: ruleId, + name: ruleName, + category: ruleType, + }, + event: { + kind: 'metric', + action: RuleExecutionLogAction['execution-metrics'], + sequence: this.sequence++, + }, + kibana: { + alert: { + rule: { + execution: { + metrics: { + execution_gap_duration_s: metrics.executionGapDuration, + total_search_duration_ms: metrics.totalSearchDuration, + total_indexing_duration_ms: metrics.totalIndexingDuration, + }, + }, + }, + }, + space_ids: [spaceId], + saved_objects: [ + { + rel: SAVED_OBJECT_REL_PRIMARY, + type: ALERT_SAVED_OBJECT_TYPE, + id: ruleId, + namespace: spaceIdToNamespace(spaceId), + }, + ], + }, + }); + } + + public logStatusChange({ + ruleId, + ruleName, + ruleType, + newStatus, + message, + spaceId, + }: LogStatusChangeArgs) { + this.eventLogger.logEvent({ + rule: { + id: ruleId, + name: ruleName, + category: ruleType, + }, + event: { + kind: 'event', + action: RuleExecutionLogAction['status-change'], + sequence: this.sequence++, + }, + message, + kibana: { + alert: { + rule: { + execution: { + status: newStatus, + status_order: statusSeverityDict[newStatus], + }, + }, + }, + space_ids: [spaceId], + saved_objects: [ + { + rel: SAVED_OBJECT_REL_PRIMARY, + type: ALERT_SAVED_OBJECT_TYPE, + id: ruleId, + namespace: spaceIdToNamespace(spaceId), + }, + ], + }, + }); + } +} diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/event_log_adapter/register_event_log_provider.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/event_log_adapter/register_event_log_provider.ts new file mode 100644 index 0000000000000..7f28715198da6 --- /dev/null +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/event_log_adapter/register_event_log_provider.ts @@ -0,0 +1,16 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { IEventLogService } from '../../../../../../event_log/server'; +import { RuleExecutionLogAction, RULE_EXECUTION_LOG_PROVIDER } from './constants'; + +export const registerEventLogProvider = (eventLogService: IEventLogService) => { + eventLogService.registerProviderActions( + RULE_EXECUTION_LOG_PROVIDER, + Object.keys(RuleExecutionLogAction) + ); +}; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/rule_execution_log_client.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/rule_execution_log_client.ts index 135cefe2243b2..87a3b00cf4ed3 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/rule_execution_log_client.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/rule_execution_log_client.ts @@ -6,34 +6,40 @@ */ import { SavedObjectsClientContract } from '../../../../../../../src/core/server'; -import { RuleRegistryAdapter } from './rule_registry_adapter/rule_registry_adapter'; +import { IEventLogService } from '../../../../../event_log/server'; +import { EventLogAdapter } from './event_log_adapter/event_log_adapter'; import { SavedObjectsAdapter } from './saved_objects_adapter/saved_objects_adapter'; import { - ExecutionMetric, - ExecutionMetricArgs, + LogExecutionMetricsArgs, FindBulkExecutionLogArgs, FindExecutionLogArgs, - IRuleDataPluginService, IRuleExecutionLogClient, LogStatusChangeArgs, UpdateExecutionLogArgs, + UnderlyingLogClient, } from './types'; export interface RuleExecutionLogClientArgs { - ruleDataService: IRuleDataPluginService; savedObjectsClient: SavedObjectsClientContract; + eventLogService: IEventLogService; + underlyingClient: UnderlyingLogClient; } -const RULE_REGISTRY_LOG_ENABLED = false; - export class RuleExecutionLogClient implements IRuleExecutionLogClient { private client: IRuleExecutionLogClient; - constructor({ ruleDataService, savedObjectsClient }: RuleExecutionLogClientArgs) { - if (RULE_REGISTRY_LOG_ENABLED) { - this.client = new RuleRegistryAdapter(ruleDataService); - } else { - this.client = new SavedObjectsAdapter(savedObjectsClient); + constructor({ + savedObjectsClient, + eventLogService, + underlyingClient, + }: RuleExecutionLogClientArgs) { + switch (underlyingClient) { + case UnderlyingLogClient.savedObjects: + this.client = new SavedObjectsAdapter(savedObjectsClient); + break; + case UnderlyingLogClient.eventLog: + this.client = new EventLogAdapter(eventLogService); + break; } } @@ -53,8 +59,8 @@ export class RuleExecutionLogClient implements IRuleExecutionLogClient { return this.client.delete(id); } - public async logExecutionMetric(args: ExecutionMetricArgs) { - return this.client.logExecutionMetric(args); + public async logExecutionMetrics(args: LogExecutionMetricsArgs) { + return this.client.logExecutionMetrics(args); } public async logStatusChange(args: LogStatusChangeArgs) { diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/rule_registry_adapter/rule_registry_adapter.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/rule_registry_adapter/rule_registry_adapter.ts deleted file mode 100644 index ab8664ae995bf..0000000000000 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/rule_registry_adapter/rule_registry_adapter.ts +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { merge } from 'lodash'; -import { RuleExecutionStatus } from '../../../../../common/detection_engine/schemas/common/schemas'; -import { RuleRegistryLogClient } from './rule_registry_log_client/rule_registry_log_client'; -import { - CreateExecutionLogArgs, - ExecutionMetric, - ExecutionMetricArgs, - FindBulkExecutionLogArgs, - FindExecutionLogArgs, - IRuleDataPluginService, - IRuleExecutionLogClient, - LogStatusChangeArgs, - UpdateExecutionLogArgs, -} from '../types'; - -/** - * @deprecated RuleRegistryAdapter is kept here only as a reference. It will be superseded with EventLog implementation - */ -export class RuleRegistryAdapter implements IRuleExecutionLogClient { - private ruleRegistryClient: RuleRegistryLogClient; - - constructor(ruleDataService: IRuleDataPluginService) { - this.ruleRegistryClient = new RuleRegistryLogClient(ruleDataService); - } - - public async find({ ruleId, logsCount = 1, spaceId }: FindExecutionLogArgs) { - const logs = await this.ruleRegistryClient.find({ - ruleIds: [ruleId], - logsCount, - spaceId, - }); - - return logs[ruleId].map((log) => ({ - id: '', - type: '', - score: 0, - attributes: log, - references: [], - })); - } - - public async findBulk({ ruleIds, logsCount = 1, spaceId }: FindBulkExecutionLogArgs) { - const [statusesById, lastErrorsById] = await Promise.all([ - this.ruleRegistryClient.find({ ruleIds, spaceId }), - this.ruleRegistryClient.find({ - ruleIds, - statuses: [RuleExecutionStatus.failed], - logsCount, - spaceId, - }), - ]); - return merge(statusesById, lastErrorsById); - } - - private async create({ attributes, spaceId }: CreateExecutionLogArgs) { - if (attributes.status) { - await this.ruleRegistryClient.logStatusChange({ - ruleId: attributes.alertId, - newStatus: attributes.status, - spaceId, - }); - } - - if (attributes.bulkCreateTimeDurations) { - await this.ruleRegistryClient.logExecutionMetric({ - ruleId: attributes.alertId, - metric: ExecutionMetric.indexingDurationMax, - value: Math.max(...attributes.bulkCreateTimeDurations.map(Number)), - spaceId, - }); - } - - if (attributes.gap) { - await this.ruleRegistryClient.logExecutionMetric({ - ruleId: attributes.alertId, - metric: ExecutionMetric.executionGap, - value: Number(attributes.gap), - spaceId, - }); - } - } - - public async update({ attributes, spaceId }: UpdateExecutionLogArgs) { - // execution events are immutable, so we just use 'create' here instead of 'update' - await this.create({ attributes, spaceId }); - } - - public async delete(id: string) { - // execution events are immutable, nothing to do here - } - - public async logExecutionMetric(args: ExecutionMetricArgs) { - return this.ruleRegistryClient.logExecutionMetric(args); - } - - public async logStatusChange(args: LogStatusChangeArgs) { - return this.ruleRegistryClient.logStatusChange(args); - } -} diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/rule_registry_adapter/rule_registry_log_client/constants.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/rule_registry_adapter/rule_registry_log_client/constants.ts deleted file mode 100644 index 8d74c71bf447d..0000000000000 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/rule_registry_adapter/rule_registry_log_client/constants.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -/** - * @deprecated EVENTS_INDEX_PREFIX is kept here only as a reference. It will be superseded with EventLog implementation - */ -export const EVENTS_INDEX_PREFIX = '.kibana_alerts-security.events'; - -/** - * @deprecated MESSAGE is kept here only as a reference. It will be superseded with EventLog implementation - */ -export const MESSAGE = 'message' as const; - -/** - * @deprecated EVENT_SEQUENCE is kept here only as a reference. It will be superseded with EventLog implementation - */ -export const EVENT_SEQUENCE = 'event.sequence' as const; - -/** - * @deprecated EVENT_DURATION is kept here only as a reference. It will be superseded with EventLog implementation - */ -export const EVENT_DURATION = 'event.duration' as const; - -/** - * @deprecated EVENT_END is kept here only as a reference. It will be superseded with EventLog implementation - */ -export const EVENT_END = 'event.end' as const; - -/** - * @deprecated RULE_STATUS is kept here only as a reference. It will be superseded with EventLog implementation - */ -export const RULE_STATUS = 'kibana.rac.detection_engine.rule_status' as const; - -/** - * @deprecated RULE_STATUS_SEVERITY is kept here only as a reference. It will be superseded with EventLog implementation - */ -export const RULE_STATUS_SEVERITY = 'kibana.rac.detection_engine.rule_status_severity' as const; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/rule_registry_adapter/rule_registry_log_client/parse_rule_execution_log.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/rule_registry_adapter/rule_registry_log_client/parse_rule_execution_log.ts deleted file mode 100644 index cbc6e570e936f..0000000000000 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/rule_registry_adapter/rule_registry_log_client/parse_rule_execution_log.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { isLeft } from 'fp-ts/lib/Either'; -import { PathReporter } from 'io-ts/lib/PathReporter'; -import { technicalRuleFieldMap } from '../../../../../../../rule_registry/common/assets/field_maps/technical_rule_field_map'; -import { - mergeFieldMaps, - runtimeTypeFromFieldMap, -} from '../../../../../../../rule_registry/common/field_map'; -import { ruleExecutionFieldMap } from './rule_execution_field_map'; - -const ruleExecutionLogRuntimeType = runtimeTypeFromFieldMap( - mergeFieldMaps(technicalRuleFieldMap, ruleExecutionFieldMap) -); - -/** - * @deprecated parseRuleExecutionLog is kept here only as a reference. It will be superseded with EventLog implementation - */ -export const parseRuleExecutionLog = (input: unknown) => { - const validate = ruleExecutionLogRuntimeType.decode(input); - - if (isLeft(validate)) { - throw new Error(PathReporter.report(validate).join('\n')); - } - - return ruleExecutionLogRuntimeType.encode(validate.right); -}; - -/** - * @deprecated RuleExecutionEvent is kept here only as a reference. It will be superseded with EventLog implementation - * - * It's marked as `Partial` because the field map is not yet appropriate for - * execution log events. - */ -export type RuleExecutionEvent = Partial>; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/rule_registry_adapter/rule_registry_log_client/rule_execution_field_map.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/rule_registry_adapter/rule_registry_log_client/rule_execution_field_map.ts deleted file mode 100644 index b3c70cd56d9e6..0000000000000 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/rule_registry_adapter/rule_registry_log_client/rule_execution_field_map.ts +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { - EVENT_DURATION, - EVENT_END, - EVENT_SEQUENCE, - MESSAGE, - RULE_STATUS, - RULE_STATUS_SEVERITY, -} from './constants'; - -/** - * @deprecated ruleExecutionFieldMap is kept here only as a reference. It will be superseded with EventLog implementation - */ -export const ruleExecutionFieldMap = { - [MESSAGE]: { type: 'keyword' }, - [EVENT_SEQUENCE]: { type: 'long' }, - [EVENT_END]: { type: 'date' }, - [EVENT_DURATION]: { type: 'long' }, - [RULE_STATUS]: { type: 'keyword' }, - [RULE_STATUS_SEVERITY]: { type: 'integer' }, -} as const; - -/** - * @deprecated RuleExecutionFieldMap is kept here only as a reference. It will be superseded with EventLog implementation - */ -export type RuleExecutionFieldMap = typeof ruleExecutionFieldMap; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/rule_registry_adapter/rule_registry_log_client/rule_registry_log_client.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/rule_registry_adapter/rule_registry_log_client/rule_registry_log_client.ts deleted file mode 100644 index 3cd6171b5bbeb..0000000000000 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/rule_registry_adapter/rule_registry_log_client/rule_registry_log_client.ts +++ /dev/null @@ -1,270 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { estypes } from '@elastic/elasticsearch'; -import { - ALERT_RULE_CONSUMER, - ALERT_RULE_TYPE_ID, - EVENT_ACTION, - EVENT_KIND, - SPACE_IDS, - TIMESTAMP, - ALERT_RULE_UUID, -} from '@kbn/rule-data-utils'; -import moment from 'moment'; - -import { mappingFromFieldMap } from '../../../../../../../rule_registry/common/mapping_from_field_map'; -import { Dataset, IRuleDataClient } from '../../../../../../../rule_registry/server'; -import { SERVER_APP_ID } from '../../../../../../common/constants'; -import { RuleExecutionStatus } from '../../../../../../common/detection_engine/schemas/common/schemas'; -import { invariant } from '../../../../../../common/utils/invariant'; -import { IRuleStatusSOAttributes } from '../../../rules/types'; -import { makeFloatString } from '../../../signals/utils'; -import { - ExecutionMetric, - ExecutionMetricArgs, - IRuleDataPluginService, - LogStatusChangeArgs, -} from '../../types'; -import { EVENT_SEQUENCE, MESSAGE, RULE_STATUS, RULE_STATUS_SEVERITY } from './constants'; -import { parseRuleExecutionLog, RuleExecutionEvent } from './parse_rule_execution_log'; -import { ruleExecutionFieldMap } from './rule_execution_field_map'; -import { - getLastEntryAggregation, - getMetricAggregation, - getMetricField, - sortByTimeDesc, -} from './utils'; - -const statusSeverityDict: Record = { - [RuleExecutionStatus.succeeded]: 0, - [RuleExecutionStatus['going to run']]: 10, - [RuleExecutionStatus.warning]: 20, - [RuleExecutionStatus['partial failure']]: 20, - [RuleExecutionStatus.failed]: 30, -}; - -interface FindExecutionLogArgs { - ruleIds: string[]; - spaceId: string; - logsCount?: number; - statuses?: RuleExecutionStatus[]; -} - -interface IRuleRegistryLogClient { - find: (args: FindExecutionLogArgs) => Promise<{ - [ruleId: string]: IRuleStatusSOAttributes[] | undefined; - }>; - create: (event: RuleExecutionEvent) => Promise; - logStatusChange: (args: LogStatusChangeArgs) => Promise; - logExecutionMetric: (args: ExecutionMetricArgs) => Promise; -} - -/** - * @deprecated RuleRegistryLogClient is kept here only as a reference. It will be superseded with EventLog implementation - */ -export class RuleRegistryLogClient implements IRuleRegistryLogClient { - private sequence = 0; - private ruleDataClient: IRuleDataClient; - - constructor(ruleDataService: IRuleDataPluginService) { - this.ruleDataClient = ruleDataService.initializeIndex({ - feature: SERVER_APP_ID, - registrationContext: 'security', - dataset: Dataset.events, - componentTemplateRefs: [], - componentTemplates: [ - { - name: 'mappings', - mappings: mappingFromFieldMap(ruleExecutionFieldMap, 'strict'), - }, - ], - }); - } - - public async find({ ruleIds, spaceId, statuses, logsCount = 1 }: FindExecutionLogArgs) { - if (ruleIds.length === 0) { - return {}; - } - - const filter: estypes.QueryDslQueryContainer[] = [ - { terms: { [ALERT_RULE_UUID]: ruleIds } }, - { terms: { [SPACE_IDS]: [spaceId] } }, - ]; - - if (statuses) { - filter.push({ terms: { [RULE_STATUS]: statuses } }); - } - - const result = await this.ruleDataClient.getReader().search({ - size: 0, - body: { - query: { - bool: { - filter, - }, - }, - aggs: { - rules: { - terms: { - field: ALERT_RULE_UUID, - size: ruleIds.length, - }, - aggs: { - most_recent_logs: { - top_hits: { - sort: sortByTimeDesc, - size: logsCount, - }, - }, - last_failure: getLastEntryAggregation(RuleExecutionStatus.failed), - last_success: getLastEntryAggregation(RuleExecutionStatus.succeeded), - execution_gap: getMetricAggregation(ExecutionMetric.executionGap), - search_duration_max: getMetricAggregation(ExecutionMetric.searchDurationMax), - indexing_duration_max: getMetricAggregation(ExecutionMetric.indexingDurationMax), - indexing_lookback: getMetricAggregation(ExecutionMetric.indexingLookback), - }, - }, - }, - }, - }); - - if (result.hits.total.value === 0) { - return {}; - } - - invariant(result.aggregations, 'Search response should contain aggregations'); - - return Object.fromEntries( - result.aggregations.rules.buckets.map<[ruleId: string, logs: IRuleStatusSOAttributes[]]>( - (bucket) => [ - bucket.key as string, - bucket.most_recent_logs.hits.hits.map((event) => { - const logEntry = parseRuleExecutionLog(event._source); - invariant( - logEntry[ALERT_RULE_UUID] ?? '', - 'Malformed execution log entry: rule.id field not found' - ); - - const lastFailure = bucket.last_failure.event.hits.hits[0] - ? parseRuleExecutionLog(bucket.last_failure.event.hits.hits[0]._source) - : undefined; - - const lastSuccess = bucket.last_success.event.hits.hits[0] - ? parseRuleExecutionLog(bucket.last_success.event.hits.hits[0]._source) - : undefined; - - const lookBack = bucket.indexing_lookback.event.hits.hits[0] - ? parseRuleExecutionLog(bucket.indexing_lookback.event.hits.hits[0]._source) - : undefined; - - const executionGap = bucket.execution_gap.event.hits.hits[0] - ? parseRuleExecutionLog(bucket.execution_gap.event.hits.hits[0]._source)[ - getMetricField(ExecutionMetric.executionGap) - ] - : undefined; - - const searchDuration = bucket.search_duration_max.event.hits.hits[0] - ? parseRuleExecutionLog(bucket.search_duration_max.event.hits.hits[0]._source)[ - getMetricField(ExecutionMetric.searchDurationMax) - ] - : undefined; - - const indexingDuration = bucket.indexing_duration_max.event.hits.hits[0] - ? parseRuleExecutionLog(bucket.indexing_duration_max.event.hits.hits[0]._source)[ - getMetricField(ExecutionMetric.indexingDurationMax) - ] - : undefined; - - const alertId = logEntry[ALERT_RULE_UUID] ?? ''; - const statusDate = logEntry[TIMESTAMP]; - const lastFailureAt = lastFailure?.[TIMESTAMP]; - const lastFailureMessage = lastFailure?.[MESSAGE]; - const lastSuccessAt = lastSuccess?.[TIMESTAMP]; - const lastSuccessMessage = lastSuccess?.[MESSAGE]; - const status = (logEntry[RULE_STATUS] as RuleExecutionStatus) || null; - const lastLookBackDate = lookBack?.[getMetricField(ExecutionMetric.indexingLookback)]; - const gap = executionGap ? moment.duration(executionGap).humanize() : null; - const bulkCreateTimeDurations = indexingDuration - ? [makeFloatString(indexingDuration)] - : null; - const searchAfterTimeDurations = searchDuration - ? [makeFloatString(searchDuration)] - : null; - - return { - alertId, - statusDate, - lastFailureAt, - lastFailureMessage, - lastSuccessAt, - lastSuccessMessage, - status, - lastLookBackDate, - gap, - bulkCreateTimeDurations, - searchAfterTimeDurations, - }; - }), - ] - ) - ); - } - - public async logExecutionMetric({ - ruleId, - namespace, - metric, - value, - spaceId, - }: ExecutionMetricArgs) { - await this.create( - { - [SPACE_IDS]: [spaceId], - [EVENT_ACTION]: metric, - [EVENT_KIND]: 'metric', - [getMetricField(metric)]: value, - [ALERT_RULE_UUID]: ruleId ?? '', - [TIMESTAMP]: new Date().toISOString(), - [ALERT_RULE_CONSUMER]: SERVER_APP_ID, - [ALERT_RULE_TYPE_ID]: SERVER_APP_ID, - }, - namespace - ); - } - - public async logStatusChange({ - ruleId, - newStatus, - namespace, - message, - spaceId, - }: LogStatusChangeArgs) { - await this.create( - { - [SPACE_IDS]: [spaceId], - [EVENT_ACTION]: 'status-change', - [EVENT_KIND]: 'event', - [EVENT_SEQUENCE]: this.sequence++, - [MESSAGE]: message, - [ALERT_RULE_UUID]: ruleId ?? '', - [RULE_STATUS_SEVERITY]: statusSeverityDict[newStatus], - [RULE_STATUS]: newStatus, - [TIMESTAMP]: new Date().toISOString(), - [ALERT_RULE_CONSUMER]: SERVER_APP_ID, - [ALERT_RULE_TYPE_ID]: SERVER_APP_ID, - }, - namespace - ); - } - - public async create(event: RuleExecutionEvent, namespace?: string) { - await this.ruleDataClient.getWriter({ namespace }).bulk({ - body: [{ index: {} }, event], - }); - } -} diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/rule_registry_adapter/rule_registry_log_client/utils.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/rule_registry_adapter/rule_registry_log_client/utils.ts deleted file mode 100644 index 713cf73890e7f..0000000000000 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/rule_registry_adapter/rule_registry_log_client/utils.ts +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { SearchSort } from '@elastic/elasticsearch/api/types'; -import { EVENT_ACTION, TIMESTAMP } from '@kbn/rule-data-utils'; -import { RuleExecutionStatus } from '../../../../../../common/detection_engine/schemas/common/schemas'; -import { ExecutionMetric } from '../../types'; -import { RULE_STATUS, EVENT_SEQUENCE, EVENT_DURATION, EVENT_END } from './constants'; - -const METRIC_FIELDS = { - [ExecutionMetric.executionGap]: EVENT_DURATION, - [ExecutionMetric.searchDurationMax]: EVENT_DURATION, - [ExecutionMetric.indexingDurationMax]: EVENT_DURATION, - [ExecutionMetric.indexingLookback]: EVENT_END, -}; - -/** - * Returns ECS field in which metric value is stored - * @deprecated getMetricField is kept here only as a reference. It will be superseded with EventLog implementation - * - * @param metric - execution metric - * @returns ECS field - */ -export const getMetricField = (metric: T) => METRIC_FIELDS[metric]; - -/** - * @deprecated sortByTimeDesc is kept here only as a reference. It will be superseded with EventLog implementation - */ -export const sortByTimeDesc: SearchSort = [{ [TIMESTAMP]: 'desc' }, { [EVENT_SEQUENCE]: 'desc' }]; - -/** - * Builds aggregation to retrieve the most recent metric value - * @deprecated getMetricAggregation is kept here only as a reference. It will be superseded with EventLog implementation - * - * @param metric - execution metric - * @returns aggregation - */ -export const getMetricAggregation = (metric: ExecutionMetric) => ({ - filter: { - term: { [EVENT_ACTION]: metric }, - }, - aggs: { - event: { - top_hits: { - size: 1, - sort: sortByTimeDesc, - _source: [TIMESTAMP, getMetricField(metric)], - }, - }, - }, -}); - -/** - * Builds aggregation to retrieve the most recent log entry with the given status - * @deprecated getLastEntryAggregation is kept here only as a reference. It will be superseded with EventLog implementation - * - * @param status - rule execution status - * @returns aggregation - */ -export const getLastEntryAggregation = (status: RuleExecutionStatus) => ({ - filter: { - term: { [RULE_STATUS]: status }, - }, - aggs: { - event: { - top_hits: { - sort: sortByTimeDesc, - size: 1, - }, - }, - }, -}); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/saved_objects_adapter/saved_objects_adapter.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/saved_objects_adapter/saved_objects_adapter.ts index 27329ebf8f90c..ca806bd58e369 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/saved_objects_adapter/saved_objects_adapter.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/saved_objects_adapter/saved_objects_adapter.ts @@ -14,12 +14,11 @@ import { ruleStatusSavedObjectsClientFactory, } from './rule_status_saved_objects_client'; import { - ExecutionMetric, - ExecutionMetricArgs, + LogExecutionMetricsArgs, FindBulkExecutionLogArgs, FindExecutionLogArgs, IRuleExecutionLogClient, - LegacyMetrics, + ExecutionMetrics, LogStatusChangeArgs, UpdateExecutionLogArgs, } from '../types'; @@ -28,14 +27,16 @@ import { assertUnreachable } from '../../../../../common'; // 1st is mutable status, followed by 5 most recent failures export const MAX_RULE_STATUSES = 6; -const METRIC_FIELDS = { - [ExecutionMetric.executionGap]: 'gap', - [ExecutionMetric.searchDurationMax]: 'searchAfterTimeDurations', - [ExecutionMetric.indexingDurationMax]: 'bulkCreateTimeDurations', - [ExecutionMetric.indexingLookback]: 'lastLookBackDate', -} as const; - -const getMetricField = (metric: T) => METRIC_FIELDS[metric]; +const convertMetricFields = ( + metrics: ExecutionMetrics +): Pick< + IRuleStatusSOAttributes, + 'gap' | 'searchAfterTimeDurations' | 'bulkCreateTimeDurations' +> => ({ + gap: metrics.executionGap?.humanize(), + searchAfterTimeDurations: metrics.searchDurations, + bulkCreateTimeDurations: metrics.indexingDurations, +}); export class SavedObjectsAdapter implements IRuleExecutionLogClient { private ruleStatusClient: RuleStatusSavedObjectsClient; @@ -66,16 +67,12 @@ export class SavedObjectsAdapter implements IRuleExecutionLogClient { await this.ruleStatusClient.delete(id); } - public async logExecutionMetric({ - ruleId, - metric, - value, - }: ExecutionMetricArgs) { + public async logExecutionMetrics({ ruleId, metrics }: LogExecutionMetricsArgs) { const [currentStatus] = await this.getOrCreateRuleStatuses(ruleId); await this.ruleStatusClient.update(currentStatus.id, { ...currentStatus.attributes, - [getMetricField(metric)]: value, + ...convertMetricFields(metrics), }); } @@ -158,11 +155,11 @@ export class SavedObjectsAdapter implements IRuleExecutionLogClient { const buildRuleStatusAttributes: ( status: RuleExecutionStatus, message?: string, - metrics?: LegacyMetrics + metrics?: ExecutionMetrics ) => Partial = (status, message, metrics = {}) => { const now = new Date().toISOString(); const baseAttributes: Partial = { - ...metrics, + ...convertMetricFields(metrics), status: status === RuleExecutionStatus.warning ? RuleExecutionStatus['partial failure'] : status, statusDate: now, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/types.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/types.ts index 9c66032f681de..e38f974ddee2e 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/types.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_execution_log/types.ts @@ -5,28 +5,16 @@ * 2.0. */ -import { PublicMethodsOf } from '@kbn/utility-types'; +import { Duration } from 'moment'; import { SavedObjectsFindResult } from '../../../../../../../src/core/server'; -import { RuleDataPluginService } from '../../../../../rule_registry/server'; import { RuleExecutionStatus } from '../../../../common/detection_engine/schemas/common/schemas'; import { IRuleStatusSOAttributes } from '../rules/types'; -export enum ExecutionMetric { - 'executionGap' = 'executionGap', - 'searchDurationMax' = 'searchDurationMax', - 'indexingDurationMax' = 'indexingDurationMax', - 'indexingLookback' = 'indexingLookback', +export enum UnderlyingLogClient { + 'savedObjects' = 'savedObjects', + 'eventLog' = 'eventLog', } -export type IRuleDataPluginService = PublicMethodsOf; - -export type ExecutionMetricValue = { - [ExecutionMetric.executionGap]: number; - [ExecutionMetric.searchDurationMax]: number; - [ExecutionMetric.indexingDurationMax]: number; - [ExecutionMetric.indexingLookback]: Date; -}[T]; - export interface FindExecutionLogArgs { ruleId: string; spaceId: string; @@ -39,29 +27,34 @@ export interface FindBulkExecutionLogArgs { logsCount?: number; } -/** - * @deprecated LegacyMetrics are only kept here for backward compatibility - * and should be replaced by ExecutionMetric in the future - */ -export interface LegacyMetrics { - searchAfterTimeDurations?: string[]; - bulkCreateTimeDurations?: string[]; +export interface ExecutionMetrics { + searchDurations?: string[]; + indexingDurations?: string[]; + /** + * @deprecated lastLookBackDate is logged only by SavedObjectsAdapter and should be removed in the future + */ lastLookBackDate?: string; - gap?: string; + executionGap?: Duration; } export interface LogStatusChangeArgs { ruleId: string; + ruleName: string; + ruleType: string; spaceId: string; newStatus: RuleExecutionStatus; - namespace?: string; message?: string; - metrics?: LegacyMetrics; + /** + * @deprecated Use RuleExecutionLogClient.logExecutionMetrics to write metrics instead + */ + metrics?: ExecutionMetrics; } export interface UpdateExecutionLogArgs { id: string; attributes: IRuleStatusSOAttributes; + ruleName: string; + ruleType: string; spaceId: string; } @@ -70,12 +63,12 @@ export interface CreateExecutionLogArgs { spaceId: string; } -export interface ExecutionMetricArgs { +export interface LogExecutionMetricsArgs { ruleId: string; + ruleName: string; + ruleType: string; spaceId: string; - namespace?: string; - metric: T; - value: ExecutionMetricValue; + metrics: ExecutionMetrics; } export interface FindBulkExecutionLogResponse { @@ -90,5 +83,5 @@ export interface IRuleExecutionLogClient { update: (args: UpdateExecutionLogArgs) => Promise; delete: (id: string) => Promise; logStatusChange: (args: LogStatusChangeArgs) => Promise; - logExecutionMetric: (args: ExecutionMetricArgs) => Promise; + logExecutionMetrics: (args: LogExecutionMetricsArgs) => Promise; } diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/__mocks__/rule_type.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/__mocks__/rule_type.ts index bcab8a0af5ffb..c6f818f04fc5d 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/__mocks__/rule_type.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/__mocks__/rule_type.ts @@ -14,6 +14,7 @@ import { mlPluginServerMock } from '../../../../../../ml/server/mocks'; import type { IRuleDataClient } from '../../../../../../rule_registry/server'; import { ruleRegistryMocks } from '../../../../../../rule_registry/server/mocks'; +import { eventLogServiceMock } from '../../../../../../event_log/server/mocks'; import { PluginSetupContract as AlertingPluginSetupContract } from '../../../../../../alerting/server'; import { ConfigType } from '../../../../config'; import { AlertAttributes } from '../../signals/types'; @@ -55,6 +56,7 @@ export const createRuleTypeMocks = ( references: [], attributes: { actions: [], + alertTypeId: 'siem.signals', enabled: true, name: 'mock rule', tags: [], @@ -89,7 +91,7 @@ export const createRuleTypeMocks = ( ruleDataClient: ruleRegistryMocks.createRuleDataClient( '.alerts-security.alerts' ) as IRuleDataClient, - ruleDataService: ruleRegistryMocks.createRuleDataPluginService(), + eventLogService: eventLogServiceMock.create(), }, services, scheduleActions, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/create_security_rule_type_factory.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/create_security_rule_type_factory.ts index df15d4b2c0112..9ea36abe997c3 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/create_security_rule_type_factory.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/create_security_rule_type_factory.ts @@ -40,8 +40,9 @@ import { scheduleThrottledNotificationActions } from '../notifications/schedule_ /* eslint-disable complexity */ export const createSecurityRuleTypeFactory: CreateSecurityRuleTypeFactory = - ({ lists, logger, mergeStrategy, ignoreFields, ruleDataClient, ruleDataService }) => + ({ lists, logger, config, ruleDataClient, eventLogService }) => (type) => { + const { alertIgnoreFields: ignoreFields, alertMergeStrategy: mergeStrategy } = config; const persistenceRuleType = createPersistenceRuleTypeFactory({ ruleDataClient, logger }); return persistenceRuleType({ ...type, @@ -65,13 +66,15 @@ export const createSecurityRuleTypeFactory: CreateSecurityRuleTypeFactory = const ruleStatusClient = new RuleExecutionLogClient({ savedObjectsClient, - ruleDataService, + eventLogService, + underlyingClient: config.ruleExecutionLog.underlyingClient, }); const ruleSO = await savedObjectsClient.get('alert', alertId); const { actions, name, + alertTypeId, schedule: { interval }, } = ruleSO.attributes; const refresh = actions.length ? 'wait_for' : false; @@ -87,9 +90,14 @@ export const createSecurityRuleTypeFactory: CreateSecurityRuleTypeFactory = logger.debug(buildRuleMessage(`interval: ${interval}`)); let wroteWarningStatus = false; - await ruleStatusClient.logStatusChange({ + const basicLogArguments = { spaceId, ruleId: alertId, + ruleName: name, + ruleType: alertTypeId, + }; + await ruleStatusClient.logStatusChange({ + ...basicLogArguments, newStatus: RuleExecutionStatus['going to run'], }); @@ -125,8 +133,7 @@ export const createSecurityRuleTypeFactory: CreateSecurityRuleTypeFactory = tryCatch( () => hasReadIndexPrivileges({ - spaceId, - ruleId: alertId, + ...basicLogArguments, privileges, logger, buildRuleMessage, @@ -138,8 +145,7 @@ export const createSecurityRuleTypeFactory: CreateSecurityRuleTypeFactory = tryCatch( () => hasTimestampFields({ - spaceId, - ruleId: alertId, + ...basicLogArguments, wroteStatus: wroteStatus as boolean, timestampField: hasTimestampOverride ? (timestampOverride as string) @@ -179,11 +185,10 @@ export const createSecurityRuleTypeFactory: CreateSecurityRuleTypeFactory = logger.warn(gapMessage); hasError = true; await ruleStatusClient.logStatusChange({ - spaceId, - ruleId: alertId, + ...basicLogArguments, newStatus: RuleExecutionStatus.failed, message: gapMessage, - metrics: { gap: gapString }, + metrics: { executionGap: remainingGap }, }); } @@ -262,8 +267,7 @@ export const createSecurityRuleTypeFactory: CreateSecurityRuleTypeFactory = if (result.warningMessages.length) { const warningMessage = buildRuleMessage(result.warningMessages.join()); await ruleStatusClient.logStatusChange({ - spaceId, - ruleId: alertId, + ...basicLogArguments, newStatus: RuleExecutionStatus['partial failure'], message: warningMessage, }); @@ -327,13 +331,12 @@ export const createSecurityRuleTypeFactory: CreateSecurityRuleTypeFactory = if (!hasError && !wroteWarningStatus && !result.warning) { await ruleStatusClient.logStatusChange({ - spaceId, - ruleId: alertId, + ...basicLogArguments, newStatus: RuleExecutionStatus.succeeded, message: 'succeeded', metrics: { - bulkCreateTimeDurations: result.bulkCreateTimes, - searchAfterTimeDurations: result.searchAfterTimes, + indexingDurations: result.bulkCreateTimes, + searchDurations: result.searchAfterTimes, lastLookBackDate: result.lastLookbackDate?.toISOString(), }, }); @@ -356,13 +359,12 @@ export const createSecurityRuleTypeFactory: CreateSecurityRuleTypeFactory = ); logger.error(errorMessage); await ruleStatusClient.logStatusChange({ - spaceId, - ruleId: alertId, + ...basicLogArguments, newStatus: RuleExecutionStatus.failed, message: errorMessage, metrics: { - bulkCreateTimeDurations: result.bulkCreateTimes, - searchAfterTimeDurations: result.searchAfterTimes, + indexingDurations: result.bulkCreateTimes, + searchDurations: result.searchAfterTimes, lastLookBackDate: result.lastLookbackDate?.toISOString(), }, }); @@ -376,13 +378,12 @@ export const createSecurityRuleTypeFactory: CreateSecurityRuleTypeFactory = logger.error(message); await ruleStatusClient.logStatusChange({ - spaceId, - ruleId: alertId, + ...basicLogArguments, newStatus: RuleExecutionStatus.failed, message, metrics: { - bulkCreateTimeDurations: result.bulkCreateTimes, - searchAfterTimeDurations: result.searchAfterTimes, + indexingDurations: result.bulkCreateTimes, + searchDurations: result.searchAfterTimes, lastLookBackDate: result.lastLookbackDate?.toISOString(), }, }); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/eql/create_eql_alert_type.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/eql/create_eql_alert_type.test.ts index 868419179c76b..43860d396ac5d 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/eql/create_eql_alert_type.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/eql/create_eql_alert_type.test.ts @@ -12,6 +12,7 @@ import { allowedExperimentalValues } from '../../../../../common/experimental_fe import { createEqlAlertType } from './create_eql_alert_type'; import { createRuleTypeMocks } from '../__mocks__/rule_type'; import { getEqlRuleParams } from '../../schemas/rule_schemas.mock'; +import { createMockConfig } from '../../routes/__mocks__'; jest.mock('../../rule_execution_log/rule_execution_log_client'); @@ -26,10 +27,9 @@ describe('Event correlation alerts', () => { experimentalFeatures: allowedExperimentalValues, lists: dependencies.lists, logger: dependencies.logger, - ignoreFields: [], - mergeStrategy: 'allFields', + config: createMockConfig(), ruleDataClient: dependencies.ruleDataClient, - ruleDataService: dependencies.ruleDataService, + eventLogService: dependencies.eventLogService, version: '1.0.0', }); dependencies.alerting.registerType(eqlAlertType); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/eql/create_eql_alert_type.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/eql/create_eql_alert_type.ts index 5893c6fdc86c2..9324b469bf644 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/eql/create_eql_alert_type.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/eql/create_eql_alert_type.ts @@ -14,23 +14,14 @@ import { createSecurityRuleTypeFactory } from '../create_security_rule_type_fact import { CreateRuleOptions } from '../types'; export const createEqlAlertType = (createOptions: CreateRuleOptions) => { - const { - experimentalFeatures, - lists, - logger, - ignoreFields, - mergeStrategy, - ruleDataClient, - version, - ruleDataService, - } = createOptions; + const { experimentalFeatures, lists, logger, config, ruleDataClient, version, eventLogService } = + createOptions; const createSecurityRuleType = createSecurityRuleTypeFactory({ lists, logger, - ignoreFields, - mergeStrategy, + config, ruleDataClient, - ruleDataService, + eventLogService, }); return createSecurityRuleType({ id: EQL_RULE_TYPE_ID, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/factories/utils/build_alert_group_from_sequence.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/factories/utils/build_alert_group_from_sequence.test.ts index 6daafbfae40f2..a7accc4ae8a0f 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/factories/utils/build_alert_group_from_sequence.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/factories/utils/build_alert_group_from_sequence.test.ts @@ -44,6 +44,7 @@ describe('buildAlert', () => { const ruleSO = { attributes: { actions: [], + alertTypeId: 'siem.signals', createdAt: new Date().toISOString(), createdBy: 'gandalf', params: getQueryRuleParams(), diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/indicator_match/create_indicator_match_alert_type.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/indicator_match/create_indicator_match_alert_type.test.ts index fe836c872dcad..3db4f5686abdc 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/indicator_match/create_indicator_match_alert_type.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/indicator_match/create_indicator_match_alert_type.test.ts @@ -16,6 +16,7 @@ import { createIndicatorMatchAlertType } from './create_indicator_match_alert_ty import { sampleDocNoSortId } from '../../signals/__mocks__/es_results'; import { CountResponse } from 'kibana/server'; import { RuleParams } from '../../schemas/rule_schemas'; +import { createMockConfig } from '../../routes/__mocks__'; jest.mock('../utils/get_list_client', () => ({ getListClient: jest.fn().mockReturnValue({ @@ -56,10 +57,9 @@ describe('Indicator Match Alerts', () => { experimentalFeatures: allowedExperimentalValues, lists: dependencies.lists, logger: dependencies.logger, - ignoreFields: [], - mergeStrategy: 'allFields', + config: createMockConfig(), ruleDataClient: dependencies.ruleDataClient, - ruleDataService: dependencies.ruleDataService, + eventLogService: dependencies.eventLogService, version: '1.0.0', }); @@ -97,10 +97,9 @@ describe('Indicator Match Alerts', () => { experimentalFeatures: allowedExperimentalValues, lists: dependencies.lists, logger: dependencies.logger, - mergeStrategy: 'allFields', - ignoreFields: [], + config: createMockConfig(), ruleDataClient: dependencies.ruleDataClient, - ruleDataService: dependencies.ruleDataService, + eventLogService: dependencies.eventLogService, version: '1.0.0', }); @@ -136,10 +135,9 @@ describe('Indicator Match Alerts', () => { experimentalFeatures: allowedExperimentalValues, lists: dependencies.lists, logger: dependencies.logger, - mergeStrategy: 'allFields', - ignoreFields: [], + config: createMockConfig(), ruleDataClient: dependencies.ruleDataClient, - ruleDataService: dependencies.ruleDataService, + eventLogService: dependencies.eventLogService, version: '1.0.0', }); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/indicator_match/create_indicator_match_alert_type.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/indicator_match/create_indicator_match_alert_type.ts index e2d5da1def707..c30fdd7d99c2a 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/indicator_match/create_indicator_match_alert_type.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/indicator_match/create_indicator_match_alert_type.ts @@ -14,23 +14,14 @@ import { createSecurityRuleTypeFactory } from '../create_security_rule_type_fact import { CreateRuleOptions } from '../types'; export const createIndicatorMatchAlertType = (createOptions: CreateRuleOptions) => { - const { - experimentalFeatures, - lists, - logger, - mergeStrategy, - ignoreFields, - ruleDataClient, - version, - ruleDataService, - } = createOptions; + const { experimentalFeatures, lists, logger, config, ruleDataClient, version, eventLogService } = + createOptions; const createSecurityRuleType = createSecurityRuleTypeFactory({ lists, logger, - mergeStrategy, - ignoreFields, + config, ruleDataClient, - ruleDataService, + eventLogService, }); return createSecurityRuleType({ id: INDICATOR_RULE_TYPE_ID, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/ml/create_ml_alert_type.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/ml/create_ml_alert_type.test.ts index 23cd2e94aedf8..bffc20c3df1e3 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/ml/create_ml_alert_type.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/ml/create_ml_alert_type.test.ts @@ -14,6 +14,7 @@ import { createRuleTypeMocks } from '../__mocks__/rule_type'; import { createMlAlertType } from './create_ml_alert_type'; import { RuleParams } from '../../schemas/rule_schemas'; +import { createMockConfig } from '../../routes/__mocks__'; jest.mock('../../signals/bulk_create_ml_signals'); @@ -97,11 +98,10 @@ describe('Machine Learning Alerts', () => { experimentalFeatures: allowedExperimentalValues, lists: dependencies.lists, logger: dependencies.logger, - mergeStrategy: 'allFields', - ignoreFields: [], + config: createMockConfig(), ml: mlMock, ruleDataClient: dependencies.ruleDataClient, - ruleDataService: dependencies.ruleDataService, + eventLogService: dependencies.eventLogService, version: '1.0.0', }); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/ml/create_ml_alert_type.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/ml/create_ml_alert_type.ts index ec2f5dd104646..ac2d3f14831a4 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/ml/create_ml_alert_type.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/ml/create_ml_alert_type.ts @@ -14,15 +14,13 @@ import { createSecurityRuleTypeFactory } from '../create_security_rule_type_fact import { CreateRuleOptions } from '../types'; export const createMlAlertType = (createOptions: CreateRuleOptions) => { - const { lists, logger, mergeStrategy, ignoreFields, ml, ruleDataClient, ruleDataService } = - createOptions; + const { lists, logger, config, ml, ruleDataClient, eventLogService } = createOptions; const createSecurityRuleType = createSecurityRuleTypeFactory({ lists, logger, - mergeStrategy, - ignoreFields, + config, ruleDataClient, - ruleDataService, + eventLogService, }); return createSecurityRuleType({ id: ML_RULE_TYPE_ID, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/query/create_query_alert_type.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/query/create_query_alert_type.test.ts index e45d8440386fe..4fdeac8047b1d 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/query/create_query_alert_type.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/query/create_query_alert_type.test.ts @@ -14,6 +14,7 @@ import { allowedExperimentalValues } from '../../../../../common/experimental_fe import { sampleDocNoSortId } from '../../signals/__mocks__/es_results'; import { createQueryAlertType } from './create_query_alert_type'; import { createRuleTypeMocks } from '../__mocks__/rule_type'; +import { createMockConfig } from '../../routes/__mocks__'; jest.mock('../utils/get_list_client', () => ({ getListClient: jest.fn().mockReturnValue({ @@ -31,10 +32,9 @@ describe('Custom Query Alerts', () => { experimentalFeatures: allowedExperimentalValues, lists: dependencies.lists, logger: dependencies.logger, - mergeStrategy: 'allFields', - ignoreFields: [], + config: createMockConfig(), ruleDataClient: dependencies.ruleDataClient, - ruleDataService: dependencies.ruleDataService, + eventLogService: dependencies.eventLogService, version: '1.0.0', }); @@ -79,10 +79,9 @@ describe('Custom Query Alerts', () => { experimentalFeatures: allowedExperimentalValues, lists: dependencies.lists, logger: dependencies.logger, - mergeStrategy: 'allFields', - ignoreFields: [], + config: createMockConfig(), ruleDataClient: dependencies.ruleDataClient, - ruleDataService: dependencies.ruleDataService, + eventLogService: dependencies.eventLogService, version: '1.0.0', }); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/query/create_query_alert_type.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/query/create_query_alert_type.ts index d5af7a4c8b5a4..469c237112dcb 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/query/create_query_alert_type.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/query/create_query_alert_type.ts @@ -14,23 +14,14 @@ import { createSecurityRuleTypeFactory } from '../create_security_rule_type_fact import { CreateRuleOptions } from '../types'; export const createQueryAlertType = (createOptions: CreateRuleOptions) => { - const { - experimentalFeatures, - lists, - logger, - mergeStrategy, - ignoreFields, - ruleDataClient, - version, - ruleDataService, - } = createOptions; + const { experimentalFeatures, lists, logger, config, ruleDataClient, version, eventLogService } = + createOptions; const createSecurityRuleType = createSecurityRuleTypeFactory({ lists, logger, - mergeStrategy, - ignoreFields, + config, ruleDataClient, - ruleDataService, + eventLogService, }); return createSecurityRuleType({ id: QUERY_RULE_TYPE_ID, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/threshold/create_threshold_alert_type.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/threshold/create_threshold_alert_type.test.ts index 74435cb300472..aff57dbdf3cd4 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/threshold/create_threshold_alert_type.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/threshold/create_threshold_alert_type.test.ts @@ -9,6 +9,7 @@ import { allowedExperimentalValues } from '../../../../../common/experimental_fe import { createThresholdAlertType } from './create_threshold_alert_type'; import { createRuleTypeMocks } from '../__mocks__/rule_type'; import { getThresholdRuleParams } from '../../schemas/rule_schemas.mock'; +import { createMockConfig } from '../../routes/__mocks__'; jest.mock('../../rule_execution_log/rule_execution_log_client'); @@ -20,10 +21,9 @@ describe('Threshold Alerts', () => { experimentalFeatures: allowedExperimentalValues, lists: dependencies.lists, logger: dependencies.logger, - mergeStrategy: 'allFields', - ignoreFields: [], + config: createMockConfig(), ruleDataClient: dependencies.ruleDataClient, - ruleDataService: dependencies.ruleDataService, + eventLogService: dependencies.eventLogService, version: '1.0.0', }); dependencies.alerting.registerType(thresholdAlertTpe); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/threshold/create_threshold_alert_type.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/threshold/create_threshold_alert_type.ts index a503cf5aedbea..789e4525c58ab 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/threshold/create_threshold_alert_type.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/threshold/create_threshold_alert_type.ts @@ -16,23 +16,14 @@ import { createSecurityRuleTypeFactory } from '../create_security_rule_type_fact import { CreateRuleOptions } from '../types'; export const createThresholdAlertType = (createOptions: CreateRuleOptions) => { - const { - experimentalFeatures, - lists, - logger, - mergeStrategy, - ignoreFields, - ruleDataClient, - version, - ruleDataService, - } = createOptions; + const { experimentalFeatures, lists, logger, config, ruleDataClient, version, eventLogService } = + createOptions; const createSecurityRuleType = createSecurityRuleTypeFactory({ lists, logger, - mergeStrategy, - ignoreFields, + config, ruleDataClient, - ruleDataService, + eventLogService, }); return createSecurityRuleType({ id: THRESHOLD_RULE_TYPE_ID, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/types.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/types.ts index 6280a50d4981c..c94339da03b93 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/types.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/types.ts @@ -30,12 +30,12 @@ import { import { BaseHit } from '../../../../common/detection_engine/types'; import { ConfigType } from '../../../config'; import { SetupPlugins } from '../../../plugin'; -import { IRuleDataPluginService } from '../rule_execution_log/types'; import { RuleParams } from '../schemas/rule_schemas'; import { BuildRuleMessage } from '../signals/rule_messages'; import { AlertAttributes, BulkCreate, WrapHits, WrapSequences } from '../signals/types'; import { AlertsFieldMap, RulesFieldMap } from './field_maps'; import { ExperimentalFeatures } from '../../../../common/experimental_features'; +import { IEventLogService } from '../../../../../event_log/server'; export interface SecurityAlertTypeReturnValue { bulkCreateTimes: string[]; @@ -98,10 +98,9 @@ type SecurityAlertTypeWithExecutor< export type CreateSecurityRuleTypeFactory = (options: { lists: SetupPlugins['lists']; logger: Logger; - mergeStrategy: ConfigType['alertMergeStrategy']; - ignoreFields: ConfigType['alertIgnoreFields']; + config: ConfigType; ruleDataClient: IRuleDataClient; - ruleDataService: IRuleDataPluginService; + eventLogService: IEventLogService; }) => < TParams extends RuleParams & { index?: string[] | undefined }, TAlertInstanceContext extends AlertInstanceContext, @@ -127,10 +126,9 @@ export interface CreateRuleOptions { experimentalFeatures: ExperimentalFeatures; lists: SetupPlugins['lists']; logger: Logger; - mergeStrategy: ConfigType['alertMergeStrategy']; - ignoreFields: ConfigType['alertIgnoreFields']; + config: ConfigType; ml?: SetupPlugins['ml']; ruleDataClient: IRuleDataClient; version: string; - ruleDataService: IRuleDataPluginService; + eventLogService: IEventLogService; } diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/enable_rule.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/enable_rule.ts index c6a5c00380242..2f3d05e0c9586 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/enable_rule.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/enable_rule.ts @@ -44,6 +44,8 @@ export const enableRule = async ({ const currentStatusToDisable = ruleCurrentStatus[0]; await ruleStatusClient.update({ id: currentStatusToDisable.id, + ruleName: rule.name, + ruleType: rule.alertTypeId, attributes: { ...currentStatusToDisable.attributes, status: RuleExecutionStatus['going to run'], diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/__mocks__/es_results.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/__mocks__/es_results.ts index 850eee3993b60..207ea497c7e8e 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/__mocks__/es_results.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/__mocks__/es_results.ts @@ -33,6 +33,7 @@ export const sampleRuleSO = (params: T): SavedObject { updated_at: '2020-03-27T22:55:59.577Z', attributes: { actions: [], + alertTypeId: 'siem.signals', enabled: true, name: 'rule-name', tags: ['some fake tag 1', 'some fake tag 2'], diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/executors/threshold.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/executors/threshold.test.ts index 5766390099e29..11145405dcc99 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/executors/threshold.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/executors/threshold.test.ts @@ -30,6 +30,7 @@ describe('threshold_executor', () => { updated_at: '2020-03-27T22:55:59.577Z', attributes: { actions: [], + alertTypeId: 'siem.signals', enabled: true, name: 'rule-name', tags: ['some fake tag 1', 'some fake tag 2'], diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.test.ts index 2696d6981083e..c2923b566175e 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.test.ts @@ -32,10 +32,11 @@ import { mlExecutor } from './executors/ml'; import { getMlRuleParams, getQueryRuleParams } from '../schemas/rule_schemas.mock'; import { ResponseError } from '@elastic/elasticsearch/lib/errors'; import { allowedExperimentalValues } from '../../../../common/experimental_features'; -import { ruleRegistryMocks } from '../../../../../rule_registry/server/mocks'; import { scheduleNotificationActions } from '../notifications/schedule_notification_actions'; import { ruleExecutionLogClientMock } from '../rule_execution_log/__mocks__/rule_execution_log_client'; import { RuleExecutionStatus } from '../../../../common/detection_engine/schemas/common/schemas'; +import { eventLogServiceMock } from '../../../../../event_log/server/mocks'; +import { createMockConfig } from '../routes/__mocks__'; jest.mock('./utils', () => { const original = jest.requireActual('./utils'); @@ -124,12 +125,12 @@ describe('signal_rule_alert_type', () => { let alert: ReturnType; let logger: ReturnType; let alertServices: AlertServicesMock; - let ruleDataService: ReturnType; + let eventLogService: ReturnType; beforeEach(() => { alertServices = alertsMock.createAlertServices(); logger = loggingSystemMock.createLogger(); - ruleDataService = ruleRegistryMocks.createRuleDataPluginService(); + eventLogService = eventLogServiceMock.create(); (getListsClient as jest.Mock).mockReturnValue({ listClient: getListClientMock(), exceptionsClient: getExceptionListClientMock(), @@ -194,9 +195,8 @@ describe('signal_rule_alert_type', () => { version, ml: mlMock, lists: listMock.createSetup(), - mergeStrategy: 'missingFields', - ignoreFields: [], - ruleDataService, + config: createMockConfig(), + eventLogService, }); mockRuleExecutionLogClient.logStatusChange.mockClear(); @@ -217,11 +217,18 @@ describe('signal_rule_alert_type', () => { payload.previousStartedAt = moment().subtract(100, 'm').toDate(); await alert.executor(payload); expect(logger.warn).toHaveBeenCalled(); - expect(mockRuleExecutionLogClient.logStatusChange).toHaveBeenLastCalledWith( + expect(mockRuleExecutionLogClient.logStatusChange).toHaveBeenNthCalledWith( + 1, + expect.objectContaining({ + newStatus: RuleExecutionStatus['going to run'], + }) + ); + expect(mockRuleExecutionLogClient.logStatusChange).toHaveBeenNthCalledWith( + 2, expect.objectContaining({ newStatus: RuleExecutionStatus.failed, metrics: { - gap: 'an hour', + executionGap: expect.any(Object), }, }) ); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.ts index 9a6c099ed1760..1e3a8a513c4a1 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.ts @@ -70,9 +70,9 @@ import { ConfigType } from '../../../config'; import { ExperimentalFeatures } from '../../../../common/experimental_features'; import { injectReferences, extractReferences } from './saved_object_references'; import { RuleExecutionLogClient } from '../rule_execution_log/rule_execution_log_client'; -import { IRuleDataPluginService } from '../rule_execution_log/types'; import { RuleExecutionStatus } from '../../../../common/detection_engine/schemas/common/schemas'; import { scheduleThrottledNotificationActions } from '../notifications/schedule_throttle_notification_actions'; +import { IEventLogService } from '../../../../../event_log/server'; export const signalRulesAlertType = ({ logger, @@ -81,9 +81,8 @@ export const signalRulesAlertType = ({ version, ml, lists, - mergeStrategy, - ignoreFields, - ruleDataService, + config, + eventLogService, }: { logger: Logger; eventsTelemetry: TelemetryEventsSender | undefined; @@ -91,10 +90,10 @@ export const signalRulesAlertType = ({ version: string; ml: SetupPlugins['ml']; lists: SetupPlugins['lists'] | undefined; - mergeStrategy: ConfigType['alertMergeStrategy']; - ignoreFields: ConfigType['alertIgnoreFields']; - ruleDataService: IRuleDataPluginService; + config: ConfigType; + eventLogService: IEventLogService; }): SignalRuleAlertTypeDefinition => { + const { alertMergeStrategy: mergeStrategy, alertIgnoreFields: ignoreFields } = config; return { id: SIGNALS_ID, name: 'SIEM signal', @@ -138,14 +137,16 @@ export const signalRulesAlertType = ({ let hasError: boolean = false; let result = createSearchAfterReturnType(); const ruleStatusClient = new RuleExecutionLogClient({ - ruleDataService, + eventLogService, savedObjectsClient: services.savedObjectsClient, + underlyingClient: config.ruleExecutionLog.underlyingClient, }); const savedObject = await services.savedObjectsClient.get('alert', alertId); const { actions, name, + alertTypeId, schedule: { interval }, } = savedObject.attributes; const refresh = actions.length ? 'wait_for' : false; @@ -159,10 +160,16 @@ export const signalRulesAlertType = ({ logger.debug(buildRuleMessage('[+] Starting Signal Rule execution')); logger.debug(buildRuleMessage(`interval: ${interval}`)); let wroteWarningStatus = false; - await ruleStatusClient.logStatusChange({ + const basicLogArguments = { + spaceId, ruleId: alertId, + ruleName: name, + ruleType: alertTypeId, + }; + + await ruleStatusClient.logStatusChange({ + ...basicLogArguments, newStatus: RuleExecutionStatus['going to run'], - spaceId, }); // check if rule has permissions to access given index pattern @@ -194,8 +201,7 @@ export const signalRulesAlertType = ({ tryCatch( () => hasReadIndexPrivileges({ - spaceId, - ruleId: alertId, + ...basicLogArguments, privileges, logger, buildRuleMessage, @@ -207,13 +213,11 @@ export const signalRulesAlertType = ({ tryCatch( () => hasTimestampFields({ - spaceId, - ruleId: alertId, + ...basicLogArguments, wroteStatus: wroteStatus as boolean, timestampField: hasTimestampOverride ? (timestampOverride as string) : '@timestamp', - ruleName: name, timestampFieldCapsResponse: timestampFieldCaps, inputIndices, ruleStatusClient, @@ -247,11 +251,10 @@ export const signalRulesAlertType = ({ logger.warn(gapMessage); hasError = true; await ruleStatusClient.logStatusChange({ - spaceId, - ruleId: alertId, + ...basicLogArguments, newStatus: RuleExecutionStatus.failed, message: gapMessage, - metrics: { gap: gapString }, + metrics: { executionGap: remainingGap }, }); } try { @@ -383,8 +386,7 @@ export const signalRulesAlertType = ({ if (result.warningMessages.length) { const warningMessage = buildRuleMessage(result.warningMessages.join()); await ruleStatusClient.logStatusChange({ - spaceId, - ruleId: alertId, + ...basicLogArguments, newStatus: RuleExecutionStatus['partial failure'], message: warningMessage, }); @@ -445,13 +447,12 @@ export const signalRulesAlertType = ({ ); if (!hasError && !wroteWarningStatus && !result.warning) { await ruleStatusClient.logStatusChange({ - spaceId, - ruleId: alertId, + ...basicLogArguments, newStatus: RuleExecutionStatus.succeeded, message: 'succeeded', metrics: { - bulkCreateTimeDurations: result.bulkCreateTimes, - searchAfterTimeDurations: result.searchAfterTimes, + indexingDurations: result.bulkCreateTimes, + searchDurations: result.searchAfterTimes, lastLookBackDate: result.lastLookBackDate?.toISOString(), }, }); @@ -474,13 +475,12 @@ export const signalRulesAlertType = ({ ); logger.error(errorMessage); await ruleStatusClient.logStatusChange({ - spaceId, - ruleId: alertId, + ...basicLogArguments, newStatus: RuleExecutionStatus.failed, message: errorMessage, metrics: { - bulkCreateTimeDurations: result.bulkCreateTimes, - searchAfterTimeDurations: result.searchAfterTimes, + indexingDurations: result.bulkCreateTimes, + searchDurations: result.searchAfterTimes, lastLookBackDate: result.lastLookBackDate?.toISOString(), }, }); @@ -494,13 +494,12 @@ export const signalRulesAlertType = ({ logger.error(message); await ruleStatusClient.logStatusChange({ - spaceId, - ruleId: alertId, + ...basicLogArguments, newStatus: RuleExecutionStatus.failed, message, metrics: { - bulkCreateTimeDurations: result.bulkCreateTimes, - searchAfterTimeDurations: result.searchAfterTimes, + indexingDurations: result.bulkCreateTimes, + searchDurations: result.searchAfterTimes, lastLookBackDate: result.lastLookBackDate?.toISOString(), }, }); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/types.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/types.ts index fc6b42c38549e..1e745fa78022c 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/types.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/types.ts @@ -255,6 +255,7 @@ export interface SignalHit { export interface AlertAttributes { actions: RuleAlertAction[]; + alertTypeId: string; enabled: boolean; name: string; tags: string[]; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/utils.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/utils.test.ts index c3e95d6d196ca..7d2eafa46d382 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/utils.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/utils.test.ts @@ -789,6 +789,7 @@ describe('utils', () => { inputIndices: ['myfa*'], ruleStatusClient, ruleId: 'ruleId', + ruleType: 'ruleType', spaceId: 'default', logger: mockLogger, buildRuleMessage, @@ -832,6 +833,7 @@ describe('utils', () => { inputIndices: ['myfa*'], ruleStatusClient, ruleId: 'ruleId', + ruleType: 'ruleType', spaceId: 'default', logger: mockLogger, buildRuleMessage, @@ -861,6 +863,7 @@ describe('utils', () => { inputIndices: ['logs-endpoint.alerts-*'], ruleStatusClient, ruleId: 'ruleId', + ruleType: 'ruleType', spaceId: 'default', logger: mockLogger, buildRuleMessage, @@ -890,6 +893,7 @@ describe('utils', () => { inputIndices: ['logs-endpoint.alerts-*'], ruleStatusClient, ruleId: 'ruleId', + ruleType: 'ruleType', spaceId: 'default', logger: mockLogger, buildRuleMessage, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/utils.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/utils.ts index 5993dd626729f..2aefc7ea0bd64 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/utils.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/utils.ts @@ -99,9 +99,20 @@ export const hasReadIndexPrivileges = async (args: { buildRuleMessage: BuildRuleMessage; ruleStatusClient: IRuleExecutionLogClient; ruleId: string; + ruleName: string; + ruleType: string; spaceId: string; }): Promise => { - const { privileges, logger, buildRuleMessage, ruleStatusClient, ruleId, spaceId } = args; + const { + privileges, + logger, + buildRuleMessage, + ruleStatusClient, + ruleId, + ruleName, + ruleType, + spaceId, + } = args; const indexNames = Object.keys(privileges.index); const [indexesWithReadPrivileges, indexesWithNoReadPrivileges] = partition( @@ -119,6 +130,8 @@ export const hasReadIndexPrivileges = async (args: { await ruleStatusClient.logStatusChange({ message: errorString, ruleId, + ruleName, + ruleType, spaceId, newStatus: RuleExecutionStatus['partial failure'], }); @@ -136,6 +149,8 @@ export const hasReadIndexPrivileges = async (args: { await ruleStatusClient.logStatusChange({ message: errorString, ruleId, + ruleName, + ruleType, spaceId, newStatus: RuleExecutionStatus['partial failure'], }); @@ -156,6 +171,7 @@ export const hasTimestampFields = async (args: { ruleStatusClient: IRuleExecutionLogClient; ruleId: string; spaceId: string; + ruleType: string; logger: Logger; buildRuleMessage: BuildRuleMessage; }): Promise => { @@ -167,6 +183,7 @@ export const hasTimestampFields = async (args: { inputIndices, ruleStatusClient, ruleId, + ruleType, spaceId, logger, buildRuleMessage, @@ -184,6 +201,8 @@ export const hasTimestampFields = async (args: { await ruleStatusClient.logStatusChange({ message: errorString.trimEnd(), ruleId, + ruleName, + ruleType, spaceId, newStatus: RuleExecutionStatus['partial failure'], }); @@ -210,6 +229,8 @@ export const hasTimestampFields = async (args: { await ruleStatusClient.logStatusChange({ message: errorString, ruleId, + ruleName, + ruleType, spaceId, newStatus: RuleExecutionStatus['partial failure'], }); diff --git a/x-pack/plugins/security_solution/server/plugin.ts b/x-pack/plugins/security_solution/server/plugin.ts index 679e13a749a7d..2c511c784db80 100644 --- a/x-pack/plugins/security_solution/server/plugin.ts +++ b/x-pack/plugins/security_solution/server/plugin.ts @@ -109,11 +109,14 @@ import { ctiFieldMap } from './lib/detection_engine/rule_types/field_maps/cti'; import { legacyRulesNotificationAlertType } from './lib/detection_engine/notifications/legacy_rules_notification_alert_type'; // eslint-disable-next-line no-restricted-imports import { legacyIsNotificationAlertExecutor } from './lib/detection_engine/notifications/legacy_types'; +import { IEventLogClientService, IEventLogService } from '../../event_log/server'; +import { registerEventLogProvider } from './lib/detection_engine/rule_execution_log/event_log_adapter/register_event_log_provider'; export interface SetupPlugins { alerting: AlertingSetup; data: DataPluginSetup; encryptedSavedObjects?: EncryptedSavedObjectsSetup; + eventLog: IEventLogService; features: FeaturesSetup; lists?: ListPluginSetup; ml?: MlSetup; @@ -121,20 +124,21 @@ export interface SetupPlugins { security?: SecuritySetup; spaces?: SpacesSetup; taskManager?: TaskManagerSetupContract; - usageCollection?: UsageCollectionSetup; telemetry?: TelemetryPluginSetup; + usageCollection?: UsageCollectionSetup; } export interface StartPlugins { alerting: AlertPluginStartContract; + cases?: CasesPluginStartContract; data: DataPluginStart; + eventLog: IEventLogClientService; fleet?: FleetStartContract; licensing: LicensingPluginStart; ruleRegistry: RuleRegistryPluginStartContract; + security: SecurityPluginStart; taskManager?: TaskManagerStartContract; telemetry?: TelemetryPluginStart; - security: SecurityPluginStart; - cases?: CasesPluginStartContract; } // eslint-disable-next-line @typescript-eslint/no-empty-interface @@ -202,6 +206,9 @@ export class Plugin implements IPlugin(); core.http.registerRouteHandlerContext( APP_ID, @@ -210,8 +217,9 @@ export class Plugin implements IPlugin plugins.spaces?.spacesService?.getSpaceId(request) || DEFAULT_SPACE_ID, getExecutionLogClient: () => new RuleExecutionLogClient({ - ruleDataService: plugins.ruleRegistry.ruleDataService, savedObjectsClient: context.core.savedObjects.client, + eventLogService, + underlyingClient: config.ruleExecutionLog.underlyingClient, }), }) ); @@ -262,11 +270,10 @@ export class Plugin implements IPlugin Date: Mon, 11 Oct 2021 13:39:04 -0400 Subject: [PATCH 021/107] Logstash view cleanup fixes (#114218) (#114302) * Fix route ordering/duplication * Take out "IDK" comments I remember we figured this out last week while pairing :) Co-authored-by: Mat Schaffer --- .../monitoring/public/application/index.tsx | 38 ++++++++----------- .../pages/logstash/logstash_template.tsx | 6 +-- 2 files changed, 19 insertions(+), 25 deletions(-) diff --git a/x-pack/plugins/monitoring/public/application/index.tsx b/x-pack/plugins/monitoring/public/application/index.tsx index 9462c987a3a4b..488384afdee93 100644 --- a/x-pack/plugins/monitoring/public/application/index.tsx +++ b/x-pack/plugins/monitoring/public/application/index.tsx @@ -215,34 +215,12 @@ const MonitoringApp: React.FC<{ fetchAllClusters={false} /> - {/* APM Views */} - - - {/* Logstash Routes */} - - - + + {/* APM Views */} + + + + = ({ label: i18n.translate('xpack.monitoring.logstashNavigation.instance.overviewLinkText', { defaultMessage: 'Overview', }), - route: `/logstash/node/${instance.nodeSummary?.uuid}`, // IDK if this is right + route: `/logstash/node/${instance.nodeSummary?.uuid}`, }); tabs.push({ id: 'pipeline', label: i18n.translate('xpack.monitoring.logstashNavigation.instance.pipelinesLinkText', { defaultMessage: 'Pipelines', }), - route: `/logstash/node/${instance.nodeSummary?.uuid}/pipelines`, // IDK if this is right + route: `/logstash/node/${instance.nodeSummary?.uuid}/pipelines`, }); tabs.push({ id: 'advanced', label: i18n.translate('xpack.monitoring.logstashNavigation.instance.advancedLinkText', { defaultMessage: 'Advanced', }), - route: `/logstash/node/${instance.nodeSummary?.uuid}/advanced`, // IDK if this is right + route: `/logstash/node/${instance.nodeSummary?.uuid}/advanced`, }); } } From 03cef841d06c875d3097c1fd6d9b3f1e4908c270 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 11 Oct 2021 13:51:43 -0400 Subject: [PATCH 022/107] [bfetch] Pass `compress` flag in query instead of headers (#113929) (#114514) Co-authored-by: Anton Dosov --- src/plugins/bfetch/common/util/index.ts | 1 + .../bfetch/common/util/query_params.ts | 12 +++ .../public/streaming/fetch_streaming.ts | 12 +-- src/plugins/bfetch/server/index.ts | 1 - src/plugins/bfetch/server/mocks.ts | 1 - src/plugins/bfetch/server/plugin.ts | 78 +------------------ .../bfetch/server/streaming/create_stream.ts | 8 +- src/plugins/bfetch/server/types.ts | 27 ------- test/api_integration/apis/search/bsearch.ts | 66 +++++++--------- 9 files changed, 56 insertions(+), 150 deletions(-) create mode 100644 src/plugins/bfetch/common/util/query_params.ts delete mode 100644 src/plugins/bfetch/server/types.ts diff --git a/src/plugins/bfetch/common/util/index.ts b/src/plugins/bfetch/common/util/index.ts index 1651d24d96b14..f20d30eb3cdf0 100644 --- a/src/plugins/bfetch/common/util/index.ts +++ b/src/plugins/bfetch/common/util/index.ts @@ -8,3 +8,4 @@ export * from './normalize_error'; export * from './remove_leading_slash'; +export * from './query_params'; diff --git a/src/plugins/bfetch/common/util/query_params.ts b/src/plugins/bfetch/common/util/query_params.ts new file mode 100644 index 0000000000000..ed65699fbcafc --- /dev/null +++ b/src/plugins/bfetch/common/util/query_params.ts @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +export const appendQueryParam = (url: string, key: string, value: string): string => { + const separator = url.includes('?') ? '&' : '?'; + return `${url}${separator}${key}=${value}`; +}; diff --git a/src/plugins/bfetch/public/streaming/fetch_streaming.ts b/src/plugins/bfetch/public/streaming/fetch_streaming.ts index a94c8d3980cba..77e5acffc1af3 100644 --- a/src/plugins/bfetch/public/streaming/fetch_streaming.ts +++ b/src/plugins/bfetch/public/streaming/fetch_streaming.ts @@ -10,6 +10,7 @@ import { map, share } from 'rxjs/operators'; import { inflateResponse } from '.'; import { fromStreamingXhr } from './from_streaming_xhr'; import { split } from './split'; +import { appendQueryParam } from '../../common'; export interface FetchStreamingParams { url: string; @@ -34,16 +35,15 @@ export function fetchStreaming({ }: FetchStreamingParams) { const xhr = new window.XMLHttpRequest(); - // Begin the request - xhr.open(method, url); - xhr.withCredentials = true; - const isCompressionDisabled = getIsCompressionDisabled(); - if (!isCompressionDisabled) { - headers['X-Chunk-Encoding'] = 'deflate'; + url = appendQueryParam(url, 'compress', 'true'); } + // Begin the request + xhr.open(method, url); + xhr.withCredentials = true; + // Set the HTTP headers Object.entries(headers).forEach(([k, v]) => xhr.setRequestHeader(k, v)); diff --git a/src/plugins/bfetch/server/index.ts b/src/plugins/bfetch/server/index.ts index c533b2ad7a3df..f4c41d10e42cb 100644 --- a/src/plugins/bfetch/server/index.ts +++ b/src/plugins/bfetch/server/index.ts @@ -10,7 +10,6 @@ import { PluginInitializerContext } from '../../../core/server'; import { BfetchServerPlugin } from './plugin'; export { BfetchServerSetup, BfetchServerStart, BatchProcessingRouteParams } from './plugin'; -export { StreamingRequestHandler } from './types'; export function plugin(initializerContext: PluginInitializerContext) { return new BfetchServerPlugin(initializerContext); diff --git a/src/plugins/bfetch/server/mocks.ts b/src/plugins/bfetch/server/mocks.ts index bbb596bf8d5ff..dfa365d9e70b2 100644 --- a/src/plugins/bfetch/server/mocks.ts +++ b/src/plugins/bfetch/server/mocks.ts @@ -17,7 +17,6 @@ const createSetupContract = (): Setup => { const setupContract: Setup = { addBatchProcessingRoute: jest.fn(), addStreamingResponseRoute: jest.fn(), - createStreamingRequestHandler: jest.fn(), }; return setupContract; }; diff --git a/src/plugins/bfetch/server/plugin.ts b/src/plugins/bfetch/server/plugin.ts index 7b60be9a8fc75..f7127445f96c5 100644 --- a/src/plugins/bfetch/server/plugin.ts +++ b/src/plugins/bfetch/server/plugin.ts @@ -13,9 +13,6 @@ import type { Plugin, Logger, KibanaRequest, - RouteMethod, - RequestHandler, - RequestHandlerContext, StartServicesAccessor, } from 'src/core/server'; import { schema } from '@kbn/config-schema'; @@ -28,7 +25,6 @@ import { removeLeadingSlash, normalizeError, } from '../common'; -import { StreamingRequestHandler } from './types'; import { createStream } from './streaming'; import { getUiSettings } from './ui_settings'; @@ -52,44 +48,6 @@ export interface BfetchServerSetup { path: string, params: (request: KibanaRequest) => StreamingResponseHandler ) => void; - /** - * Create a streaming request handler to be able to use an Observable to return chunked content to the client. - * This is meant to be used with the `fetchStreaming` API of the `bfetch` client-side plugin. - * - * @example - * ```ts - * setup({ http }: CoreStart, { bfetch }: SetupDeps) { - * const router = http.createRouter(); - * router.post( - * { - * path: '/api/my-plugin/stream-endpoint, - * validate: { - * body: schema.object({ - * term: schema.string(), - * }), - * } - * }, - * bfetch.createStreamingResponseHandler(async (ctx, req) => { - * const { term } = req.body; - * const results$ = await myApi.getResults$(term); - * return results$; - * }) - * )} - * - * ``` - * - * @param streamHandler - */ - createStreamingRequestHandler: < - Response, - P, - Q, - B, - Context extends RequestHandlerContext = RequestHandlerContext, - Method extends RouteMethod = any - >( - streamHandler: StreamingRequestHandler - ) => RequestHandler; } // eslint-disable-next-line @@ -124,15 +82,10 @@ export class BfetchServerPlugin logger, }); const addBatchProcessingRoute = this.addBatchProcessingRoute(addStreamingResponseRoute); - const createStreamingRequestHandler = this.createStreamingRequestHandler({ - getStartServices: core.getStartServices, - logger, - }); return { addBatchProcessingRoute, addStreamingResponseRoute, - createStreamingRequestHandler, }; } @@ -142,10 +95,6 @@ export class BfetchServerPlugin public stop() {} - private getCompressionDisabled(request: KibanaRequest) { - return request.headers['x-chunk-encoding'] !== 'deflate'; - } - private addStreamingResponseRoute = ({ getStartServices, @@ -162,42 +111,21 @@ export class BfetchServerPlugin path: `/${removeLeadingSlash(path)}`, validate: { body: schema.any(), + query: schema.object({ compress: schema.boolean({ defaultValue: false }) }), }, }, async (context, request, response) => { const handlerInstance = handler(request); const data = request.body; - const compressionDisabled = this.getCompressionDisabled(request); + const compress = request.query.compress; return response.ok({ headers: streamingHeaders, - body: createStream( - handlerInstance.getResponseStream(data), - logger, - compressionDisabled - ), + body: createStream(handlerInstance.getResponseStream(data), logger, compress), }); } ); }; - private createStreamingRequestHandler = - ({ - logger, - getStartServices, - }: { - logger: Logger; - getStartServices: StartServicesAccessor; - }): BfetchServerSetup['createStreamingRequestHandler'] => - (streamHandler) => - async (context, request, response) => { - const response$ = await streamHandler(context, request); - const compressionDisabled = this.getCompressionDisabled(request); - return response.ok({ - headers: streamingHeaders, - body: createStream(response$, logger, compressionDisabled), - }); - }; - private addBatchProcessingRoute = ( addStreamingResponseRoute: BfetchServerSetup['addStreamingResponseRoute'] diff --git a/src/plugins/bfetch/server/streaming/create_stream.ts b/src/plugins/bfetch/server/streaming/create_stream.ts index 7d6981294341b..756a806a60229 100644 --- a/src/plugins/bfetch/server/streaming/create_stream.ts +++ b/src/plugins/bfetch/server/streaming/create_stream.ts @@ -15,9 +15,9 @@ import { createNDJSONStream } from './create_ndjson_stream'; export function createStream( response$: Observable, logger: Logger, - compressionDisabled: boolean + compress: boolean ): Stream { - return compressionDisabled - ? createNDJSONStream(response$, logger) - : createCompressedStream(response$, logger); + return compress + ? createCompressedStream(response$, logger) + : createNDJSONStream(response$, logger); } diff --git a/src/plugins/bfetch/server/types.ts b/src/plugins/bfetch/server/types.ts deleted file mode 100644 index 4e54744f4c374..0000000000000 --- a/src/plugins/bfetch/server/types.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { Observable } from 'rxjs'; -import { KibanaRequest, RequestHandlerContext, RouteMethod } from 'kibana/server'; - -/** - * Request handler modified to allow to return an observable. - * - * See {@link BfetchServerSetup.createStreamingRequestHandler} for usage example. - * @public - */ -export type StreamingRequestHandler< - Response = unknown, - P = unknown, - Q = unknown, - B = unknown, - Method extends RouteMethod = any -> = ( - context: RequestHandlerContext, - request: KibanaRequest -) => Observable | Promise>; diff --git a/test/api_integration/apis/search/bsearch.ts b/test/api_integration/apis/search/bsearch.ts index f80bc1d0d9dfa..6aee2b542da0f 100644 --- a/test/api_integration/apis/search/bsearch.ts +++ b/test/api_integration/apis/search/bsearch.ts @@ -29,28 +29,25 @@ export default function ({ getService }: FtrProviderContext) { describe('bsearch', () => { describe('post', () => { it('should return 200 a single response', async () => { - const resp = await supertest - .post(`/internal/bsearch`) - .set({ 'X-Chunk-Encoding': '' }) - .send({ - batch: [ - { - request: { - params: { - index: '.kibana', - body: { - query: { - match_all: {}, - }, + const resp = await supertest.post(`/internal/bsearch`).send({ + batch: [ + { + request: { + params: { + index: '.kibana', + body: { + query: { + match_all: {}, }, }, }, - options: { - strategy: 'es', - }, }, - ], - }); + options: { + strategy: 'es', + }, + }, + ], + }); const jsonBody = parseBfetchResponse(resp); @@ -62,28 +59,25 @@ export default function ({ getService }: FtrProviderContext) { }); it('should return 200 a single response from compressed', async () => { - const resp = await supertest - .post(`/internal/bsearch`) - .set({ 'X-Chunk-Encoding': 'deflate' }) - .send({ - batch: [ - { - request: { - params: { - index: '.kibana', - body: { - query: { - match_all: {}, - }, + const resp = await supertest.post(`/internal/bsearch?compress=true`).send({ + batch: [ + { + request: { + params: { + index: '.kibana', + body: { + query: { + match_all: {}, }, }, }, - options: { - strategy: 'es', - }, }, - ], - }); + options: { + strategy: 'es', + }, + }, + ], + }); const jsonBody = parseBfetchResponse(resp, true); From e92a945ab1416356cda36da998ab90f1fd013c87 Mon Sep 17 00:00:00 2001 From: Stacey Gammon Date: Mon, 11 Oct 2021 13:58:18 -0400 Subject: [PATCH 023/107] Add packages to our API documentation (#113564) (#114513) * Add packages * Update docs * Fix test and types * debug heap size * remove debug heap line * updated docs # Conflicts: # api_docs/alerting.mdx # api_docs/apm.json # api_docs/core.mdx # api_docs/core_application.mdx # api_docs/core_chrome.mdx # api_docs/core_http.mdx # api_docs/core_saved_objects.mdx # api_docs/custom_integrations.mdx # api_docs/data.json # api_docs/data.mdx # api_docs/data_autocomplete.mdx # api_docs/data_data_views.json # api_docs/data_data_views.mdx # api_docs/data_query.mdx # api_docs/data_search.mdx # api_docs/data_ui.mdx # api_docs/deprecations_by_api.mdx # api_docs/deprecations_by_plugin.mdx # api_docs/discover_enhanced.json # api_docs/embeddable.json # api_docs/event_log.mdx # api_docs/fleet.mdx # api_docs/home.json # api_docs/index_management.json # api_docs/interactive_setup.mdx # api_docs/kibana_legacy.json # api_docs/kibana_legacy.mdx # api_docs/observability.mdx # api_docs/plugin_directory.mdx # api_docs/security_oss.mdx --- api_docs/actions.mdx | 4 +- api_docs/advanced_settings.mdx | 4 +- api_docs/alerting.json | 61 +- api_docs/alerting.mdx | 6 +- api_docs/apm.json | 776 +- api_docs/apm.mdx | 6 +- api_docs/apm_oss.mdx | 4 +- api_docs/banners.mdx | 4 +- api_docs/bfetch.mdx | 4 +- api_docs/canvas.mdx | 4 +- api_docs/cases.mdx | 4 +- api_docs/charts.json | 953 +- api_docs/charts.mdx | 12 +- api_docs/cloud.mdx | 4 +- api_docs/console.json | 8 +- api_docs/console.mdx | 4 +- api_docs/core.json | 615 +- api_docs/core.mdx | 6 +- api_docs/core_application.json | 2 +- api_docs/core_application.mdx | 6 +- api_docs/core_chrome.mdx | 6 +- api_docs/core_http.json | 88 +- api_docs/core_http.mdx | 6 +- api_docs/core_saved_objects.json | 32 +- api_docs/core_saved_objects.mdx | 6 +- api_docs/custom_integrations.json | 507 +- api_docs/custom_integrations.mdx | 9 +- api_docs/dashboard.json | 78 +- api_docs/dashboard.mdx | 4 +- api_docs/dashboard_enhanced.json | 26 +- api_docs/dashboard_enhanced.mdx | 4 +- api_docs/dashboard_mode.mdx | 4 +- api_docs/data.json | 28029 +++++++++++++--- api_docs/data.mdx | 6 +- api_docs/data_autocomplete.json | 8 +- api_docs/data_autocomplete.mdx | 6 +- api_docs/data_data_views.json | 14262 -------- api_docs/data_data_views.mdx | 53 - api_docs/data_enhanced.mdx | 4 +- api_docs/data_query.json | 468 +- api_docs/data_query.mdx | 6 +- api_docs/data_search.json | 1120 +- api_docs/data_search.mdx | 6 +- api_docs/data_ui.json | 36 +- api_docs/data_ui.mdx | 6 +- api_docs/data_views.json | 27060 +++++++++++++++ api_docs/data_views.mdx | 79 + api_docs/data_visualizer.json | 361 +- api_docs/data_visualizer.mdx | 9 +- api_docs/deprecations_by_api.mdx | 104 +- api_docs/deprecations_by_plugin.mdx | 403 +- api_docs/dev_tools.mdx | 4 +- api_docs/discover.json | 76 +- api_docs/discover.mdx | 4 +- api_docs/discover_enhanced.mdx | 4 +- api_docs/elastic_datemath.json | 578 + api_docs/elastic_datemath.mdx | 33 + api_docs/embeddable.json | 96 +- api_docs/embeddable.mdx | 4 +- api_docs/embeddable_enhanced.mdx | 4 +- api_docs/encrypted_saved_objects.mdx | 4 +- api_docs/enterprise_search.json | 64 +- api_docs/enterprise_search.mdx | 4 +- api_docs/es_ui_shared.mdx | 4 +- api_docs/event_log.json | 22 +- api_docs/event_log.mdx | 4 +- api_docs/expression_error.mdx | 4 +- api_docs/expression_image.json | 8 +- api_docs/expression_image.mdx | 4 +- api_docs/expression_metric.json | 8 +- api_docs/expression_metric.mdx | 4 +- api_docs/expression_metric_vis.json | 837 + api_docs/expression_metric_vis.mdx | 33 + api_docs/expression_repeat_image.json | 8 +- api_docs/expression_repeat_image.mdx | 4 +- api_docs/expression_reveal_image.mdx | 4 +- api_docs/expression_shape.json | 32 +- api_docs/expression_shape.mdx | 4 +- api_docs/expression_tagcloud.mdx | 4 +- api_docs/expressions.json | 2802 +- api_docs/expressions.mdx | 6 +- api_docs/features.json | 96 +- api_docs/features.mdx | 4 +- api_docs/field_formats.json | 632 +- api_docs/field_formats.mdx | 4 +- api_docs/file_upload.json | 264 +- api_docs/file_upload.mdx | 4 +- api_docs/fleet.json | 1065 +- api_docs/fleet.mdx | 6 +- api_docs/global_search.json | 16 +- api_docs/global_search.mdx | 4 +- api_docs/home.json | 28 +- api_docs/home.mdx | 4 +- api_docs/index_lifecycle_management.json | 8 +- api_docs/index_lifecycle_management.mdx | 4 +- api_docs/index_management.mdx | 4 +- api_docs/index_pattern_editor.json | 8 +- api_docs/index_pattern_editor.mdx | 4 +- api_docs/index_pattern_field_editor.json | 16 +- api_docs/index_pattern_field_editor.mdx | 4 +- api_docs/index_pattern_management.mdx | 4 +- api_docs/infra.mdx | 4 +- api_docs/inspector.mdx | 4 +- api_docs/kbn_ace.json | 199 + api_docs/kbn_ace.mdx | 30 + api_docs/kbn_alerts.json | 155 + api_docs/kbn_alerts.mdx | 30 + api_docs/kbn_analytics.json | 1181 + api_docs/kbn_analytics.mdx | 36 + api_docs/kbn_apm_config_loader.json | 237 + api_docs/kbn_apm_config_loader.mdx | 30 + api_docs/kbn_apm_utils.json | 221 + api_docs/kbn_apm_utils.mdx | 30 + api_docs/kbn_cli_dev_mode.json | 59 + api_docs/kbn_cli_dev_mode.mdx | 27 + api_docs/kbn_config.json | 1186 + api_docs/kbn_config.mdx | 36 + api_docs/kbn_config_schema.json | 3495 ++ api_docs/kbn_config_schema.mdx | 36 + api_docs/kbn_crypto.json | 243 + api_docs/kbn_crypto.mdx | 30 + api_docs/kbn_dev_utils.json | 4264 +++ api_docs/kbn_dev_utils.mdx | 36 + api_docs/kbn_docs_utils.json | 44 + api_docs/kbn_docs_utils.mdx | 27 + api_docs/kbn_es_archiver.json | 428 + api_docs/kbn_es_archiver.mdx | 30 + api_docs/kbn_es_query.json | 4658 +++ api_docs/kbn_es_query.mdx | 42 + api_docs/kbn_field_types.json | 342 + api_docs/kbn_field_types.mdx | 36 + api_docs/kbn_i18n.json | 58 + api_docs/kbn_i18n.mdx | 27 + api_docs/kbn_io_ts_utils.json | 446 + api_docs/kbn_io_ts_utils.mdx | 30 + api_docs/kbn_legacy_logging.json | 584 + api_docs/kbn_legacy_logging.mdx | 33 + api_docs/kbn_logging.json | 760 + api_docs/kbn_logging.mdx | 30 + api_docs/kbn_mapbox_gl.json | 6897 ++++ api_docs/kbn_mapbox_gl.mdx | 33 + api_docs/kbn_monaco.json | 579 + api_docs/kbn_monaco.mdx | 36 + api_docs/kbn_optimizer.json | 867 + api_docs/kbn_optimizer.mdx | 33 + api_docs/kbn_plugin_generator.json | 44 + api_docs/kbn_plugin_generator.mdx | 27 + api_docs/kbn_plugin_helpers.json | 44 + api_docs/kbn_plugin_helpers.mdx | 27 + api_docs/kbn_pm.json | 943 + api_docs/kbn_pm.mdx | 30 + api_docs/kbn_rule_data_utils.json | 1100 + api_docs/kbn_rule_data_utils.mdx | 33 + .../kbn_securitysolution_autocomplete.json | 855 + .../kbn_securitysolution_autocomplete.mdx | 33 + api_docs/kbn_securitysolution_es_utils.json | 8372 +++++ api_docs/kbn_securitysolution_es_utils.mdx | 33 + api_docs/kbn_securitysolution_hook_utils.json | 190 + api_docs/kbn_securitysolution_hook_utils.mdx | 30 + ...securitysolution_io_ts_alerting_types.json | 2835 ++ ..._securitysolution_io_ts_alerting_types.mdx | 33 + ...kbn_securitysolution_io_ts_list_types.json | 8113 +++++ .../kbn_securitysolution_io_ts_list_types.mdx | 39 + .../kbn_securitysolution_io_ts_types.json | 760 + api_docs/kbn_securitysolution_io_ts_types.mdx | 33 + .../kbn_securitysolution_io_ts_utils.json | 507 + api_docs/kbn_securitysolution_io_ts_utils.mdx | 27 + api_docs/kbn_securitysolution_list_api.json | 868 + api_docs/kbn_securitysolution_list_api.mdx | 27 + .../kbn_securitysolution_list_constants.json | 369 + .../kbn_securitysolution_list_constants.mdx | 27 + api_docs/kbn_securitysolution_list_hooks.json | 1202 + api_docs/kbn_securitysolution_list_hooks.mdx | 33 + api_docs/kbn_securitysolution_list_utils.json | 4209 +++ api_docs/kbn_securitysolution_list_utils.mdx | 36 + api_docs/kbn_securitysolution_t_grid.json | 1776 + api_docs/kbn_securitysolution_t_grid.mdx | 36 + api_docs/kbn_securitysolution_utils.json | 94 + api_docs/kbn_securitysolution_utils.mdx | 27 + api_docs/kbn_server_http_tools.json | 914 + api_docs/kbn_server_http_tools.mdx | 36 + api_docs/kbn_server_route_repository.json | 668 + api_docs/kbn_server_route_repository.mdx | 36 + api_docs/kbn_std.json | 1603 + api_docs/kbn_std.mdx | 33 + api_docs/kbn_storybook.json | 316 + api_docs/kbn_storybook.mdx | 30 + api_docs/kbn_telemetry_tools.json | 60 + api_docs/kbn_telemetry_tools.mdx | 27 + api_docs/kbn_test.json | 3448 ++ api_docs/kbn_test.mdx | 39 + api_docs/kbn_typed_react_router_config.json | 4469 +++ api_docs/kbn_typed_react_router_config.mdx | 33 + api_docs/kbn_utility_types.json | 604 + api_docs/kbn_utility_types.mdx | 30 + api_docs/kbn_utils.json | 549 + api_docs/kbn_utils.mdx | 33 + api_docs/kibana_legacy.json | 32 +- api_docs/kibana_legacy.mdx | 4 +- api_docs/kibana_overview.mdx | 4 +- api_docs/kibana_react.mdx | 4 +- api_docs/kibana_utils.json | 152 +- api_docs/kibana_utils.mdx | 6 +- api_docs/lens.json | 109 +- api_docs/lens.mdx | 6 +- api_docs/license_api_guard.mdx | 4 +- api_docs/license_management.mdx | 4 +- api_docs/licensing.json | 16 + api_docs/licensing.mdx | 4 +- api_docs/lists.json | 14 +- api_docs/lists.mdx | 4 +- api_docs/management.mdx | 4 +- api_docs/maps.json | 104 +- api_docs/maps.mdx | 4 +- api_docs/maps_ems.mdx | 4 +- api_docs/maps_legacy.mdx | 4 +- api_docs/metrics_entities.mdx | 4 +- api_docs/ml.json | 34 +- api_docs/ml.mdx | 6 +- api_docs/monitoring.mdx | 4 +- api_docs/navigation.mdx | 4 +- api_docs/newsfeed.mdx | 4 +- api_docs/observability.json | 326 +- api_docs/observability.mdx | 6 +- api_docs/osquery.mdx | 4 +- api_docs/plugin_directory.mdx | 104 +- api_docs/presentation_util.json | 8 +- api_docs/presentation_util.mdx | 4 +- api_docs/region_map.mdx | 4 +- api_docs/remote_clusters.mdx | 4 +- api_docs/reporting.json | 24 +- api_docs/reporting.mdx | 4 +- api_docs/rollup.mdx | 4 +- api_docs/rule_registry.json | 98 +- api_docs/rule_registry.mdx | 4 +- api_docs/runtime_fields.mdx | 4 +- api_docs/saved_objects.json | 56 +- api_docs/saved_objects.mdx | 4 +- api_docs/saved_objects_management.mdx | 4 +- api_docs/saved_objects_tagging.mdx | 4 +- api_docs/saved_objects_tagging_oss.mdx | 4 +- api_docs/screenshot_mode.mdx | 4 +- api_docs/security.json | 25 +- api_docs/security.mdx | 6 +- api_docs/security_solution.json | 2755 +- api_docs/security_solution.mdx | 6 +- api_docs/share.json | 159 +- api_docs/share.mdx | 6 +- api_docs/snapshot_restore.mdx | 4 +- api_docs/spaces.json | 90 +- api_docs/spaces.mdx | 6 +- api_docs/stack_alerts.json | 16 +- api_docs/stack_alerts.mdx | 4 +- api_docs/task_manager.mdx | 4 +- api_docs/telemetry.mdx | 4 +- api_docs/telemetry_collection_manager.json | 8 +- api_docs/telemetry_collection_manager.mdx | 4 +- api_docs/telemetry_collection_xpack.mdx | 4 +- api_docs/telemetry_management_section.mdx | 4 +- api_docs/timelines.json | 94 +- api_docs/timelines.mdx | 4 +- api_docs/transform.json | 101 + api_docs/transform.mdx | 37 + api_docs/triggers_actions_ui.json | 72 +- api_docs/triggers_actions_ui.mdx | 4 +- api_docs/ui_actions.mdx | 4 +- api_docs/ui_actions_enhanced.json | 104 +- api_docs/ui_actions_enhanced.mdx | 4 +- api_docs/url_forwarding.mdx | 4 +- api_docs/usage_collection.json | 40 +- api_docs/usage_collection.mdx | 4 +- api_docs/vis_default_editor.json | 8 +- api_docs/vis_default_editor.mdx | 4 +- api_docs/vis_type_pie.mdx | 4 +- api_docs/vis_type_table.mdx | 4 +- api_docs/vis_type_timelion.mdx | 4 +- api_docs/vis_type_timeseries.mdx | 4 +- api_docs/vis_type_vega.mdx | 4 +- api_docs/vis_type_vislib.json | 4 +- api_docs/vis_type_vislib.mdx | 4 +- api_docs/vis_type_xy.json | 8 +- api_docs/vis_type_xy.mdx | 4 +- api_docs/visualizations.json | 140 +- api_docs/visualizations.mdx | 4 +- api_docs/visualize.json | 16 +- api_docs/visualize.mdx | 4 +- .../buid_api_declaration.test.ts | 6 +- .../build_api_declaration.ts | 6 +- .../extract_import_refs.test.ts | 29 +- .../extract_import_refs.ts | 11 +- .../build_api_declarations/get_references.ts | 8 +- .../build_api_declarations/get_signature.ts | 6 +- .../api_docs/build_api_declarations/types.ts | 6 +- .../src/api_docs/build_api_docs_cli.ts | 2 + .../src/api_docs/find_plugins.ts | 62 +- .../get_declaration_nodes_for_plugin.ts | 14 +- .../src/api_docs/get_plugin_api.ts | 14 +- .../src/api_docs/get_plugin_api_map.ts | 5 +- .../api_docs/mdx/split_apis_by_folder.test.ts | 6 +- .../kbn-docs-utils/src/api_docs/mdx/types.ts | 6 +- .../mdx/write_deprecations_doc_by_api.ts | 2 +- .../mdx/write_deprecations_doc_by_plugin.ts | 2 +- .../mdx/write_plugin_directory_doc.ts | 86 +- .../src/api_docs/mdx/write_plugin_mdx_docs.ts | 13 +- .../mdx/write_plugin_split_by_folder.test.ts | 5 +- .../src/api_docs/tests/api_doc_suite.test.ts | 14 +- .../tests/kibana_platform_plugin_mock.ts | 29 +- .../tests/snapshots/plugin_a.foo.json | 76 + .../api_docs/tests/snapshots/plugin_a.foo.mdx | 35 + .../src/api_docs/tests/snapshots/plugin_a.mdx | 4 +- .../api_docs/tests/snapshots/plugin_a_foo.mdx | 4 +- .../src/api_docs/tests/snapshots/plugin_b.mdx | 4 +- packages/kbn-docs-utils/src/api_docs/types.ts | 18 + .../kbn-docs-utils/src/api_docs/utils.test.ts | 12 +- packages/kbn-docs-utils/src/api_docs/utils.ts | 36 +- packages/kbn-docs-utils/src/index.ts | 2 +- 316 files changed, 138529 insertions(+), 22458 deletions(-) delete mode 100644 api_docs/data_data_views.json delete mode 100644 api_docs/data_data_views.mdx create mode 100644 api_docs/data_views.json create mode 100644 api_docs/data_views.mdx create mode 100644 api_docs/elastic_datemath.json create mode 100644 api_docs/elastic_datemath.mdx create mode 100644 api_docs/expression_metric_vis.json create mode 100644 api_docs/expression_metric_vis.mdx create mode 100644 api_docs/kbn_ace.json create mode 100644 api_docs/kbn_ace.mdx create mode 100644 api_docs/kbn_alerts.json create mode 100644 api_docs/kbn_alerts.mdx create mode 100644 api_docs/kbn_analytics.json create mode 100644 api_docs/kbn_analytics.mdx create mode 100644 api_docs/kbn_apm_config_loader.json create mode 100644 api_docs/kbn_apm_config_loader.mdx create mode 100644 api_docs/kbn_apm_utils.json create mode 100644 api_docs/kbn_apm_utils.mdx create mode 100644 api_docs/kbn_cli_dev_mode.json create mode 100644 api_docs/kbn_cli_dev_mode.mdx create mode 100644 api_docs/kbn_config.json create mode 100644 api_docs/kbn_config.mdx create mode 100644 api_docs/kbn_config_schema.json create mode 100644 api_docs/kbn_config_schema.mdx create mode 100644 api_docs/kbn_crypto.json create mode 100644 api_docs/kbn_crypto.mdx create mode 100644 api_docs/kbn_dev_utils.json create mode 100644 api_docs/kbn_dev_utils.mdx create mode 100644 api_docs/kbn_docs_utils.json create mode 100644 api_docs/kbn_docs_utils.mdx create mode 100644 api_docs/kbn_es_archiver.json create mode 100644 api_docs/kbn_es_archiver.mdx create mode 100644 api_docs/kbn_es_query.json create mode 100644 api_docs/kbn_es_query.mdx create mode 100644 api_docs/kbn_field_types.json create mode 100644 api_docs/kbn_field_types.mdx create mode 100644 api_docs/kbn_i18n.json create mode 100644 api_docs/kbn_i18n.mdx create mode 100644 api_docs/kbn_io_ts_utils.json create mode 100644 api_docs/kbn_io_ts_utils.mdx create mode 100644 api_docs/kbn_legacy_logging.json create mode 100644 api_docs/kbn_legacy_logging.mdx create mode 100644 api_docs/kbn_logging.json create mode 100644 api_docs/kbn_logging.mdx create mode 100644 api_docs/kbn_mapbox_gl.json create mode 100644 api_docs/kbn_mapbox_gl.mdx create mode 100644 api_docs/kbn_monaco.json create mode 100644 api_docs/kbn_monaco.mdx create mode 100644 api_docs/kbn_optimizer.json create mode 100644 api_docs/kbn_optimizer.mdx create mode 100644 api_docs/kbn_plugin_generator.json create mode 100644 api_docs/kbn_plugin_generator.mdx create mode 100644 api_docs/kbn_plugin_helpers.json create mode 100644 api_docs/kbn_plugin_helpers.mdx create mode 100644 api_docs/kbn_pm.json create mode 100644 api_docs/kbn_pm.mdx create mode 100644 api_docs/kbn_rule_data_utils.json create mode 100644 api_docs/kbn_rule_data_utils.mdx create mode 100644 api_docs/kbn_securitysolution_autocomplete.json create mode 100644 api_docs/kbn_securitysolution_autocomplete.mdx create mode 100644 api_docs/kbn_securitysolution_es_utils.json create mode 100644 api_docs/kbn_securitysolution_es_utils.mdx create mode 100644 api_docs/kbn_securitysolution_hook_utils.json create mode 100644 api_docs/kbn_securitysolution_hook_utils.mdx create mode 100644 api_docs/kbn_securitysolution_io_ts_alerting_types.json create mode 100644 api_docs/kbn_securitysolution_io_ts_alerting_types.mdx create mode 100644 api_docs/kbn_securitysolution_io_ts_list_types.json create mode 100644 api_docs/kbn_securitysolution_io_ts_list_types.mdx create mode 100644 api_docs/kbn_securitysolution_io_ts_types.json create mode 100644 api_docs/kbn_securitysolution_io_ts_types.mdx create mode 100644 api_docs/kbn_securitysolution_io_ts_utils.json create mode 100644 api_docs/kbn_securitysolution_io_ts_utils.mdx create mode 100644 api_docs/kbn_securitysolution_list_api.json create mode 100644 api_docs/kbn_securitysolution_list_api.mdx create mode 100644 api_docs/kbn_securitysolution_list_constants.json create mode 100644 api_docs/kbn_securitysolution_list_constants.mdx create mode 100644 api_docs/kbn_securitysolution_list_hooks.json create mode 100644 api_docs/kbn_securitysolution_list_hooks.mdx create mode 100644 api_docs/kbn_securitysolution_list_utils.json create mode 100644 api_docs/kbn_securitysolution_list_utils.mdx create mode 100644 api_docs/kbn_securitysolution_t_grid.json create mode 100644 api_docs/kbn_securitysolution_t_grid.mdx create mode 100644 api_docs/kbn_securitysolution_utils.json create mode 100644 api_docs/kbn_securitysolution_utils.mdx create mode 100644 api_docs/kbn_server_http_tools.json create mode 100644 api_docs/kbn_server_http_tools.mdx create mode 100644 api_docs/kbn_server_route_repository.json create mode 100644 api_docs/kbn_server_route_repository.mdx create mode 100644 api_docs/kbn_std.json create mode 100644 api_docs/kbn_std.mdx create mode 100644 api_docs/kbn_storybook.json create mode 100644 api_docs/kbn_storybook.mdx create mode 100644 api_docs/kbn_telemetry_tools.json create mode 100644 api_docs/kbn_telemetry_tools.mdx create mode 100644 api_docs/kbn_test.json create mode 100644 api_docs/kbn_test.mdx create mode 100644 api_docs/kbn_typed_react_router_config.json create mode 100644 api_docs/kbn_typed_react_router_config.mdx create mode 100644 api_docs/kbn_utility_types.json create mode 100644 api_docs/kbn_utility_types.mdx create mode 100644 api_docs/kbn_utils.json create mode 100644 api_docs/kbn_utils.mdx create mode 100644 api_docs/transform.json create mode 100644 api_docs/transform.mdx create mode 100644 packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.foo.json create mode 100644 packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.foo.mdx diff --git a/api_docs/actions.mdx b/api_docs/actions.mdx index eb93cb0c5944c..4d74f2838d3f9 100644 --- a/api_docs/actions.mdx +++ b/api_docs/actions.mdx @@ -1,7 +1,7 @@ --- id: kibActionsPluginApi -slug: /kibana-dev-docs/actionsPluginApi -title: actions +slug: /kibana-dev-docs/api/actions +title: "actions" image: https://source.unsplash.com/400x175/?github summary: API docs for the actions plugin date: 2020-11-16 diff --git a/api_docs/advanced_settings.mdx b/api_docs/advanced_settings.mdx index 99a905767621a..2dd45d7d3c5eb 100644 --- a/api_docs/advanced_settings.mdx +++ b/api_docs/advanced_settings.mdx @@ -1,7 +1,7 @@ --- id: kibAdvancedSettingsPluginApi -slug: /kibana-dev-docs/advancedSettingsPluginApi -title: advancedSettings +slug: /kibana-dev-docs/api/advancedSettings +title: "advancedSettings" image: https://source.unsplash.com/400x175/?github summary: API docs for the advancedSettings plugin date: 2020-11-16 diff --git a/api_docs/alerting.json b/api_docs/alerting.json index b0de001f3f919..214fdb685f616 100644 --- a/api_docs/alerting.json +++ b/api_docs/alerting.json @@ -25,7 +25,13 @@ "text": "Alert" }, ", \"enabled\" | \"id\" | \"name\" | \"tags\" | \"params\" | \"actions\" | \"throttle\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\">) => string | ", - "JsonObject" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + } ], "path": "x-pack/plugins/alerting/public/alert_navigation_registry/types.ts", "deprecated": false, @@ -510,9 +516,21 @@ ", filterOpts: ", "AlertingAuthorizationFilterOpts", ") => Promise<{ filter?: ", - "KueryNode", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, " | ", - "JsonObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + }, " | undefined; ensureRuleTypeIsAuthorized: (ruleTypeId: string, consumer: string, auth: string) => void; logSuccessfulAuthorization: () => void; }>" ], "path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts", @@ -590,9 +608,21 @@ "text": "WriteOperations" }, ") => Promise<{ filter?: ", - "KueryNode", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, " | ", - "JsonObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + }, " | undefined; ensureRuleTypeIsAuthorized: (ruleTypeId: string, consumer: string, auth: string) => void; logSuccessfulAuthorization: () => void; }>" ], "path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts", @@ -1537,6 +1567,19 @@ "description": [], "path": "x-pack/plugins/alerting/server/types.ts", "deprecated": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.AlertType.ruleTaskTimeout", + "type": "string", + "tags": [], + "label": "ruleTaskTimeout", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "x-pack/plugins/alerting/server/types.ts", + "deprecated": false } ], "initialIsOpen": false @@ -3388,7 +3431,13 @@ "label": "state", "description": [], "signature": [ - "JsonObject" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + } ], "path": "x-pack/plugins/alerting/common/alert_navigation.ts", "deprecated": false diff --git a/api_docs/alerting.mdx b/api_docs/alerting.mdx index 801d8fa58d83a..3233144d4eac6 100644 --- a/api_docs/alerting.mdx +++ b/api_docs/alerting.mdx @@ -1,7 +1,7 @@ --- id: kibAlertingPluginApi -slug: /kibana-dev-docs/alertingPluginApi -title: alerting +slug: /kibana-dev-docs/api/alerting +title: "alerting" image: https://source.unsplash.com/400x175/?github summary: API docs for the alerting plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting- | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 248 | 0 | 240 | 16 | +| 249 | 0 | 241 | 16 | ## Client diff --git a/api_docs/apm.json b/api_docs/apm.json index feb2426c69268..bcd09f6ae5c97 100644 --- a/api_docs/apm.json +++ b/api_docs/apm.json @@ -455,7 +455,13 @@ "label": "logger", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "x-pack/plugins/apm/server/routes/typings.ts", "deprecated": false @@ -835,7 +841,13 @@ "label": "APMServerRouteRepository", "description": [], "signature": [ - "ServerRouteRepository", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRouteRepository", + "text": "ServerRouteRepository" + }, "<", { "pluginId": "apm", @@ -847,7 +859,13 @@ ", ", "APMRouteCreateOptions", ", { \"POST /api/apm/index_pattern/static\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /api/apm/index_pattern/static\", undefined, ", { "pluginId": "apm", @@ -859,7 +877,13 @@ ", { created: boolean; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/index_pattern/dynamic\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/index_pattern/dynamic\", undefined, ", { "pluginId": "apm", @@ -873,7 +897,13 @@ " | undefined; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/environments\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/environments\", ", "TypeC", "<{ query: ", @@ -899,7 +929,13 @@ ", { environments: string[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/errors\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/errors\", ", "TypeC", "<{ path: ", @@ -953,7 +989,13 @@ ", { errorGroups: { message: string; occurrenceCount: number; culprit: string | undefined; groupId: string; latestOccurrenceAt: string; handled: boolean | undefined; type: string | undefined; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/errors/{groupId}\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/errors/{groupId}\", ", "TypeC", "<{ path: ", @@ -1003,7 +1045,13 @@ "; occurrencesCount: number; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/errors/distribution\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/errors/distribution\", ", "TypeC", "<{ path: ", @@ -1051,7 +1099,13 @@ ", { noHits: boolean; buckets: { key: number; count: number; }[]; bucketSize: number; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/metrics/charts\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/metrics/charts\", ", "TypeC", "<{ path: ", @@ -1105,7 +1159,13 @@ ", ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/observability_overview\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/observability_overview\", ", "TypeC", "<{ query: ", @@ -1131,7 +1191,13 @@ ", { serviceCount: number; transactionPerMinute: { value: undefined; timeseries: never[]; } | { value: number; timeseries: { x: number; y: number | null; }[]; }; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/observability_overview/has_data\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/observability_overview/has_data\", undefined, ", { "pluginId": "apm", @@ -1145,7 +1211,13 @@ "; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/rum/client-metrics\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/rum/client-metrics\", ", "TypeC", "<{ query: ", @@ -1177,7 +1249,13 @@ ", { pageViews: { value: number; }; totalPageLoadDuration: { value: number; }; backEnd: { value: number; }; frontEnd: { value: number; }; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/rum-client/page-load-distribution\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/rum-client/page-load-distribution\", ", "TypeC", "<{ query: ", @@ -1217,7 +1295,13 @@ ", { pageLoadDistribution: { pageLoadDistribution: { x: number; y: number; }[]; percentiles: Record | undefined; minDuration: number; maxDuration: number; } | null; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/rum-client/page-load-distribution/breakdown\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/rum-client/page-load-distribution/breakdown\", ", "TypeC", "<{ query: ", @@ -1261,7 +1345,13 @@ ", { pageLoadDistBreakdown: { name: string; data: { x: number; y: number; }[]; }[] | undefined; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/rum-client/page-view-trends\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/rum-client/page-view-trends\", ", "TypeC", "<{ query: ", @@ -1299,7 +1389,13 @@ ", { topItems: string[]; items: Record[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/rum-client/services\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/rum-client/services\", ", "TypeC", "<{ query: ", @@ -1325,7 +1421,13 @@ ", { rumServices: string[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/rum-client/visitor-breakdown\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/rum-client/visitor-breakdown\", ", "TypeC", "<{ query: ", @@ -1357,7 +1459,13 @@ ", { os: { count: number; name: string; }[]; browsers: { count: number; name: string; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/rum-client/web-core-vitals\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/rum-client/web-core-vitals\", ", "TypeC", "<{ query: ", @@ -1389,7 +1497,13 @@ ", { coreVitalPages: number; cls: number | null; fid: number | null | undefined; lcp: number | null | undefined; tbt: number; fcp: number | null | undefined; lcpRanks: number[]; fidRanks: number[]; clsRanks: number[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/rum-client/long-task-metrics\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/rum-client/long-task-metrics\", ", "TypeC", "<{ query: ", @@ -1421,7 +1535,13 @@ ", { noOfLongTasks: number; sumOfLongTasks: number; longestLongTask: number; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/rum-client/url-search\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/rum-client/url-search\", ", "TypeC", "<{ query: ", @@ -1453,7 +1573,13 @@ ", { total: number; items: { url: string; count: number; pld: number; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/rum-client/js-errors\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/rum-client/js-errors\", ", "TypeC", "<{ query: ", @@ -1489,7 +1615,13 @@ ", { totalErrorPages: number; totalErrors: number; totalErrorGroups: number; items: { count: number; errorGroupId: React.ReactText; errorMessage: string; }[] | undefined; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/observability_overview/has_rum_data\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/observability_overview/has_rum_data\", ", "PartialC", "<{ query: ", @@ -1511,7 +1643,13 @@ ", { indices: string; hasData: boolean; serviceName: string | number | undefined; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/service-map\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/service-map\", ", "TypeC", "<{ query: ", @@ -1555,7 +1693,13 @@ " | undefined; label: string | undefined; id?: string | undefined; parent?: string | undefined; position?: cytoscape.Position | undefined; } | { 'span.destination.service.resource': string; 'span.type': string; 'span.subtype': string; label: string | undefined; id?: string | undefined; parent?: string | undefined; position?: cytoscape.Position | undefined; } | { id: string; source: string | undefined; target: string | undefined; label: string | undefined; bidirectional?: boolean | undefined; isInverseEdge?: boolean | undefined; } | undefined)[]; }; } | { data: { id: string; source: string; target: string; }; })[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/service-map/service/{serviceName}\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/service-map/service/{serviceName}\", ", "TypeC", "<{ path: ", @@ -1595,7 +1739,13 @@ ", { avgMemoryUsage: number | null; avgCpuUsage: number | null; transactionStats: { avgTransactionDuration: number | null; avgRequestsPerMinute: number | null; }; avgErrorRate: number | null; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/service-map/backend/{backendName}\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/service-map/backend/{backendName}\", ", "TypeC", "<{ path: ", @@ -1635,7 +1785,13 @@ ", { avgErrorRate: null; transactionStats: { avgRequestsPerMinute: null; avgTransactionDuration: null; }; } | { avgErrorRate: number; transactionStats: { avgRequestsPerMinute: number; avgTransactionDuration: number; }; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/serviceNodes\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/serviceNodes\", ", "TypeC", "<{ path: ", @@ -1679,7 +1835,13 @@ ", { serviceNodes: { name: string; cpu: number | null; heapMemory: number | null; hostName: string | null | undefined; nonHeapMemory: number | null; threadCount: number | null; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services\", ", "TypeC", "<{ query: ", @@ -1731,7 +1893,13 @@ "; }>; hasLegacyData: boolean; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/detailed_statistics\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/detailed_statistics\", ", "TypeC", "<{ query: ", @@ -1779,7 +1947,13 @@ ", { currentPeriod: _.Dictionary<{ serviceName: string; latency: { x: number; y: number | null; }[]; transactionErrorRate: { x: number; y: number; }[]; throughput: { x: number; y: number; }[]; }>; previousPeriod: _.Dictionary<{ serviceName: string; latency: { x: number; y: number | null; }[]; transactionErrorRate: { x: number; y: number; }[]; throughput: { x: number; y: number; }[]; }>; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/metadata/details\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/metadata/details\", ", "TypeC", "<{ path: ", @@ -1805,7 +1979,13 @@ ", ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/metadata/icons\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/metadata/icons\", ", "TypeC", "<{ path: ", @@ -1831,7 +2011,13 @@ ", ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/agent\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/agent\", ", "TypeC", "<{ path: ", @@ -1855,7 +2041,13 @@ ", { agentName?: undefined; runtimeName?: undefined; } | { agentName: string | undefined; runtimeName: string | undefined; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/transaction_types\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/transaction_types\", ", "TypeC", "<{ path: ", @@ -1879,7 +2071,13 @@ ", { transactionTypes: string[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/node/{serviceNodeName}/metadata\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/node/{serviceNodeName}/metadata\", ", "TypeC", "<{ path: ", @@ -1911,7 +2109,13 @@ ", { host: React.ReactText; containerId: React.ReactText; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/annotation/search\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/annotation/search\", ", "TypeC", "<{ path: ", @@ -1953,7 +2157,13 @@ "[]; }, ", "APMRouteCreateOptions", ">; } & { \"POST /api/apm/services/{serviceName}/annotation\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /api/apm/services/{serviceName}/annotation\", ", "TypeC", "<{ path: ", @@ -1997,7 +2207,13 @@ "; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/error_groups/main_statistics\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/error_groups/main_statistics\", ", "TypeC", "<{ path: ", @@ -2045,7 +2261,13 @@ ", { is_aggregation_accurate: boolean; error_groups: { group_id: string; name: string; lastSeen: number; occurrences: number; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/error_groups/detailed_statistics\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/error_groups/detailed_statistics\", ", "TypeC", "<{ path: ", @@ -2105,7 +2327,13 @@ "[]; }>; previousPeriod: _.Dictionary<{ timeseries: { x: number; y: number | null | undefined; }[]; groupId: string; }>; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/service_overview_instances/details/{serviceNodeName}\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/service_overview_instances/details/{serviceNodeName}\", ", "TypeC", "<{ path: ", @@ -2153,7 +2381,13 @@ " | undefined; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/throughput\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/throughput\", ", "TypeC", "<{ path: ", @@ -2215,7 +2449,13 @@ "; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/service_overview_instances/main_statistics\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/service_overview_instances/main_statistics\", ", "TypeC", "<{ path: ", @@ -2283,7 +2523,13 @@ ", { currentPeriod: { serviceNodeName: string; errorRate?: number | undefined; latency?: number | undefined; throughput?: number | undefined; cpuUsage?: number | null | undefined; memoryUsage?: number | null | undefined; }[]; previousPeriod: { serviceNodeName: string; errorRate?: number | undefined; latency?: number | undefined; throughput?: number | undefined; cpuUsage?: number | null | undefined; memoryUsage?: number | null | undefined; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/service_overview_instances/detailed_statistics\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/service_overview_instances/detailed_statistics\", ", "TypeC", "<{ path: ", @@ -2365,7 +2611,13 @@ "[] | undefined; }>; previousPeriod: _.Dictionary<{ cpuUsage: { x: number; y: number | null | undefined; }[]; errorRate: { x: number; y: number | null | undefined; }[]; latency: { x: number; y: number | null | undefined; }[]; memoryUsage: { x: number; y: number | null | undefined; }[]; throughput: { x: number; y: number | null | undefined; }[]; serviceNodeName: string; }>; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/dependencies\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/dependencies\", ", "TypeC", "<{ path: ", @@ -2431,7 +2683,13 @@ "; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/dependencies/breakdown\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/dependencies/breakdown\", ", "TypeC", "<{ path: ", @@ -2475,7 +2733,13 @@ ", { breakdown: { title: string; data: { x: number; y: number; }[]; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/profiling/timeline\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/profiling/timeline\", ", "TypeC", "<{ path: ", @@ -2519,7 +2783,13 @@ ", { profilingTimeline: { x: number; valueTypes: { wall_time: number; cpu_time: number; samples: number; alloc_objects: number; alloc_space: number; inuse_objects: number; inuse_space: number; unknown: number; }; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/profiling/statistics\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/profiling/statistics\", ", "TypeC", "<{ path: ", @@ -2597,7 +2867,13 @@ ">; rootNodes: string[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/alerts\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/alerts\", ", "TypeC", "<{ path: ", @@ -2641,7 +2917,13 @@ ", { alerts: Partial>[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/infrastructure\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/infrastructure\", ", "TypeC", "<{ path: ", @@ -2685,7 +2967,13 @@ ", { serviceInfrastructure: { containerIds: string[]; hostNames: string[]; }; }, ", "APMRouteCreateOptions", ">; } & { \"GET /internal/apm/suggestions\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/suggestions\", ", "PartialC", "<{ query: ", @@ -2705,7 +2993,13 @@ ", { terms: string[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/traces/{traceId}\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/traces/{traceId}\", ", "TypeC", "<{ path: ", @@ -2735,7 +3029,13 @@ "[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/traces\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/traces\", ", "TypeC", "<{ query: ", @@ -2777,7 +3077,13 @@ "[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/traces/{traceId}/root_transaction\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/traces/{traceId}/root_transaction\", ", "TypeC", "<{ path: ", @@ -2797,7 +3103,13 @@ "; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/transactions/{transactionId}\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/transactions/{transactionId}\", ", "TypeC", "<{ path: ", @@ -2817,7 +3129,13 @@ "; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/transactions/groups/main_statistics\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/transactions/groups/main_statistics\", ", "TypeC", "<{ path: ", @@ -2879,7 +3197,13 @@ ", { transactionGroups: { transactionType: string; name: string; latency: number | null; throughput: number; errorRate: number; impact: number; }[]; isAggregationAccurate: boolean; bucketSize: number; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/transactions/groups/detailed_statistics\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/transactions/groups/detailed_statistics\", ", "TypeC", "<{ path: ", @@ -2957,7 +3281,13 @@ "[]; impact: number; }>; previousPeriod: _.Dictionary<{ errorRate: { x: number; y: number | null | undefined; }[]; throughput: { x: number; y: number | null | undefined; }[]; latency: { x: number; y: number | null | undefined; }[]; transactionName: string; impact: number; }>; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/transactions/charts/latency\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/transactions/charts/latency\", ", "TypeC", "<{ path: ", @@ -3031,7 +3361,13 @@ ", { currentPeriod: { overallAvgDuration: number | null; latencyTimeseries: { x: number; y: number | null; }[]; }; previousPeriod: { latencyTimeseries: { x: number; y: number | null | undefined; }[]; overallAvgDuration: number | null; }; anomalyTimeseries: { jobId: string; anomalyScore: { x0: number; x: number; y: number; }[]; anomalyBoundaries: { x: number; y0: number; y: number; }[]; } | undefined; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/transactions/traces/samples\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/transactions/traces/samples\", ", "TypeC", "<{ path: ", @@ -3091,7 +3427,13 @@ ", { noHits: boolean; traceSamples: { transactionId: string; traceId: string; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/transaction/charts/breakdown\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/transaction/charts/breakdown\", ", "TypeC", "<{ path: ", @@ -3143,7 +3485,13 @@ ", { timeseries: { title: string; color: string; type: string; data: { x: number; y: number | null; }[]; hideLegend: boolean; legendValue: string; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/transactions/charts/error_rate\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/transactions/charts/error_rate\", ", "TypeC", "<{ path: ", @@ -3205,7 +3553,13 @@ "[]; average: number | null; }; previousPeriod: { transactionErrorRate: { x: number; y: number | null | undefined; }[]; noHits: boolean; average: number | null; }; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/alerts/chart_preview/transaction_error_rate\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/alerts/chart_preview/transaction_error_rate\", ", "TypeC", "<{ query: ", @@ -3259,7 +3613,13 @@ ", { errorRateChartPreview: { x: number; y: number; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/alerts/chart_preview/transaction_duration\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/alerts/chart_preview/transaction_duration\", ", "TypeC", "<{ query: ", @@ -3313,7 +3673,13 @@ ", { latencyChartPreview: { x: number; y: number | null; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/alerts/chart_preview/transaction_error_count\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/alerts/chart_preview/transaction_error_count\", ", "TypeC", "<{ query: ", @@ -3367,7 +3733,13 @@ ", { errorCountChartPreview: { x: number; y: number; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/settings/agent-configuration\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/settings/agent-configuration\", undefined, ", { "pluginId": "apm", @@ -3381,7 +3753,13 @@ "[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/settings/agent-configuration/view\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/settings/agent-configuration/view\", ", "PartialC", "<{ query: ", @@ -3403,7 +3781,13 @@ ", ", "APMRouteCreateOptions", ">; } & { \"DELETE /api/apm/settings/agent-configuration\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"DELETE /api/apm/settings/agent-configuration\", ", "TypeC", "<{ body: ", @@ -3425,7 +3809,13 @@ ", { result: string; }, ", "APMRouteCreateOptions", ">; } & { \"PUT /api/apm/settings/agent-configuration\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"PUT /api/apm/settings/agent-configuration\", ", "IntersectionC", "<[", @@ -3473,7 +3863,13 @@ ", void, ", "APMRouteCreateOptions", ">; } & { \"POST /api/apm/settings/agent-configuration/search\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /api/apm/settings/agent-configuration/search\", ", "TypeC", "<{ body: ", @@ -3507,7 +3903,13 @@ ", undefined, undefined> | null, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/settings/agent-configuration/services\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/settings/agent-configuration/services\", undefined, ", { "pluginId": "apm", @@ -3519,7 +3921,13 @@ ", { serviceNames: string[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/settings/agent-configuration/environments\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/settings/agent-configuration/environments\", ", "PartialC", "<{ query: ", @@ -3537,7 +3945,13 @@ ", { environments: { name: string; alreadyConfigured: boolean; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/settings/agent-configuration/agent_name\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/settings/agent-configuration/agent_name\", ", "TypeC", "<{ query: ", @@ -3555,7 +3969,13 @@ ", { agentName: string | undefined; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/settings/anomaly-detection/jobs\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/settings/anomaly-detection/jobs\", undefined, ", { "pluginId": "apm", @@ -3567,7 +3987,13 @@ ", { jobs: { job_id: string; environment: string; }[]; hasLegacyJobs: boolean; }, ", "APMRouteCreateOptions", ">; } & { \"POST /api/apm/settings/anomaly-detection/jobs\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /api/apm/settings/anomaly-detection/jobs\", ", "TypeC", "<{ body: ", @@ -3587,7 +4013,13 @@ ", { jobCreated: boolean; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/settings/anomaly-detection/environments\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/settings/anomaly-detection/environments\", undefined, ", { "pluginId": "apm", @@ -3599,7 +4031,13 @@ ", { environments: string[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/settings/apm-index-settings\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/settings/apm-index-settings\", undefined, ", { "pluginId": "apm", @@ -3611,7 +4049,13 @@ ", { apmIndexSettings: { configurationName: \"apm_oss.sourcemapIndices\" | \"apm_oss.errorIndices\" | \"apm_oss.onboardingIndices\" | \"apm_oss.spanIndices\" | \"apm_oss.transactionIndices\" | \"apm_oss.metricsIndices\" | \"apmAgentConfigurationIndex\" | \"apmCustomLinkIndex\"; defaultValue: string; savedValue: string | undefined; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/settings/apm-indices\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/settings/apm-indices\", undefined, ", { "pluginId": "apm", @@ -3625,7 +4069,13 @@ ", ", "APMRouteCreateOptions", ">; } & { \"POST /api/apm/settings/apm-indices/save\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /api/apm/settings/apm-indices/save\", ", "TypeC", "<{ body: ", @@ -3655,7 +4105,13 @@ "<{}>, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/settings/custom_links/transaction\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/settings/custom_links/transaction\", ", "PartialC", "<{ query: ", @@ -3681,7 +4137,13 @@ ", ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/settings/custom_links\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/settings/custom_links\", ", "PartialC", "<{ query: ", @@ -3707,7 +4169,13 @@ "[]; }, ", "APMRouteCreateOptions", ">; } & { \"POST /api/apm/settings/custom_links\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /api/apm/settings/custom_links\", ", "TypeC", "<{ body: ", @@ -3753,7 +4221,13 @@ ", void, ", "APMRouteCreateOptions", ">; } & { \"PUT /api/apm/settings/custom_links/{id}\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"PUT /api/apm/settings/custom_links/{id}\", ", "TypeC", "<{ path: ", @@ -3803,7 +4277,13 @@ ", void, ", "APMRouteCreateOptions", ">; } & { \"DELETE /api/apm/settings/custom_links/{id}\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"DELETE /api/apm/settings/custom_links/{id}\", ", "TypeC", "<{ path: ", @@ -3821,7 +4301,13 @@ ", { result: string; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/sourcemaps\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/sourcemaps\", undefined, ", { "pluginId": "apm", @@ -3835,7 +4321,13 @@ "[]; } | undefined, ", "APMRouteCreateOptions", ">; } & { \"POST /api/apm/sourcemaps\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /api/apm/sourcemaps\", ", "TypeC", "<{ body: ", @@ -3867,7 +4359,13 @@ " | undefined, ", "APMRouteCreateOptions", ">; } & { \"DELETE /api/apm/sourcemaps/{id}\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"DELETE /api/apm/sourcemaps/{id}\", ", "TypeC", "<{ path: ", @@ -3885,7 +4383,13 @@ ", void, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/fleet/has_data\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/fleet/has_data\", undefined, ", { "pluginId": "apm", @@ -3897,7 +4401,13 @@ ", { hasData: boolean; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/fleet/agents\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/fleet/agents\", undefined, ", { "pluginId": "apm", @@ -3909,7 +4419,13 @@ ", { cloudStandaloneSetup: { apmServerUrl: string | undefined; secretToken: string | undefined; } | undefined; isFleetEnabled: boolean; fleetAgents: { id: string; name: string; apmServerUrl: any; secretToken: any; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"POST /api/apm/fleet/apm_server_schema\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /api/apm/fleet/apm_server_schema\", ", "TypeC", "<{ body: ", @@ -3931,7 +4447,13 @@ ", void, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/fleet/apm_server_schema/unsupported\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/fleet/apm_server_schema/unsupported\", undefined, ", { "pluginId": "apm", @@ -3943,7 +4465,13 @@ ", { unsupported: { key: string; value: any; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/fleet/migration_check\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/fleet/migration_check\", undefined, ", { "pluginId": "apm", @@ -3955,7 +4483,13 @@ ", { has_cloud_agent_policy: boolean; has_cloud_apm_package_policy: boolean; cloud_apm_migration_enabled: boolean; has_required_role: boolean | undefined; }, ", "APMRouteCreateOptions", ">; } & { \"POST /api/apm/fleet/cloud_apm_package_policy\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /api/apm/fleet/cloud_apm_package_policy\", undefined, ", { "pluginId": "apm", @@ -3975,7 +4509,13 @@ "; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/backends/top_backends\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/backends/top_backends\", ", "IntersectionC", "<[", @@ -4045,7 +4585,13 @@ "; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/backends/{backendName}/upstream_services\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/backends/{backendName}/upstream_services\", ", "IntersectionC", "<[", @@ -4121,7 +4667,13 @@ "; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/backends/{backendName}/metadata\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/backends/{backendName}/metadata\", ", "TypeC", "<{ path: ", @@ -4145,7 +4697,13 @@ ", { metadata: { spanType: string | undefined; spanSubtype: string | undefined; }; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/backends/{backendName}/charts/latency\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/backends/{backendName}/charts/latency\", ", "TypeC", "<{ path: ", @@ -4193,7 +4751,13 @@ ", { currentTimeseries: { x: number; y: number; }[]; comparisonTimeseries: { x: number; y: number; }[] | null; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/backends/{backendName}/charts/throughput\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/backends/{backendName}/charts/throughput\", ", "TypeC", "<{ path: ", @@ -4241,7 +4805,13 @@ ", { currentTimeseries: { x: number; y: number | null; }[]; comparisonTimeseries: { x: number; y: number | null; }[] | null; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/backends/{backendName}/charts/error_rate\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/backends/{backendName}/charts/error_rate\", ", "TypeC", "<{ path: ", @@ -4289,7 +4859,13 @@ ", { currentTimeseries: { x: number; y: number; }[]; comparisonTimeseries: { x: number; y: number; }[] | null; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/fallback_to_transactions\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/fallback_to_transactions\", ", "PartialC", "<{ query: ", @@ -4315,7 +4891,13 @@ ", { fallbackToTransactions: boolean; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/has_data\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/has_data\", undefined, ", { "pluginId": "apm", diff --git a/api_docs/apm.mdx b/api_docs/apm.mdx index f3f38bcdd54ae..d9e53e6ec9df8 100644 --- a/api_docs/apm.mdx +++ b/api_docs/apm.mdx @@ -1,7 +1,7 @@ --- id: kibApmPluginApi -slug: /kibana-dev-docs/apmPluginApi -title: apm +slug: /kibana-dev-docs/api/apm +title: "apm" image: https://source.unsplash.com/400x175/?github summary: API docs for the apm plugin date: 2020-11-16 @@ -10,7 +10,7 @@ warning: This document is auto-generated and is meant to be viewed inside our ex --- import apmObj from './apm.json'; - +The user interface for Elastic APM Contact [APM UI](https://github.com/orgs/elastic/teams/apm-ui) for questions regarding this plugin. diff --git a/api_docs/apm_oss.mdx b/api_docs/apm_oss.mdx index 2189cd5b43edd..214147f9f4690 100644 --- a/api_docs/apm_oss.mdx +++ b/api_docs/apm_oss.mdx @@ -1,7 +1,7 @@ --- id: kibApmOssPluginApi -slug: /kibana-dev-docs/apmOssPluginApi -title: apmOss +slug: /kibana-dev-docs/api/apmOss +title: "apmOss" image: https://source.unsplash.com/400x175/?github summary: API docs for the apmOss plugin date: 2020-11-16 diff --git a/api_docs/banners.mdx b/api_docs/banners.mdx index d705cfc98e683..5f433b3f6f574 100644 --- a/api_docs/banners.mdx +++ b/api_docs/banners.mdx @@ -1,7 +1,7 @@ --- id: kibBannersPluginApi -slug: /kibana-dev-docs/bannersPluginApi -title: banners +slug: /kibana-dev-docs/api/banners +title: "banners" image: https://source.unsplash.com/400x175/?github summary: API docs for the banners plugin date: 2020-11-16 diff --git a/api_docs/bfetch.mdx b/api_docs/bfetch.mdx index d7f42be45a29a..25e77b7731790 100644 --- a/api_docs/bfetch.mdx +++ b/api_docs/bfetch.mdx @@ -1,7 +1,7 @@ --- id: kibBfetchPluginApi -slug: /kibana-dev-docs/bfetchPluginApi -title: bfetch +slug: /kibana-dev-docs/api/bfetch +title: "bfetch" image: https://source.unsplash.com/400x175/?github summary: API docs for the bfetch plugin date: 2020-11-16 diff --git a/api_docs/canvas.mdx b/api_docs/canvas.mdx index 3d27f41576824..6e52215267748 100644 --- a/api_docs/canvas.mdx +++ b/api_docs/canvas.mdx @@ -1,7 +1,7 @@ --- id: kibCanvasPluginApi -slug: /kibana-dev-docs/canvasPluginApi -title: canvas +slug: /kibana-dev-docs/api/canvas +title: "canvas" image: https://source.unsplash.com/400x175/?github summary: API docs for the canvas plugin date: 2020-11-16 diff --git a/api_docs/cases.mdx b/api_docs/cases.mdx index e2fee6ce12fe7..4d2c96b89917f 100644 --- a/api_docs/cases.mdx +++ b/api_docs/cases.mdx @@ -1,7 +1,7 @@ --- id: kibCasesPluginApi -slug: /kibana-dev-docs/casesPluginApi -title: cases +slug: /kibana-dev-docs/api/cases +title: "cases" image: https://source.unsplash.com/400x175/?github summary: API docs for the cases plugin date: 2020-11-16 diff --git a/api_docs/charts.json b/api_docs/charts.json index aa92aabef685e..5d4f047a247e2 100644 --- a/api_docs/charts.json +++ b/api_docs/charts.json @@ -975,9 +975,9 @@ "signature": [ { "pluginId": "charts", - "scope": "public", + "scope": "common", "docId": "kibChartsPluginApi", - "section": "def-public.ColorSchemas", + "section": "def-common.ColorSchemas", "text": "ColorSchemas" } ], @@ -1004,7 +1004,7 @@ "tags": [], "label": "ColorSchemaParams", "description": [], - "path": "src/plugins/charts/public/static/components/types.ts", + "path": "src/plugins/charts/common/types.ts", "deprecated": false, "children": [ { @@ -1017,13 +1017,13 @@ "signature": [ { "pluginId": "charts", - "scope": "public", + "scope": "common", "docId": "kibChartsPluginApi", - "section": "def-public.ColorSchemas", + "section": "def-common.ColorSchemas", "text": "ColorSchemas" } ], - "path": "src/plugins/charts/public/static/components/types.ts", + "path": "src/plugins/charts/common/types.ts", "deprecated": false }, { @@ -1033,7 +1033,7 @@ "tags": [], "label": "invertColors", "description": [], - "path": "src/plugins/charts/public/static/components/types.ts", + "path": "src/plugins/charts/common/types.ts", "deprecated": false } ], @@ -1255,7 +1255,7 @@ "tags": [], "label": "Labels", "description": [], - "path": "src/plugins/charts/public/static/components/types.ts", + "path": "src/plugins/charts/common/types.ts", "deprecated": false, "children": [ { @@ -1268,7 +1268,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/charts/public/static/components/types.ts", + "path": "src/plugins/charts/common/types.ts", "deprecated": false }, { @@ -1281,7 +1281,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/charts/public/static/components/types.ts", + "path": "src/plugins/charts/common/types.ts", "deprecated": false }, { @@ -1294,7 +1294,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/charts/public/static/components/types.ts", + "path": "src/plugins/charts/common/types.ts", "deprecated": false }, { @@ -1307,7 +1307,7 @@ "signature": [ "number | undefined" ], - "path": "src/plugins/charts/public/static/components/types.ts", + "path": "src/plugins/charts/common/types.ts", "deprecated": false }, { @@ -1320,7 +1320,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/charts/public/static/components/types.ts", + "path": "src/plugins/charts/common/types.ts", "deprecated": false }, { @@ -1333,7 +1333,7 @@ "signature": [ "number | null | undefined" ], - "path": "src/plugins/charts/public/static/components/types.ts", + "path": "src/plugins/charts/common/types.ts", "deprecated": false } ], @@ -1830,9 +1830,9 @@ "signature": [ { "pluginId": "charts", - "scope": "public", + "scope": "common", "docId": "kibChartsPluginApi", - "section": "def-public.ColorSchemas", + "section": "def-common.ColorSchemas", "text": "ColorSchemas" } ], @@ -1923,7 +1923,7 @@ "tags": [], "label": "Style", "description": [], - "path": "src/plugins/charts/public/static/components/types.ts", + "path": "src/plugins/charts/common/types.ts", "deprecated": false, "children": [ { @@ -1933,7 +1933,7 @@ "tags": [], "label": "bgFill", "description": [], - "path": "src/plugins/charts/public/static/components/types.ts", + "path": "src/plugins/charts/common/types.ts", "deprecated": false }, { @@ -1943,7 +1943,7 @@ "tags": [], "label": "bgColor", "description": [], - "path": "src/plugins/charts/public/static/components/types.ts", + "path": "src/plugins/charts/common/types.ts", "deprecated": false }, { @@ -1953,7 +1953,7 @@ "tags": [], "label": "labelColor", "description": [], - "path": "src/plugins/charts/public/static/components/types.ts", + "path": "src/plugins/charts/common/types.ts", "deprecated": false }, { @@ -1963,7 +1963,7 @@ "tags": [], "label": "subText", "description": [], - "path": "src/plugins/charts/public/static/components/types.ts", + "path": "src/plugins/charts/common/types.ts", "deprecated": false }, { @@ -1973,7 +1973,7 @@ "tags": [], "label": "fontSize", "description": [], - "path": "src/plugins/charts/public/static/components/types.ts", + "path": "src/plugins/charts/common/types.ts", "deprecated": false } ], @@ -2041,9 +2041,9 @@ "signature": [ { "pluginId": "charts", - "scope": "public", + "scope": "common", "docId": "kibChartsPluginApi", - "section": "def-public.ColorSchema", + "section": "def-common.ColorSchema", "text": "ColorSchema" }, "[]" @@ -2117,9 +2117,9 @@ "signature": [ { "pluginId": "charts", - "scope": "public", + "scope": "common", "docId": "kibChartsPluginApi", - "section": "def-public.ColorSchema", + "section": "def-common.ColorSchema", "text": "ColorSchema" }, "[]" @@ -2202,9 +2202,9 @@ "signature": [ { "pluginId": "charts", - "scope": "public", + "scope": "common", "docId": "kibChartsPluginApi", - "section": "def-public.ColorSchemas", + "section": "def-common.ColorSchemas", "text": "ColorSchemas" }, ".Blues" @@ -2257,9 +2257,9 @@ "signature": [ { "pluginId": "charts", - "scope": "public", + "scope": "common", "docId": "kibChartsPluginApi", - "section": "def-public.ColorSchemas", + "section": "def-common.ColorSchemas", "text": "ColorSchemas" }, ".Greens" @@ -2312,9 +2312,9 @@ "signature": [ { "pluginId": "charts", - "scope": "public", + "scope": "common", "docId": "kibChartsPluginApi", - "section": "def-public.ColorSchemas", + "section": "def-common.ColorSchemas", "text": "ColorSchemas" }, ".Greys" @@ -2367,9 +2367,9 @@ "signature": [ { "pluginId": "charts", - "scope": "public", + "scope": "common", "docId": "kibChartsPluginApi", - "section": "def-public.ColorSchemas", + "section": "def-common.ColorSchemas", "text": "ColorSchemas" }, ".Reds" @@ -2422,9 +2422,9 @@ "signature": [ { "pluginId": "charts", - "scope": "public", + "scope": "common", "docId": "kibChartsPluginApi", - "section": "def-public.ColorSchemas", + "section": "def-common.ColorSchemas", "text": "ColorSchemas" }, ".YellowToRed" @@ -2477,9 +2477,9 @@ "signature": [ { "pluginId": "charts", - "scope": "public", + "scope": "common", "docId": "kibChartsPluginApi", - "section": "def-public.ColorSchemas", + "section": "def-common.ColorSchemas", "text": "ColorSchemas" }, ".GreenToRed" @@ -2946,6 +2946,51 @@ "common": { "classes": [], "functions": [ + { + "parentPluginId": "charts", + "id": "def-common.getHeatmapColors", + "type": "Function", + "tags": [], + "label": "getHeatmapColors", + "description": [], + "signature": [ + "(value: any, colorSchemaName: string) => string" + ], + "path": "src/plugins/charts/common/static/color_maps/heatmap_color.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "charts", + "id": "def-common.getHeatmapColors.$1", + "type": "Any", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/charts/common/static/color_maps/heatmap_color.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "charts", + "id": "def-common.getHeatmapColors.$2", + "type": "string", + "tags": [], + "label": "colorSchemaName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/charts/common/static/color_maps/heatmap_color.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, { "parentPluginId": "charts", "id": "def-common.palette", @@ -3003,7 +3048,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/charts/common/palette.ts", @@ -3061,7 +3112,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/charts/common/palette.ts", @@ -3072,6 +3129,116 @@ } ], "interfaces": [ + { + "parentPluginId": "charts", + "id": "def-common.ColorMap", + "type": "Interface", + "tags": [], + "label": "ColorMap", + "description": [], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "charts", + "id": "def-common.ColorMap.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "charts", + "id": "def-common.ColorSchema", + "type": "Interface", + "tags": [], + "label": "ColorSchema", + "description": [], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "charts", + "id": "def-common.ColorSchema.value", + "type": "Enum", + "tags": [], + "label": "value", + "description": [], + "signature": [ + { + "pluginId": "charts", + "scope": "common", + "docId": "kibChartsPluginApi", + "section": "def-common.ColorSchemas", + "text": "ColorSchemas" + } + ], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false + }, + { + "parentPluginId": "charts", + "id": "def-common.ColorSchema.text", + "type": "string", + "tags": [], + "label": "text", + "description": [], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "charts", + "id": "def-common.ColorSchemaParams", + "type": "Interface", + "tags": [], + "label": "ColorSchemaParams", + "description": [], + "path": "src/plugins/charts/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "charts", + "id": "def-common.ColorSchemaParams.colorSchema", + "type": "Enum", + "tags": [], + "label": "colorSchema", + "description": [], + "signature": [ + { + "pluginId": "charts", + "scope": "common", + "docId": "kibChartsPluginApi", + "section": "def-common.ColorSchemas", + "text": "ColorSchemas" + } + ], + "path": "src/plugins/charts/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "charts", + "id": "def-common.ColorSchemaParams.invertColors", + "type": "boolean", + "tags": [], + "label": "invertColors", + "description": [], + "path": "src/plugins/charts/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "charts", "id": "def-common.CustomPaletteArguments", @@ -3281,6 +3448,97 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "charts", + "id": "def-common.Labels", + "type": "Interface", + "tags": [], + "label": "Labels", + "description": [], + "path": "src/plugins/charts/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "charts", + "id": "def-common.Labels.color", + "type": "string", + "tags": [], + "label": "color", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/charts/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "charts", + "id": "def-common.Labels.filter", + "type": "CompoundType", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/charts/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "charts", + "id": "def-common.Labels.overwriteColor", + "type": "CompoundType", + "tags": [], + "label": "overwriteColor", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/charts/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "charts", + "id": "def-common.Labels.rotate", + "type": "number", + "tags": [], + "label": "rotate", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/charts/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "charts", + "id": "def-common.Labels.show", + "type": "CompoundType", + "tags": [], + "label": "show", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/charts/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "charts", + "id": "def-common.Labels.truncate", + "type": "CompoundType", + "tags": [], + "label": "truncate", + "description": [], + "signature": [ + "number | null | undefined" + ], + "path": "src/plugins/charts/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "charts", "id": "def-common.PaletteOutput", @@ -3342,29 +3600,159 @@ }, { "parentPluginId": "charts", - "id": "def-common.SystemPaletteArguments", + "id": "def-common.RawColorSchema", "type": "Interface", "tags": [], - "label": "SystemPaletteArguments", + "label": "RawColorSchema", "description": [], - "path": "src/plugins/charts/common/palette.ts", + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", "deprecated": false, "children": [ { "parentPluginId": "charts", - "id": "def-common.SystemPaletteArguments.name", - "type": "string", + "id": "def-common.RawColorSchema.id", + "type": "Enum", "tags": [], - "label": "name", + "label": "id", "description": [], - "path": "src/plugins/charts/common/palette.ts", + "signature": [ + { + "pluginId": "charts", + "scope": "common", + "docId": "kibChartsPluginApi", + "section": "def-common.ColorSchemas", + "text": "ColorSchemas" + } + ], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false + }, + { + "parentPluginId": "charts", + "id": "def-common.RawColorSchema.label", + "type": "string", + "tags": [], + "label": "label", + "description": [], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false + }, + { + "parentPluginId": "charts", + "id": "def-common.RawColorSchema.value", + "type": "Array", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "[number, number[]][]" + ], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "charts", + "id": "def-common.Style", + "type": "Interface", + "tags": [], + "label": "Style", + "description": [], + "path": "src/plugins/charts/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "charts", + "id": "def-common.Style.bgFill", + "type": "string", + "tags": [], + "label": "bgFill", + "description": [], + "path": "src/plugins/charts/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "charts", + "id": "def-common.Style.bgColor", + "type": "boolean", + "tags": [], + "label": "bgColor", + "description": [], + "path": "src/plugins/charts/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "charts", + "id": "def-common.Style.labelColor", + "type": "boolean", + "tags": [], + "label": "labelColor", + "description": [], + "path": "src/plugins/charts/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "charts", + "id": "def-common.Style.subText", + "type": "string", + "tags": [], + "label": "subText", + "description": [], + "path": "src/plugins/charts/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "charts", + "id": "def-common.Style.fontSize", + "type": "number", + "tags": [], + "label": "fontSize", + "description": [], + "path": "src/plugins/charts/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "charts", + "id": "def-common.SystemPaletteArguments", + "type": "Interface", + "tags": [], + "label": "SystemPaletteArguments", + "description": [], + "path": "src/plugins/charts/common/palette.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "charts", + "id": "def-common.SystemPaletteArguments.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "src/plugins/charts/common/palette.ts", "deprecated": false } ], "initialIsOpen": false } ], - "enums": [], + "enums": [ + { + "parentPluginId": "charts", + "id": "def-common.ColorSchemas", + "type": "Enum", + "tags": [], + "label": "ColorSchemas", + "description": [], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false, + "initialIsOpen": false + } + ], "misc": [ { "parentPluginId": "charts", @@ -3380,6 +3768,52 @@ "deprecated": false, "initialIsOpen": false }, + { + "parentPluginId": "charts", + "id": "def-common.ColorMode", + "type": "Type", + "tags": [], + "label": "ColorMode", + "description": [], + "signature": [ + "\"Background\" | \"Labels\" | \"None\"" + ], + "path": "src/plugins/charts/common/static/components/collections.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "charts", + "id": "def-common.colorSchemas", + "type": "Array", + "tags": [], + "label": "colorSchemas", + "description": [], + "signature": [ + { + "pluginId": "charts", + "scope": "common", + "docId": "kibChartsPluginApi", + "section": "def-common.ColorSchema", + "text": "ColorSchema" + }, + "[]" + ], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "charts", + "id": "def-common.defaultCountLabel", + "type": "string", + "tags": [], + "label": "defaultCountLabel", + "description": [], + "path": "src/plugins/charts/common/static/components/collections.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "charts", "id": "def-common.defaultCustomColors", @@ -3394,6 +3828,20 @@ "deprecated": false, "initialIsOpen": false }, + { + "parentPluginId": "charts", + "id": "def-common.LabelRotation", + "type": "Type", + "tags": [], + "label": "LabelRotation", + "description": [], + "signature": [ + "number" + ], + "path": "src/plugins/charts/common/static/components/collections.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "charts", "id": "def-common.paletteIds", @@ -3407,8 +3855,415 @@ "path": "src/plugins/charts/common/constants.ts", "deprecated": false, "initialIsOpen": false + }, + { + "parentPluginId": "charts", + "id": "def-common.truncatedColorSchemas", + "type": "Array", + "tags": [], + "label": "truncatedColorSchemas", + "description": [], + "signature": [ + { + "pluginId": "charts", + "scope": "common", + "docId": "kibChartsPluginApi", + "section": "def-common.ColorSchema", + "text": "ColorSchema" + }, + "[]" + ], + "path": "src/plugins/charts/common/static/color_maps/truncated_color_maps.ts", + "deprecated": false, + "initialIsOpen": false } ], - "objects": [] + "objects": [ + { + "parentPluginId": "charts", + "id": "def-common.ColorMode", + "type": "Object", + "tags": [], + "label": "ColorMode", + "description": [], + "signature": [ + "{ readonly Background: \"Background\"; readonly Labels: \"Labels\"; readonly None: \"None\"; }" + ], + "path": "src/plugins/charts/common/static/components/collections.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "charts", + "id": "def-common.LabelRotation", + "type": "Object", + "tags": [], + "label": "LabelRotation", + "description": [], + "signature": [ + "{ readonly Horizontal: number; readonly Vertical: number; readonly Angled: number; }" + ], + "path": "src/plugins/charts/common/static/components/collections.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "charts", + "id": "def-common.truncatedColorMaps", + "type": "Object", + "tags": [], + "label": "truncatedColorMaps", + "description": [], + "path": "src/plugins/charts/common/static/color_maps/truncated_color_maps.ts", + "deprecated": false, + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "charts", + "id": "def-common.vislibColorMaps", + "type": "Object", + "tags": [], + "label": "vislibColorMaps", + "description": [], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "charts", + "id": "def-common.vislibColorMaps.ColorSchemas.Blues", + "type": "Object", + "tags": [], + "label": "[ColorSchemas.Blues]", + "description": [ + "// Sequential" + ], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "charts", + "id": "def-common.vislibColorMaps.ColorSchemas.Blues.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + { + "pluginId": "charts", + "scope": "common", + "docId": "kibChartsPluginApi", + "section": "def-common.ColorSchemas", + "text": "ColorSchemas" + }, + ".Blues" + ], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false + }, + { + "parentPluginId": "charts", + "id": "def-common.vislibColorMaps.ColorSchemas.Blues.label", + "type": "string", + "tags": [], + "label": "label", + "description": [], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false + }, + { + "parentPluginId": "charts", + "id": "def-common.vislibColorMaps.ColorSchemas.Blues.value", + "type": "Array", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "[number, number[]][]" + ], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "charts", + "id": "def-common.vislibColorMaps.ColorSchemas.Greens", + "type": "Object", + "tags": [], + "label": "[ColorSchemas.Greens]", + "description": [], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "charts", + "id": "def-common.vislibColorMaps.ColorSchemas.Greens.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + { + "pluginId": "charts", + "scope": "common", + "docId": "kibChartsPluginApi", + "section": "def-common.ColorSchemas", + "text": "ColorSchemas" + }, + ".Greens" + ], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false + }, + { + "parentPluginId": "charts", + "id": "def-common.vislibColorMaps.ColorSchemas.Greens.label", + "type": "string", + "tags": [], + "label": "label", + "description": [], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false + }, + { + "parentPluginId": "charts", + "id": "def-common.vislibColorMaps.ColorSchemas.Greens.value", + "type": "Array", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "[number, number[]][]" + ], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "charts", + "id": "def-common.vislibColorMaps.ColorSchemas.Greys", + "type": "Object", + "tags": [], + "label": "[ColorSchemas.Greys]", + "description": [], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "charts", + "id": "def-common.vislibColorMaps.ColorSchemas.Greys.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + { + "pluginId": "charts", + "scope": "common", + "docId": "kibChartsPluginApi", + "section": "def-common.ColorSchemas", + "text": "ColorSchemas" + }, + ".Greys" + ], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false + }, + { + "parentPluginId": "charts", + "id": "def-common.vislibColorMaps.ColorSchemas.Greys.label", + "type": "string", + "tags": [], + "label": "label", + "description": [], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false + }, + { + "parentPluginId": "charts", + "id": "def-common.vislibColorMaps.ColorSchemas.Greys.value", + "type": "Array", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "[number, number[]][]" + ], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "charts", + "id": "def-common.vislibColorMaps.ColorSchemas.Reds", + "type": "Object", + "tags": [], + "label": "[ColorSchemas.Reds]", + "description": [], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "charts", + "id": "def-common.vislibColorMaps.ColorSchemas.Reds.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + { + "pluginId": "charts", + "scope": "common", + "docId": "kibChartsPluginApi", + "section": "def-common.ColorSchemas", + "text": "ColorSchemas" + }, + ".Reds" + ], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false + }, + { + "parentPluginId": "charts", + "id": "def-common.vislibColorMaps.ColorSchemas.Reds.label", + "type": "string", + "tags": [], + "label": "label", + "description": [], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false + }, + { + "parentPluginId": "charts", + "id": "def-common.vislibColorMaps.ColorSchemas.Reds.value", + "type": "Array", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "[number, number[]][]" + ], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "charts", + "id": "def-common.vislibColorMaps.ColorSchemas.YellowToRed", + "type": "Object", + "tags": [], + "label": "[ColorSchemas.YellowToRed]", + "description": [], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "charts", + "id": "def-common.vislibColorMaps.ColorSchemas.YellowToRed.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + { + "pluginId": "charts", + "scope": "common", + "docId": "kibChartsPluginApi", + "section": "def-common.ColorSchemas", + "text": "ColorSchemas" + }, + ".YellowToRed" + ], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false + }, + { + "parentPluginId": "charts", + "id": "def-common.vislibColorMaps.ColorSchemas.YellowToRed.label", + "type": "string", + "tags": [], + "label": "label", + "description": [], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false + }, + { + "parentPluginId": "charts", + "id": "def-common.vislibColorMaps.ColorSchemas.YellowToRed.value", + "type": "Array", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "[number, number[]][]" + ], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "charts", + "id": "def-common.vislibColorMaps.ColorSchemas.GreenToRed", + "type": "Object", + "tags": [], + "label": "[ColorSchemas.GreenToRed]", + "description": [], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "charts", + "id": "def-common.vislibColorMaps.ColorSchemas.GreenToRed.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + { + "pluginId": "charts", + "scope": "common", + "docId": "kibChartsPluginApi", + "section": "def-common.ColorSchemas", + "text": "ColorSchemas" + }, + ".GreenToRed" + ], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false + }, + { + "parentPluginId": "charts", + "id": "def-common.vislibColorMaps.ColorSchemas.GreenToRed.label", + "type": "string", + "tags": [], + "label": "label", + "description": [], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false + }, + { + "parentPluginId": "charts", + "id": "def-common.vislibColorMaps.ColorSchemas.GreenToRed.value", + "type": "Array", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "[number, number[]][]" + ], + "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", + "deprecated": false + } + ] + } + ], + "initialIsOpen": false + } + ] } } \ No newline at end of file diff --git a/api_docs/charts.mdx b/api_docs/charts.mdx index 38c52bb1e44e2..8d31f6ad1d640 100644 --- a/api_docs/charts.mdx +++ b/api_docs/charts.mdx @@ -1,7 +1,7 @@ --- id: kibChartsPluginApi -slug: /kibana-dev-docs/chartsPluginApi -title: charts +slug: /kibana-dev-docs/api/charts +title: "charts" image: https://source.unsplash.com/400x175/?github summary: API docs for the charts plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 223 | 2 | 192 | 3 | +| 285 | 4 | 253 | 3 | ## Client @@ -53,12 +53,18 @@ Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) ## Common +### Objects + + ### Functions ### Interfaces +### Enums + + ### Consts, variables and types diff --git a/api_docs/cloud.mdx b/api_docs/cloud.mdx index 393e9f27562df..eb9bad8024179 100644 --- a/api_docs/cloud.mdx +++ b/api_docs/cloud.mdx @@ -1,7 +1,7 @@ --- id: kibCloudPluginApi -slug: /kibana-dev-docs/cloudPluginApi -title: cloud +slug: /kibana-dev-docs/api/cloud +title: "cloud" image: https://source.unsplash.com/400x175/?github summary: API docs for the cloud plugin date: 2020-11-16 diff --git a/api_docs/console.json b/api_docs/console.json index b62897e6194cb..6bbad02c90940 100644 --- a/api_docs/console.json +++ b/api_docs/console.json @@ -146,7 +146,13 @@ "text": "ConsoleUILocatorParams" }, " extends ", - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/console/public/plugin.ts", "deprecated": false, diff --git a/api_docs/console.mdx b/api_docs/console.mdx index a29962083727d..48a1654296aff 100644 --- a/api_docs/console.mdx +++ b/api_docs/console.mdx @@ -1,7 +1,7 @@ --- id: kibConsolePluginApi -slug: /kibana-dev-docs/consolePluginApi -title: console +slug: /kibana-dev-docs/api/console +title: "console" image: https://source.unsplash.com/400x175/?github summary: API docs for the console plugin date: 2020-11-16 diff --git a/api_docs/core.json b/api_docs/core.json index 1bf0476a54508..5816b54efa62e 100644 --- a/api_docs/core.json +++ b/api_docs/core.json @@ -1603,7 +1603,7 @@ "label": "links", "description": [], "signature": [ - "{ readonly settings: string; readonly apm: { readonly kibanaSettings: string; readonly supportedServiceMaps: string; readonly customLinks: string; readonly droppedTransactionSpans: string; readonly upgrading: string; readonly metaData: string; }; readonly canvas: { readonly guide: string; }; readonly dashboard: { readonly guide: string; readonly drilldowns: string; readonly drilldownsTriggerPicker: string; readonly urlDrilldownTemplateSyntax: string; readonly urlDrilldownVariables: string; }; readonly discover: Record; readonly filebeat: { readonly base: string; readonly installation: string; readonly configuration: string; readonly elasticsearchOutput: string; readonly elasticsearchModule: string; readonly startup: string; readonly exportedFields: string; readonly suricataModule: string; readonly zeekModule: string; }; readonly auditbeat: { readonly base: string; readonly auditdModule: string; readonly systemModule: string; }; readonly metricbeat: { readonly base: string; readonly configure: string; readonly httpEndpoint: string; readonly install: string; readonly start: string; }; readonly enterpriseSearch: { readonly base: string; readonly appSearchBase: string; readonly workplaceSearchBase: string; }; readonly heartbeat: { readonly base: string; }; readonly libbeat: { readonly getStarted: string; }; readonly logstash: { readonly base: string; }; readonly functionbeat: { readonly base: string; }; readonly winlogbeat: { readonly base: string; }; readonly aggs: { readonly composite: string; readonly composite_missing_bucket: string; readonly date_histogram: string; readonly date_range: string; readonly date_format_pattern: string; readonly filter: string; readonly filters: string; readonly geohash_grid: string; readonly histogram: string; readonly ip_range: string; readonly range: string; readonly significant_terms: string; readonly terms: string; readonly avg: string; readonly avg_bucket: string; readonly max_bucket: string; readonly min_bucket: string; readonly sum_bucket: string; readonly cardinality: string; readonly count: string; readonly cumulative_sum: string; readonly derivative: string; readonly geo_bounds: string; readonly geo_centroid: string; readonly max: string; readonly median: string; readonly min: string; readonly moving_avg: string; readonly percentile_ranks: string; readonly serial_diff: string; readonly std_dev: string; readonly sum: string; readonly top_hits: string; }; readonly runtimeFields: { readonly overview: string; readonly mapping: string; }; readonly scriptedFields: { readonly scriptFields: string; readonly scriptAggs: string; readonly painless: string; readonly painlessApi: string; readonly painlessLangSpec: string; readonly painlessSyntax: string; readonly painlessWalkthrough: string; readonly luceneExpressions: string; }; readonly search: { readonly sessions: string; readonly sessionLimits: string; }; readonly indexPatterns: { readonly introduction: string; readonly fieldFormattersNumber: string; readonly fieldFormattersString: string; readonly runtimeFields: string; }; readonly addData: string; readonly kibana: string; readonly upgradeAssistant: { readonly overview: string; readonly batchReindex: string; }; readonly rollupJobs: string; readonly elasticsearch: Record; readonly siem: { readonly privileges: string; readonly guide: string; readonly gettingStarted: string; readonly ml: string; readonly ruleChangeLog: string; readonly detectionsReq: string; readonly networkMap: string; }; readonly query: { readonly eql: string; readonly kueryQuerySyntax: string; readonly luceneQuerySyntax: string; readonly percolate: string; readonly queryDsl: string; readonly autocompleteChanges: string; }; readonly date: { readonly dateMath: string; readonly dateMathIndexNames: string; }; readonly management: Record; readonly ml: Record; readonly transforms: Record; readonly visualize: Record; readonly apis: Readonly<{ bulkIndexAlias: string; byteSizeUnits: string; createAutoFollowPattern: string; createFollower: string; createIndex: string; createSnapshotLifecyclePolicy: string; createRoleMapping: string; createRoleMappingTemplates: string; createRollupJobsRequest: string; createApiKey: string; createPipeline: string; createTransformRequest: string; cronExpressions: string; executeWatchActionModes: string; indexExists: string; openIndex: string; putComponentTemplate: string; painlessExecute: string; painlessExecuteAPIContexts: string; putComponentTemplateMetadata: string; putSnapshotLifecyclePolicy: string; putIndexTemplateV1: string; putWatch: string; simulatePipeline: string; timeUnits: string; updateTransform: string; }>; readonly observability: Readonly<{ guide: string; infrastructureThreshold: string; logsThreshold: string; metricsThreshold: string; monitorStatus: string; monitorUptime: string; tlsCertificate: string; uptimeDurationAnomaly: string; }>; readonly alerting: Record; readonly maps: Record; readonly monitoring: Record; readonly security: Readonly<{ apiKeyServiceSettings: string; clusterPrivileges: string; elasticsearchSettings: string; elasticsearchEnableSecurity: string; indicesPrivileges: string; kibanaTLS: string; kibanaPrivileges: string; mappingRoles: string; mappingRolesFieldRules: string; runAsPrivilege: string; }>; readonly watcher: Record; readonly ccs: Record; readonly plugins: Record; readonly snapshotRestore: Record; readonly ingest: Record; readonly fleet: Readonly<{ guide: string; fleetServer: string; fleetServerAddFleetServer: string; settings: string; settingsFleetServerHostSettings: string; troubleshooting: string; elasticAgent: string; datastreams: string; datastreamsNamingScheme: string; upgradeElasticAgent: string; upgradeElasticAgent712lower: string; }>; readonly ecs: { readonly guide: string; }; }" + "{ readonly settings: string; readonly apm: { readonly kibanaSettings: string; readonly supportedServiceMaps: string; readonly customLinks: string; readonly droppedTransactionSpans: string; readonly upgrading: string; readonly metaData: string; }; readonly canvas: { readonly guide: string; }; readonly dashboard: { readonly guide: string; readonly drilldowns: string; readonly drilldownsTriggerPicker: string; readonly urlDrilldownTemplateSyntax: string; readonly urlDrilldownVariables: string; }; readonly discover: Record; readonly filebeat: { readonly base: string; readonly installation: string; readonly configuration: string; readonly elasticsearchOutput: string; readonly elasticsearchModule: string; readonly startup: string; readonly exportedFields: string; readonly suricataModule: string; readonly zeekModule: string; }; readonly auditbeat: { readonly base: string; readonly auditdModule: string; readonly systemModule: string; }; readonly metricbeat: { readonly base: string; readonly configure: string; readonly httpEndpoint: string; readonly install: string; readonly start: string; }; readonly enterpriseSearch: { readonly base: string; readonly appSearchBase: string; readonly workplaceSearchBase: string; }; readonly heartbeat: { readonly base: string; }; readonly libbeat: { readonly getStarted: string; }; readonly logstash: { readonly base: string; }; readonly functionbeat: { readonly base: string; }; readonly winlogbeat: { readonly base: string; }; readonly aggs: { readonly composite: string; readonly composite_missing_bucket: string; readonly date_histogram: string; readonly date_range: string; readonly date_format_pattern: string; readonly filter: string; readonly filters: string; readonly geohash_grid: string; readonly histogram: string; readonly ip_range: string; readonly range: string; readonly significant_terms: string; readonly terms: string; readonly avg: string; readonly avg_bucket: string; readonly max_bucket: string; readonly min_bucket: string; readonly sum_bucket: string; readonly cardinality: string; readonly count: string; readonly cumulative_sum: string; readonly derivative: string; readonly geo_bounds: string; readonly geo_centroid: string; readonly max: string; readonly median: string; readonly min: string; readonly moving_avg: string; readonly percentile_ranks: string; readonly serial_diff: string; readonly std_dev: string; readonly sum: string; readonly top_hits: string; }; readonly runtimeFields: { readonly overview: string; readonly mapping: string; }; readonly scriptedFields: { readonly scriptFields: string; readonly scriptAggs: string; readonly painless: string; readonly painlessApi: string; readonly painlessLangSpec: string; readonly painlessSyntax: string; readonly painlessWalkthrough: string; readonly luceneExpressions: string; }; readonly search: { readonly sessions: string; readonly sessionLimits: string; }; readonly indexPatterns: { readonly introduction: string; readonly fieldFormattersNumber: string; readonly fieldFormattersString: string; readonly runtimeFields: string; }; readonly addData: string; readonly kibana: string; readonly upgradeAssistant: { readonly overview: string; readonly batchReindex: string; }; readonly rollupJobs: string; readonly elasticsearch: Record; readonly siem: { readonly privileges: string; readonly guide: string; readonly gettingStarted: string; readonly ml: string; readonly ruleChangeLog: string; readonly detectionsReq: string; readonly networkMap: string; }; readonly query: { readonly eql: string; readonly kueryQuerySyntax: string; readonly luceneQuerySyntax: string; readonly percolate: string; readonly queryDsl: string; readonly autocompleteChanges: string; }; readonly date: { readonly dateMath: string; readonly dateMathIndexNames: string; }; readonly management: Record; readonly ml: Record; readonly transforms: Record; readonly visualize: Record; readonly apis: Readonly<{ bulkIndexAlias: string; byteSizeUnits: string; createAutoFollowPattern: string; createFollower: string; createIndex: string; createSnapshotLifecyclePolicy: string; createRoleMapping: string; createRoleMappingTemplates: string; createRollupJobsRequest: string; createApiKey: string; createPipeline: string; createTransformRequest: string; cronExpressions: string; executeWatchActionModes: string; indexExists: string; openIndex: string; putComponentTemplate: string; painlessExecute: string; painlessExecuteAPIContexts: string; putComponentTemplateMetadata: string; putSnapshotLifecyclePolicy: string; putIndexTemplateV1: string; putWatch: string; simulatePipeline: string; timeUnits: string; updateTransform: string; }>; readonly observability: Readonly<{ guide: string; infrastructureThreshold: string; logsThreshold: string; metricsThreshold: string; monitorStatus: string; monitorUptime: string; tlsCertificate: string; uptimeDurationAnomaly: string; }>; readonly alerting: Record; readonly maps: Record; readonly monitoring: Record; readonly security: Readonly<{ apiKeyServiceSettings: string; clusterPrivileges: string; elasticsearchSettings: string; elasticsearchEnableSecurity: string; indicesPrivileges: string; kibanaTLS: string; kibanaPrivileges: string; mappingRoles: string; mappingRolesFieldRules: string; runAsPrivilege: string; }>; readonly spaces: Readonly<{ kibanaLegacyUrlAliases: string; kibanaDisableLegacyUrlAliasesApi: string; }>; readonly watcher: Record; readonly ccs: Record; readonly plugins: Record; readonly snapshotRestore: Record; readonly ingest: Record; readonly fleet: Readonly<{ guide: string; fleetServer: string; fleetServerAddFleetServer: string; settings: string; settingsFleetServerHostSettings: string; troubleshooting: string; elasticAgent: string; datastreams: string; datastreamsNamingScheme: string; upgradeElasticAgent: string; upgradeElasticAgent712lower: string; learnMoreBlog: string; }>; readonly ecs: { readonly guide: string; }; readonly clients: { readonly guide: string; readonly goOverview: string; readonly javaIndex: string; readonly jsIntro: string; readonly netGuide: string; readonly perlGuide: string; readonly phpGuide: string; readonly pythonGuide: string; readonly rubyOverview: string; readonly rustGuide: string; }; }" ], "path": "src/core/public/doc_links/doc_links_service.ts", "deprecated": false @@ -1611,40 +1611,6 @@ ], "initialIsOpen": false }, - { - "parentPluginId": "core", - "id": "def-public.DomainDeprecationDetails", - "type": "Interface", - "tags": [], - "label": "DomainDeprecationDetails", - "description": [], - "signature": [ - "DomainDeprecationDetails", - " extends ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.DeprecationsDetails", - "text": "DeprecationsDetails" - } - ], - "path": "src/core/server/deprecations/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "core", - "id": "def-public.DomainDeprecationDetails.domainId", - "type": "string", - "tags": [], - "label": "domainId", - "description": [], - "path": "src/core/server/deprecations/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, { "parentPluginId": "core", "id": "def-public.EnvironmentMode", @@ -1652,9 +1618,6 @@ "tags": [], "label": "EnvironmentMode", "description": [], - "signature": [ - "EnvironmentMode" - ], "path": "node_modules/@kbn/config/target_types/types.d.ts", "deprecated": false, "children": [ @@ -2116,7 +2079,7 @@ "signature": [ "() => Readonly, \"type\" | \"options\" | \"description\" | \"name\" | \"order\" | \"value\" | \"category\" | \"metric\" | \"optionLabels\" | \"requiresPageReload\" | \"readonly\" | \"sensitive\" | \"deprecation\"> & ", + ", \"type\" | \"options\" | \"description\" | \"name\" | \"order\" | \"value\" | \"category\" | \"optionLabels\" | \"requiresPageReload\" | \"readonly\" | \"sensitive\" | \"deprecation\" | \"metric\"> & ", "UserProvidedValues", ">>" ], @@ -3924,9 +3887,6 @@ "tags": [], "label": "PackageInfo", "description": [], - "signature": [ - "PackageInfo" - ], "path": "node_modules/@kbn/config/target_types/types.d.ts", "deprecated": false, "children": [ @@ -4186,9 +4146,21 @@ "description": [], "signature": [ "{ mode: Readonly<", - "EnvironmentMode", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.EnvironmentMode", + "text": "EnvironmentMode" + }, ">; packageInfo: Readonly<", - "PackageInfo", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.PackageInfo", + "text": "PackageInfo" + }, ">; }" ], "path": "src/core/public/plugins/plugin_context.ts", @@ -6176,7 +6148,13 @@ "label": "schema", "description": [], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "src/core/types/ui_settings.ts", @@ -6195,7 +6173,13 @@ ], "signature": [ "{ type: ", - "UiCounterMetricType", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.UiCounterMetricType", + "text": "UiCounterMetricType" + }, "; name: string; } | undefined" ], "path": "src/core/types/ui_settings.ts", @@ -6638,11 +6622,17 @@ "\nA sub-set of {@link UiSettingsParams} exposed to the client-side." ], "signature": [ - "{ type?: \"string\" | \"number\" | \"boolean\" | \"undefined\" | \"color\" | \"json\" | \"image\" | \"markdown\" | \"select\" | \"array\" | undefined; options?: string[] | undefined; description?: string | undefined; name?: string | undefined; order?: number | undefined; value?: unknown; category?: string[] | undefined; metric?: { type: ", - "UiCounterMetricType", - "; name: string; } | undefined; optionLabels?: Record | undefined; requiresPageReload?: boolean | undefined; readonly?: boolean | undefined; sensitive?: boolean | undefined; deprecation?: ", + "{ type?: \"string\" | \"number\" | \"boolean\" | \"undefined\" | \"color\" | \"json\" | \"image\" | \"markdown\" | \"select\" | \"array\" | undefined; options?: string[] | undefined; description?: string | undefined; name?: string | undefined; order?: number | undefined; value?: unknown; category?: string[] | undefined; optionLabels?: Record | undefined; requiresPageReload?: boolean | undefined; readonly?: boolean | undefined; sensitive?: boolean | undefined; deprecation?: ", "DeprecationSettings", - " | undefined; }" + " | undefined; metric?: { type: ", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.UiCounterMetricType", + "text": "UiCounterMetricType" + }, + "; name: string; } | undefined; }" ], "path": "src/core/types/ui_settings.ts", "deprecated": false, @@ -8257,6 +8247,45 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "core", + "id": "def-server.ConfigDeprecationContext", + "type": "Interface", + "tags": [], + "label": "ConfigDeprecationContext", + "description": [ + "\nDeprecation context provided to {@link ConfigDeprecation | config deprecations}\n" + ], + "path": "node_modules/@kbn/config/target_types/deprecation/types.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.ConfigDeprecationContext.version", + "type": "string", + "tags": [], + "label": "version", + "description": [ + "The current Kibana version, e.g `7.16.1`, `8.0.0`" + ], + "path": "node_modules/@kbn/config/target_types/deprecation/types.d.ts", + "deprecated": false + }, + { + "parentPluginId": "core", + "id": "def-server.ConfigDeprecationContext.branch", + "type": "string", + "tags": [], + "label": "branch", + "description": [ + "The current Kibana branch, e.g `7.x`, `7.16`, `master`" + ], + "path": "node_modules/@kbn/config/target_types/deprecation/types.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "core", "id": "def-server.ConfigDeprecationFactory", @@ -8266,9 +8295,6 @@ "description": [ "\nProvides helpers to generates the most commonly used {@link ConfigDeprecation}\nwhen invoking a {@link ConfigDeprecationProvider}.\n\nSee methods documentation for more detailed examples.\n" ], - "signature": [ - "ConfigDeprecationFactory" - ], "path": "node_modules/@kbn/config/target_types/deprecation/types.d.ts", "deprecated": false, "children": [ @@ -8285,7 +8311,13 @@ "(deprecatedKey: string, removeBy: string, details?: Partial<", "DeprecatedConfigDetails", "> | undefined) => ", - "ConfigDeprecation" + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecation", + "text": "ConfigDeprecation" + } ], "path": "node_modules/@kbn/config/target_types/deprecation/types.d.ts", "deprecated": false, @@ -8350,7 +8382,13 @@ "(deprecatedKey: string, removeBy: string, details?: Partial<", "DeprecatedConfigDetails", "> | undefined) => ", - "ConfigDeprecation" + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecation", + "text": "ConfigDeprecation" + } ], "path": "node_modules/@kbn/config/target_types/deprecation/types.d.ts", "deprecated": false, @@ -8415,7 +8453,13 @@ "(oldKey: string, newKey: string, details?: Partial<", "DeprecatedConfigDetails", "> | undefined) => ", - "ConfigDeprecation" + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecation", + "text": "ConfigDeprecation" + } ], "path": "node_modules/@kbn/config/target_types/deprecation/types.d.ts", "deprecated": false, @@ -8480,7 +8524,13 @@ "(oldKey: string, newKey: string, details?: Partial<", "DeprecatedConfigDetails", "> | undefined) => ", - "ConfigDeprecation" + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecation", + "text": "ConfigDeprecation" + } ], "path": "node_modules/@kbn/config/target_types/deprecation/types.d.ts", "deprecated": false, @@ -8545,7 +8595,13 @@ "(unusedKey: string, details?: Partial<", "DeprecatedConfigDetails", "> | undefined) => ", - "ConfigDeprecation" + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecation", + "text": "ConfigDeprecation" + } ], "path": "node_modules/@kbn/config/target_types/deprecation/types.d.ts", "deprecated": false, @@ -8596,7 +8652,13 @@ "(unusedKey: string, details?: Partial<", "DeprecatedConfigDetails", "> | undefined) => ", - "ConfigDeprecation" + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecation", + "text": "ConfigDeprecation" + } ], "path": "node_modules/@kbn/config/target_types/deprecation/types.d.ts", "deprecated": false, @@ -9531,7 +9593,9 @@ "type": "string", "tags": [], "label": "documentationUrl", - "description": [], + "description": [ + "(optional) link to the documentation for more details on the deprecation." + ], "signature": [ "string | undefined" ], @@ -9544,7 +9608,9 @@ "type": "CompoundType", "tags": [], "label": "requireRestart", - "description": [], + "description": [ + "(optional) specify the fix for this deprecation requires a full kibana restart." + ], "signature": [ "boolean | undefined" ], @@ -9557,7 +9623,9 @@ "type": "Object", "tags": [], "label": "correctiveActions", - "description": [], + "description": [ + "corrective action needed to fix this deprecation." + ], "signature": [ "{ api?: { path: string; method: \"PUT\" | \"POST\"; body?: { [key: string]: any; } | undefined; } | undefined; manualSteps: string[]; }" ], @@ -10154,9 +10222,6 @@ "tags": [], "label": "EnvironmentMode", "description": [], - "signature": [ - "EnvironmentMode" - ], "path": "node_modules/@kbn/config/target_types/types.d.ts", "deprecated": false, "children": [ @@ -12858,7 +12923,7 @@ "signature": [ "() => Readonly, \"type\" | \"options\" | \"description\" | \"name\" | \"order\" | \"value\" | \"category\" | \"metric\" | \"optionLabels\" | \"requiresPageReload\" | \"readonly\" | \"sensitive\" | \"deprecation\">>>" + ", \"type\" | \"options\" | \"description\" | \"name\" | \"order\" | \"value\" | \"category\" | \"optionLabels\" | \"requiresPageReload\" | \"readonly\" | \"sensitive\" | \"deprecation\" | \"metric\">>>" ], "path": "src/core/server/ui_settings/types.ts", "deprecated": false, @@ -13151,9 +13216,6 @@ "description": [ "\nLogger exposes all the necessary methods to log any type of information and\nthis is the interface used by the logging consumers including plugins.\n" ], - "signature": [ - "Logger" - ], "path": "node_modules/@kbn/logging/target_types/logger.d.ts", "deprecated": false, "children": [ @@ -13168,9 +13230,21 @@ ], "signature": [ "(message: string, meta?: Meta | undefined) => void" ], "path": "node_modules/@kbn/logging/target_types/logger.d.ts", @@ -13222,9 +13296,21 @@ ], "signature": [ "(message: string, meta?: Meta | undefined) => void" ], "path": "node_modules/@kbn/logging/target_types/logger.d.ts", @@ -13276,9 +13362,21 @@ ], "signature": [ "(message: string, meta?: Meta | undefined) => void" ], "path": "node_modules/@kbn/logging/target_types/logger.d.ts", @@ -13330,9 +13428,21 @@ ], "signature": [ "(errorOrMessage: string | Error, meta?: Meta | undefined) => void" ], "path": "node_modules/@kbn/logging/target_types/logger.d.ts", @@ -13384,9 +13494,21 @@ ], "signature": [ "(errorOrMessage: string | Error, meta?: Meta | undefined) => void" ], "path": "node_modules/@kbn/logging/target_types/logger.d.ts", @@ -13438,9 +13560,21 @@ ], "signature": [ "(errorOrMessage: string | Error, meta?: Meta | undefined) => void" ], "path": "node_modules/@kbn/logging/target_types/logger.d.ts", @@ -13492,7 +13626,13 @@ ], "signature": [ "(...childContextPaths: string[]) => ", - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "node_modules/@kbn/logging/target_types/logger.d.ts", "deprecated": false, @@ -13583,9 +13723,6 @@ "description": [ "\nThe single purpose of `LoggerFactory` interface is to define a way to\nretrieve a context-based logger instance.\n" ], - "signature": [ - "LoggerFactory" - ], "path": "node_modules/@kbn/logging/target_types/logger_factory.d.ts", "deprecated": false, "children": [ @@ -13600,7 +13737,13 @@ ], "signature": [ "(...contextParts: string[]) => ", - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "node_modules/@kbn/logging/target_types/logger_factory.d.ts", "deprecated": false, @@ -14275,9 +14418,6 @@ "tags": [], "label": "PackageInfo", "description": [], - "signature": [ - "PackageInfo" - ], "path": "node_modules/@kbn/config/target_types/types.d.ts", "deprecated": false, "children": [ @@ -14523,7 +14663,13 @@ "\nProvider for the {@link ConfigDeprecation} to apply to the plugin configuration." ], "signature": [ - "ConfigDeprecationProvider", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationProvider", + "text": "ConfigDeprecationProvider" + }, " | undefined" ], "path": "src/core/server/plugins/types.ts", @@ -14554,7 +14700,13 @@ "\nSchema to use to validate the plugin configuration.\n\n{@link PluginConfigSchema}" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "src/core/server/plugins/types.ts", @@ -14629,9 +14781,21 @@ "description": [], "signature": [ "{ mode: ", - "EnvironmentMode", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.EnvironmentMode", + "text": "EnvironmentMode" + }, "; packageInfo: Readonly<", - "PackageInfo", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.PackageInfo", + "text": "PackageInfo" + }, ">; instanceUuid: string; configs: readonly string[]; }" ], "path": "src/core/server/plugins/types.ts", @@ -14647,7 +14811,13 @@ "\n{@link LoggerFactory | logger factory} instance already bound to the plugin's logging context\n" ], "signature": [ - "LoggerFactory" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.LoggerFactory", + "text": "LoggerFactory" + } ], "path": "src/core/server/plugins/types.ts", "deprecated": false @@ -14665,17 +14835,53 @@ "{ legacy: { globalConfig$: ", "Observable", "; elasticsearch: Readonly<{ readonly requestTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; readonly shardTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; readonly pingTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; }>; path: Readonly<{ readonly data: string; }>; savedObjects: Readonly<{ readonly maxImportPayloadBytes: Readonly<{ isGreaterThan: (other: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; isLessThan: (other: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; isEqualTo: (other: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; getValueInBytes: () => number; toString: (returnUnit?: \"b\" | \"kb\" | \"mb\" | \"gb\" | undefined) => string; }>; }>; }>>; get: () => Readonly<{ kibana: Readonly<{ readonly index: string; }>; elasticsearch: Readonly<{ readonly requestTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; readonly shardTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; readonly pingTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; }>; path: Readonly<{ readonly data: string; }>; savedObjects: Readonly<{ readonly maxImportPayloadBytes: Readonly<{ isGreaterThan: (other: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; isLessThan: (other: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; isEqualTo: (other: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; getValueInBytes: () => number; toString: (returnUnit?: \"b\" | \"kb\" | \"mb\" | \"gb\" | undefined) => string; }>; }>; }>; }; create: () => ", "Observable", "; get: () => T; }" @@ -16274,7 +16480,13 @@ "label": "schema", "description": [], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "src/core/types/ui_settings.ts", @@ -16293,7 +16505,13 @@ ], "signature": [ "{ type: ", - "UiCounterMetricType", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.UiCounterMetricType", + "text": "UiCounterMetricType" + }, "; name: string; } | undefined" ], "path": "src/core/types/ui_settings.ts", @@ -16661,6 +16879,123 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "core", + "id": "def-server.ConfigDeprecation", + "type": "Type", + "tags": [], + "label": "ConfigDeprecation", + "description": [ + "\nConfiguration deprecation returned from {@link ConfigDeprecationProvider} that handles a single deprecation from the configuration.\n" + ], + "signature": [ + "(config: Readonly<{ [x: string]: any; }>, fromPath: string, addDeprecation: ", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.AddConfigDeprecation", + "text": "AddConfigDeprecation" + }, + ", context: ", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationContext", + "text": "ConfigDeprecationContext" + }, + ") => void | ", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationCommand", + "text": "ConfigDeprecationCommand" + } + ], + "path": "node_modules/@kbn/config/target_types/deprecation/types.d.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "core", + "id": "def-server.ConfigDeprecation.$1", + "type": "Object", + "tags": [], + "label": "config", + "description": [ + "must not be mutated, return {@link ConfigDeprecationCommand} to change config shape." + ], + "signature": [ + "{ readonly [x: string]: any; }" + ], + "path": "node_modules/@kbn/config/target_types/deprecation/types.d.ts", + "deprecated": false + }, + { + "parentPluginId": "core", + "id": "def-server.ConfigDeprecation.$2", + "type": "string", + "tags": [], + "label": "fromPath", + "description": [], + "path": "node_modules/@kbn/config/target_types/deprecation/types.d.ts", + "deprecated": false + }, + { + "parentPluginId": "core", + "id": "def-server.ConfigDeprecation.$3", + "type": "Function", + "tags": [], + "label": "addDeprecation", + "description": [], + "signature": [ + "(details: ", + "DeprecatedConfigDetails", + ") => void" + ], + "path": "node_modules/@kbn/config/target_types/deprecation/types.d.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "core", + "id": "def-server.ConfigDeprecation.$3.$1", + "type": "Object", + "tags": [], + "label": "details", + "description": [], + "signature": [ + "DeprecatedConfigDetails" + ], + "path": "node_modules/@kbn/config/target_types/deprecation/types.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "core", + "id": "def-server.ConfigDeprecation.$4", + "type": "Object", + "tags": [], + "label": "context", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationContext", + "text": "ConfigDeprecationContext" + } + ], + "path": "node_modules/@kbn/config/target_types/deprecation/types.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "core", "id": "def-server.ConfigDeprecationProvider", @@ -16672,9 +17007,21 @@ ], "signature": [ "(factory: ", - "ConfigDeprecationFactory", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationFactory", + "text": "ConfigDeprecationFactory" + }, ") => ", - "ConfigDeprecation", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecation", + "text": "ConfigDeprecation" + }, "[]" ], "path": "node_modules/@kbn/config/target_types/deprecation/types.d.ts", @@ -16689,7 +17036,13 @@ "label": "factory", "description": [], "signature": [ - "ConfigDeprecationFactory" + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationFactory", + "text": "ConfigDeprecationFactory" + } ], "path": "node_modules/@kbn/config/target_types/deprecation/types.d.ts", "deprecated": false @@ -16734,10 +17087,14 @@ "EcsCloud", " | undefined; container?: ", "EcsContainer", + " | undefined; data_stream?: ", + "EcsDataStream", " | undefined; destination?: ", "EcsDestination", " | undefined; dns?: ", "EcsDns", + " | undefined; email?: ", + "EcsEmail", " | undefined; error?: ", "EcsError", " | undefined; event?: ", @@ -16756,6 +17113,8 @@ "EcsNetwork", " | undefined; observer?: ", "EcsObserver", + " | undefined; orchestrator?: ", + "EcsOrchestrator", " | undefined; organization?: ", "EcsOrganization", " | undefined; package?: ", @@ -17883,7 +18242,13 @@ "\nDedicated type for plugin configuration schema.\n" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "src/core/server/plugins/types.ts", @@ -18001,11 +18366,17 @@ "\nA sub-set of {@link UiSettingsParams} exposed to the client-side." ], "signature": [ - "{ type?: \"string\" | \"number\" | \"boolean\" | \"undefined\" | \"color\" | \"json\" | \"image\" | \"markdown\" | \"select\" | \"array\" | undefined; options?: string[] | undefined; description?: string | undefined; name?: string | undefined; order?: number | undefined; value?: unknown; category?: string[] | undefined; metric?: { type: ", - "UiCounterMetricType", - "; name: string; } | undefined; optionLabels?: Record | undefined; requiresPageReload?: boolean | undefined; readonly?: boolean | undefined; sensitive?: boolean | undefined; deprecation?: ", + "{ type?: \"string\" | \"number\" | \"boolean\" | \"undefined\" | \"color\" | \"json\" | \"image\" | \"markdown\" | \"select\" | \"array\" | undefined; options?: string[] | undefined; description?: string | undefined; name?: string | undefined; order?: number | undefined; value?: unknown; category?: string[] | undefined; optionLabels?: Record | undefined; requiresPageReload?: boolean | undefined; readonly?: boolean | undefined; sensitive?: boolean | undefined; deprecation?: ", "DeprecationSettings", - " | undefined; }" + " | undefined; metric?: { type: ", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.UiCounterMetricType", + "text": "UiCounterMetricType" + }, + "; name: string; } | undefined; }" ], "path": "src/core/types/ui_settings.ts", "deprecated": false, @@ -18104,11 +18475,29 @@ "description": [], "signature": [ "{ readonly kibana: Readonly<{ readonly index: string; }>; readonly elasticsearch: Readonly<{ readonly requestTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; readonly shardTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; readonly pingTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; }>; readonly path: Readonly<{ readonly data: string; }>; readonly savedObjects: Readonly<{ readonly maxImportPayloadBytes: Readonly<{ isGreaterThan: (other: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; isLessThan: (other: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; isEqualTo: (other: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; getValueInBytes: () => number; toString: (returnUnit?: \"b\" | \"kb\" | \"mb\" | \"gb\" | undefined) => string; }>; }>; }" ], "path": "src/core/server/plugins/types.ts", diff --git a/api_docs/core.mdx b/api_docs/core.mdx index b743bff9a3f79..8beca117c361d 100644 --- a/api_docs/core.mdx +++ b/api_docs/core.mdx @@ -1,7 +1,7 @@ --- id: kibCorePluginApi -slug: /kibana-dev-docs/corePluginApi -title: core +slug: /kibana-dev-docs/api/core +title: "core" image: https://source.unsplash.com/400x175/?github summary: API docs for the core plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2295 | 27 | 1021 | 30 | +| 2302 | 27 | 1020 | 30 | ## Client diff --git a/api_docs/core_application.json b/api_docs/core_application.json index 575da4549e482..71e4244af778b 100644 --- a/api_docs/core_application.json +++ b/api_docs/core_application.json @@ -2263,7 +2263,7 @@ "section": "def-public.App", "text": "App" }, - ", \"status\" | \"id\" | \"title\" | \"order\" | \"category\" | \"navLinkStatus\" | \"defaultPath\" | \"capabilities\" | \"chromeless\" | \"appRoute\" | \"exactRoute\" | \"tooltip\" | \"euiIconType\" | \"icon\"> & { status: ", + ", \"status\" | \"id\" | \"title\" | \"order\" | \"capabilities\" | \"category\" | \"navLinkStatus\" | \"defaultPath\" | \"chromeless\" | \"appRoute\" | \"exactRoute\" | \"tooltip\" | \"euiIconType\" | \"icon\"> & { status: ", { "pluginId": "core", "scope": "public", diff --git a/api_docs/core_application.mdx b/api_docs/core_application.mdx index 8149d2a704c80..5e6043d2f5efa 100644 --- a/api_docs/core_application.mdx +++ b/api_docs/core_application.mdx @@ -1,7 +1,7 @@ --- id: kibCoreApplicationPluginApi -slug: /kibana-dev-docs/core.applicationPluginApi -title: core.application +slug: /kibana-dev-docs/api/core-application +title: "core.application" image: https://source.unsplash.com/400x175/?github summary: API docs for the core.application plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2295 | 27 | 1021 | 30 | +| 2302 | 27 | 1020 | 30 | ## Client diff --git a/api_docs/core_chrome.mdx b/api_docs/core_chrome.mdx index 93b6f1b4b9709..642ad3bd29689 100644 --- a/api_docs/core_chrome.mdx +++ b/api_docs/core_chrome.mdx @@ -1,7 +1,7 @@ --- id: kibCoreChromePluginApi -slug: /kibana-dev-docs/core.chromePluginApi -title: core.chrome +slug: /kibana-dev-docs/api/core-chrome +title: "core.chrome" image: https://source.unsplash.com/400x175/?github summary: API docs for the core.chrome plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2295 | 27 | 1021 | 30 | +| 2302 | 27 | 1020 | 30 | ## Client diff --git a/api_docs/core_http.json b/api_docs/core_http.json index f110e102dc537..457d512e8df4a 100644 --- a/api_docs/core_http.json +++ b/api_docs/core_http.json @@ -2248,9 +2248,21 @@ ], "signature": [ "{ readonly path: string; readonly method: ", - "RecursiveReadonly", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonly", + "text": "RecursiveReadonly" + }, "; readonly options: ", - "RecursiveReadonly", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonly", + "text": "RecursiveReadonly" + }, "<", { "pluginId": "core", @@ -2469,7 +2481,13 @@ "text": "RouteValidationError" }, " extends ", - "SchemaTypeError" + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.SchemaTypeError", + "text": "SchemaTypeError" + } ], "path": "src/core/server/http/router/validator/validator_error.ts", "deprecated": false, @@ -8150,9 +8168,21 @@ "\nValidation logic for the URL params" ], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, " | ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "

| ", { "pluginId": "core", @@ -8176,9 +8206,21 @@ "\nValidation logic for the Query params" ], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, " | ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, " | ", { "pluginId": "core", @@ -8202,9 +8244,21 @@ "\nValidation logic for the body payload" ], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, " | ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, " | ", { "pluginId": "core", @@ -12515,9 +12569,21 @@ "\nAllowed property validation options: either @kbn/config-schema validations or custom validation functions\n\nSee {@link RouteValidationFunction} for custom validation.\n" ], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, " | ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, " | ", { "pluginId": "core", diff --git a/api_docs/core_http.mdx b/api_docs/core_http.mdx index 566ad1f7e597f..7d45028b82a6d 100644 --- a/api_docs/core_http.mdx +++ b/api_docs/core_http.mdx @@ -1,7 +1,7 @@ --- id: kibCoreHttpPluginApi -slug: /kibana-dev-docs/core.httpPluginApi -title: core.http +slug: /kibana-dev-docs/api/core-http +title: "core.http" image: https://source.unsplash.com/400x175/?github summary: API docs for the core.http plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2295 | 27 | 1021 | 30 | +| 2302 | 27 | 1020 | 30 | ## Client diff --git a/api_docs/core_saved_objects.json b/api_docs/core_saved_objects.json index 8aab160aab114..f5b601e346dec 100644 --- a/api_docs/core_saved_objects.json +++ b/api_docs/core_saved_objects.json @@ -4885,7 +4885,13 @@ "label": "#log", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "src/core/server/saved_objects/export/saved_objects_exporter.ts", "deprecated": false @@ -5313,7 +5319,13 @@ "label": "logger", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "src/core/server/saved_objects/export/saved_objects_exporter.ts", "deprecated": false @@ -13454,9 +13466,21 @@ "description": [], "signature": [ "(msg: string, meta: Meta) => void" ], "path": "src/core/server/saved_objects/migrations/core/migration_logger.ts", diff --git a/api_docs/core_saved_objects.mdx b/api_docs/core_saved_objects.mdx index 27691a25c57e9..1523e54b65222 100644 --- a/api_docs/core_saved_objects.mdx +++ b/api_docs/core_saved_objects.mdx @@ -1,7 +1,7 @@ --- id: kibCoreSavedObjectsPluginApi -slug: /kibana-dev-docs/core.savedObjectsPluginApi -title: core.savedObjects +slug: /kibana-dev-docs/api/core-savedObjects +title: "core.savedObjects" image: https://source.unsplash.com/400x175/?github summary: API docs for the core.savedObjects plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2295 | 27 | 1021 | 30 | +| 2302 | 27 | 1020 | 30 | ## Client diff --git a/api_docs/custom_integrations.json b/api_docs/custom_integrations.json index 022624d625f88..7cf82e84cfafc 100644 --- a/api_docs/custom_integrations.json +++ b/api_docs/custom_integrations.json @@ -2,7 +2,163 @@ "id": "customIntegrations", "client": { "classes": [], - "functions": [], + "functions": [ + { + "parentPluginId": "customIntegrations", + "id": "def-public.filterCustomIntegrations", + "type": "Function", + "tags": [], + "label": "filterCustomIntegrations", + "description": [ + "\nFilter a set of integrations by eprPackageName, and/or shipper." + ], + "signature": [ + "(integrations: ", + { + "pluginId": "customIntegrations", + "scope": "common", + "docId": "kibCustomIntegrationsPluginApi", + "section": "def-common.CustomIntegration", + "text": "CustomIntegration" + }, + "[], { eprPackageName, shipper }?: FindParams) => ", + { + "pluginId": "customIntegrations", + "scope": "common", + "docId": "kibCustomIntegrationsPluginApi", + "section": "def-common.CustomIntegration", + "text": "CustomIntegration" + }, + "[]" + ], + "path": "src/plugins/custom_integrations/public/services/find.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "customIntegrations", + "id": "def-public.filterCustomIntegrations.$1", + "type": "Array", + "tags": [], + "label": "integrations", + "description": [], + "signature": [ + { + "pluginId": "customIntegrations", + "scope": "common", + "docId": "kibCustomIntegrationsPluginApi", + "section": "def-common.CustomIntegration", + "text": "CustomIntegration" + }, + "[]" + ], + "path": "src/plugins/custom_integrations/public/services/find.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "customIntegrations", + "id": "def-public.filterCustomIntegrations.$2", + "type": "Object", + "tags": [], + "label": "{ eprPackageName, shipper }", + "description": [], + "signature": [ + "FindParams" + ], + "path": "src/plugins/custom_integrations/public/services/find.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "customIntegrations", + "id": "def-public.LazyReplacementCard", + "type": "Function", + "tags": [], + "label": "LazyReplacementCard", + "description": [], + "signature": [ + "React.ExoticComponent<", + "Props", + "> & { readonly _result: ({ eprPackageName }: ", + "Props", + ") => JSX.Element | null; }" + ], + "path": "src/plugins/custom_integrations/public/components/index.tsx", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "customIntegrations", + "id": "def-public.LazyReplacementCard.$1", + "type": "Uncategorized", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "P" + ], + "path": "node_modules/@types/react/index.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "customIntegrations", + "id": "def-public.withSuspense", + "type": "Function", + "tags": [], + "label": "withSuspense", + "description": [ + "\nA HOC which supplies React.Suspense with a fallback component, and a `EuiErrorBoundary` to contain errors." + ], + "signature": [ + "

(Component: React.ComponentType

, fallback?: React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | null) => React.ForwardRefExoticComponent & React.RefAttributes>" + ], + "path": "src/plugins/custom_integrations/public/components/index.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "customIntegrations", + "id": "def-public.withSuspense.$1", + "type": "CompoundType", + "tags": [], + "label": "Component", + "description": [ + "A component deferred by `React.lazy`" + ], + "signature": [ + "React.ComponentType

" + ], + "path": "src/plugins/custom_integrations/public/components/index.tsx", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "customIntegrations", + "id": "def-public.withSuspense.$2", + "type": "CompoundType", + "tags": [], + "label": "fallback", + "description": [ + "A fallback component to render while things load; default is `EuiLoadingSpinner`" + ], + "signature": [ + "React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | null" + ], + "path": "src/plugins/custom_integrations/public/components/index.tsx", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], "interfaces": [], "enums": [], "misc": [], @@ -39,6 +195,29 @@ "deprecated": false, "children": [], "returnComment": [] + }, + { + "parentPluginId": "customIntegrations", + "id": "def-public.CustomIntegrationsSetup.getReplacementCustomIntegrations", + "type": "Function", + "tags": [], + "label": "getReplacementCustomIntegrations", + "description": [], + "signature": [ + "() => Promise<", + { + "pluginId": "customIntegrations", + "scope": "common", + "docId": "kibCustomIntegrationsPluginApi", + "section": "def-common.CustomIntegration", + "text": "CustomIntegration" + }, + "[]>" + ], + "path": "src/plugins/custom_integrations/public/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] } ], "lifecycle": "setup", @@ -53,7 +232,50 @@ "description": [], "path": "src/plugins/custom_integrations/public/types.ts", "deprecated": false, - "children": [], + "children": [ + { + "parentPluginId": "customIntegrations", + "id": "def-public.CustomIntegrationsStart.ContextProvider", + "type": "Function", + "tags": [], + "label": "ContextProvider", + "description": [], + "signature": [ + "React.FunctionComponent<{}>" + ], + "path": "src/plugins/custom_integrations/public/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "customIntegrations", + "id": "def-public.CustomIntegrationsStart.ContextProvider.$1", + "type": "CompoundType", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "P & { children?: React.ReactNode; }" + ], + "path": "node_modules/@types/react/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "customIntegrations", + "id": "def-public.CustomIntegrationsStart.ContextProvider.$2", + "type": "Any", + "tags": [], + "label": "context", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/@types/react/index.d.ts", + "deprecated": false + } + ] + } + ], "lifecycle": "start", "initialIsOpen": true } @@ -62,42 +284,6 @@ "classes": [], "functions": [], "interfaces": [ - { - "parentPluginId": "customIntegrations", - "id": "def-server.CategoryCount", - "type": "Interface", - "tags": [], - "label": "CategoryCount", - "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "customIntegrations", - "id": "def-server.CategoryCount.count", - "type": "number", - "tags": [], - "label": "count", - "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", - "deprecated": false - }, - { - "parentPluginId": "customIntegrations", - "id": "def-server.CategoryCount.id", - "type": "CompoundType", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "\"custom\" | \"aws\" | \"azure\" | \"cloud\" | \"config_management\" | \"containers\" | \"crm\" | \"datastore\" | \"elastic_stack\" | \"google_cloud\" | \"kubernetes\" | \"languages\" | \"message_queue\" | \"monitoring\" | \"network\" | \"notification\" | \"os_system\" | \"productivity\" | \"security\" | \"sample_data\" | \"support\" | \"ticketing\" | \"version_control\" | \"web\" | \"upload_file\" | \"updates_available\"" - ], - "path": "src/plugins/custom_integrations/common/index.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, { "parentPluginId": "customIntegrations", "id": "def-server.CustomIntegration", @@ -199,7 +385,7 @@ "label": "categories", "description": [], "signature": [ - "(\"custom\" | \"aws\" | \"azure\" | \"cloud\" | \"config_management\" | \"containers\" | \"crm\" | \"datastore\" | \"elastic_stack\" | \"google_cloud\" | \"kubernetes\" | \"languages\" | \"message_queue\" | \"monitoring\" | \"network\" | \"notification\" | \"os_system\" | \"productivity\" | \"security\" | \"sample_data\" | \"support\" | \"ticketing\" | \"version_control\" | \"web\" | \"upload_file\" | \"updates_available\")[]" + "(\"custom\" | \"aws\" | \"azure\" | \"cloud\" | \"config_management\" | \"containers\" | \"crm\" | \"datastore\" | \"elastic_stack\" | \"google_cloud\" | \"kubernetes\" | \"languages\" | \"message_queue\" | \"monitoring\" | \"network\" | \"notification\" | \"os_system\" | \"productivity\" | \"security\" | \"sample_data\" | \"support\" | \"ticketing\" | \"version_control\" | \"web\" | \"upload_file\" | \"language_client\" | \"updates_available\")[]" ], "path": "src/plugins/custom_integrations/common/index.ts", "deprecated": false @@ -213,6 +399,55 @@ "description": [], "path": "src/plugins/custom_integrations/common/index.ts", "deprecated": false + }, + { + "parentPluginId": "customIntegrations", + "id": "def-server.CustomIntegration.eprOverlap", + "type": "string", + "tags": [], + "label": "eprOverlap", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/custom_integrations/common/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "customIntegrations", + "id": "def-server.IntegrationCategoryCount", + "type": "Interface", + "tags": [], + "label": "IntegrationCategoryCount", + "description": [], + "path": "src/plugins/custom_integrations/common/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "customIntegrations", + "id": "def-server.IntegrationCategoryCount.count", + "type": "number", + "tags": [], + "label": "count", + "description": [], + "path": "src/plugins/custom_integrations/common/index.ts", + "deprecated": false + }, + { + "parentPluginId": "customIntegrations", + "id": "def-server.IntegrationCategoryCount.id", + "type": "CompoundType", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "\"custom\" | \"aws\" | \"azure\" | \"cloud\" | \"config_management\" | \"containers\" | \"crm\" | \"datastore\" | \"elastic_stack\" | \"google_cloud\" | \"kubernetes\" | \"languages\" | \"message_queue\" | \"monitoring\" | \"network\" | \"notification\" | \"os_system\" | \"productivity\" | \"security\" | \"sample_data\" | \"support\" | \"ticketing\" | \"version_control\" | \"web\" | \"upload_file\" | \"language_client\" | \"updates_available\"" + ], + "path": "src/plugins/custom_integrations/common/index.ts", + "deprecated": false } ], "initialIsOpen": false @@ -222,13 +457,13 @@ "misc": [ { "parentPluginId": "customIntegrations", - "id": "def-server.Category", + "id": "def-server.IntegrationCategory", "type": "Type", "tags": [], - "label": "Category", + "label": "IntegrationCategory", "description": [], "signature": [ - "\"custom\" | \"aws\" | \"azure\" | \"cloud\" | \"config_management\" | \"containers\" | \"crm\" | \"datastore\" | \"elastic_stack\" | \"google_cloud\" | \"kubernetes\" | \"languages\" | \"message_queue\" | \"monitoring\" | \"network\" | \"notification\" | \"os_system\" | \"productivity\" | \"security\" | \"sample_data\" | \"support\" | \"ticketing\" | \"version_control\" | \"web\" | \"upload_file\" | \"updates_available\"" + "\"custom\" | \"aws\" | \"azure\" | \"cloud\" | \"config_management\" | \"containers\" | \"crm\" | \"datastore\" | \"elastic_stack\" | \"google_cloud\" | \"kubernetes\" | \"languages\" | \"message_queue\" | \"monitoring\" | \"network\" | \"notification\" | \"os_system\" | \"productivity\" | \"security\" | \"sample_data\" | \"support\" | \"ticketing\" | \"version_control\" | \"web\" | \"upload_file\" | \"language_client\" | \"updates_available\"" ], "path": "src/plugins/custom_integrations/common/index.ts", "deprecated": false, @@ -262,7 +497,7 @@ "section": "def-common.CustomIntegration", "text": "CustomIntegration" }, - ", \"id\" | \"title\" | \"description\" | \"uiInternalPath\" | \"isBeta\" | \"icons\" | \"categories\" | \"shipper\">) => void" + ", \"shipper\" | \"id\" | \"title\" | \"description\" | \"uiInternalPath\" | \"isBeta\" | \"icons\" | \"categories\" | \"eprOverlap\">) => void" ], "path": "src/plugins/custom_integrations/server/types.ts", "deprecated": false, @@ -283,7 +518,7 @@ "section": "def-common.CustomIntegration", "text": "CustomIntegration" }, - ", \"id\" | \"title\" | \"description\" | \"uiInternalPath\" | \"isBeta\" | \"icons\" | \"categories\" | \"shipper\">" + ", \"shipper\" | \"id\" | \"title\" | \"description\" | \"uiInternalPath\" | \"isBeta\" | \"icons\" | \"categories\" | \"eprOverlap\">" ], "path": "src/plugins/custom_integrations/server/types.ts", "deprecated": false, @@ -337,42 +572,6 @@ "classes": [], "functions": [], "interfaces": [ - { - "parentPluginId": "customIntegrations", - "id": "def-common.CategoryCount", - "type": "Interface", - "tags": [], - "label": "CategoryCount", - "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "customIntegrations", - "id": "def-common.CategoryCount.count", - "type": "number", - "tags": [], - "label": "count", - "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", - "deprecated": false - }, - { - "parentPluginId": "customIntegrations", - "id": "def-common.CategoryCount.id", - "type": "CompoundType", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "\"custom\" | \"aws\" | \"azure\" | \"cloud\" | \"config_management\" | \"containers\" | \"crm\" | \"datastore\" | \"elastic_stack\" | \"google_cloud\" | \"kubernetes\" | \"languages\" | \"message_queue\" | \"monitoring\" | \"network\" | \"notification\" | \"os_system\" | \"productivity\" | \"security\" | \"sample_data\" | \"support\" | \"ticketing\" | \"version_control\" | \"web\" | \"upload_file\" | \"updates_available\"" - ], - "path": "src/plugins/custom_integrations/common/index.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, { "parentPluginId": "customIntegrations", "id": "def-common.CustomIntegration", @@ -474,7 +673,7 @@ "label": "categories", "description": [], "signature": [ - "(\"custom\" | \"aws\" | \"azure\" | \"cloud\" | \"config_management\" | \"containers\" | \"crm\" | \"datastore\" | \"elastic_stack\" | \"google_cloud\" | \"kubernetes\" | \"languages\" | \"message_queue\" | \"monitoring\" | \"network\" | \"notification\" | \"os_system\" | \"productivity\" | \"security\" | \"sample_data\" | \"support\" | \"ticketing\" | \"version_control\" | \"web\" | \"upload_file\" | \"updates_available\")[]" + "(\"custom\" | \"aws\" | \"azure\" | \"cloud\" | \"config_management\" | \"containers\" | \"crm\" | \"datastore\" | \"elastic_stack\" | \"google_cloud\" | \"kubernetes\" | \"languages\" | \"message_queue\" | \"monitoring\" | \"network\" | \"notification\" | \"os_system\" | \"productivity\" | \"security\" | \"sample_data\" | \"support\" | \"ticketing\" | \"version_control\" | \"web\" | \"upload_file\" | \"language_client\" | \"updates_available\")[]" ], "path": "src/plugins/custom_integrations/common/index.ts", "deprecated": false @@ -488,6 +687,19 @@ "description": [], "path": "src/plugins/custom_integrations/common/index.ts", "deprecated": false + }, + { + "parentPluginId": "customIntegrations", + "id": "def-common.CustomIntegration.eprOverlap", + "type": "string", + "tags": [], + "label": "eprOverlap", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/custom_integrations/common/index.ts", + "deprecated": false } ], "initialIsOpen": false @@ -527,19 +739,55 @@ } ], "initialIsOpen": false + }, + { + "parentPluginId": "customIntegrations", + "id": "def-common.IntegrationCategoryCount", + "type": "Interface", + "tags": [], + "label": "IntegrationCategoryCount", + "description": [], + "path": "src/plugins/custom_integrations/common/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "customIntegrations", + "id": "def-common.IntegrationCategoryCount.count", + "type": "number", + "tags": [], + "label": "count", + "description": [], + "path": "src/plugins/custom_integrations/common/index.ts", + "deprecated": false + }, + { + "parentPluginId": "customIntegrations", + "id": "def-common.IntegrationCategoryCount.id", + "type": "CompoundType", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "\"custom\" | \"aws\" | \"azure\" | \"cloud\" | \"config_management\" | \"containers\" | \"crm\" | \"datastore\" | \"elastic_stack\" | \"google_cloud\" | \"kubernetes\" | \"languages\" | \"message_queue\" | \"monitoring\" | \"network\" | \"notification\" | \"os_system\" | \"productivity\" | \"security\" | \"sample_data\" | \"support\" | \"ticketing\" | \"version_control\" | \"web\" | \"upload_file\" | \"language_client\" | \"updates_available\"" + ], + "path": "src/plugins/custom_integrations/common/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false } ], "enums": [], "misc": [ { "parentPluginId": "customIntegrations", - "id": "def-common.Category", + "id": "def-common.IntegrationCategory", "type": "Type", "tags": [], - "label": "Category", + "label": "IntegrationCategory", "description": [], "signature": [ - "\"custom\" | \"aws\" | \"azure\" | \"cloud\" | \"config_management\" | \"containers\" | \"crm\" | \"datastore\" | \"elastic_stack\" | \"google_cloud\" | \"kubernetes\" | \"languages\" | \"message_queue\" | \"monitoring\" | \"network\" | \"notification\" | \"os_system\" | \"productivity\" | \"security\" | \"sample_data\" | \"support\" | \"ticketing\" | \"version_control\" | \"web\" | \"upload_file\" | \"updates_available\"" + "\"custom\" | \"aws\" | \"azure\" | \"cloud\" | \"config_management\" | \"containers\" | \"crm\" | \"datastore\" | \"elastic_stack\" | \"google_cloud\" | \"kubernetes\" | \"languages\" | \"message_queue\" | \"monitoring\" | \"network\" | \"notification\" | \"os_system\" | \"productivity\" | \"security\" | \"sample_data\" | \"support\" | \"ticketing\" | \"version_control\" | \"web\" | \"upload_file\" | \"language_client\" | \"updates_available\"" ], "path": "src/plugins/custom_integrations/common/index.ts", "deprecated": false, @@ -575,10 +823,21 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.ROUTES_ADDABLECUSTOMINTEGRATIONS", + "id": "def-common.ROUTES_APPEND_CUSTOM_INTEGRATIONS", "type": "string", "tags": [], - "label": "ROUTES_ADDABLECUSTOMINTEGRATIONS", + "label": "ROUTES_APPEND_CUSTOM_INTEGRATIONS", + "description": [], + "path": "src/plugins/custom_integrations/common/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "customIntegrations", + "id": "def-common.ROUTES_REPLACEMENT_CUSTOM_INTEGRATIONS", + "type": "string", + "tags": [], + "label": "ROUTES_REPLACEMENT_CUSTOM_INTEGRATIONS", "description": [], "path": "src/plugins/custom_integrations/common/index.ts", "deprecated": false, @@ -588,27 +847,29 @@ "objects": [ { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY", "type": "Object", "tags": [], - "label": "CATEGORY_DISPLAY", + "label": "INTEGRATION_CATEGORY_DISPLAY", "description": [], "path": "src/plugins/custom_integrations/common/index.ts", "deprecated": false, "children": [ { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.aws", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.aws", "type": "string", "tags": [], "label": "aws", - "description": [], + "description": [ + "// Known EPR" + ], "path": "src/plugins/custom_integrations/common/index.ts", "deprecated": false }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.azure", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.azure", "type": "string", "tags": [], "label": "azure", @@ -618,7 +879,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.cloud", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.cloud", "type": "string", "tags": [], "label": "cloud", @@ -628,7 +889,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.config_management", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.config_management", "type": "string", "tags": [], "label": "config_management", @@ -638,7 +899,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.containers", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.containers", "type": "string", "tags": [], "label": "containers", @@ -648,7 +909,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.crm", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.crm", "type": "string", "tags": [], "label": "crm", @@ -658,7 +919,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.custom", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.custom", "type": "string", "tags": [], "label": "custom", @@ -668,7 +929,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.datastore", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.datastore", "type": "string", "tags": [], "label": "datastore", @@ -678,7 +939,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.elastic_stack", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.elastic_stack", "type": "string", "tags": [], "label": "elastic_stack", @@ -688,7 +949,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.google_cloud", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.google_cloud", "type": "string", "tags": [], "label": "google_cloud", @@ -698,7 +959,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.kubernetes", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.kubernetes", "type": "string", "tags": [], "label": "kubernetes", @@ -708,7 +969,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.languages", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.languages", "type": "string", "tags": [], "label": "languages", @@ -718,7 +979,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.message_queue", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.message_queue", "type": "string", "tags": [], "label": "message_queue", @@ -728,7 +989,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.monitoring", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.monitoring", "type": "string", "tags": [], "label": "monitoring", @@ -738,7 +999,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.network", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.network", "type": "string", "tags": [], "label": "network", @@ -748,7 +1009,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.notification", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.notification", "type": "string", "tags": [], "label": "notification", @@ -758,7 +1019,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.os_system", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.os_system", "type": "string", "tags": [], "label": "os_system", @@ -768,7 +1029,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.productivity", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.productivity", "type": "string", "tags": [], "label": "productivity", @@ -778,7 +1039,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.security", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.security", "type": "string", "tags": [], "label": "security", @@ -788,7 +1049,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.sample_data", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.sample_data", "type": "string", "tags": [], "label": "sample_data", @@ -798,7 +1059,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.support", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.support", "type": "string", "tags": [], "label": "support", @@ -808,7 +1069,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.ticketing", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.ticketing", "type": "string", "tags": [], "label": "ticketing", @@ -818,7 +1079,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.version_control", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.version_control", "type": "string", "tags": [], "label": "version_control", @@ -828,7 +1089,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.web", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.web", "type": "string", "tags": [], "label": "web", @@ -838,21 +1099,35 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.upload_file", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.upload_file", "type": "string", "tags": [], "label": "upload_file", + "description": [ + "// Kibana added" + ], + "path": "src/plugins/custom_integrations/common/index.ts", + "deprecated": false + }, + { + "parentPluginId": "customIntegrations", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.language_client", + "type": "string", + "tags": [], + "label": "language_client", "description": [], "path": "src/plugins/custom_integrations/common/index.ts", "deprecated": false }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.updates_available", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.updates_available", "type": "string", "tags": [], "label": "updates_available", - "description": [], + "description": [ + "// Internal" + ], "path": "src/plugins/custom_integrations/common/index.ts", "deprecated": false } diff --git a/api_docs/custom_integrations.mdx b/api_docs/custom_integrations.mdx index 53fcbf45e783e..378d3b16c57fa 100644 --- a/api_docs/custom_integrations.mdx +++ b/api_docs/custom_integrations.mdx @@ -1,7 +1,7 @@ --- id: kibCustomIntegrationsPluginApi -slug: /kibana-dev-docs/customIntegrationsPluginApi -title: customIntegrations +slug: /kibana-dev-docs/api/customIntegrations +title: "customIntegrations" image: https://source.unsplash.com/400x175/?github summary: API docs for the customIntegrations plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Fleet](https://github.com/orgs/elastic/teams/fleet) for questions regar | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 69 | 0 | 69 | 0 | +| 85 | 1 | 78 | 1 | ## Client @@ -28,6 +28,9 @@ Contact [Fleet](https://github.com/orgs/elastic/teams/fleet) for questions regar ### Start +### Functions + + ## Server ### Setup diff --git a/api_docs/dashboard.json b/api_docs/dashboard.json index 2ad90b2f10273..b42846c747bfa 100644 --- a/api_docs/dashboard.json +++ b/api_docs/dashboard.json @@ -1291,7 +1291,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/dashboard/public/types.ts", @@ -1736,7 +1742,13 @@ "description": [], "signature": [ "() => ", - "Query" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + } ], "path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts", "deprecated": false, @@ -1752,7 +1764,13 @@ "description": [], "signature": [ "() => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts", @@ -1875,7 +1893,13 @@ "\nOptionally apply filers. NOTE: if given and used in conjunction with `dashboardId`, and the\nsaved dashboard has filters saved with it, this will _replace_ those filters." ], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "src/plugins/dashboard/public/url_generator.ts", @@ -1891,7 +1915,13 @@ "\nOptionally set a query. NOTE: if given and used in conjunction with `dashboardId`, and the\nsaved dashboard has a query saved with it, this will _replace_ that query." ], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "src/plugins/dashboard/public/url_generator.ts", @@ -2091,9 +2121,21 @@ "text": "RefreshInterval" }, " | undefined; filters?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined; query?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined; useHash?: boolean | undefined; preserveSavedFilters?: boolean | undefined; viewMode?: ", { "pluginId": "embeddable", @@ -2384,15 +2426,15 @@ "references": [ { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/containers/overview_cti_links/index.tsx" + "path": "x-pack/plugins/security_solution/public/overview/containers/overview_risky_host_links/use_risky_hosts_dashboard_button_href.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/containers/overview_risky_host_links/use_risky_hosts_dashboard_button_href.ts" + "path": "x-pack/plugins/security_solution/public/overview/containers/overview_risky_host_links/use_risky_hosts_dashboard_links.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/containers/overview_risky_host_links/use_risky_hosts_dashboard_links.tsx" + "path": "x-pack/plugins/security_solution/public/overview/containers/overview_cti_links/index.tsx" } ] }, @@ -2460,7 +2502,13 @@ "text": "SavedObjectsRepository" }, ", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"deleteByNamespace\" | \"find\" | \"bulkGet\" | \"bulkResolve\" | \"resolve\" | \"update\" | \"collectMultiNamespaceReferences\" | \"updateObjectsSpaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"incrementCounter\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\">, \"find\">, embeddableType: string) => Promise<{ [key: string]: ", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, "; }[]>" ], "path": "src/plugins/dashboard/server/usage/find_by_value_embeddables.ts", @@ -2590,7 +2638,13 @@ "text": "SavedDashboardPanel630" }, ")[], version: string, useMargins: boolean, uiState: { [key: string]: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "; } | undefined) => ", { "pluginId": "dashboard", diff --git a/api_docs/dashboard.mdx b/api_docs/dashboard.mdx index eb9ec6e8c1781..a1dd9651f17fb 100644 --- a/api_docs/dashboard.mdx +++ b/api_docs/dashboard.mdx @@ -1,7 +1,7 @@ --- id: kibDashboardPluginApi -slug: /kibana-dev-docs/dashboardPluginApi -title: dashboard +slug: /kibana-dev-docs/api/dashboard +title: "dashboard" image: https://source.unsplash.com/400x175/?github summary: API docs for the dashboard plugin date: 2020-11-16 diff --git a/api_docs/dashboard_enhanced.json b/api_docs/dashboard_enhanced.json index 01640b10df3ea..92bdfbc11b3f6 100644 --- a/api_docs/dashboard_enhanced.json +++ b/api_docs/dashboard_enhanced.json @@ -610,8 +610,22 @@ "; navigate(options: ", "RedirectOptions", "<", - "SerializableRecord", - ">): void; }" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, + ">): void; setAnonymousAccessServiceProvider: (provider: () => ", + { + "pluginId": "share", + "scope": "common", + "docId": "kibSharePluginApi", + "section": "def-common.AnonymousAccessServiceContract", + "text": "AnonymousAccessServiceContract" + }, + ") => void; }" ], "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", "deprecated": false @@ -709,7 +723,13 @@ "; navigate(options: ", "RedirectOptions", "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">): void; }" ], "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", diff --git a/api_docs/dashboard_enhanced.mdx b/api_docs/dashboard_enhanced.mdx index 51c37c177c4cd..e14d138cb43ae 100644 --- a/api_docs/dashboard_enhanced.mdx +++ b/api_docs/dashboard_enhanced.mdx @@ -1,7 +1,7 @@ --- id: kibDashboardEnhancedPluginApi -slug: /kibana-dev-docs/dashboardEnhancedPluginApi -title: dashboardEnhanced +slug: /kibana-dev-docs/api/dashboardEnhanced +title: "dashboardEnhanced" image: https://source.unsplash.com/400x175/?github summary: API docs for the dashboardEnhanced plugin date: 2020-11-16 diff --git a/api_docs/dashboard_mode.mdx b/api_docs/dashboard_mode.mdx index 896bf11aaf330..868e716d5d9b7 100644 --- a/api_docs/dashboard_mode.mdx +++ b/api_docs/dashboard_mode.mdx @@ -1,7 +1,7 @@ --- id: kibDashboardModePluginApi -slug: /kibana-dev-docs/dashboardModePluginApi -title: dashboardMode +slug: /kibana-dev-docs/api/dashboardMode +title: "dashboardMode" image: https://source.unsplash.com/400x175/?github summary: API docs for the dashboardMode plugin date: 2020-11-16 diff --git a/api_docs/data.json b/api_docs/data.json index 2f06bbbb6eab3..4e6ffaff53657 100644 --- a/api_docs/data.json +++ b/api_docs/data.json @@ -241,7 +241,13 @@ "description": [], "signature": [ "Pick & Pick<{ type: ", { "pluginId": "data", @@ -608,7 +614,13 @@ "description": [], "signature": [ "() => { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -629,7 +641,13 @@ "description": [], "signature": [ "() => { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -940,9 +958,9 @@ "signature": [ "() => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" } @@ -1159,9 +1177,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" } @@ -1270,9 +1288,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" } @@ -1290,7 +1308,13 @@ "description": [], "signature": [ "Pick & Pick<{ type: string | ", { "pluginId": "data", @@ -1529,7 +1553,13 @@ "text": "AggConfig" }, ">(params: Pick & Pick<{ type: string | ", { "pluginId": "data", @@ -1560,7 +1590,13 @@ "description": [], "signature": [ "Pick & Pick<{ type: string | ", { "pluginId": "data", @@ -1991,7 +2027,13 @@ "description": [], "signature": [ "(forceNow?: Date | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, "[] | { meta: { index: string | undefined; params: {}; alias: string; disabled: boolean; negate: boolean; }; query: { bool: { should: { bool: { filter: { range: { [x: string]: { gte: string; lte: string; }; }; }[]; }; }[]; minimum_should_match: number; }; }; }[]" ], "path": "src/plugins/data/common/search/aggs/agg_configs.ts", @@ -2291,7 +2333,13 @@ "description": [], "signature": [ "(agg: TAggConfig, state?: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined) => TAggConfig" ], "path": "src/plugins/data/common/search/aggs/param_types/agg.ts", @@ -2320,7 +2368,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/param_types/agg.ts", @@ -2563,7 +2617,7 @@ "section": "def-public.CoreStart", "text": "CoreStart" }, - ", { uiActions, fieldFormats }: ", + ", { uiActions, fieldFormats, dataViews }: ", "DataStartDependencies", ") => ", { @@ -2602,7 +2656,7 @@ "id": "def-public.DataPublicPlugin.start.$2", "type": "Object", "tags": [], - "label": "{ uiActions, fieldFormats }", + "label": "{ uiActions, fieldFormats, dataViews }", "description": [], "signature": [ "DataStartDependencies" @@ -2641,15 +2695,15 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DuplicateDataViewError", "text": "DuplicateDataViewError" }, " extends Error" ], - "path": "src/plugins/data/common/data_views/errors/duplicate_index_pattern.ts", + "path": "src/plugins/data_views/common/errors/duplicate_index_pattern.ts", "deprecated": false, "children": [ { @@ -2662,7 +2716,7 @@ "signature": [ "any" ], - "path": "src/plugins/data/common/data_views/errors/duplicate_index_pattern.ts", + "path": "src/plugins/data_views/common/errors/duplicate_index_pattern.ts", "deprecated": false, "children": [ { @@ -2675,7 +2729,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/errors/duplicate_index_pattern.ts", + "path": "src/plugins/data_views/common/errors/duplicate_index_pattern.ts", "deprecated": false, "isRequired": true } @@ -2696,24 +2750,28 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, " extends ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" } ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": true, "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" @@ -3196,31 +3254,31 @@ }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" }, { "plugin": "dataVisualizer", @@ -3230,6 +3288,14 @@ "plugin": "dataVisualizer", "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, { "plugin": "dataVisualizer", "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" @@ -3422,6 +3488,14 @@ "plugin": "maps", "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts" + }, { "plugin": "infra", "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" @@ -3702,6 +3776,18 @@ "plugin": "discover", "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/table_header.d.ts" }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/public/index.ts" + }, { "plugin": "lens", "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" @@ -3726,26 +3812,6 @@ "plugin": "savedObjects", "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis_types/types.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis_types/types.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis_types/types.ts" - }, { "plugin": "discover", "path": "src/plugins/discover/public/application/doc_views/doc_views_types.ts" @@ -3990,6 +4056,26 @@ "plugin": "discover", "path": "src/plugins/discover/public/application/apps/main/utils/persist_saved_search.ts" }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, { "plugin": "visualizations", "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" @@ -4322,14 +4408,6 @@ "plugin": "dataVisualizer", "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, { "plugin": "ml", "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" @@ -5601,6 +5679,22 @@ { "plugin": "discover", "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" } ], "children": [], @@ -5617,24 +5711,284 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPatternField", "text": "IndexPatternField" }, " extends ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" } ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": true, "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/public/index.ts" + }, { "plugin": "indexPatternFieldEditor", "path": "src/plugins/index_pattern_field_editor/public/shared_imports.ts" @@ -6163,14 +6517,6 @@ "plugin": "maps", "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, { "plugin": "maps", "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" @@ -6771,221 +7117,53 @@ "plugin": "discover", "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" - }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" } ], "children": [], @@ -7002,24 +7180,28 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPatternsService", "text": "IndexPatternsService" }, " extends ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewsService", "text": "DataViewsService" } ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", + "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": true, "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" @@ -7152,6 +7334,10 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/public/index.ts" + }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" @@ -8195,7 +8381,13 @@ "description": [], "signature": [ "(esType: string) => ", - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/data/common/kbn_field_types/index.ts", "deprecated": true, @@ -8298,22 +8490,22 @@ "signature": [ "(specs?: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, "[], shortDotsEnable?: boolean) => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPatternFieldList", "text": "IIndexPatternFieldList" } ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", + "path": "src/plugins/data_views/common/fields/field_list.ts", "deprecated": false, "children": [ { @@ -8325,15 +8517,15 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, "[]" ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", + "path": "src/plugins/data_views/common/fields/field_list.ts", "deprecated": false, "isRequired": true }, @@ -8347,7 +8539,7 @@ "signature": [ "boolean" ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", + "path": "src/plugins/data_views/common/fields/field_list.ts", "deprecated": false, "isRequired": true } @@ -8364,7 +8556,13 @@ "description": [], "signature": [ "(config: KibanaConfig) => ", - "EsQueryConfig" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + } ], "path": "src/plugins/data/common/es_query/get_es_query_config.ts", "deprecated": false, @@ -8523,9 +8721,9 @@ "signature": [ "(indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -8538,9 +8736,21 @@ "text": "TimeRange" }, ", options: { forceNow?: Date | undefined; fieldName?: string | undefined; } | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined" @@ -8557,9 +8767,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -8808,7 +9018,13 @@ "description": [], "signature": [ "(x: unknown) => x is ", - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "src/plugins/data/common/es_query/index.ts", "deprecated": true, @@ -8843,7 +9059,13 @@ "description": [], "signature": [ "(x: unknown) => x is ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/common/es_query/index.ts", @@ -8934,7 +9156,13 @@ "description": [], "signature": [ "(x: unknown) => x is ", - "Query" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + } ], "path": "src/plugins/data/common/query/is_query.ts", "deprecated": false, @@ -9113,7 +9341,13 @@ "text": "ExpressionValueBoxed" }, "<\"kibana_query\", ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "> | undefined; }, \"filter\" | \"geo_bounding_box\"> & Pick<{ geo_bounding_box?: ({ type: \"geo_bounding_box\"; } & GeoBox) | ({ type: \"geo_bounding_box\"; } & { top_left: ", { "pluginId": "data", @@ -9155,7 +9389,13 @@ "text": "ExpressionValueBoxed" }, "<\"kibana_query\", ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "> | undefined; }, never>, \"enabled\" | \"id\" | \"filter\" | \"schema\" | \"geo_bounding_box\" | \"json\" | \"customLabel\" | \"timeShift\">, ", "AggExpressionType", ", ", @@ -9175,7 +9415,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9257,7 +9503,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9307,7 +9559,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9421,7 +9679,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9503,7 +9767,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9585,7 +9855,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9635,7 +9911,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9749,7 +10031,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9831,7 +10119,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9945,7 +10239,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9999,7 +10299,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10049,7 +10355,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10107,7 +10419,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10165,7 +10483,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10223,7 +10547,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10281,7 +10611,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10339,7 +10675,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10389,7 +10731,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10439,7 +10787,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10493,7 +10847,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10547,7 +10907,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10597,7 +10963,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10647,7 +11019,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10697,7 +11075,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10747,7 +11131,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10797,7 +11187,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10847,7 +11243,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10901,7 +11303,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10951,7 +11359,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -11001,7 +11415,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -11055,7 +11475,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -11105,7 +11531,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -11155,7 +11587,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -11205,7 +11643,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -11309,7 +11753,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/actions/apply_filter_action.ts", @@ -11380,7 +11830,13 @@ "({ data, negate, }: ", "ValueClickDataContext", ") => Promise<", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]>" ], "path": "src/plugins/data/public/types.ts", @@ -11413,7 +11869,13 @@ "(event: ", "RangeSelectDataContext", ") => Promise<", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]>" ], "path": "src/plugins/data/public/types.ts", @@ -11518,7 +11980,7 @@ "tags": [], "label": "GetFieldsOptions", "description": [], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false, "children": [ { @@ -11528,7 +11990,7 @@ "tags": [], "label": "pattern", "description": [], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false }, { @@ -11541,7 +12003,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false }, { @@ -11554,7 +12016,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false }, { @@ -11567,7 +12029,7 @@ "signature": [ "string[] | undefined" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false }, { @@ -11580,7 +12042,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false }, { @@ -11593,7 +12055,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false } ], @@ -11838,19 +12300,97 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, " extends ", - "DataViewFieldBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": true, "removeBy": "8.1", "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/utils.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/utils.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/field_list.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/field_list.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/field_list.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/field_list.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/types.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/types.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/types.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/types.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" + }, { "plugin": "fleet", "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" @@ -12262,6 +12802,26 @@ { "plugin": "stackAlerts", "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/utils.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/utils.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/fields.mocks.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/fields.mocks.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/fields.mocks.ts" } ], "children": [ @@ -12275,7 +12835,7 @@ "signature": [ "number | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -12288,7 +12848,7 @@ "signature": [ "string[] | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -12301,7 +12861,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -12314,7 +12874,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -12327,7 +12887,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -12340,7 +12900,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -12353,7 +12913,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -12366,7 +12926,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -12379,7 +12939,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -12392,7 +12952,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -12405,7 +12965,7 @@ "signature": [ "any" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -12418,25 +12978,25 @@ "signature": [ "((options?: { getFormatterForField?: ((field: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" }, @@ -12450,15 +13010,15 @@ }, ") | undefined; } | undefined) => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, ") | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false, "children": [ { @@ -12468,7 +13028,7 @@ "tags": [], "label": "options", "description": [], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false, "children": [ { @@ -12481,25 +13041,25 @@ "signature": [ "((field: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" }, @@ -12513,7 +13073,7 @@ }, ") | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false } ] @@ -12535,18 +13095,36 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, " extends ", - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": true, "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, { "plugin": "timelines", "path": "x-pack/plugins/timelines/public/components/t_grid/helpers.tsx" @@ -13388,7 +13966,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false }, { @@ -13400,15 +13978,15 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, "[]" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false }, { @@ -13423,7 +14001,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false }, { @@ -13436,7 +14014,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false }, { @@ -13449,7 +14027,7 @@ "signature": [ "string | null | undefined" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false }, { @@ -13462,15 +14040,15 @@ "signature": [ "(() => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, " | undefined) | undefined" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false, "children": [], "returnComment": [] @@ -13493,7 +14071,7 @@ }, " | undefined> | undefined" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false }, { @@ -13508,25 +14086,25 @@ "signature": [ "((field: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" }, @@ -13540,7 +14118,7 @@ }, ") | undefined" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false, "children": [ { @@ -13552,30 +14130,30 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" } ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false, "isRequired": true } @@ -13890,9 +14468,9 @@ ], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -14160,7 +14738,13 @@ "\n{@link Query}" ], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "src/plugins/data/common/search/search_source/types.ts", @@ -14176,13 +14760,37 @@ "\n{@link Filter}" ], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | (() => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined) | undefined" ], "path": "src/plugins/data/common/search/search_source/types.ts", @@ -14425,9 +15033,9 @@ ], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -14512,7 +15120,7 @@ "tags": [], "label": "TypeMeta", "description": [], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false, "children": [ { @@ -14525,7 +15133,7 @@ "signature": [ "Record> | undefined" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false }, { @@ -14538,7 +15146,7 @@ "signature": [ "{ rollup_index: string; } | undefined" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false } ], @@ -14564,9 +15172,6 @@ "tags": [], "label": "ES_FIELD_TYPES", "description": [], - "signature": [ - "ES_FIELD_TYPES" - ], "path": "node_modules/@kbn/field-types/target_types/types.d.ts", "deprecated": false, "initialIsOpen": false @@ -14580,9 +15185,14 @@ ], "label": "IndexPatternType", "description": [], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": true, - "references": [], + "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + } + ], "initialIsOpen": false }, { @@ -14592,9 +15202,6 @@ "tags": [], "label": "KBN_FIELD_TYPES", "description": [], - "signature": [ - "KBN_FIELD_TYPES" - ], "path": "node_modules/@kbn/field-types/target_types/types.d.ts", "deprecated": false, "initialIsOpen": false @@ -14654,7 +15261,13 @@ "text": "IAggType" }, "; enabled?: boolean | undefined; id?: string | undefined; schema?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -14670,7 +15283,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -14730,7 +15349,7 @@ "signature": [ "{ [x: string]: { agg?: string | undefined; interval?: number | undefined; fixed_interval?: string | undefined; calendar_interval?: string | undefined; delay?: string | undefined; time_zone?: string | undefined; }; }" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false, "initialIsOpen": false }, @@ -14744,7 +15363,7 @@ "signature": [ "{ [x: string]: { agg?: string | undefined; interval?: number | undefined; fixed_interval?: string | undefined; calendar_interval?: string | undefined; delay?: string | undefined; time_zone?: string | undefined; }; }" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false, "initialIsOpen": false }, @@ -14776,9 +15395,9 @@ }, ") => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -14808,14 +15427,20 @@ }, ") => boolean; }; createAggConfigs: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, ", configStates?: Pick & Pick<{ type: string | ", { "pluginId": "data", @@ -14873,9 +15498,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "src/plugins/data/common/es_query/index.ts", @@ -14894,33 +15531,33 @@ "signature": [ "{ get: (id: string) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, ", skipFetchFields?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; find: (search: string, size?: number) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, @@ -14928,9 +15565,9 @@ "EnsureDefaultDataView", "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewListItem", "text": "DataViewListItem" }, @@ -14938,81 +15575,81 @@ "SavedObject", ">[] | null | undefined>; getDefault: () => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserDataView: () => Promise; getFieldsForWildcard: (options: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.GetFieldsOptions", "text": "GetFieldsOptions" }, ") => Promise; getFieldsForIndexPattern: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, ", options?: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.GetFieldsOptions", "text": "GetFieldsOptions" }, " | undefined) => Promise; refreshFields: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ") => Promise; fieldArrayToMap: (fields: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, "[], fieldAttrs?: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldAttrs", "text": "FieldAttrs" }, " | undefined) => Record) => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, "; migrate: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ", newTitle: string) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewsService", "text": "DataViewsService" }, ">; createAndSave: (spec: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, ", override?: boolean, skipFetchFields?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; createSavedObject: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ", override?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; updateSavedObject: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; }" ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", + "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": false, "initialIsOpen": false }, @@ -15142,7 +15779,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts", @@ -15159,9 +15802,21 @@ "label": "EsQueryConfig", "description": [], "signature": [ - "KueryQueryOptions", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryQueryOptions", + "text": "KueryQueryOptions" + }, " & { allowLeadingWildcards: boolean; queryStringOptions: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "; ignoreFilterIfFieldNotInIndex: boolean; }" ], "path": "src/plugins/data/common/es_query/index.ts", @@ -15226,11 +15881,29 @@ "description": [], "signature": [ "{ filters?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined; query?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "[] | undefined; timeRange?: ", { "pluginId": "data", @@ -15255,9 +15928,21 @@ "label": "ExistsFilter", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " & { meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; exists?: { field: string; } | undefined; }" ], "path": "src/plugins/data/common/es_query/index.ts", @@ -15429,9 +16114,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "src/plugins/data/common/es_query/index.ts", @@ -17414,7 +18111,9 @@ "label": "IFieldSubType", "description": [], "signature": [ - "IFieldSubType" + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional" ], "path": "src/plugins/data/common/es_query/index.ts", "deprecated": true, @@ -17462,99 +18161,53 @@ }, { "parentPluginId": "data", - "id": "def-public.INDEX_PATTERN_SAVED_OBJECT_TYPE", - "type": "string", + "id": "def-public.IndexPatternAttributes", + "type": "Type", "tags": [ "deprecated" ], - "label": "INDEX_PATTERN_SAVED_OBJECT_TYPE", + "label": "IndexPatternAttributes", "description": [], "signature": [ - "\"index-pattern\"" + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + } ], - "path": "src/plugins/data/common/constants.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": true, "references": [ { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/deprecations/scripted_fields.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/deprecations/scripted_fields.ts" }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.IndexPatternAttributes", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "IndexPatternAttributes", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewAttributes", - "text": "DataViewAttributes" - } - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": true, - "references": [ { "plugin": "discover", "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" @@ -17693,16 +18346,24 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewListItem", "text": "DataViewListItem" } ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", + "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": true, "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_views.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, { "plugin": "indexPatternManagement", "path": "src/plugins/index_pattern_management/public/components/utils.ts" @@ -17770,10 +18431,16 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], - "path": "src/plugins/data/common/data_views/expressions/load_index_pattern.ts", + "path": "src/plugins/data_views/common/expressions/load_index_pattern.ts", "deprecated": false, "initialIsOpen": false }, @@ -17789,33 +18456,33 @@ "signature": [ "{ get: (id: string) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, ", skipFetchFields?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; find: (search: string, size?: number) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, @@ -17823,9 +18490,9 @@ "EnsureDefaultDataView", "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewListItem", "text": "DataViewListItem" }, @@ -17833,81 +18500,81 @@ "SavedObject", ">[] | null | undefined>; getDefault: () => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserDataView: () => Promise; getFieldsForWildcard: (options: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.GetFieldsOptions", "text": "GetFieldsOptions" }, ") => Promise; getFieldsForIndexPattern: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, ", options?: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.GetFieldsOptions", "text": "GetFieldsOptions" }, " | undefined) => Promise; refreshFields: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ") => Promise; fieldArrayToMap: (fields: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, "[], fieldAttrs?: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldAttrs", "text": "FieldAttrs" }, " | undefined) => Record) => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, "; migrate: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ", newTitle: string) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewsService", "text": "DataViewsService" }, ">; createAndSave: (spec: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, ", override?: boolean, skipFetchFields?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; createSavedObject: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ", override?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; updateSavedObject: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; }" ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", + "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": true, "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, { "plugin": "discover", "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" @@ -18082,6 +18753,10 @@ "plugin": "discover", "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/public/index.ts" + }, { "plugin": "savedObjects", "path": "src/plugins/saved_objects/public/types.ts" @@ -18588,16 +19263,28 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" } ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": true, "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/routes/create_index_pattern.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/routes/create_index_pattern.ts" + }, { "plugin": "observability", "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" @@ -18963,9 +19650,6 @@ ], "label": "KueryNode", "description": [], - "signature": [ - "KueryNode" - ], "path": "src/plugins/data/common/es_query/index.ts", "deprecated": true, "removeBy": "8.1", @@ -19183,7 +19867,13 @@ "label": "MatchAllFilter", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " & { meta: ", "MatchAllFilterMeta", "; match_all: ", @@ -19205,7 +19895,13 @@ "description": [], "signature": [ "{ value: number; unit: ", - "Unit", + { + "pluginId": "@elastic/datemath", + "scope": "server", + "docId": "kibElasticDatemathPluginApi", + "section": "def-server.Unit", + "text": "Unit" + }, "; type: \"calendar\" | \"fixed\"; }" ], "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_es_interval.ts", @@ -19222,7 +19918,13 @@ "label": "PhraseFilter", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " & { meta: ", "PhraseFilterMeta", "; query: { match_phrase?: Record ", - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -20109,13 +20858,31 @@ "description": [], "signature": [ "(field: ", - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, ", params: ", "PhraseFilterValue", "[], indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, ") => ", - "PhrasesFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhrasesFilter", + "text": "PhrasesFilter" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -20129,7 +20896,13 @@ "label": "field", "description": [], "signature": [ - "DataViewFieldBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", "deprecated": false @@ -20156,7 +20929,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", "deprecated": false @@ -20172,11 +20951,29 @@ "description": [], "signature": [ "(field: ", - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, ", indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, ") => ", - "ExistsFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ExistsFilter", + "text": "ExistsFilter" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -20190,7 +20987,13 @@ "label": "field", "description": [], "signature": [ - "DataViewFieldBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", "deprecated": false @@ -20203,7 +21006,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", "deprecated": false @@ -20219,15 +21028,39 @@ "description": [], "signature": [ "(field: ", - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, ", value: ", "PhraseFilterValue", ", indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, ") => ", - "PhraseFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" + }, " | ", - "ScriptedPhraseFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedPhraseFilter", + "text": "ScriptedPhraseFilter" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -20241,7 +21074,13 @@ "label": "field", "description": [], "signature": [ - "DataViewFieldBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", "deprecated": false @@ -20267,7 +21106,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", "deprecated": false @@ -20283,7 +21128,13 @@ "description": [], "signature": [ "(query: (Record & { query_string?: { query: string; } | undefined; }) | undefined, index: string, alias: string) => ", - "QueryStringFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.QueryStringFilter", + "text": "QueryStringFilter" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -20333,15 +21184,45 @@ "description": [], "signature": [ "(field: ", - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, ", params: ", - "RangeFilterParams", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterParams", + "text": "RangeFilterParams" + }, ", indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, ", formattedValue?: string | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter" ], @@ -20357,7 +21238,13 @@ "label": "field", "description": [], "signature": [ - "DataViewFieldBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", "deprecated": false @@ -20370,7 +21257,13 @@ "label": "params", "description": [], "signature": [ - "RangeFilterParams" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterParams", + "text": "RangeFilterParams" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", "deprecated": false @@ -20383,7 +21276,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", "deprecated": false @@ -20412,9 +21311,21 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ") => filter is ", - "PhraseFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -20429,9 +21340,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", @@ -20448,9 +21371,21 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ") => filter is ", - "ExistsFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ExistsFilter", + "text": "ExistsFilter" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -20465,9 +21400,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", @@ -20484,9 +21431,21 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ") => filter is ", - "PhrasesFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhrasesFilter", + "text": "PhrasesFilter" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -20501,9 +21460,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", @@ -20520,9 +21491,21 @@ "description": [], "signature": [ "(filter?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | undefined) => filter is ", - "RangeFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -20536,7 +21519,13 @@ "label": "filter", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", @@ -20553,9 +21542,21 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ") => filter is ", - "MatchAllFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.MatchAllFilter", + "text": "MatchAllFilter" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -20570,9 +21571,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/match_all_filter.d.ts", @@ -20589,9 +21602,21 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ") => filter is ", - "MissingFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.MissingFilter", + "text": "MissingFilter" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -20606,9 +21631,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/missing_filter.d.ts", @@ -20625,9 +21662,21 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ") => filter is ", - "QueryStringFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.QueryStringFilter", + "text": "QueryStringFilter" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -20642,9 +21691,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/query_string_filter.d.ts", @@ -20661,7 +21722,13 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ") => boolean | undefined" ], "path": "src/plugins/data/public/deprecated.ts", @@ -20677,9 +21744,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", @@ -20696,9 +21775,21 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ") => { meta: { negate: boolean; alias?: string | null | undefined; disabled?: boolean | undefined; controlledBy?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; query?: Record | undefined; }" ], "path": "src/plugins/data/public/deprecated.ts", @@ -20714,9 +21805,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", @@ -20733,9 +21836,21 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ") => ", - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -20750,9 +21865,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", @@ -20769,7 +21896,13 @@ "description": [], "signature": [ "(filter: ", - "PhraseFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" + }, ") => string" ], "path": "src/plugins/data/public/deprecated.ts", @@ -20784,7 +21917,13 @@ "label": "filter", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " & { meta: ", "PhraseFilterMeta", "; query: { match_phrase?: Record ", "PhraseFilterValue" ], @@ -20825,9 +21976,21 @@ "label": "filter", "description": [], "signature": [ - "PhraseFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" + }, " | ", - "ScriptedPhraseFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedPhraseFilter", + "text": "ScriptedPhraseFilter" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", "deprecated": false @@ -20843,12 +22006,18 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ", indexPatterns: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -20867,9 +22036,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "src/plugins/data/public/query/filter_manager/lib/get_display_value.ts", @@ -20884,9 +22065,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -20906,15 +22087,45 @@ "description": [], "signature": [ "(first: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], second: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], comparatorOptions?: ", - "FilterCompareOptions", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterCompareOptions", + "text": "FilterCompareOptions" + }, " | undefined) => boolean" ], "path": "src/plugins/data/public/deprecated.ts", @@ -20929,9 +22140,21 @@ "label": "first", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "node_modules/@kbn/es-query/target_types/filters/helpers/compare_filters.d.ts", @@ -20945,9 +22168,21 @@ "label": "second", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "node_modules/@kbn/es-query/target_types/filters/helpers/compare_filters.d.ts", @@ -20961,7 +22196,13 @@ "label": "comparatorOptions", "description": [], "signature": [ - "FilterCompareOptions", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterCompareOptions", + "text": "FilterCompareOptions" + }, " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/filters/helpers/compare_filters.d.ts", @@ -20977,7 +22218,13 @@ "label": "COMPARE_ALL_OPTIONS", "description": [], "signature": [ - "FilterCompareOptions" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterCompareOptions", + "text": "FilterCompareOptions" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false @@ -21000,14 +22247,20 @@ }, ", field: string | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, ", values: any, operation: string, index: string) => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/deprecated.ts", @@ -21043,9 +22296,9 @@ "signature": [ "string | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" } @@ -21097,9 +22350,21 @@ "description": [], "signature": [ "(newFilters?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined, oldFilters?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined) => boolean" ], "path": "src/plugins/data/public/deprecated.ts", @@ -21114,7 +22379,13 @@ "label": "newFilters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "node_modules/@kbn/es-query/target_types/filters/helpers/only_disabled.d.ts", @@ -21128,7 +22399,13 @@ "label": "oldFilters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "node_modules/@kbn/es-query/target_types/filters/helpers/only_disabled.d.ts", @@ -21147,7 +22424,13 @@ "(timeFilter: Pick<", "Timefilter", ", \"isTimeRangeSelectorEnabled\" | \"isAutoRefreshSelectorEnabled\" | \"isTimeTouched\" | \"getEnabledUpdated$\" | \"getTimeUpdate$\" | \"getRefreshIntervalUpdate$\" | \"getAutoRefreshFetch$\" | \"getFetch$\" | \"getTime\" | \"getAbsoluteTime\" | \"setTime\" | \"getRefreshInterval\" | \"setRefreshInterval\" | \"createFilter\" | \"createRelativeFilter\" | \"getBounds\" | \"calculateBounds\" | \"getActiveBounds\" | \"enableTimeRangeSelector\" | \"disableTimeRangeSelector\" | \"enableAutoRefreshSelector\" | \"disableAutoRefreshSelector\" | \"getTimeDefaults\" | \"getRefreshIntervalDefaults\">, filter: ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, ") => void" ], "path": "src/plugins/data/public/deprecated.ts", @@ -21216,9 +22499,9 @@ }, ">) => void; createFilter: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -21231,16 +22514,28 @@ "text": "TimeRange" }, " | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined; createRelativeFilter: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -21253,9 +22548,21 @@ "text": "TimeRange" }, " | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined; getBounds: () => ", @@ -21319,11 +22626,29 @@ "label": "filter", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " & { meta: ", - "RangeFilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterMeta", + "text": "RangeFilterMeta" + }, "; range: { [key: string]: ", - "RangeFilterParams", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterParams", + "text": "RangeFilterParams" + }, "; }; }" ], "path": "src/plugins/data/public/query/timefilter/lib/change_time_filter.ts", @@ -21340,7 +22665,13 @@ "description": [], "signature": [ "(filter: ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, ") => ", { "pluginId": "data", @@ -21362,11 +22693,29 @@ "label": "filter", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " & { meta: ", - "RangeFilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterMeta", + "text": "RangeFilterMeta" + }, "; range: { [key: string]: ", - "RangeFilterParams", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterParams", + "text": "RangeFilterParams" + }, "; }; }" ], "path": "src/plugins/data/public/query/timefilter/lib/change_time_filter.ts", @@ -21383,9 +22732,21 @@ "description": [], "signature": [ "(filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]) => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/deprecated.ts", @@ -21400,7 +22761,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/lib/map_and_flatten_filters.ts", @@ -21417,11 +22784,29 @@ "description": [], "signature": [ "(timeFieldName: string, filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]) => { restOfFilters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; timeRangeFilter: ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | undefined; }" ], "path": "src/plugins/data/public/deprecated.ts", @@ -21446,7 +22831,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/timefilter/lib/extract_time_filter.ts", @@ -21463,9 +22854,21 @@ "description": [], "signature": [ "(filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], timeFieldName?: string | undefined) => { restOfFilters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; timeRange?: ", { "pluginId": "data", @@ -21488,7 +22891,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/timefilter/lib/extract_time_filter.ts", @@ -21657,7 +23066,13 @@ ", parseOptions?: Partial<", "KueryParseOptions", "> | undefined) => ", - "KueryNode" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -21703,11 +23118,29 @@ "description": [], "signature": [ "(node: ", - "KueryNode", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, ", indexPattern?: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined, config?: ", - "KueryQueryOptions", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryQueryOptions", + "text": "KueryQueryOptions" + }, " | undefined, context?: Record | undefined) => ", "QueryDslQueryContainer" ], @@ -21723,7 +23156,13 @@ "label": "node", "description": [], "signature": [ - "KueryNode" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + } ], "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", "deprecated": false @@ -21736,7 +23175,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", @@ -21750,7 +23195,13 @@ "label": "config", "description": [], "signature": [ - "KueryQueryOptions", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryQueryOptions", + "text": "KueryQueryOptions" + }, " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", @@ -22110,19 +23561,61 @@ "description": [], "signature": [ "(indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined, queries: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "[], filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], config?: ", - "EsQueryConfig", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + }, " | undefined) => { bool: ", - "BoolQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + }, "; }" ], "path": "src/plugins/data/public/deprecated.ts", @@ -22137,7 +23630,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", @@ -22151,9 +23650,21 @@ "label": "queries", "description": [], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "[]" ], "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", @@ -22167,9 +23678,21 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", @@ -22183,7 +23706,13 @@ "label": "config", "description": [], "signature": [ - "EsQueryConfig", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + }, " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", @@ -22200,7 +23729,13 @@ "description": [], "signature": [ "(config: KibanaConfig) => ", - "EsQueryConfig" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -22230,11 +23765,29 @@ "description": [], "signature": [ "(filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined, indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined, ignoreFilterIfFieldNotInIndex?: boolean | undefined) => ", - "BoolQuery" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -22248,7 +23801,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "node_modules/@kbn/es-query/target_types/es_query/from_filters.d.ts", @@ -22262,7 +23821,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/es_query/from_filters.d.ts", @@ -22327,7 +23892,13 @@ "(query: ", "QueryDslQueryContainer", ", queryStringOptions: string | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ", dateFormatTZ?: string | undefined) => ", "QueryDslQueryContainer" ], @@ -22357,7 +23928,13 @@ "description": [], "signature": [ "string | ", - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "node_modules/@kbn/es-query/target_types/es_query/decorate_query.d.ts", "deprecated": false @@ -22608,9 +24185,9 @@ "signature": [ "(field: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, @@ -22629,14 +24206,14 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" } ], - "path": "src/plugins/data/common/data_views/fields/utils.ts", + "path": "src/plugins/data_views/common/fields/utils.ts", "deprecated": false } ] @@ -22649,15 +24226,15 @@ "label": "isNestedField", "description": [], "signature": [ - "(field: ", + "(field: Pick<", { - "pluginId": "data", + "pluginId": "@kbn/es-query", "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" }, - ") => boolean" + ", \"subType\">) => boolean" ], "path": "src/plugins/data/public/index.ts", "deprecated": false, @@ -22671,15 +24248,152 @@ "label": "field", "description": [], "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - } + "{ subType?: ", + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional", + " | undefined; }" + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.indexPatterns.isMultiField", + "type": "Function", + "tags": [], + "label": "isMultiField", + "description": [], + "signature": [ + "(field: Pick<", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", \"subType\">) => boolean" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.indexPatterns.isMultiField.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + "{ subType?: ", + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional", + " | undefined; }" + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.indexPatterns.getFieldSubtypeMulti", + "type": "Function", + "tags": [], + "label": "getFieldSubtypeMulti", + "description": [], + "signature": [ + "(field: Pick<", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", \"subType\">) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubTypeMulti", + "text": "IFieldSubTypeMulti" + }, + " | undefined" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.indexPatterns.getFieldSubtypeMulti.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + "{ subType?: ", + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional", + " | undefined; }" + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.indexPatterns.getFieldSubtypeNested", + "type": "Function", + "tags": [], + "label": "getFieldSubtypeNested", + "description": [], + "signature": [ + "(field: Pick<", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", \"subType\">) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubTypeNested", + "text": "IFieldSubTypeNested" + }, + " | undefined" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.indexPatterns.getFieldSubtypeNested.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + "{ subType?: ", + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional", + " | undefined; }" ], - "path": "src/plugins/data/common/data_views/fields/utils.ts", + "path": "src/plugins/data_views/common/fields/utils.ts", "deprecated": false } ] @@ -22705,7 +24419,7 @@ "tags": [], "label": "indexPattern", "description": [], - "path": "src/plugins/data/common/data_views/lib/validate_data_view.ts", + "path": "src/plugins/data_views/common/lib/validate_data_view.ts", "deprecated": false } ] @@ -22720,9 +24434,9 @@ "signature": [ "(dataView: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, @@ -22741,14 +24455,14 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" } ], - "path": "src/plugins/data/common/data_views/data_views/flatten_hit.ts", + "path": "src/plugins/data_views/common/data_views/flatten_hit.ts", "deprecated": false }, { @@ -22761,7 +24475,7 @@ "signature": [ "{}" ], - "path": "src/plugins/data/common/data_views/data_views/flatten_hit.ts", + "path": "src/plugins/data_views/common/data_views/flatten_hit.ts", "deprecated": false }, { @@ -22774,7 +24488,7 @@ "signature": [ "WeakMap" ], - "path": "src/plugins/data/common/data_views/data_views/flatten_hit.ts", + "path": "src/plugins/data_views/common/data_views/flatten_hit.ts", "deprecated": false } ] @@ -23172,7 +24886,13 @@ "description": [], "signature": [ "(interval: string) => { value: number; unit: ", - "Unit", + { + "pluginId": "@elastic/datemath", + "scope": "server", + "docId": "kibElasticDatemathPluginApi", + "section": "def-server.Unit", + "text": "Unit" + }, "; type: \"calendar\" | \"fixed\"; }" ], "path": "src/plugins/data/public/index.ts", @@ -23819,33 +25539,33 @@ "signature": [ "{ get: (id: string) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, ", skipFetchFields?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; find: (search: string, size?: number) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, @@ -23853,9 +25573,9 @@ "EnsureDefaultDataView", "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewListItem", "text": "DataViewListItem" }, @@ -23863,81 +25583,81 @@ "SavedObject", ">[] | null | undefined>; getDefault: () => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserDataView: () => Promise; getFieldsForWildcard: (options: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.GetFieldsOptions", "text": "GetFieldsOptions" }, ") => Promise; getFieldsForIndexPattern: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, ", options?: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.GetFieldsOptions", "text": "GetFieldsOptions" }, " | undefined) => Promise; refreshFields: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ") => Promise; fieldArrayToMap: (fields: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, "[], fieldAttrs?: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldAttrs", "text": "FieldAttrs" }, " | undefined) => Record) => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, "; migrate: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ", newTitle: string) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewsService", "text": "DataViewsService" }, ">; createAndSave: (spec: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, ", override?: boolean, skipFetchFields?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; createSavedObject: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ", override?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; updateSavedObject: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, @@ -24034,33 +25754,33 @@ "signature": [ "{ get: (id: string) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, ", skipFetchFields?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; find: (search: string, size?: number) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, @@ -24068,9 +25788,9 @@ "EnsureDefaultDataView", "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewListItem", "text": "DataViewListItem" }, @@ -24078,81 +25798,81 @@ "SavedObject", ">[] | null | undefined>; getDefault: () => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserDataView: () => Promise; getFieldsForWildcard: (options: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.GetFieldsOptions", "text": "GetFieldsOptions" }, ") => Promise; getFieldsForIndexPattern: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, ", options?: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.GetFieldsOptions", "text": "GetFieldsOptions" }, " | undefined) => Promise; refreshFields: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ") => Promise; fieldArrayToMap: (fields: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, "[], fieldAttrs?: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldAttrs", "text": "FieldAttrs" }, " | undefined) => Record) => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, "; migrate: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ", newTitle: string) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewsService", "text": "DataViewsService" }, ">; createAndSave: (spec: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, ", override?: boolean, skipFetchFields?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; createSavedObject: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ", override?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; updateSavedObject: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, @@ -24849,10 +26569,6 @@ "plugin": "tileMap", "path": "src/plugins/tile_map/public/plugin.ts" }, - { - "plugin": "visTypeMetric", - "path": "src/plugins/vis_types/metric/public/plugin.ts" - }, { "plugin": "visTypePie", "path": "src/plugins/vis_types/pie/public/pie_component.tsx" @@ -24950,7 +26666,13 @@ ], "signature": [ "{ addToQueryLog: (appName: string, { language, query }: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, ") => void; filterManager: ", { "pluginId": "data", @@ -24991,9 +26713,9 @@ "TimefilterSetup", "; getEsQuery: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -25006,7 +26728,13 @@ "text": "TimeRange" }, " | undefined) => { bool: ", - "BoolQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + }, "; }; }" ], "path": "src/plugins/data/public/types.ts", @@ -25247,7 +26975,7 @@ "section": "def-server.CoreStart", "text": "CoreStart" }, - ", { fieldFormats }: ", + ", { fieldFormats, dataViews }: ", "DataPluginStartDependencies", ") => { fieldFormats: ", { @@ -25257,31 +26985,15 @@ "section": "def-server.FieldFormatsStart", "text": "FieldFormatsStart" }, - "; indexPatterns: { indexPatternsServiceFactory: (savedObjectsClient: Pick<", + "; indexPatterns: ", { - "pluginId": "core", + "pluginId": "dataViews", "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsClient", - "text": "SavedObjectsClient" - }, - ", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"find\" | \"bulkGet\" | \"bulkResolve\" | \"resolve\" | \"update\" | \"collectMultiNamespaceReferences\" | \"updateObjectsSpaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\" | \"errors\">, elasticsearchClient: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.ElasticsearchClient", - "text": "ElasticsearchClient" - }, - ") => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IndexPatternsService", - "text": "IndexPatternsService" + "docId": "kibDataViewsPluginApi", + "section": "def-server.DataViewsServerPluginStart", + "text": "DataViewsServerPluginStart" }, - ">; }; search: ", + "; search: ", "ISearchStart", "<", { @@ -25329,7 +27041,7 @@ "id": "def-server.DataServerPlugin.start.$2", "type": "Object", "tags": [], - "label": "{ fieldFormats }", + "label": "{ fieldFormats, dataViews }", "description": [], "signature": [ "DataPluginStartDependencies" @@ -25368,22 +27080,22 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, " implements ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" } ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -25396,7 +27108,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { @@ -25406,7 +27118,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { @@ -25419,7 +27131,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { @@ -25433,15 +27145,15 @@ ], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.TypeMeta", "text": "TypeMeta" }, " | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { @@ -25453,23 +27165,23 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPatternFieldList", "text": "IIndexPatternFieldList" }, " & { toSpec: () => Record; }" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { @@ -25482,7 +27194,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { @@ -25497,10 +27209,39 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": true, "removeBy": "8.1", - "references": [] + "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_views.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/routes/update_index_pattern.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/routes/update_index_pattern.ts" + } + ] }, { "parentPluginId": "data", @@ -25514,7 +27255,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { @@ -25527,7 +27268,7 @@ "signature": [ "{ (hit: Record, type?: string | undefined): any; formatField: FormatFieldFn; }" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "returnComment": [], "children": [ @@ -25541,7 +27282,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { @@ -25554,7 +27295,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false } ] @@ -25569,7 +27310,7 @@ "signature": [ "(hit: Record, fieldName: string) => any" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "returnComment": [], "children": [ @@ -25583,7 +27324,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { @@ -25593,7 +27334,7 @@ "tags": [], "label": "fieldName", "description": [], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false } ] @@ -25608,7 +27349,7 @@ "signature": [ "(hit: Record, deep?: boolean | undefined) => Record" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "returnComment": [], "children": [ @@ -25622,7 +27363,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { @@ -25635,7 +27376,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false } ] @@ -25650,7 +27391,7 @@ "signature": [ "string[]" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { @@ -25665,7 +27406,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { @@ -25677,15 +27418,15 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.SourceFilter", "text": "SourceFilter" }, "[] | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { @@ -25697,7 +27438,7 @@ "description": [ "\nprevents errors when index pattern exists before indices" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { @@ -25710,7 +27451,7 @@ "signature": [ "any" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -25723,7 +27464,7 @@ "signature": [ "DataViewDeps" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true } @@ -25742,7 +27483,7 @@ "signature": [ "() => { fieldAttrs?: string | undefined; title?: string | undefined; timeFieldName?: string | undefined; intervalName?: string | undefined; fields?: string | undefined; sourceFilters?: string | undefined; fieldFormatMap?: string | undefined; typeMeta?: string | undefined; type?: string | undefined; }" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [], "returnComment": [] @@ -25759,7 +27500,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [], "returnComment": [] @@ -25774,15 +27515,15 @@ "signature": [ "() => { [x: string]: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldAttrSet", "text": "FieldAttrSet" }, "; }" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [], "returnComment": [] @@ -25799,15 +27540,15 @@ "ScriptField", ">; docvalueFields: { field: string; format: string; }[]; runtimeFields: Record; }" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [], "returnComment": [] @@ -25824,14 +27565,14 @@ "signature": [ "() => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" } ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [], "returnComment": [] @@ -25848,7 +27589,7 @@ "signature": [ "() => { excludes: string[]; }" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [], "returnComment": [] @@ -25867,10 +27608,19 @@ "signature": [ "(name: string, script: string, fieldType?: string) => Promise" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": true, "removeBy": "8.1", - "references": [], + "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + } + ], "children": [ { "parentPluginId": "data", @@ -25884,7 +27634,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true }, @@ -25900,7 +27650,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true }, @@ -25914,7 +27664,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true } @@ -25935,7 +27685,7 @@ "signature": [ "(fieldName: string) => void" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": true, "removeBy": "8.1", "references": [ @@ -25946,6 +27696,10 @@ { "plugin": "indexPatternManagement", "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" } ], "children": [ @@ -25959,7 +27713,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true } @@ -25980,15 +27734,15 @@ "signature": [ "() => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" }, "[]" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": true, "removeBy": "8.1", "references": [ @@ -26028,6 +27782,10 @@ "plugin": "indexPatternManagement", "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/public/application/lib/fetch_fields.ts" @@ -26050,21 +27808,65 @@ "signature": [ "() => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" }, "[]" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": true, "removeBy": "8.1", "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_views.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/register_index_pattern_usage_collection.ts" + }, { "plugin": "indexPatternManagement", "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" } ], "children": [], @@ -26080,7 +27882,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [], "returnComment": [] @@ -26095,7 +27897,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [], "returnComment": [] @@ -26110,7 +27912,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [], "returnComment": [] @@ -26125,7 +27927,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [], "returnComment": [] @@ -26140,15 +27942,15 @@ "signature": [ "() => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" }, " | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [], "returnComment": [] @@ -26163,15 +27965,15 @@ "signature": [ "(name: string) => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" }, " | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -26184,7 +27986,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true } @@ -26201,7 +28003,7 @@ "signature": [ "() => Record> | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [], "returnComment": [] @@ -26218,14 +28020,14 @@ "signature": [ "() => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewAttributes", "text": "DataViewAttributes" } ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [], "returnComment": [] @@ -26242,25 +28044,25 @@ "signature": [ "(field: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" }, @@ -26273,7 +28075,7 @@ "text": "FieldFormat" } ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -26285,30 +28087,30 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" } ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true } @@ -26327,15 +28129,15 @@ "signature": [ "(name: string, runtimeField: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.RuntimeField", "text": "RuntimeField" }, ") => void" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -26350,7 +28152,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true }, @@ -26365,14 +28167,14 @@ ], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.RuntimeField", "text": "RuntimeField" } ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true } @@ -26391,7 +28193,7 @@ "signature": [ "(name: string) => boolean" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -26404,7 +28206,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true } @@ -26423,15 +28225,15 @@ "signature": [ "(name: string) => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.RuntimeField", "text": "RuntimeField" }, " | null" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -26444,7 +28246,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true } @@ -26463,15 +28265,15 @@ "signature": [ "(newFields: Record) => void" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -26484,15 +28286,15 @@ "signature": [ "Record" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true } @@ -26511,7 +28313,7 @@ "signature": [ "(name: string) => void" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -26526,7 +28328,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true } @@ -26553,7 +28355,7 @@ }, " | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -26566,7 +28368,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true } @@ -26583,15 +28385,15 @@ "signature": [ "(fieldName: string, attrName: K, value: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldAttrSet", "text": "FieldAttrSet" }, "[K]) => void" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -26604,7 +28406,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true }, @@ -26618,7 +28420,7 @@ "signature": [ "K" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true }, @@ -26631,15 +28433,15 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldAttrSet", "text": "FieldAttrSet" }, "[K]" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true } @@ -26656,7 +28458,7 @@ "signature": [ "(fieldName: string, customLabel: string | null | undefined) => void" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -26669,7 +28471,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true }, @@ -26683,7 +28485,7 @@ "signature": [ "string | null | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": false } @@ -26700,7 +28502,7 @@ "signature": [ "(fieldName: string, count: number | null | undefined) => void" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -26713,7 +28515,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true }, @@ -26727,7 +28529,7 @@ "signature": [ "number | null | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": false } @@ -26752,7 +28554,7 @@ }, ">) => void" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -26765,7 +28567,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true }, @@ -26786,7 +28588,7 @@ }, ">" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true } @@ -26803,7 +28605,7 @@ "signature": [ "(fieldName: string) => void" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -26816,7 +28618,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true } @@ -26837,24 +28639,28 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, " extends ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" } ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": true, "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" @@ -27337,31 +29143,31 @@ }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" }, { "plugin": "dataVisualizer", @@ -27371,6 +29177,14 @@ "plugin": "dataVisualizer", "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, { "plugin": "dataVisualizer", "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" @@ -27563,6 +29377,14 @@ "plugin": "maps", "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts" + }, { "plugin": "infra", "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" @@ -27843,6 +29665,18 @@ "plugin": "discover", "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/table_header.d.ts" }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/public/index.ts" + }, { "plugin": "lens", "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" @@ -27867,26 +29701,6 @@ "plugin": "savedObjects", "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis_types/types.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis_types/types.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis_types/types.ts" - }, { "plugin": "discover", "path": "src/plugins/discover/public/application/doc_views/doc_views_types.ts" @@ -28131,6 +29945,26 @@ "plugin": "discover", "path": "src/plugins/discover/public/application/apps/main/utils/persist_saved_search.ts" }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, { "plugin": "visualizations", "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" @@ -28463,14 +30297,6 @@ "plugin": "dataVisualizer", "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, { "plugin": "ml", "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" @@ -29742,6 +31568,22 @@ { "plugin": "discover", "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" } ], "children": [], @@ -29758,24 +31600,284 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPatternField", "text": "IndexPatternField" }, " extends ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" } ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": true, "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/public/index.ts" + }, { "plugin": "indexPatternFieldEditor", "path": "src/plugins/index_pattern_field_editor/public/shared_imports.ts" @@ -30304,14 +32406,6 @@ "plugin": "maps", "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, { "plugin": "maps", "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" @@ -30912,224 +33006,348 @@ "plugin": "discover", "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" - }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" + } + ], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher", + "type": "Class", + "tags": [], + "label": "IndexPatternsFetcher", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.Unnamed.$1", + "type": "CompoundType", + "tags": [], + "label": "elasticsearchClient", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + } + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.Unnamed.$2", + "type": "boolean", + "tags": [], + "label": "allowNoIndices", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard", + "type": "Function", + "tags": [ + "property", + "property", + "return" + ], + "label": "getFieldsForWildcard", + "description": [ + "\n Get a list of field objects for an index pattern that may contain wildcards\n" + ], + "signature": [ + "(options: { pattern: string | string[]; metaFields?: string[] | undefined; fieldCapsOptions?: { allow_no_indices: boolean; } | undefined; type?: string | undefined; rollupIndex?: string | undefined; }) => Promise<", + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.FieldDescriptor", + "text": "FieldDescriptor" + }, + "[]>" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.pattern", + "type": "CompoundType", + "tags": [], + "label": "pattern", + "description": [], + "signature": [ + "string | string[]" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.metaFields", + "type": "Array", + "tags": [], + "label": "metaFields", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.fieldCapsOptions", + "type": "Object", + "tags": [], + "label": "fieldCapsOptions", + "description": [], + "signature": [ + "{ allow_no_indices: boolean; } | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.rollupIndex", + "type": "string", + "tags": [], + "label": "rollupIndex", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern", + "type": "Function", + "tags": [ + "property", + "property", + "property", + "return" + ], + "label": "getFieldsForTimePattern", + "description": [ + "\n Get a list of field objects for a time pattern\n" + ], + "signature": [ + "(options: { pattern: string; metaFields: string[]; lookBack: number; interval: string; }) => Promise<", + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.FieldDescriptor", + "text": "FieldDescriptor" + }, + "[]>" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.pattern", + "type": "string", + "tags": [], + "label": "pattern", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.metaFields", + "type": "Array", + "tags": [], + "label": "metaFields", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.lookBack", + "type": "number", + "tags": [], + "label": "lookBack", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.interval", + "type": "string", + "tags": [], + "label": "interval", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.validatePatternListActive", + "type": "Function", + "tags": [ + "return" + ], + "label": "validatePatternListActive", + "description": [ + "\n Returns an index pattern list of only those index pattern strings in the given list that return indices\n" + ], + "signature": [ + "(patternList: string[]) => Promise" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.validatePatternListActive.$1", + "type": "Array", + "tags": [], + "label": "patternList", + "description": [ + "string[]" + ], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] } ], - "children": [], "initialIsOpen": false }, { @@ -31143,24 +33361,28 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPatternsService", "text": "IndexPatternsService" }, " extends ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewsService", "text": "DataViewsService" } ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", + "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": true, "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" @@ -31293,6 +33515,10 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/public/index.ts" + }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" @@ -31340,24 +33566,28 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPatternsService", "text": "IndexPatternsService" }, " extends ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewsService", "text": "DataViewsService" } ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", + "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": true, "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" @@ -31490,6 +33720,10 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/public/index.ts" + }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" @@ -31539,7 +33773,13 @@ "description": [], "signature": [ "(esType: string) => ", - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/data/common/kbn_field_types/index.ts", "deprecated": true, @@ -31577,6 +33817,37 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "data", + "id": "def-server.getCapabilitiesForRollupIndices", + "type": "Function", + "tags": [], + "label": "getCapabilitiesForRollupIndices", + "description": [], + "signature": [ + "(indices: Record) => { [key: string]: any; }" + ], + "path": "src/plugins/data_views/server/fetcher/lib/map_capabilities.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-server.getCapabilitiesForRollupIndices.$1", + "type": "Object", + "tags": [], + "label": "indices", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/server/fetcher/lib/map_capabilities.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, { "parentPluginId": "data", "id": "def-server.getEsQueryConfig", @@ -31586,7 +33857,13 @@ "description": [], "signature": [ "(config: KibanaConfig) => ", - "EsQueryConfig" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + } ], "path": "src/plugins/data/common/es_query/get_es_query_config.ts", "deprecated": false, @@ -31619,9 +33896,9 @@ "signature": [ "(indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -31634,9 +33911,21 @@ "text": "TimeRange" }, ", options: { forceNow?: Date | undefined; fieldName?: string | undefined; } | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined" @@ -31653,9 +33942,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -31757,9 +34046,156 @@ ], "returnComment": [], "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-server.shouldReadFieldFromDocValues", + "type": "Function", + "tags": [], + "label": "shouldReadFieldFromDocValues", + "description": [], + "signature": [ + "(aggregatable: boolean, esType: string) => boolean" + ], + "path": "src/plugins/data_views/server/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-server.shouldReadFieldFromDocValues.$1", + "type": "boolean", + "tags": [], + "label": "aggregatable", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/server/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-server.shouldReadFieldFromDocValues.$2", + "type": "string", + "tags": [], + "label": "esType", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/server/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false } ], "interfaces": [ + { + "parentPluginId": "data", + "id": "def-server.FieldDescriptor", + "type": "Interface", + "tags": [], + "label": "FieldDescriptor", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-server.FieldDescriptor.aggregatable", + "type": "boolean", + "tags": [], + "label": "aggregatable", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-server.FieldDescriptor.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-server.FieldDescriptor.readFromDocValues", + "type": "boolean", + "tags": [], + "label": "readFromDocValues", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-server.FieldDescriptor.searchable", + "type": "boolean", + "tags": [], + "label": "searchable", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-server.FieldDescriptor.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-server.FieldDescriptor.esTypes", + "type": "Array", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-server.FieldDescriptor.subType", + "type": "Object", + "tags": [], + "label": "subType", + "description": [], + "signature": [ + "FieldSubType | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-server.FieldDescriptor.metadata_field", + "type": "CompoundType", + "tags": [], + "label": "metadata_field", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "data", "id": "def-server.IEsSearchRequest", @@ -31823,19 +34259,97 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, " extends ", - "DataViewFieldBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": true, "removeBy": "8.1", "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/utils.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/utils.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/field_list.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/field_list.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/field_list.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/field_list.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/types.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/types.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/types.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/types.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" + }, { "plugin": "fleet", "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" @@ -32247,6 +34761,26 @@ { "plugin": "stackAlerts", "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/utils.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/utils.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/fields.mocks.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/fields.mocks.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/fields.mocks.ts" } ], "children": [ @@ -32260,7 +34794,7 @@ "signature": [ "number | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -32273,7 +34807,7 @@ "signature": [ "string[] | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -32286,7 +34820,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -32299,7 +34833,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -32312,7 +34846,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -32325,7 +34859,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -32338,7 +34872,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -32351,7 +34885,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -32364,7 +34898,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -32377,7 +34911,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -32390,7 +34924,7 @@ "signature": [ "any" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -32403,25 +34937,25 @@ "signature": [ "((options?: { getFormatterForField?: ((field: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" }, @@ -32435,15 +34969,15 @@ }, ") | undefined; } | undefined) => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, ") | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false, "children": [ { @@ -32453,7 +34987,7 @@ "tags": [], "label": "options", "description": [], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false, "children": [ { @@ -32466,25 +35000,25 @@ "signature": [ "((field: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" }, @@ -32498,7 +35032,7 @@ }, ") | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false } ] @@ -32620,9 +35154,9 @@ ], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -32679,9 +35213,6 @@ "tags": [], "label": "ES_FIELD_TYPES", "description": [], - "signature": [ - "ES_FIELD_TYPES" - ], "path": "node_modules/@kbn/field-types/target_types/types.d.ts", "deprecated": false, "initialIsOpen": false @@ -32693,9 +35224,6 @@ "tags": [], "label": "KBN_FIELD_TYPES", "description": [], - "signature": [ - "KBN_FIELD_TYPES" - ], "path": "node_modules/@kbn/field-types/target_types/types.d.ts", "deprecated": false, "initialIsOpen": false @@ -32713,6 +35241,20 @@ } ], "misc": [ + { + "parentPluginId": "data", + "id": "def-server.DATA_VIEW_SAVED_OBJECT_TYPE", + "type": "string", + "tags": [], + "label": "DATA_VIEW_SAVED_OBJECT_TYPE", + "description": [], + "signature": [ + "\"index-pattern\"" + ], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "data", "id": "def-server.ES_SEARCH_STRATEGY", @@ -32737,9 +35279,21 @@ "label": "EsQueryConfig", "description": [], "signature": [ - "KueryQueryOptions", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryQueryOptions", + "text": "KueryQueryOptions" + }, " & { allowLeadingWildcards: boolean; queryStringOptions: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "; ignoreFilterIfFieldNotInIndex: boolean; }" ], "path": "src/plugins/data/common/es_query/index.ts", @@ -32768,9 +35322,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "src/plugins/data/common/es_query/index.ts", @@ -34665,7 +37231,9 @@ "label": "IFieldSubType", "description": [], "signature": [ - "IFieldSubType" + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional" ], "path": "src/plugins/data/common/es_query/index.ts", "deprecated": true, @@ -34684,99 +37252,53 @@ }, { "parentPluginId": "data", - "id": "def-server.INDEX_PATTERN_SAVED_OBJECT_TYPE", - "type": "string", + "id": "def-server.IndexPatternAttributes", + "type": "Type", "tags": [ "deprecated" ], - "label": "INDEX_PATTERN_SAVED_OBJECT_TYPE", + "label": "IndexPatternAttributes", "description": [], "signature": [ - "\"index-pattern\"" + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + } ], - "path": "src/plugins/data/common/constants.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": true, "references": [ { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/deprecations/scripted_fields.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/deprecations/scripted_fields.ts" }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternAttributes", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "IndexPatternAttributes", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewAttributes", - "text": "DataViewAttributes" - } - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": true, - "references": [ { "plugin": "discover", "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" @@ -34904,6 +37426,26 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsServiceStart", + "type": "Type", + "tags": [], + "label": "IndexPatternsServiceStart", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.DataViewsServerPluginStart", + "text": "DataViewsServerPluginStart" + } + ], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "data", "id": "def-server.KueryNode", @@ -34913,9 +37455,6 @@ ], "label": "KueryNode", "description": [], - "signature": [ - "KueryNode" - ], "path": "src/plugins/data/common/es_query/index.ts", "deprecated": true, "removeBy": "8.1", @@ -35132,7 +37671,13 @@ "description": [], "signature": [ "{ value: number; unit: ", - "Unit", + { + "pluginId": "@elastic/datemath", + "scope": "server", + "docId": "kibElasticDatemathPluginApi", + "section": "def-server.Unit", + "text": "Unit" + }, "; type: \"calendar\" | \"fixed\"; }" ], "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_es_interval.ts", @@ -35188,7 +37733,13 @@ "description": [], "signature": [ "(query: (Record & { query_string?: { query: string; } | undefined; }) | undefined, index: string, alias: string) => ", - "QueryStringFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.QueryStringFilter", + "text": "QueryStringFilter" + } ], "path": "src/plugins/data/server/deprecated.ts", "deprecated": false, @@ -35240,9 +37791,21 @@ "(indexPatternString: string, queryDsl: ", "QueryDslQueryContainer", ", disabled: boolean, negate: boolean, alias: string | null, store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, ") => ", - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "src/plugins/data/server/deprecated.ts", "deprecated": false, @@ -35312,7 +37875,13 @@ "label": "store", "description": [], "signature": [ - "FilterStateStore" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/custom_filter.d.ts", "deprecated": false @@ -35328,7 +37897,13 @@ "description": [], "signature": [ "(isPinned: boolean, index?: string | undefined) => ", - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "src/plugins/data/server/deprecated.ts", "deprecated": false, @@ -35368,11 +37943,29 @@ "description": [], "signature": [ "(field: ", - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, ", indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, ") => ", - "ExistsFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ExistsFilter", + "text": "ExistsFilter" + } ], "path": "src/plugins/data/server/deprecated.ts", "deprecated": false, @@ -35386,7 +37979,13 @@ "label": "field", "description": [], "signature": [ - "DataViewFieldBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", "deprecated": false @@ -35399,7 +37998,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", "deprecated": false @@ -35415,17 +38020,53 @@ "description": [], "signature": [ "(indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, ", field: ", - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, ", type: ", - "FILTERS", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FILTERS", + "text": "FILTERS" + }, ", negate: boolean, disabled: boolean, params: ", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, ", alias: string | null, store?: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, " | undefined) => ", - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "src/plugins/data/server/deprecated.ts", "deprecated": false, @@ -35439,7 +38080,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", "deprecated": false @@ -35452,7 +38099,13 @@ "label": "field", "description": [], "signature": [ - "DataViewFieldBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", "deprecated": false @@ -35465,7 +38118,13 @@ "label": "type", "description": [], "signature": [ - "FILTERS" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FILTERS", + "text": "FILTERS" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", "deprecated": false @@ -35499,7 +38158,13 @@ "description": [], "signature": [ "string | number | boolean | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | ", "SerializableArray", " | null | undefined" @@ -35528,7 +38193,13 @@ "label": "store", "description": [], "signature": [ - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", @@ -35545,15 +38216,39 @@ "description": [], "signature": [ "(field: ", - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, ", value: ", "PhraseFilterValue", ", indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, ") => ", - "PhraseFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" + }, " | ", - "ScriptedPhraseFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedPhraseFilter", + "text": "ScriptedPhraseFilter" + } ], "path": "src/plugins/data/server/deprecated.ts", "deprecated": false, @@ -35567,7 +38262,13 @@ "label": "field", "description": [], "signature": [ - "DataViewFieldBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", "deprecated": false @@ -35593,7 +38294,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", "deprecated": false @@ -35609,13 +38316,31 @@ "description": [], "signature": [ "(field: ", - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, ", params: ", "PhraseFilterValue", "[], indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, ") => ", - "PhrasesFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhrasesFilter", + "text": "PhrasesFilter" + } ], "path": "src/plugins/data/server/deprecated.ts", "deprecated": false, @@ -35629,7 +38354,13 @@ "label": "field", "description": [], "signature": [ - "DataViewFieldBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", "deprecated": false @@ -35656,7 +38387,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", "deprecated": false @@ -35672,15 +38409,45 @@ "description": [], "signature": [ "(field: ", - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, ", params: ", - "RangeFilterParams", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterParams", + "text": "RangeFilterParams" + }, ", indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, ", formattedValue?: string | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter" ], @@ -35696,7 +38463,13 @@ "label": "field", "description": [], "signature": [ - "DataViewFieldBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", "deprecated": false @@ -35709,7 +38482,13 @@ "label": "params", "description": [], "signature": [ - "RangeFilterParams" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterParams", + "text": "RangeFilterParams" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", "deprecated": false @@ -35722,7 +38501,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", "deprecated": false @@ -35751,7 +38536,13 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ") => boolean" ], "path": "src/plugins/data/server/deprecated.ts", @@ -35767,9 +38558,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", @@ -35816,7 +38619,13 @@ ", parseOptions?: Partial<", "KueryParseOptions", "> | undefined) => ", - "KueryNode" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + } ], "path": "src/plugins/data/server/deprecated.ts", "deprecated": false, @@ -35862,11 +38671,29 @@ "description": [], "signature": [ "(node: ", - "KueryNode", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, ", indexPattern?: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined, config?: ", - "KueryQueryOptions", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryQueryOptions", + "text": "KueryQueryOptions" + }, " | undefined, context?: Record | undefined) => ", "QueryDslQueryContainer" ], @@ -35882,7 +38709,13 @@ "label": "node", "description": [], "signature": [ - "KueryNode" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + } ], "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", "deprecated": false @@ -35895,7 +38728,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", @@ -35909,7 +38748,13 @@ "label": "config", "description": [], "signature": [ - "KueryQueryOptions", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryQueryOptions", + "text": "KueryQueryOptions" + }, " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", @@ -35952,11 +38797,29 @@ "description": [], "signature": [ "(filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined, indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined, ignoreFilterIfFieldNotInIndex?: boolean | undefined) => ", - "BoolQuery" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + } ], "path": "src/plugins/data/server/deprecated.ts", "deprecated": false, @@ -35970,7 +38833,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "node_modules/@kbn/es-query/target_types/es_query/from_filters.d.ts", @@ -35984,7 +38853,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/es_query/from_filters.d.ts", @@ -36014,7 +38889,13 @@ "description": [], "signature": [ "(config: KibanaConfig) => ", - "EsQueryConfig" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + } ], "path": "src/plugins/data/server/deprecated.ts", "deprecated": false, @@ -36044,19 +38925,61 @@ "description": [], "signature": [ "(indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined, queries: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "[], filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], config?: ", - "EsQueryConfig", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + }, " | undefined) => { bool: ", - "BoolQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + }, "; }" ], "path": "src/plugins/data/server/deprecated.ts", @@ -36071,7 +38994,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", @@ -36085,9 +39014,21 @@ "label": "queries", "description": [], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "[]" ], "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", @@ -36101,9 +39042,21 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", @@ -36117,7 +39070,13 @@ "label": "config", "description": [], "signature": [ - "EsQueryConfig", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + }, " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", @@ -36504,11 +39463,11 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "server", - "docId": "kibDataDataViewsPluginApi", - "section": "def-server.IndexPatternsServiceStart", - "text": "IndexPatternsServiceStart" + "docId": "kibDataViewsPluginApi", + "section": "def-server.DataViewsServerPluginStart", + "text": "DataViewsServerPluginStart" } ], "path": "src/plugins/data/server/plugin.ts", @@ -36523,5030 +39482,20088 @@ "classes": [ { "parentPluginId": "data", - "id": "def-common.KbnFieldType", + "id": "def-common.DataView", "type": "Class", "tags": [], - "label": "KbnFieldType", + "label": "DataView", "description": [], "signature": [ - "KbnFieldType" + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " implements ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPattern", + "text": "IIndexPattern" + } ], - "path": "node_modules/@kbn/field-types/target_types/kbn_field_type.d.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { "parentPluginId": "data", - "id": "def-common.KbnFieldType.name", + "id": "def-common.DataView.id", "type": "string", "tags": [], - "label": "name", + "label": "id", "description": [], - "path": "node_modules/@kbn/field-types/target_types/kbn_field_type.d.ts", + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.KbnFieldType.sortable", - "type": "boolean", + "id": "def-common.DataView.title", + "type": "string", "tags": [], - "label": "sortable", + "label": "title", "description": [], - "path": "node_modules/@kbn/field-types/target_types/kbn_field_type.d.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.KbnFieldType.filterable", - "type": "boolean", + "id": "def-common.DataView.fieldFormatMap", + "type": "Object", "tags": [], - "label": "filterable", + "label": "fieldFormatMap", "description": [], - "path": "node_modules/@kbn/field-types/target_types/kbn_field_type.d.ts", + "signature": [ + "{ [x: string]: any; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.KbnFieldType.esTypes", + "id": "def-common.DataView.typeMeta", "type": "Object", "tags": [], - "label": "esTypes", + "label": "typeMeta", + "description": [ + "\nOnly used by rollup indices, used by rollup specific endpoint to load field list" + ], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.TypeMeta", + "text": "TypeMeta" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataView.fields", + "type": "CompoundType", + "tags": [], + "label": "fields", "description": [], "signature": [ - "readonly ", - "ES_FIELD_TYPES", - "[]" + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPatternFieldList", + "text": "IIndexPatternFieldList" + }, + " & { toSpec: () => Record; }" ], - "path": "node_modules/@kbn/field-types/target_types/kbn_field_type.d.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.KbnFieldType.Unnamed", + "id": "def-common.DataView.timeFieldName", + "type": "string", + "tags": [], + "label": "timeFieldName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataView.intervalName", + "type": "string", + "tags": [ + "deprecated" + ], + "label": "intervalName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_views.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/routes/update_index_pattern.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/routes/update_index_pattern.ts" + } + ] + }, + { + "parentPluginId": "data", + "id": "def-common.DataView.type", + "type": "string", + "tags": [], + "label": "type", + "description": [ + "\nType is used to identify rollup index patterns" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataView.formatHit", "type": "Function", "tags": [], - "label": "Constructor", + "label": "formatHit", "description": [], "signature": [ - "any" + "{ (hit: Record, type?: string | undefined): any; formatField: FormatFieldFn; }" ], - "path": "node_modules/@kbn/field-types/target_types/kbn_field_type.d.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, + "returnComment": [], "children": [ { "parentPluginId": "data", - "id": "def-common.KbnFieldType.Unnamed.$1", + "id": "def-common.DataView.formatHit.$1", "type": "Object", "tags": [], - "label": "options", + "label": "hit", "description": [], "signature": [ - "Partial<", - "KbnFieldTypeOptions", - "> | undefined" + "{ [x: string]: any; }" ], - "path": "node_modules/@kbn/field-types/target_types/kbn_field_type.d.ts", - "deprecated": false, - "isRequired": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataView.formatHit.$2", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - } - ], - "functions": [ - { - "parentPluginId": "data", - "id": "def-common.buildCustomFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "buildCustomFilter", - "description": [], - "signature": [ - "(indexPatternString: string, queryDsl: ", - "QueryDslQueryContainer", - ", disabled: boolean, negate: boolean, alias: string | null, store: ", - "FilterStateStore", - ") => ", - "Filter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.buildCustomFilter.$1", - "type": "string", - "tags": [], - "label": "indexPatternString", - "description": [], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/custom_filter.d.ts", - "deprecated": false + ] }, { "parentPluginId": "data", - "id": "def-common.buildCustomFilter.$2", - "type": "Object", + "id": "def-common.DataView.formatField", + "type": "Function", "tags": [], - "label": "queryDsl", + "label": "formatField", "description": [], "signature": [ - "QueryDslQueryContainer" + "(hit: Record, fieldName: string) => any" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/custom_filter.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.formatField.$1", + "type": "Object", + "tags": [], + "label": "hit", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataView.formatField.$2", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + } + ] }, { "parentPluginId": "data", - "id": "def-common.buildCustomFilter.$3", - "type": "boolean", + "id": "def-common.DataView.flattenHit", + "type": "Function", "tags": [], - "label": "disabled", + "label": "flattenHit", "description": [], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/custom_filter.d.ts", - "deprecated": false + "signature": [ + "(hit: Record, deep?: boolean | undefined) => Record" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.flattenHit.$1", + "type": "Object", + "tags": [], + "label": "hit", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataView.flattenHit.$2", + "type": "CompoundType", + "tags": [], + "label": "deep", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + } + ] }, { "parentPluginId": "data", - "id": "def-common.buildCustomFilter.$4", - "type": "boolean", + "id": "def-common.DataView.metaFields", + "type": "Array", "tags": [], - "label": "negate", + "label": "metaFields", "description": [], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/custom_filter.d.ts", + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.buildCustomFilter.$5", - "type": "CompoundType", + "id": "def-common.DataView.version", + "type": "string", "tags": [], - "label": "alias", - "description": [], + "label": "version", + "description": [ + "\nSavedObject version" + ], "signature": [ - "string | null" + "string | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/custom_filter.d.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.buildCustomFilter.$6", - "type": "Enum", + "id": "def-common.DataView.sourceFilters", + "type": "Array", "tags": [], - "label": "store", + "label": "sourceFilters", "description": [], "signature": [ - "FilterStateStore" + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.SourceFilter", + "text": "SourceFilter" + }, + "[] | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/custom_filter.d.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.buildEmptyFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "buildEmptyFilter", - "description": [], - "signature": [ - "(isPinned: boolean, index?: string | undefined) => ", - "Filter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + }, { "parentPluginId": "data", - "id": "def-common.buildEmptyFilter.$1", + "id": "def-common.DataView.allowNoIndex", "type": "boolean", "tags": [], - "label": "isPinned", - "description": [], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_empty_filter.d.ts", + "label": "allowNoIndex", + "description": [ + "\nprevents errors when index pattern exists before indices" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.buildEmptyFilter.$2", - "type": "string", + "id": "def-common.DataView.Unnamed", + "type": "Function", "tags": [], - "label": "index", + "label": "Constructor", "description": [], "signature": [ - "string | undefined" + "any" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_empty_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.buildEsQuery", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "buildEsQuery", - "description": [], - "signature": [ - "(indexPattern: ", - "DataViewBase", - " | undefined, queries: ", - "Query", - " | ", - "Query", - "[], filters: ", - "Filter", - " | ", - "Filter", - "[], config?: ", - "EsQueryConfig", - " | undefined) => { bool: ", - "BoolQuery", - "; }" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "{ spec = {}, fieldFormats, shortDotsEnable = false, metaFields = [] }", + "description": [], + "signature": [ + "DataViewDeps" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.buildEsQuery.$1", - "type": "Object", + "id": "def-common.DataView.getOriginalSavedObjectBody", + "type": "Function", "tags": [], - "label": "indexPattern", - "description": [], + "label": "getOriginalSavedObjectBody", + "description": [ + "\nGet last saved saved object fields" + ], "signature": [ - "DataViewBase", - " | undefined" + "() => { fieldAttrs?: string | undefined; title?: string | undefined; timeFieldName?: string | undefined; intervalName?: string | undefined; fields?: string | undefined; sourceFilters?: string | undefined; fieldFormatMap?: string | undefined; typeMeta?: string | undefined; type?: string | undefined; }" ], - "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildEsQuery.$2", - "type": "CompoundType", + "id": "def-common.DataView.resetOriginalSavedObjectBody", + "type": "Function", "tags": [], - "label": "queries", - "description": [], + "label": "resetOriginalSavedObjectBody", + "description": [ + "\nReset last saved saved object fields. used after saving" + ], "signature": [ - "Query", - " | ", - "Query", - "[]" + "() => void" ], - "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildEsQuery.$3", - "type": "CompoundType", + "id": "def-common.DataView.getFieldAttrs", + "type": "Function", "tags": [], - "label": "filters", + "label": "getFieldAttrs", "description": [], "signature": [ - "Filter", - " | ", - "Filter", - "[]" + "() => { [x: string]: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrSet", + "text": "FieldAttrSet" + }, + "; }" ], - "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildEsQuery.$4", - "type": "CompoundType", + "id": "def-common.DataView.getComputedFields", + "type": "Function", "tags": [], - "label": "config", + "label": "getComputedFields", "description": [], "signature": [ - "EsQueryConfig", - " | undefined" + "() => { storedFields: string[]; scriptFields: Record; docvalueFields: { field: string; format: string; }[]; runtimeFields: Record; }" ], - "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.buildExistsFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "buildExistsFilter", - "description": [], - "signature": [ - "(field: ", - "DataViewFieldBase", - ", indexPattern: ", - "DataViewBase", - ") => ", - "ExistsFilter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.buildExistsFilter.$1", - "type": "Object", + "id": "def-common.DataView.toSpec", + "type": "Function", "tags": [], - "label": "field", - "description": [], + "label": "toSpec", + "description": [ + "\nCreate static representation of index pattern" + ], "signature": [ - "DataViewFieldBase" + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildExistsFilter.$2", - "type": "Object", + "id": "def-common.DataView.getSourceFiltering", + "type": "Function", "tags": [], - "label": "indexPattern", - "description": [], + "label": "getSourceFiltering", + "description": [ + "\nGet the source filtering configuration for that index." + ], "signature": [ - "DataViewBase" + "() => { excludes: string[]; }" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.buildFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "buildFilter", - "description": [], - "signature": [ - "(indexPattern: ", - "DataViewBase", - ", field: ", - "DataViewFieldBase", - ", type: ", - "FILTERS", - ", negate: boolean, disabled: boolean, params: ", - "Serializable", - ", alias: string | null, store?: ", - "FilterStateStore", - " | undefined) => ", - "Filter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.buildFilter.$1", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], + "id": "def-common.DataView.addScriptedField", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "addScriptedField", + "description": [ + "\nAdd scripted field to field list\n" + ], "signature": [ - "DataViewBase" + "(name: string, script: string, fieldType?: string) => Promise" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + } + ], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.addScriptedField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [ + "field name" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataView.addScriptedField.$2", + "type": "string", + "tags": [], + "label": "script", + "description": [ + "script code" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataView.addScriptedField.$3", + "type": "string", + "tags": [], + "label": "fieldType", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildFilter.$2", - "type": "Object", - "tags": [], - "label": "field", - "description": [], + "id": "def-common.DataView.removeScriptedField", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "removeScriptedField", + "description": [ + "\nRemove scripted field from field list" + ], "signature": [ - "DataViewFieldBase" + "(fieldName: string) => void" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + } + ], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.removeScriptedField.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildFilter.$3", - "type": "Enum", - "tags": [], - "label": "type", - "description": [], + "id": "def-common.DataView.getNonScriptedFields", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "getNonScriptedFields", + "description": [ + "\n" + ], "signature": [ - "FILTERS" + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/lib/fetch_fields.ts" + } + ], + "children": [], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildFilter.$4", - "type": "boolean", - "tags": [], - "label": "negate", - "description": [], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", - "deprecated": false + "id": "def-common.DataView.getScriptedFields", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "getScriptedFields", + "description": [ + "\n" + ], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_views.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/register_index_pattern_usage_collection.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + } + ], + "children": [], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildFilter.$5", - "type": "boolean", + "id": "def-common.DataView.getIndex", + "type": "Function", "tags": [], - "label": "disabled", + "label": "getIndex", "description": [], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", - "deprecated": false + "signature": [ + "() => string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildFilter.$6", - "type": "CompoundType", + "id": "def-common.DataView.isUnsupportedTimePattern", + "type": "Function", "tags": [], - "label": "params", + "label": "isUnsupportedTimePattern", "description": [], "signature": [ - "string | number | boolean | ", - "SerializableRecord", - " | ", - "SerializableArray", - " | null | undefined" + "() => boolean" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildFilter.$7", - "type": "CompoundType", + "id": "def-common.DataView.isTimeBased", + "type": "Function", "tags": [], - "label": "alias", + "label": "isTimeBased", "description": [], "signature": [ - "string | null" + "() => boolean" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildFilter.$8", - "type": "CompoundType", + "id": "def-common.DataView.isTimeNanosBased", + "type": "Function", "tags": [], - "label": "store", + "label": "isTimeNanosBased", "description": [], "signature": [ - "FilterStateStore", - " | undefined" + "() => boolean" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.buildPhraseFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "buildPhraseFilter", - "description": [], - "signature": [ - "(field: ", - "DataViewFieldBase", - ", value: ", - "PhraseFilterValue", - ", indexPattern: ", - "DataViewBase", - ") => ", - "PhraseFilter", - " | ", - "ScriptedPhraseFilter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.buildPhraseFilter.$1", - "type": "Object", + "id": "def-common.DataView.getTimeField", + "type": "Function", "tags": [], - "label": "field", + "label": "getTimeField", "description": [], "signature": [ - "DataViewFieldBase" + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + " | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildPhraseFilter.$2", - "type": "CompoundType", + "id": "def-common.DataView.getFieldByName", + "type": "Function", "tags": [], - "label": "value", + "label": "getFieldByName", "description": [], "signature": [ - "string | number | boolean" + "(name: string) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + " | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.getFieldByName.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildPhraseFilter.$3", - "type": "Object", + "id": "def-common.DataView.getAggregationRestrictions", + "type": "Function", "tags": [], - "label": "indexPattern", + "label": "getAggregationRestrictions", "description": [], "signature": [ - "DataViewBase" + "() => Record> | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.buildPhrasesFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "buildPhrasesFilter", - "description": [], - "signature": [ - "(field: ", - "DataViewFieldBase", - ", params: ", - "PhraseFilterValue", - "[], indexPattern: ", - "DataViewBase", - ") => ", - "PhrasesFilter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.buildPhrasesFilter.$1", - "type": "Object", + "id": "def-common.DataView.getAsSavedObjectBody", + "type": "Function", "tags": [], - "label": "field", - "description": [], + "label": "getAsSavedObjectBody", + "description": [ + "\nReturns index pattern as saved object body for saving" + ], "signature": [ - "DataViewFieldBase" + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + } ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildPhrasesFilter.$2", - "type": "Array", + "id": "def-common.DataView.getFormatterForField", + "type": "Function", "tags": [], - "label": "params", - "description": [], + "label": "getFormatterForField", + "description": [ + "\nProvide a field, get its formatter" + ], "signature": [ - "PhraseFilterValue", - "[]" + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + } ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.getFormatterForField.$1", + "type": "CompoundType", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildPhrasesFilter.$3", - "type": "Object", + "id": "def-common.DataView.addRuntimeField", + "type": "Function", "tags": [], - "label": "indexPattern", - "description": [], + "label": "addRuntimeField", + "description": [ + "\nAdd a runtime field - Appended to existing mapped field or a new field is\ncreated as appropriate" + ], "signature": [ - "DataViewBase" + "(name: string, runtimeField: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, + ") => void" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.buildQueryFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "buildQueryFilter", - "description": [], - "signature": [ - "(query: (Record & { query_string?: { query: string; } | undefined; }) | undefined, index: string, alias: string) => ", - "QueryStringFilter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.addRuntimeField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [ + "Field name" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataView.addRuntimeField.$2", + "type": "Object", + "tags": [], + "label": "runtimeField", + "description": [ + "Runtime field definition" + ], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.buildQueryFilter.$1", - "type": "CompoundType", + "id": "def-common.DataView.hasRuntimeField", + "type": "Function", "tags": [], - "label": "query", - "description": [], + "label": "hasRuntimeField", + "description": [ + "\nChecks if runtime field exists" + ], "signature": [ - "(Record & { query_string?: { query: string; } | undefined; }) | undefined" + "(name: string) => boolean" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/query_string_filter.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.hasRuntimeField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildQueryFilter.$2", - "type": "string", + "id": "def-common.DataView.getRuntimeField", + "type": "Function", "tags": [], - "label": "index", - "description": [], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/query_string_filter.d.ts", - "deprecated": false + "label": "getRuntimeField", + "description": [ + "\nReturns runtime field if exists" + ], + "signature": [ + "(name: string) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, + " | null" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.getRuntimeField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildQueryFilter.$3", - "type": "string", - "tags": [], - "label": "alias", - "description": [], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/query_string_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.buildQueryFromFilters", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "buildQueryFromFilters", - "description": [], - "signature": [ - "(filters: ", - "Filter", - "[] | undefined, indexPattern: ", - "DataViewBase", - " | undefined, ignoreFilterIfFieldNotInIndex?: boolean | undefined) => ", - "BoolQuery" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.buildQueryFromFilters.$1", - "type": "Array", + "id": "def-common.DataView.replaceAllRuntimeFields", + "type": "Function", "tags": [], - "label": "filters", - "description": [], + "label": "replaceAllRuntimeFields", + "description": [ + "\nReplaces all existing runtime fields with new fields" + ], "signature": [ - "Filter", - "[] | undefined" + "(newFields: Record) => void" ], - "path": "node_modules/@kbn/es-query/target_types/es_query/from_filters.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.replaceAllRuntimeFields.$1", + "type": "Object", + "tags": [], + "label": "newFields", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildQueryFromFilters.$2", - "type": "Object", + "id": "def-common.DataView.removeRuntimeField", + "type": "Function", "tags": [], - "label": "indexPattern", - "description": [], + "label": "removeRuntimeField", + "description": [ + "\nRemove a runtime field - removed from mapped field or removed unmapped\nfield as appropriate. Doesn't clear associated field attributes." + ], "signature": [ - "DataViewBase", - " | undefined" + "(name: string) => void" ], - "path": "node_modules/@kbn/es-query/target_types/es_query/from_filters.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.removeRuntimeField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [ + "- Field name to remove" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildQueryFromFilters.$3", - "type": "CompoundType", + "id": "def-common.DataView.getFormatterForFieldNoDefault", + "type": "Function", "tags": [], - "label": "ignoreFilterIfFieldNotInIndex", - "description": [], + "label": "getFormatterForFieldNoDefault", + "description": [ + "\nGet formatter for a given field name. Return undefined if none exists" + ], "signature": [ - "boolean | undefined" + "(fieldname: string) => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + " | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/es_query/from_filters.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.buildRangeFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "buildRangeFilter", - "description": [], - "signature": [ - "(field: ", - "DataViewFieldBase", - ", params: ", - "RangeFilterParams", - ", indexPattern: ", - "DataViewBase", - ", formattedValue?: string | undefined) => ", - "RangeFilter", - " | ", - "ScriptedRangeFilter", - " | ", - "MatchAllRangeFilter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.getFormatterForFieldNoDefault.$1", + "type": "string", + "tags": [], + "label": "fieldname", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.buildRangeFilter.$1", - "type": "Object", + "id": "def-common.DataView.setFieldAttrs", + "type": "Function", "tags": [], - "label": "field", + "label": "setFieldAttrs", "description": [], "signature": [ - "DataViewFieldBase" + "(fieldName: string, attrName: K, value: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrSet", + "text": "FieldAttrSet" + }, + "[K]) => void" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.setFieldAttrs.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataView.setFieldAttrs.$2", + "type": "Uncategorized", + "tags": [], + "label": "attrName", + "description": [], + "signature": [ + "K" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataView.setFieldAttrs.$3", + "type": "Uncategorized", + "tags": [], + "label": "value", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrSet", + "text": "FieldAttrSet" + }, + "[K]" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildRangeFilter.$2", - "type": "Object", + "id": "def-common.DataView.setFieldCustomLabel", + "type": "Function", "tags": [], - "label": "params", + "label": "setFieldCustomLabel", "description": [], "signature": [ - "RangeFilterParams" + "(fieldName: string, customLabel: string | null | undefined) => void" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.setFieldCustomLabel.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataView.setFieldCustomLabel.$2", + "type": "CompoundType", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildRangeFilter.$3", - "type": "Object", + "id": "def-common.DataView.setFieldCount", + "type": "Function", "tags": [], - "label": "indexPattern", + "label": "setFieldCount", "description": [], "signature": [ - "DataViewBase" + "(fieldName: string, count: number | null | undefined) => void" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.setFieldCount.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataView.setFieldCount.$2", + "type": "CompoundType", + "tags": [], + "label": "count", + "description": [], + "signature": [ + "number | null | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildRangeFilter.$4", - "type": "string", + "id": "def-common.DataView.setFieldFormat", + "type": "Function", "tags": [], - "label": "formattedValue", + "label": "setFieldFormat", "description": [], "signature": [ - "string | undefined" + "(fieldName: string, format: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + ">) => void" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.setFieldFormat.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataView.setFieldFormat.$2", + "type": "Object", + "tags": [], + "label": "format", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.DataView.deleteFieldFormat", + "type": "Function", + "tags": [], + "label": "deleteFieldFormat", + "description": [], + "signature": [ + "(fieldName: string) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.deleteFieldFormat.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] } ], "initialIsOpen": false }, { "parentPluginId": "data", - "id": "def-common.castEsToKbnFieldTypeName", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "castEsToKbnFieldTypeName", + "id": "def-common.DataViewField", + "type": "Class", + "tags": [], + "label": "DataViewField", "description": [], "signature": [ - "(esType: string) => ", - "KBN_FIELD_TYPES" - ], - "path": "src/plugins/data/common/kbn_field_types/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" - }, { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/create_field_list.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" }, + " implements ", { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/create_field_list.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" } ], - "returnComment": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, "children": [ { "parentPluginId": "data", - "id": "def-common.castEsToKbnFieldTypeName.$1", - "type": "string", + "id": "def-common.DataViewField.spec", + "type": "Object", "tags": [], - "label": "esType", + "label": "spec", "description": [], - "path": "node_modules/@kbn/field-types/target_types/kbn_field_types.d.ts", + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.cellHasFormulas", - "type": "Function", - "tags": [], - "label": "cellHasFormulas", - "description": [], - "signature": [ - "(val: string) => boolean" - ], - "path": "src/plugins/data/common/exports/formula_checks.ts", - "deprecated": false, - "children": [ + }, { "parentPluginId": "data", - "id": "def-common.cellHasFormulas.$1", - "type": "string", + "id": "def-common.DataViewField.Unnamed", + "type": "Function", "tags": [], - "label": "val", + "label": "Constructor", "description": [], "signature": [ - "string" + "any" ], - "path": "src/plugins/data/common/exports/formula_checks.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.compareFilters", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "compareFilters", - "description": [], - "signature": [ - "(first: ", - "Filter", - " | ", - "Filter", - "[], second: ", - "Filter", - " | ", - "Filter", - "[], comparatorOptions?: ", - "FilterCompareOptions", - " | undefined) => boolean" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewField.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "spec", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.compareFilters.$1", - "type": "CompoundType", + "id": "def-common.DataViewField.count", + "type": "number", "tags": [], - "label": "first", - "description": [], - "signature": [ - "Filter", - " | ", - "Filter", - "[]" + "label": "count", + "description": [ + "\nCount is used for field popularity" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/compare_filters.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.compareFilters.$2", - "type": "CompoundType", + "id": "def-common.DataViewField.count", + "type": "number", "tags": [], - "label": "second", + "label": "count", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewField.runtimeField", + "type": "Object", + "tags": [], + "label": "runtimeField", "description": [], "signature": [ - "Filter", - " | ", - "Filter", - "[]" + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, + " | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/compare_filters.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.compareFilters.$3", + "id": "def-common.DataViewField.runtimeField", "type": "Object", "tags": [], - "label": "comparatorOptions", + "label": "runtimeField", "description": [], "signature": [ - "FilterCompareOptions", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, " | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/compare_filters.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.createEscapeValue", - "type": "Function", - "tags": [], - "label": "createEscapeValue", - "description": [], - "signature": [ - "(quoteValues: boolean, escapeFormulas: boolean) => (val: RawValue) => string" - ], - "path": "src/plugins/data/common/exports/escape_value.ts", - "deprecated": false, - "children": [ + }, { "parentPluginId": "data", - "id": "def-common.createEscapeValue.$1", - "type": "boolean", + "id": "def-common.DataViewField.script", + "type": "string", "tags": [], - "label": "quoteValues", - "description": [], + "label": "script", + "description": [ + "\nScript field code" + ], "signature": [ - "boolean" + "string | undefined" ], - "path": "src/plugins/data/common/exports/escape_value.ts", - "deprecated": false, - "isRequired": true + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.createEscapeValue.$2", - "type": "boolean", + "id": "def-common.DataViewField.script", + "type": "string", "tags": [], - "label": "escapeFormulas", + "label": "script", "description": [], "signature": [ - "boolean" + "string | undefined" ], - "path": "src/plugins/data/common/exports/escape_value.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.datatableToCSV", - "type": "Function", - "tags": [], - "label": "datatableToCSV", - "description": [], - "signature": [ - "({ columns, rows }: ", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.Datatable", - "text": "Datatable" + "parentPluginId": "data", + "id": "def-common.DataViewField.lang", + "type": "CompoundType", + "tags": [], + "label": "lang", + "description": [ + "\nScript field language" + ], + "signature": [ + "\"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, - ", { csvSeparator, quoteValues, formatFactory, raw, escapeFormulaValues }: CSVOptions) => string" - ], - "path": "src/plugins/data/common/exports/export_csv.tsx", - "deprecated": false, - "children": [ { "parentPluginId": "data", - "id": "def-common.datatableToCSV.$1", - "type": "Object", + "id": "def-common.DataViewField.lang", + "type": "CompoundType", "tags": [], - "label": "{ columns, rows }", + "label": "lang", "description": [], "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.Datatable", - "text": "Datatable" - } + "\"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined" ], - "path": "src/plugins/data/common/exports/export_csv.tsx", - "deprecated": false, - "isRequired": true + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.datatableToCSV.$2", - "type": "Object", + "id": "def-common.DataViewField.customLabel", + "type": "string", "tags": [], - "label": "{ csvSeparator, quoteValues, formatFactory, raw, escapeFormulaValues }", + "label": "customLabel", "description": [], "signature": [ - "CSVOptions" + "string | undefined" ], - "path": "src/plugins/data/common/exports/export_csv.tsx", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.decorateQuery", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "decorateQuery", - "description": [], - "signature": [ - "(query: ", - "QueryDslQueryContainer", - ", queryStringOptions: string | ", - "SerializableRecord", - ", dateFormatTZ?: string | undefined) => ", - "QueryDslQueryContainer" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, { "parentPluginId": "data", - "id": "def-common.decorateQuery.$1", - "type": "Object", + "id": "def-common.DataViewField.customLabel", + "type": "string", "tags": [], - "label": "query", + "label": "customLabel", "description": [], "signature": [ - "QueryDslQueryContainer" + "string | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/es_query/decorate_query.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.decorateQuery.$2", - "type": "CompoundType", + "id": "def-common.DataViewField.conflictDescriptions", + "type": "Object", "tags": [], - "label": "queryStringOptions", - "description": [], + "label": "conflictDescriptions", + "description": [ + "\nDescription of field type conflicts across different indices in the same index pattern" + ], "signature": [ - "string | ", - "SerializableRecord" + "Record | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/es_query/decorate_query.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.decorateQuery.$3", - "type": "string", + "id": "def-common.DataViewField.conflictDescriptions", + "type": "Object", "tags": [], - "label": "dateFormatTZ", + "label": "conflictDescriptions", "description": [], "signature": [ - "string | undefined" + "Record | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/es_query/decorate_query.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.dedupFilters", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "dedupFilters", - "description": [], - "signature": [ - "(existingFilters: ", - "Filter", - "[], filters: ", - "Filter", - "[], comparatorOptions?: ", - "FilterCompareOptions", - " | undefined) => ", - "Filter", - "[]" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + }, { "parentPluginId": "data", - "id": "def-common.dedupFilters.$1", - "type": "Array", + "id": "def-common.DataViewField.name", + "type": "string", "tags": [], - "label": "existingFilters", + "label": "name", "description": [], - "signature": [ - "Filter", - "[]" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/dedup_filters.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.dedupFilters.$2", + "id": "def-common.DataViewField.displayName", + "type": "string", + "tags": [], + "label": "displayName", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewField.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewField.esTypes", "type": "Array", "tags": [], - "label": "filters", + "label": "esTypes", "description": [], "signature": [ - "Filter", - "[]" + "string[] | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/dedup_filters.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.dedupFilters.$3", - "type": "Object", + "id": "def-common.DataViewField.scripted", + "type": "boolean", "tags": [], - "label": "comparatorOptions", + "label": "scripted", "description": [], - "signature": [ - "FilterCompareOptions", - " | undefined" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/dedup_filters.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.disableFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "disableFilter", - "description": [], - "signature": [ - "(filter: ", - "Filter", - ") => ", - "Filter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + }, { "parentPluginId": "data", - "id": "def-common.disableFilter.$1", - "type": "Object", + "id": "def-common.DataViewField.searchable", + "type": "boolean", "tags": [], - "label": "filter", + "label": "searchable", "description": [], - "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.enableFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "enableFilter", - "description": [], - "signature": [ - "(filter: ", - "Filter", - ") => ", - "Filter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + }, { "parentPluginId": "data", - "id": "def-common.enableFilter.$1", - "type": "Object", + "id": "def-common.DataViewField.aggregatable", + "type": "boolean", "tags": [], - "label": "filter", + "label": "aggregatable", "description": [], - "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.fromKueryExpression", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "fromKueryExpression", - "description": [], - "signature": [ - "(expression: string | ", - "QueryDslQueryContainer", - ", parseOptions?: Partial<", - "KueryParseOptions", - "> | undefined) => ", - "KueryNode" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + }, { "parentPluginId": "data", - "id": "def-common.fromKueryExpression.$1", - "type": "CompoundType", + "id": "def-common.DataViewField.readFromDocValues", + "type": "boolean", "tags": [], - "label": "expression", + "label": "readFromDocValues", "description": [], - "signature": [ - "string | ", - "QueryDslQueryContainer" - ], - "path": "node_modules/@kbn/es-query/target_types/kuery/ast/ast.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.fromKueryExpression.$2", - "type": "Object", + "id": "def-common.DataViewField.subType", + "type": "CompoundType", "tags": [], - "label": "parseOptions", + "label": "subType", "description": [], "signature": [ - "Partial<", - "KueryParseOptions", - "> | undefined" + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional", + " | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/kuery/ast/ast.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.getEsQueryConfig", - "type": "Function", - "tags": [], - "label": "getEsQueryConfig", - "description": [], - "signature": [ - "(config: KibanaConfig) => ", - "EsQueryConfig" - ], - "path": "src/plugins/data/common/es_query/get_es_query_config.ts", - "deprecated": false, - "children": [ + }, { "parentPluginId": "data", - "id": "def-common.getEsQueryConfig.$1", - "type": "Object", + "id": "def-common.DataViewField.isMapped", + "type": "CompoundType", "tags": [], - "label": "config", - "description": [], + "label": "isMapped", + "description": [ + "\nIs the field part of the index mapping?" + ], "signature": [ - "KibanaConfig" + "boolean | undefined" ], - "path": "src/plugins/data/common/es_query/get_es_query_config.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.getFilterableKbnTypeNames", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "getFilterableKbnTypeNames", - "description": [], - "signature": [ - "() => string[]" - ], - "path": "src/plugins/data/common/kbn_field_types/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.getKbnFieldType", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "getKbnFieldType", - "description": [], - "signature": [ - "(typeName: string) => ", - "KbnFieldType" - ], - "path": "src/plugins/data/common/kbn_field_types/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, { "parentPluginId": "data", - "id": "def-common.getKbnFieldType.$1", - "type": "string", + "id": "def-common.DataViewField.sortable", + "type": "boolean", "tags": [], - "label": "typeName", + "label": "sortable", "description": [], - "path": "node_modules/@kbn/field-types/target_types/kbn_field_types.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.getKbnTypeNames", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "getKbnTypeNames", - "description": [], - "signature": [ - "() => string[]" - ], - "path": "src/plugins/data/common/kbn_field_types/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/constants/index.ts" }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/constants/index.ts" - } - ], - "returnComment": [], - "children": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.getPhraseFilterField", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "getPhraseFilterField", - "description": [], - "signature": [ - "(filter: ", - "PhraseFilter", - ") => string" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ { "parentPluginId": "data", - "id": "def-common.getPhraseFilterField.$1", - "type": "CompoundType", + "id": "def-common.DataViewField.filterable", + "type": "boolean", "tags": [], - "label": "filter", + "label": "filterable", "description": [], - "signature": [ - "Filter", - " & { meta: ", - "PhraseFilterMeta", - "; query: { match_phrase?: Record | undefined; match?: Record | undefined; }; }" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.getPhraseFilterValue", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "getPhraseFilterValue", - "description": [], - "signature": [ - "(filter: ", - "PhraseFilter", - " | ", - "ScriptedPhraseFilter", - ") => ", - "PhraseFilterValue" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + }, { "parentPluginId": "data", - "id": "def-common.getPhraseFilterValue.$1", - "type": "CompoundType", + "id": "def-common.DataViewField.visualizable", + "type": "boolean", "tags": [], - "label": "filter", + "label": "visualizable", "description": [], - "signature": [ - "PhraseFilter", - " | ", - "ScriptedPhraseFilter" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.isExistsFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "isExistsFilter", - "description": [], - "signature": [ - "(filter: ", - "Filter", - ") => filter is ", - "ExistsFilter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + }, { "parentPluginId": "data", - "id": "def-common.isExistsFilter.$1", - "type": "Object", + "id": "def-common.DataViewField.isSubtypeNested", + "type": "Function", "tags": [], - "label": "filter", + "label": "isSubtypeNested", "description": [], "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" + "() => boolean" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.isFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "isFilter", - "description": [], - "signature": [ - "(x: unknown) => x is ", - "Filter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.isFilter.$1", - "type": "Unknown", + "id": "def-common.DataViewField.isSubtypeMulti", + "type": "Function", "tags": [], - "label": "x", + "label": "isSubtypeMulti", "description": [], "signature": [ - "unknown" + "() => boolean" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.isFilterDisabled", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "isFilterDisabled", - "description": [], - "signature": [ - "(filter: ", - "Filter", - ") => boolean" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.isFilterDisabled.$1", - "type": "Object", + "id": "def-common.DataViewField.getSubtypeNested", + "type": "Function", "tags": [], - "label": "filter", + "label": "getSubtypeNested", "description": [], "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" + "() => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubTypeNested", + "text": "IFieldSubTypeNested" + }, + " | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.isFilterPinned", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "isFilterPinned", - "description": [], - "signature": [ - "(filter: ", - "Filter", - ") => boolean | undefined" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ - { - "plugin": "visualize", - "path": "src/plugins/visualize/common/locator.ts" - }, - { - "plugin": "visualize", - "path": "src/plugins/visualize/common/locator.ts" + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, - { - "plugin": "visualize", - "path": "src/plugins/visualize/common/locator.ts" - } - ], - "returnComment": [], - "children": [ { "parentPluginId": "data", - "id": "def-common.isFilterPinned.$1", - "type": "Object", + "id": "def-common.DataViewField.getSubtypeMulti", + "type": "Function", "tags": [], - "label": "filter", + "label": "getSubtypeMulti", "description": [], "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" + "() => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubTypeMulti", + "text": "IFieldSubTypeMulti" + }, + " | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.isFilters", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "isFilters", - "description": [], - "signature": [ - "(x: unknown) => x is ", - "Filter", - "[]" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ - { - "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, - { - "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" - } - ], - "returnComment": [], - "children": [ { "parentPluginId": "data", - "id": "def-common.isFilters.$1", - "type": "Unknown", + "id": "def-common.DataViewField.deleteCount", + "type": "Function", "tags": [], - "label": "x", + "label": "deleteCount", "description": [], "signature": [ - "unknown" + "() => void" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.isMatchAllFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "isMatchAllFilter", - "description": [], - "signature": [ - "(filter: ", - "Filter", - ") => filter is ", - "MatchAllFilter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.isMatchAllFilter.$1", - "type": "Object", + "id": "def-common.DataViewField.toJSON", + "type": "Function", "tags": [], - "label": "filter", + "label": "toJSON", "description": [], "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" + "() => { count: number; script: string | undefined; lang: \"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined; conflictDescriptions: Record | undefined; name: string; type: string; esTypes: string[] | undefined; scripted: boolean; searchable: boolean; aggregatable: boolean; readFromDocValues: boolean; subType: ", + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional", + " | undefined; customLabel: string | undefined; }" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/match_all_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.isMissingFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "isMissingFilter", - "description": [], - "signature": [ - "(filter: ", - "Filter", - ") => filter is ", - "MissingFilter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.isMissingFilter.$1", - "type": "Object", + "id": "def-common.DataViewField.toSpec", + "type": "Function", "tags": [], - "label": "filter", + "label": "toSpec", "description": [], "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" + "({ getFormatterForField, }?: { getFormatterForField?: ((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined; }) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/missing_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.isPhraseFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "isPhraseFilter", - "description": [], - "signature": [ - "(filter: ", - "Filter", - ") => filter is ", - "PhraseFilter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.isPhraseFilter.$1", - "type": "Object", - "tags": [], - "label": "filter", - "description": [], - "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewField.toSpec.$1", + "type": "Object", + "tags": [], + "label": "{\n getFormatterForField,\n }", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewField.toSpec.$1.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [], + "signature": [ + "((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + } + ] + } ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", - "deprecated": false + "returnComment": [] } ], "initialIsOpen": false }, { "parentPluginId": "data", - "id": "def-common.isPhrasesFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "isPhrasesFilter", + "id": "def-common.DataViewSavedObjectConflictError", + "type": "Class", + "tags": [], + "label": "DataViewSavedObjectConflictError", "description": [], "signature": [ - "(filter: ", - "Filter", - ") => filter is ", - "PhrasesFilter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ { - "parentPluginId": "data", - "id": "def-common.isPhrasesFilter.$1", - "type": "Object", - "tags": [], - "label": "filter", - "description": [], - "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.isQueryStringFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "isQueryStringFilter", - "description": [], - "signature": [ - "(filter: ", - "Filter", - ") => filter is ", - "QueryStringFilter" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSavedObjectConflictError", + "text": "DataViewSavedObjectConflictError" + }, + " extends Error" ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], + "path": "src/plugins/data_views/common/errors/data_view_saved_object_conflict.ts", + "deprecated": false, "children": [ { "parentPluginId": "data", - "id": "def-common.isQueryStringFilter.$1", - "type": "Object", + "id": "def-common.DataViewSavedObjectConflictError.Unnamed", + "type": "Function", "tags": [], - "label": "filter", + "label": "Constructor", "description": [], "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" + "any" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/query_string_filter.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/errors/data_view_saved_object_conflict.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewSavedObjectConflictError.Unnamed.$1", + "type": "string", + "tags": [], + "label": "savedObjectId", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/errors/data_view_saved_object_conflict.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] } ], "initialIsOpen": false }, { "parentPluginId": "data", - "id": "def-common.isRangeFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "isRangeFilter", + "id": "def-common.DataViewsService", + "type": "Class", + "tags": [], + "label": "DataViewsService", "description": [], - "signature": [ - "(filter?: ", - "Filter", - " | undefined) => filter is ", - "RangeFilter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, "children": [ { "parentPluginId": "data", - "id": "def-common.isRangeFilter.$1", - "type": "Object", + "id": "def-common.DataViewsService.ensureDefaultDataView", + "type": "Function", "tags": [], - "label": "filter", + "label": "ensureDefaultDataView", "description": [], "signature": [ - "Filter", - " | undefined" + "() => Promise | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.luceneStringToDsl", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "luceneStringToDsl", - "description": [], - "signature": [ - "(query: string | ", - "QueryDslQueryContainer", - ") => ", - "QueryDslQueryContainer" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "returnComment": [], + "children": [] + }, { "parentPluginId": "data", - "id": "def-common.luceneStringToDsl.$1", - "type": "CompoundType", + "id": "def-common.DataViewsService.Unnamed", + "type": "Function", "tags": [], - "label": "query", + "label": "Constructor", "description": [], "signature": [ - "string | ", - "QueryDslQueryContainer" + "any" ], - "path": "node_modules/@kbn/es-query/target_types/es_query/lucene_string_to_dsl.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.onlyDisabledFiltersChanged", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "onlyDisabledFiltersChanged", - "description": [], - "signature": [ - "(newFilters?: ", - "Filter", - "[] | undefined, oldFilters?: ", - "Filter", - "[] | undefined) => boolean" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "{\n uiSettings,\n savedObjectsClient,\n apiClient,\n fieldFormats,\n onNotification,\n onError,\n onUnsupportedTimePattern,\n onRedirectNoIndexPattern = () => {},\n }", + "description": [], + "signature": [ + "IndexPatternsServiceDeps" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.onlyDisabledFiltersChanged.$1", - "type": "Array", + "id": "def-common.DataViewsService.getIds", + "type": "Function", "tags": [], - "label": "newFilters", - "description": [], + "label": "getIds", + "description": [ + "\nGet list of index pattern ids" + ], "signature": [ - "Filter", - "[] | undefined" + "(refresh?: boolean) => Promise" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/only_disabled.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.getIds.$1", + "type": "boolean", + "tags": [], + "label": "refresh", + "description": [ + "Force refresh of index pattern list" + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.onlyDisabledFiltersChanged.$2", - "type": "Array", + "id": "def-common.DataViewsService.getTitles", + "type": "Function", "tags": [], - "label": "oldFilters", - "description": [], + "label": "getTitles", + "description": [ + "\nGet list of index pattern titles" + ], "signature": [ - "Filter", - "[] | undefined" + "(refresh?: boolean) => Promise" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/only_disabled.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.pinFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "pinFilter", - "description": [], - "signature": [ - "(filter: ", - "Filter", - ") => ", - "Filter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.pinFilter.$1", - "type": "Object", - "tags": [], - "label": "filter", - "description": [], - "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.getTitles.$1", + "type": "boolean", + "tags": [], + "label": "refresh", + "description": [ + "Force refresh of index pattern list" + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.shortenDottedString", - "type": "Function", - "tags": [ - "return" - ], - "label": "shortenDottedString", - "description": [ - "\nConvert a dot.notated.string into a short\nversion (d.n.string)\n" - ], - "signature": [ - "(input: any) => any" - ], - "path": "src/plugins/data/common/utils/shorten_dotted_string.ts", - "deprecated": false, - "children": [ + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.shortenDottedString.$1", - "type": "Any", + "id": "def-common.DataViewsService.find", + "type": "Function", "tags": [], - "label": "input", - "description": [], + "label": "find", + "description": [ + "\nFind and load index patterns by title" + ], "signature": [ - "any" + "(search: string, size?: number) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + "[]>" ], - "path": "src/plugins/data/common/utils/shorten_dotted_string.ts", + "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.tableHasFormulas", - "type": "Function", - "tags": [], - "label": "tableHasFormulas", - "description": [], - "signature": [ - "(columns: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.DatatableColumn", - "text": "DatatableColumn" + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.find.$1", + "type": "string", + "tags": [], + "label": "search", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.find.$2", + "type": "number", + "tags": [], + "label": "size", + "description": [], + "signature": [ + "number" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "IndexPattern[]" + ] }, - "[], rows: Record[]) => boolean" - ], - "path": "src/plugins/data/common/exports/formula_checks.ts", - "deprecated": false, - "children": [ { "parentPluginId": "data", - "id": "def-common.tableHasFormulas.$1", - "type": "Array", + "id": "def-common.DataViewsService.getIdsWithTitle", + "type": "Function", "tags": [], - "label": "columns", - "description": [], + "label": "getIdsWithTitle", + "description": [ + "\nGet list of index pattern ids with titles" + ], "signature": [ + "(refresh?: boolean) => Promise<", { - "pluginId": "expressions", + "pluginId": "dataViews", "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.DatatableColumn", - "text": "DatatableColumn" + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" }, - "[]" + "[]>" ], - "path": "src/plugins/data/common/exports/formula_checks.ts", + "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": false, - "isRequired": true + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.getIdsWithTitle.$1", + "type": "boolean", + "tags": [], + "label": "refresh", + "description": [ + "Force refresh of index pattern list" + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.tableHasFormulas.$2", - "type": "Array", + "id": "def-common.DataViewsService.clearCache", + "type": "Function", "tags": [], - "label": "rows", - "description": [], + "label": "clearCache", + "description": [ + "\nClear index pattern list cache" + ], "signature": [ - "Record[]" + "(id?: string | undefined) => void" ], - "path": "src/plugins/data/common/exports/formula_checks.ts", + "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.toElasticsearchQuery", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "toElasticsearchQuery", - "description": [], - "signature": [ - "(node: ", - "KueryNode", - ", indexPattern?: ", - "DataViewBase", - " | undefined, config?: ", - "KueryQueryOptions", - " | undefined, context?: Record | undefined) => ", - "QueryDslQueryContainer" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.toElasticsearchQuery.$1", - "type": "Object", - "tags": [], - "label": "node", - "description": [], - "signature": [ - "KueryNode" + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.clearCache.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [ + "optionally clear a single id" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": false + } ], - "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", - "deprecated": false + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.toElasticsearchQuery.$2", - "type": "Object", + "id": "def-common.DataViewsService.getCache", + "type": "Function", "tags": [], - "label": "indexPattern", + "label": "getCache", "description": [], "signature": [ - "DataViewBase", - " | undefined" + "() => Promise<", + "SavedObject", + ">[] | null | undefined>" ], - "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.toElasticsearchQuery.$3", - "type": "Object", + "id": "def-common.DataViewsService.getDefault", + "type": "Function", "tags": [], - "label": "config", - "description": [], + "label": "getDefault", + "description": [ + "\nGet default index pattern" + ], "signature": [ - "KueryQueryOptions", - " | undefined" + "() => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | null>" ], - "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.toElasticsearchQuery.$4", - "type": "Object", + "id": "def-common.DataViewsService.getDefaultId", + "type": "Function", "tags": [], - "label": "context", - "description": [], - "signature": [ - "Record | undefined" + "label": "getDefaultId", + "description": [ + "\nGet default index pattern id" ], - "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.toggleFilterDisabled", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "toggleFilterDisabled", - "description": [], - "signature": [ - "(filter: ", - "Filter", - ") => { meta: { disabled: boolean; alias?: string | null | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; $state?: { store: ", - "FilterStateStore", - "; } | undefined; query?: Record | undefined; }" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.toggleFilterDisabled.$1", - "type": "Object", - "tags": [], - "label": "filter", - "description": [], "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" + "() => Promise" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.toggleFilterNegated", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "toggleFilterNegated", - "description": [], - "signature": [ - "(filter: ", - "Filter", - ") => { meta: { negate: boolean; alias?: string | null | undefined; disabled?: boolean | undefined; controlledBy?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; $state?: { store: ", - "FilterStateStore", - "; } | undefined; query?: Record | undefined; }" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.toggleFilterNegated.$1", - "type": "Object", + "id": "def-common.DataViewsService.setDefault", + "type": "Function", "tags": [], - "label": "filter", - "description": [], - "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" + "label": "setDefault", + "description": [ + "\nOptionally set default index pattern, unless force = true" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.uniqFilters", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "uniqFilters", - "description": [], - "signature": [ - "(filters: ", - "Filter", - "[], comparatorOptions?: ", - "FilterCompareOptions", - " | undefined) => ", - "Filter", - "[]" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.uniqFilters.$1", - "type": "Array", - "tags": [], - "label": "filters", - "description": [], "signature": [ - "Filter", - "[]" + "(id: string | null, force?: boolean) => Promise" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/uniq_filters.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.setDefault.$1", + "type": "CompoundType", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string | null" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.setDefault.$2", + "type": "boolean", + "tags": [], + "label": "force", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.uniqFilters.$2", - "type": "Object", + "id": "def-common.DataViewsService.hasUserDataView", + "type": "Function", "tags": [], - "label": "comparatorOptions", - "description": [], + "label": "hasUserDataView", + "description": [ + "\nChecks if current user has a user created index pattern ignoring fleet's server default index patterns" + ], "signature": [ - "FilterCompareOptions", - " | undefined" + "() => Promise" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/uniq_filters.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - } - ], - "interfaces": [ - { - "parentPluginId": "data", - "id": "def-common.FilterValueFormatter", - "type": "Interface", - "tags": [], - "label": "FilterValueFormatter", - "description": [], - "path": "src/plugins/data/common/types.ts", - "deprecated": false, - "children": [ + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.FilterValueFormatter.convert", + "id": "def-common.DataViewsService.getFieldsForWildcard", "type": "Function", "tags": [], - "label": "convert", - "description": [], + "label": "getFieldsForWildcard", + "description": [ + "\nGet field list by providing { pattern }" + ], "signature": [ - "(value: any) => string" + "(options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + ") => Promise" ], - "path": "src/plugins/data/common/types.ts", + "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": false, - "returnComment": [], "children": [ { "parentPluginId": "data", - "id": "def-common.FilterValueFormatter.convert.$1", - "type": "Any", + "id": "def-common.DataViewsService.getFieldsForWildcard.$1", + "type": "Object", "tags": [], - "label": "value", + "label": "options", "description": [], "signature": [ - "any" + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + } ], - "path": "src/plugins/data/common/types.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true } + ], + "returnComment": [ + "FieldSpec[]" ] }, { "parentPluginId": "data", - "id": "def-common.FilterValueFormatter.getConverterFor", + "id": "def-common.DataViewsService.getFieldsForIndexPattern", "type": "Function", "tags": [], - "label": "getConverterFor", - "description": [], + "label": "getFieldsForIndexPattern", + "description": [ + "\nGet field list by providing an index patttern (or spec)" + ], "signature": [ - "(type: string) => FilterFormatterFunction" + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", options?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + " | undefined) => Promise" ], - "path": "src/plugins/data/common/types.ts", + "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": false, "children": [ { "parentPluginId": "data", - "id": "def-common.FilterValueFormatter.getConverterFor.$1", - "type": "string", + "id": "def-common.DataViewsService.getFieldsForIndexPattern.$1", + "type": "CompoundType", "tags": [], - "label": "type", + "label": "indexPattern", "description": [], "signature": [ - "string" + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } ], - "path": "src/plugins/data/common/types.ts", + "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": false, "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.KbnFieldTypeOptions", - "type": "Interface", - "tags": [], - "label": "KbnFieldTypeOptions", - "description": [], - "signature": [ - "KbnFieldTypeOptions" - ], - "path": "node_modules/@kbn/field-types/target_types/types.d.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.KbnFieldTypeOptions.sortable", - "type": "boolean", - "tags": [], - "label": "sortable", - "description": [], - "path": "node_modules/@kbn/field-types/target_types/types.d.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.KbnFieldTypeOptions.filterable", - "type": "boolean", - "tags": [], - "label": "filterable", - "description": [], - "path": "node_modules/@kbn/field-types/target_types/types.d.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.KbnFieldTypeOptions.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "node_modules/@kbn/field-types/target_types/types.d.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.KbnFieldTypeOptions.esTypes", - "type": "Array", - "tags": [], - "label": "esTypes", - "description": [], - "signature": [ - "ES_FIELD_TYPES", - "[]" - ], - "path": "node_modules/@kbn/field-types/target_types/types.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObject", - "type": "Interface", - "tags": [], - "label": "SavedObject", - "description": [], - "signature": [ - "SavedObject", - "" - ], - "path": "src/core/types/saved_objects.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.SavedObject.id", - "type": "string", - "tags": [], - "label": "id", - "description": [ - "The ID of this Saved Object, guaranteed to be unique for all objects of the same `type`" + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.getFieldsForIndexPattern.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": false + } ], - "path": "src/core/types/saved_objects.ts", - "deprecated": false + "returnComment": [ + "FieldSpec[]" + ] }, { "parentPluginId": "data", - "id": "def-common.SavedObject.type", - "type": "string", + "id": "def-common.DataViewsService.refreshFields", + "type": "Function", "tags": [], - "label": "type", + "label": "refreshFields", "description": [ - " The type of Saved Object. Each plugin can define it's own custom Saved Object types." + "\nRefresh field list for a given index pattern" ], - "path": "src/core/types/saved_objects.ts", - "deprecated": false + "signature": [ + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ") => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.refreshFields.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.SavedObject.version", - "type": "string", + "id": "def-common.DataViewsService.fieldArrayToMap", + "type": "Function", "tags": [], - "label": "version", + "label": "fieldArrayToMap", "description": [ - "An opaque version number which changes on each successful write operation. Can be used for implementing optimistic concurrency control." + "\nConverts field array to map" ], "signature": [ - "string | undefined" + "(fields: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[], fieldAttrs?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined) => Record" ], - "path": "src/core/types/saved_objects.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.fieldArrayToMap.$1", + "type": "Array", + "tags": [], + "label": "fields", + "description": [ + ": FieldSpec[]" + ], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.fieldArrayToMap.$2", + "type": "Object", + "tags": [], + "label": "fieldAttrs", + "description": [ + ": FieldAttrs" + ], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "Record" + ] }, { "parentPluginId": "data", - "id": "def-common.SavedObject.updated_at", - "type": "string", + "id": "def-common.DataViewsService.savedObjectToSpec", + "type": "Function", "tags": [], - "label": "updated_at", + "label": "savedObjectToSpec", "description": [ - "Timestamp of the last time this document had been updated." + "\nConverts index pattern saved object to index pattern spec" ], "signature": [ - "string | undefined" + "(savedObject: ", + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } ], - "path": "src/core/types/saved_objects.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.savedObjectToSpec.$1", + "type": "Object", + "tags": [], + "label": "savedObject", + "description": [], + "signature": [ + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "IndexPatternSpec" + ] }, { "parentPluginId": "data", - "id": "def-common.SavedObject.error", - "type": "Object", + "id": "def-common.DataViewsService.migrate", + "type": "Function", "tags": [], - "label": "error", + "label": "migrate", "description": [], "signature": [ - "SavedObjectError", - " | undefined" - ], - "path": "src/core/types/saved_objects.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObject.attributes", - "type": "Uncategorized", - "tags": [], - "label": "attributes", - "description": [ - "{@inheritdoc SavedObjectAttributes}" + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", newTitle: string) => Promise" ], - "signature": [ - "T" + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.migrate.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.migrate.$2", + "type": "string", + "tags": [], + "label": "newTitle", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } ], - "path": "src/core/types/saved_objects.ts", - "deprecated": false + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.SavedObject.references", - "type": "Array", + "id": "def-common.DataViewsService.get", + "type": "Function", "tags": [], - "label": "references", + "label": "get", "description": [ - "{@inheritdoc SavedObjectReference}" + "\nGet an index pattern by id. Cache optimized" ], "signature": [ - "SavedObjectReference", - "[]" + "(id: string) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">" ], - "path": "src/core/types/saved_objects.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.get.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.SavedObject.migrationVersion", - "type": "Object", + "id": "def-common.DataViewsService.create", + "type": "Function", "tags": [], - "label": "migrationVersion", + "label": "create", "description": [ - "{@inheritdoc SavedObjectsMigrationVersion}" + "\nCreate a new index pattern instance" ], "signature": [ - "SavedObjectsMigrationVersion", - " | undefined" + "(spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">" ], - "path": "src/core/types/saved_objects.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.create.$1", + "type": "Object", + "tags": [], + "label": "spec", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.create.$2", + "type": "boolean", + "tags": [], + "label": "skipFetchFields", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "IndexPattern" + ] }, { "parentPluginId": "data", - "id": "def-common.SavedObject.coreMigrationVersion", - "type": "string", + "id": "def-common.DataViewsService.createAndSave", + "type": "Function", "tags": [], - "label": "coreMigrationVersion", + "label": "createAndSave", "description": [ - "A semver value that is used when upgrading objects between Kibana versions." + "\nCreate a new index pattern and save it right away" ], "signature": [ - "string | undefined" + "(spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", override?: boolean, skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">" ], - "path": "src/core/types/saved_objects.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.createAndSave.$1", + "type": "Object", + "tags": [], + "label": "spec", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.createAndSave.$2", + "type": "boolean", + "tags": [], + "label": "override", + "description": [ + "Overwrite if existing index pattern exists." + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.createAndSave.$3", + "type": "boolean", + "tags": [], + "label": "skipFetchFields", + "description": [ + "Whether to skip field refresh step." + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.SavedObject.namespaces", - "type": "Array", + "id": "def-common.DataViewsService.createSavedObject", + "type": "Function", "tags": [], - "label": "namespaces", + "label": "createSavedObject", "description": [ - "\nSpace(s) that this saved object exists in. This attribute is not used for \"global\" saved object types which are registered with\n`namespaceType: 'agnostic'`." + "\nSave a new index pattern" ], "signature": [ - "string[] | undefined" + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", override?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">" ], - "path": "src/core/types/saved_objects.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.createSavedObject.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.createSavedObject.$2", + "type": "boolean", + "tags": [], + "label": "override", + "description": [ + "Overwrite if existing index pattern exists" + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.SavedObject.originId", - "type": "string", + "id": "def-common.DataViewsService.updateSavedObject", + "type": "Function", "tags": [], - "label": "originId", + "label": "updateSavedObject", "description": [ - "\nThe ID of the saved object this originated from. This is set if this object's `id` was regenerated; that can happen during migration\nfrom a legacy single-namespace type, or during import. It is only set during migration or create operations. This is used during import\nto ensure that ID regeneration is deterministic, so saved objects will be overwritten if they are imported multiple times into a given\nspace." + "\nSave existing index pattern. Will attempt to merge differences if there are conflicts" ], "signature": [ - "string | undefined" + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", saveAttempts?: number, ignoreErrors?: boolean) => Promise" ], - "path": "src/core/types/saved_objects.ts", - "deprecated": false - } - ], - "initialIsOpen": false - } - ], - "enums": [ - { - "parentPluginId": "data", - "id": "def-common.ES_FIELD_TYPES", - "type": "Enum", - "tags": [], - "label": "ES_FIELD_TYPES", - "description": [], - "signature": [ - "ES_FIELD_TYPES" - ], - "path": "node_modules/@kbn/field-types/target_types/types.d.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.FilterStateStore", - "type": "Enum", - "tags": [], - "label": "FilterStateStore", - "description": [ - "\n Filter,\nAn enum to denote whether a filter is specific to an application's context or whether it should be applied globally." - ], - "signature": [ - "FilterStateStore" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/types.d.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.KBN_FIELD_TYPES", - "type": "Enum", - "tags": [], - "label": "KBN_FIELD_TYPES", - "description": [], - "signature": [ - "KBN_FIELD_TYPES" - ], - "path": "node_modules/@kbn/field-types/target_types/types.d.ts", - "deprecated": false, - "initialIsOpen": false - } - ], - "misc": [ - { - "parentPluginId": "data", - "id": "def-common.CSV_FORMULA_CHARS", - "type": "Array", - "tags": [], - "label": "CSV_FORMULA_CHARS", - "description": [], - "signature": [ - "string[]" - ], - "path": "src/plugins/data/common/exports/constants.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.CSV_MIME_TYPE", - "type": "string", - "tags": [], - "label": "CSV_MIME_TYPE", - "description": [], - "signature": [ - "\"text/plain;charset=utf-8\"" - ], - "path": "src/plugins/data/common/exports/export_csv.tsx", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.CustomFilter", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "CustomFilter", - "description": [], - "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.updateSavedObject.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.updateSavedObject.$2", + "type": "number", + "tags": [], + "label": "saveAttempts", + "description": [], + "signature": [ + "number" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.updateSavedObject.$3", + "type": "boolean", + "tags": [], + "label": "ignoreErrors", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.delete", + "type": "Function", + "tags": [], + "label": "delete", + "description": [ + "\nDeletes an index pattern from .kibana index" + ], + "signature": [ + "(indexPatternId: string) => Promise<{}>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.delete.$1", + "type": "string", + "tags": [], + "label": "indexPatternId", + "description": [ + ": Id of kibana Index Pattern to delete" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], "initialIsOpen": false }, { "parentPluginId": "data", - "id": "def-common.DATA_VIEW_SAVED_OBJECT_TYPE", - "type": "string", + "id": "def-common.DuplicateDataViewError", + "type": "Class", "tags": [], - "label": "DATA_VIEW_SAVED_OBJECT_TYPE", + "label": "DuplicateDataViewError", "description": [], "signature": [ - "\"index-pattern\"" + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DuplicateDataViewError", + "text": "DuplicateDataViewError" + }, + " extends Error" ], - "path": "src/plugins/data/common/constants.ts", + "path": "src/plugins/data_views/common/errors/duplicate_index_pattern.ts", "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.DEFAULT_QUERY_LANGUAGE", - "type": "string", - "tags": [], - "label": "DEFAULT_QUERY_LANGUAGE", - "description": [], - "signature": [ - "\"kuery\"" + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DuplicateDataViewError.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/errors/duplicate_index_pattern.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DuplicateDataViewError.Unnamed.$1", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/errors/duplicate_index_pattern.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } ], - "path": "src/plugins/data/common/constants.ts", - "deprecated": false, "initialIsOpen": false }, { "parentPluginId": "data", - "id": "def-common.EsQueryConfig", - "type": "Type", + "id": "def-common.IndexPattern", + "type": "Class", "tags": [ "deprecated" ], - "label": "EsQueryConfig", + "label": "IndexPattern", "description": [], "signature": [ - "KueryQueryOptions", - " & { allowLeadingWildcards: boolean; queryStringOptions: ", - "SerializableRecord", - "; ignoreFilterIfFieldNotInIndex: boolean; }" + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IndexPattern", + "text": "IndexPattern" + }, + " extends ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } ], - "path": "src/plugins/data/common/es_query/index.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": true, - "removeBy": "8.1", "references": [ { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/types.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" + }, + { + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_default_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_default_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/helpers/update_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/helpers/update_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/utils/sorting.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/utils/sorting.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app_content.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app_content.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern_management.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern_management.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/update_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/update_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/calc_field_counts.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/calc_field_counts.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_documents.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_documents.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/types.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/types.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/types/index.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/types/index.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/timeseries_visualization.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/timeseries_visualization.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/view_saved_search_action.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/view_saved_search_action.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/helpers.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/helpers.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/doc_table_wrapper.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/doc_table_wrapper.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_flyout.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_flyout.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/get_render_cell_value.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/get_render_cell_value.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/utils/sorting.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/utils/sorting.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/calc_field_counts.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/calc_field_counts.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/get_switch_index_pattern_app_state.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/get_switch_index_pattern_app_state.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/get_switch_index_pattern_app_state.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_default_sort.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_default_sort.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/top_nav/get_top_nav_links.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/top_nav/get_top_nav_links.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/row_formatter.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/row_formatter.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/row_formatter.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/table_header.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/table_header.d.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/public/index.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/doc_views/doc_views_types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/doc_views/doc_views_types.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/nested_fields.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/nested_fields.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_fetch.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_fetch.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/persist_saved_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/persist_saved_search.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/field_format_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/field_format_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/types/app_state.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/types/app_state.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/mocks.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/mocks.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities._service.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities._service.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_pattern.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_pattern.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/types.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/types.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/target/types/public/types.d.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/target/types/public/types.d.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/nested_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/nested_fields.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + } + ], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternField", + "type": "Class", + "tags": [ + "deprecated" + ], + "label": "IndexPatternField", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IndexPatternField", + "text": "IndexPatternField" + }, + " extends ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + } + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": true, + "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/public/index.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/field_name/field_name.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/field_name/field_name.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/es_doc_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/es_doc_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metrics_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metrics_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metric_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metric_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_param_props.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_param_props.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_param_props.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_param_props.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_field.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_field.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_sort_field.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_sort_field.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" + } + ], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternsService", + "type": "Class", + "tags": [ + "deprecated" + ], + "label": "IndexPatternsService", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IndexPatternsService", + "text": "IndexPatternsService" + }, + " extends ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": true, + "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/kibana_server_services.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/kibana_server_services.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/create_doc_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/create_doc_source.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/fields_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/fields_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/plugin.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/plugin.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/public/index.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + } + ], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.KbnFieldType", + "type": "Class", + "tags": [], + "label": "KbnFieldType", + "description": [], + "path": "node_modules/@kbn/field-types/target_types/kbn_field_type.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.KbnFieldType.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "node_modules/@kbn/field-types/target_types/kbn_field_type.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.KbnFieldType.sortable", + "type": "boolean", + "tags": [], + "label": "sortable", + "description": [], + "path": "node_modules/@kbn/field-types/target_types/kbn_field_type.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.KbnFieldType.filterable", + "type": "boolean", + "tags": [], + "label": "filterable", + "description": [], + "path": "node_modules/@kbn/field-types/target_types/kbn_field_type.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.KbnFieldType.esTypes", + "type": "Object", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + "readonly ", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, + "[]" + ], + "path": "node_modules/@kbn/field-types/target_types/kbn_field_type.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.KbnFieldType.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/@kbn/field-types/target_types/kbn_field_type.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.KbnFieldType.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Partial<", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KbnFieldTypeOptions", + "text": "KbnFieldTypeOptions" + }, + "> | undefined" + ], + "path": "node_modules/@kbn/field-types/target_types/kbn_field_type.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "data", + "id": "def-common.buildCustomFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "buildCustomFilter", + "description": [], + "signature": [ + "(indexPatternString: string, queryDsl: ", + "QueryDslQueryContainer", + ", disabled: boolean, negate: boolean, alias: string | null, store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.buildCustomFilter.$1", + "type": "string", + "tags": [], + "label": "indexPatternString", + "description": [], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/custom_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildCustomFilter.$2", + "type": "Object", + "tags": [], + "label": "queryDsl", + "description": [], + "signature": [ + "QueryDslQueryContainer" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/custom_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildCustomFilter.$3", + "type": "boolean", + "tags": [], + "label": "disabled", + "description": [], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/custom_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildCustomFilter.$4", + "type": "boolean", + "tags": [], + "label": "negate", + "description": [], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/custom_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildCustomFilter.$5", + "type": "CompoundType", + "tags": [], + "label": "alias", + "description": [], + "signature": [ + "string | null" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/custom_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildCustomFilter.$6", + "type": "Enum", + "tags": [], + "label": "store", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + } + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/custom_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildEmptyFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "buildEmptyFilter", + "description": [], + "signature": [ + "(isPinned: boolean, index?: string | undefined) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.buildEmptyFilter.$1", + "type": "boolean", + "tags": [], + "label": "isPinned", + "description": [], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_empty_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildEmptyFilter.$2", + "type": "string", + "tags": [], + "label": "index", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_empty_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildEsQuery", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "buildEsQuery", + "description": [], + "signature": [ + "(indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + " | undefined, queries: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, + "[], filters: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[], config?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + }, + " | undefined) => { bool: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + }, + "; }" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.buildEsQuery.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + " | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildEsQuery.$2", + "type": "CompoundType", + "tags": [], + "label": "queries", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, + "[]" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildEsQuery.$3", + "type": "CompoundType", + "tags": [], + "label": "filters", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildEsQuery.$4", + "type": "CompoundType", + "tags": [], + "label": "config", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + }, + " | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildExistsFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "buildExistsFilter", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ExistsFilter", + "text": "ExistsFilter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.buildExistsFilter.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildExistsFilter.$2", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "buildFilter", + "description": [], + "signature": [ + "(indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ", field: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", type: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FILTERS", + "text": "FILTERS" + }, + ", negate: boolean, disabled: boolean, params: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, + ", alias: string | null, store?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + " | undefined) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.buildFilter.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildFilter.$2", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildFilter.$3", + "type": "Enum", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FILTERS", + "text": "FILTERS" + } + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildFilter.$4", + "type": "boolean", + "tags": [], + "label": "negate", + "description": [], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildFilter.$5", + "type": "boolean", + "tags": [], + "label": "disabled", + "description": [], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildFilter.$6", + "type": "CompoundType", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "string | number | boolean | ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, + " | ", + "SerializableArray", + " | null | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildFilter.$7", + "type": "CompoundType", + "tags": [], + "label": "alias", + "description": [], + "signature": [ + "string | null" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildFilter.$8", + "type": "CompoundType", + "tags": [], + "label": "store", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + " | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildPhraseFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "buildPhraseFilter", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", value: ", + "PhraseFilterValue", + ", indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedPhraseFilter", + "text": "ScriptedPhraseFilter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.buildPhraseFilter.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildPhraseFilter.$2", + "type": "CompoundType", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "string | number | boolean" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildPhraseFilter.$3", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildPhrasesFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "buildPhrasesFilter", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", params: ", + "PhraseFilterValue", + "[], indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhrasesFilter", + "text": "PhrasesFilter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.buildPhrasesFilter.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildPhrasesFilter.$2", + "type": "Array", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "PhraseFilterValue", + "[]" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildPhrasesFilter.$3", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildQueryFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "buildQueryFilter", + "description": [], + "signature": [ + "(query: (Record & { query_string?: { query: string; } | undefined; }) | undefined, index: string, alias: string) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.QueryStringFilter", + "text": "QueryStringFilter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.buildQueryFilter.$1", + "type": "CompoundType", + "tags": [], + "label": "query", + "description": [], + "signature": [ + "(Record & { query_string?: { query: string; } | undefined; }) | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/query_string_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildQueryFilter.$2", + "type": "string", + "tags": [], + "label": "index", + "description": [], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/query_string_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildQueryFilter.$3", + "type": "string", + "tags": [], + "label": "alias", + "description": [], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/query_string_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildQueryFromFilters", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "buildQueryFromFilters", + "description": [], + "signature": [ + "(filters: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[] | undefined, indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + " | undefined, ignoreFilterIfFieldNotInIndex?: boolean | undefined) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.buildQueryFromFilters.$1", + "type": "Array", + "tags": [], + "label": "filters", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[] | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/from_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildQueryFromFilters.$2", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + " | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/from_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildQueryFromFilters.$3", + "type": "CompoundType", + "tags": [], + "label": "ignoreFilterIfFieldNotInIndex", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/from_filters.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildRangeFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "buildRangeFilter", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", params: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterParams", + "text": "RangeFilterParams" + }, + ", indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ", formattedValue?: string | undefined) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, + " | ", + "MatchAllRangeFilter" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.buildRangeFilter.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildRangeFilter.$2", + "type": "Object", + "tags": [], + "label": "params", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterParams", + "text": "RangeFilterParams" + } + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildRangeFilter.$3", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildRangeFilter.$4", + "type": "string", + "tags": [], + "label": "formattedValue", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.castEsToKbnFieldTypeName", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "castEsToKbnFieldTypeName", + "description": [], + "signature": [ + "(esType: string) => ", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } + ], + "path": "src/plugins/data/common/kbn_field_types/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/create_field_list.ts" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/create_field_list.ts" + } + ], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.castEsToKbnFieldTypeName.$1", + "type": "string", + "tags": [], + "label": "esType", + "description": [], + "path": "node_modules/@kbn/field-types/target_types/kbn_field_types.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.cellHasFormulas", + "type": "Function", + "tags": [], + "label": "cellHasFormulas", + "description": [], + "signature": [ + "(val: string) => boolean" + ], + "path": "src/plugins/data/common/exports/formula_checks.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.cellHasFormulas.$1", + "type": "string", + "tags": [], + "label": "val", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data/common/exports/formula_checks.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.compareFilters", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "compareFilters", + "description": [], + "signature": [ + "(first: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[], second: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[], comparatorOptions?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterCompareOptions", + "text": "FilterCompareOptions" + }, + " | undefined) => boolean" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.compareFilters.$1", + "type": "CompoundType", + "tags": [], + "label": "first", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/compare_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.compareFilters.$2", + "type": "CompoundType", + "tags": [], + "label": "second", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/compare_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.compareFilters.$3", + "type": "Object", + "tags": [], + "label": "comparatorOptions", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterCompareOptions", + "text": "FilterCompareOptions" + }, + " | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/compare_filters.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.createEscapeValue", + "type": "Function", + "tags": [], + "label": "createEscapeValue", + "description": [], + "signature": [ + "(quoteValues: boolean, escapeFormulas: boolean) => (val: RawValue) => string" + ], + "path": "src/plugins/data/common/exports/escape_value.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.createEscapeValue.$1", + "type": "boolean", + "tags": [], + "label": "quoteValues", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data/common/exports/escape_value.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.createEscapeValue.$2", + "type": "boolean", + "tags": [], + "label": "escapeFormulas", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data/common/exports/escape_value.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.datatableToCSV", + "type": "Function", + "tags": [], + "label": "datatableToCSV", + "description": [], + "signature": [ + "({ columns, rows }: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.Datatable", + "text": "Datatable" + }, + ", { csvSeparator, quoteValues, formatFactory, raw, escapeFormulaValues }: CSVOptions) => string" + ], + "path": "src/plugins/data/common/exports/export_csv.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.datatableToCSV.$1", + "type": "Object", + "tags": [], + "label": "{ columns, rows }", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.Datatable", + "text": "Datatable" + } + ], + "path": "src/plugins/data/common/exports/export_csv.tsx", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.datatableToCSV.$2", + "type": "Object", + "tags": [], + "label": "{ csvSeparator, quoteValues, formatFactory, raw, escapeFormulaValues }", + "description": [], + "signature": [ + "CSVOptions" + ], + "path": "src/plugins/data/common/exports/export_csv.tsx", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.decorateQuery", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "decorateQuery", + "description": [], + "signature": [ + "(query: ", + "QueryDslQueryContainer", + ", queryStringOptions: string | ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, + ", dateFormatTZ?: string | undefined) => ", + "QueryDslQueryContainer" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.decorateQuery.$1", + "type": "Object", + "tags": [], + "label": "query", + "description": [], + "signature": [ + "QueryDslQueryContainer" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/decorate_query.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.decorateQuery.$2", + "type": "CompoundType", + "tags": [], + "label": "queryStringOptions", + "description": [], + "signature": [ + "string | ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/decorate_query.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.decorateQuery.$3", + "type": "string", + "tags": [], + "label": "dateFormatTZ", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/decorate_query.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.dedupFilters", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "dedupFilters", + "description": [], + "signature": [ + "(existingFilters: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[], filters: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[], comparatorOptions?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterCompareOptions", + "text": "FilterCompareOptions" + }, + " | undefined) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.dedupFilters.$1", + "type": "Array", + "tags": [], + "label": "existingFilters", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/dedup_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.dedupFilters.$2", + "type": "Array", + "tags": [], + "label": "filters", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/dedup_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.dedupFilters.$3", + "type": "Object", + "tags": [], + "label": "comparatorOptions", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterCompareOptions", + "text": "FilterCompareOptions" + }, + " | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/dedup_filters.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.disableFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "disableFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.disableFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.enableFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "enableFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.enableFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.fieldList", + "type": "Function", + "tags": [], + "label": "fieldList", + "description": [], + "signature": [ + "(specs?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[], shortDotsEnable?: boolean) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPatternFieldList", + "text": "IIndexPatternFieldList" + } + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.fieldList.$1", + "type": "Array", + "tags": [], + "label": "specs", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.fieldList.$2", + "type": "boolean", + "tags": [], + "label": "shortDotsEnable", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.fromKueryExpression", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "fromKueryExpression", + "description": [], + "signature": [ + "(expression: string | ", + "QueryDslQueryContainer", + ", parseOptions?: Partial<", + "KueryParseOptions", + "> | undefined) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.fromKueryExpression.$1", + "type": "CompoundType", + "tags": [], + "label": "expression", + "description": [], + "signature": [ + "string | ", + "QueryDslQueryContainer" + ], + "path": "node_modules/@kbn/es-query/target_types/kuery/ast/ast.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.fromKueryExpression.$2", + "type": "Object", + "tags": [], + "label": "parseOptions", + "description": [], + "signature": [ + "Partial<", + "KueryParseOptions", + "> | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/kuery/ast/ast.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.getEsQueryConfig", + "type": "Function", + "tags": [], + "label": "getEsQueryConfig", + "description": [], + "signature": [ + "(config: KibanaConfig) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + } + ], + "path": "src/plugins/data/common/es_query/get_es_query_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.getEsQueryConfig.$1", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + "KibanaConfig" + ], + "path": "src/plugins/data/common/es_query/get_es_query_config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.getFieldSubtypeMulti", + "type": "Function", + "tags": [], + "label": "getFieldSubtypeMulti", + "description": [], + "signature": [ + "(field: Pick<", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", \"subType\">) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubTypeMulti", + "text": "IFieldSubTypeMulti" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.getFieldSubtypeMulti.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + "{ subType?: ", + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional", + " | undefined; }" + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.getFieldSubtypeNested", + "type": "Function", + "tags": [], + "label": "getFieldSubtypeNested", + "description": [], + "signature": [ + "(field: Pick<", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", \"subType\">) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubTypeNested", + "text": "IFieldSubTypeNested" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.getFieldSubtypeNested.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + "{ subType?: ", + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional", + " | undefined; }" + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.getFilterableKbnTypeNames", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "getFilterableKbnTypeNames", + "description": [], + "signature": [ + "() => string[]" + ], + "path": "src/plugins/data/common/kbn_field_types/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.getIndexPatternLoadMeta", + "type": "Function", + "tags": [], + "label": "getIndexPatternLoadMeta", + "description": [], + "signature": [ + "() => Pick<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IndexPatternLoadExpressionFunctionDefinition", + "text": "IndexPatternLoadExpressionFunctionDefinition" + }, + ", \"type\" | \"telemetry\" | \"inject\" | \"extract\" | \"migrations\" | \"name\" | \"disabled\" | \"help\" | \"inputTypes\" | \"args\" | \"aliases\" | \"context\">" + ], + "path": "src/plugins/data_views/common/expressions/load_index_pattern.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.getKbnFieldType", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "getKbnFieldType", + "description": [], + "signature": [ + "(typeName: string) => ", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KbnFieldType", + "text": "KbnFieldType" + } + ], + "path": "src/plugins/data/common/kbn_field_types/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.getKbnFieldType.$1", + "type": "string", + "tags": [], + "label": "typeName", + "description": [], + "path": "node_modules/@kbn/field-types/target_types/kbn_field_types.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.getKbnTypeNames", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "getKbnTypeNames", + "description": [], + "signature": [ + "() => string[]" + ], + "path": "src/plugins/data/common/kbn_field_types/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/constants/index.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/constants/index.ts" + } + ], + "returnComment": [], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.getPhraseFilterField", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "getPhraseFilterField", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" + }, + ") => string" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.getPhraseFilterField.$1", + "type": "CompoundType", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " & { meta: ", + "PhraseFilterMeta", + "; query: { match_phrase?: Record | undefined; match?: Record | undefined; }; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.getPhraseFilterValue", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "getPhraseFilterValue", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedPhraseFilter", + "text": "ScriptedPhraseFilter" + }, + ") => ", + "PhraseFilterValue" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.getPhraseFilterValue.$1", + "type": "CompoundType", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedPhraseFilter", + "text": "ScriptedPhraseFilter" + } + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isExistsFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "isExistsFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ExistsFilter", + "text": "ExistsFilter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isExistsFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "isFilter", + "description": [], + "signature": [ + "(x: unknown) => x is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isFilter.$1", + "type": "Unknown", + "tags": [], + "label": "x", + "description": [], + "signature": [ + "unknown" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isFilterable", + "type": "Function", + "tags": [], + "label": "isFilterable", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + ") => boolean" + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isFilterable.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + } + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isFilterDisabled", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "isFilterDisabled", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => boolean" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isFilterDisabled.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isFilterPinned", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "isFilterPinned", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => boolean | undefined" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "visualize", + "path": "src/plugins/visualize/common/locator.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/common/locator.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/common/locator.ts" + } + ], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isFilterPinned.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isFilters", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "isFilters", + "description": [], + "signature": [ + "(x: unknown) => x is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "dashboardEnhanced", + "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" + }, + { + "plugin": "dashboardEnhanced", + "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" + } + ], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isFilters.$1", + "type": "Unknown", + "tags": [], + "label": "x", + "description": [], + "signature": [ + "unknown" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isMatchAllFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "isMatchAllFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.MatchAllFilter", + "text": "MatchAllFilter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isMatchAllFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/match_all_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isMissingFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "isMissingFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.MissingFilter", + "text": "MissingFilter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isMissingFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/missing_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isMultiField", + "type": "Function", + "tags": [], + "label": "isMultiField", + "description": [], + "signature": [ + "(field: Pick<", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", \"subType\">) => boolean" + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isMultiField.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + "{ subType?: ", + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional", + " | undefined; }" + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isNestedField", + "type": "Function", + "tags": [], + "label": "isNestedField", + "description": [], + "signature": [ + "(field: Pick<", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", \"subType\">) => boolean" + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isNestedField.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + "{ subType?: ", + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional", + " | undefined; }" + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isPhraseFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "isPhraseFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isPhraseFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isPhrasesFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "isPhrasesFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhrasesFilter", + "text": "PhrasesFilter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isPhrasesFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isQueryStringFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "isQueryStringFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.QueryStringFilter", + "text": "QueryStringFilter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isQueryStringFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/query_string_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isRangeFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "isRangeFilter", + "description": [], + "signature": [ + "(filter?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | undefined) => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isRangeFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.luceneStringToDsl", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "luceneStringToDsl", + "description": [], + "signature": [ + "(query: string | ", + "QueryDslQueryContainer", + ") => ", + "QueryDslQueryContainer" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.luceneStringToDsl.$1", + "type": "CompoundType", + "tags": [], + "label": "query", + "description": [], + "signature": [ + "string | ", + "QueryDslQueryContainer" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/lucene_string_to_dsl.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.onlyDisabledFiltersChanged", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "onlyDisabledFiltersChanged", + "description": [], + "signature": [ + "(newFilters?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[] | undefined, oldFilters?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[] | undefined) => boolean" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.onlyDisabledFiltersChanged.$1", + "type": "Array", + "tags": [], + "label": "newFilters", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[] | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/only_disabled.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.onlyDisabledFiltersChanged.$2", + "type": "Array", + "tags": [], + "label": "oldFilters", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[] | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/only_disabled.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.pinFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "pinFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.pinFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.tableHasFormulas", + "type": "Function", + "tags": [], + "label": "tableHasFormulas", + "description": [], + "signature": [ + "(columns: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.DatatableColumn", + "text": "DatatableColumn" + }, + "[], rows: Record[]) => boolean" + ], + "path": "src/plugins/data/common/exports/formula_checks.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.tableHasFormulas.$1", + "type": "Array", + "tags": [], + "label": "columns", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.DatatableColumn", + "text": "DatatableColumn" + }, + "[]" + ], + "path": "src/plugins/data/common/exports/formula_checks.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.tableHasFormulas.$2", + "type": "Array", + "tags": [], + "label": "rows", + "description": [], + "signature": [ + "Record[]" + ], + "path": "src/plugins/data/common/exports/formula_checks.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.toElasticsearchQuery", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "toElasticsearchQuery", + "description": [], + "signature": [ + "(node: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, + ", indexPattern?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + " | undefined, config?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryQueryOptions", + "text": "KueryQueryOptions" + }, + " | undefined, context?: Record | undefined) => ", + "QueryDslQueryContainer" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.toElasticsearchQuery.$1", + "type": "Object", + "tags": [], + "label": "node", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + } + ], + "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.toElasticsearchQuery.$2", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + " | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.toElasticsearchQuery.$3", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryQueryOptions", + "text": "KueryQueryOptions" + }, + " | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.toElasticsearchQuery.$4", + "type": "Object", + "tags": [], + "label": "context", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.toggleFilterDisabled", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "toggleFilterDisabled", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => { meta: { disabled: boolean; alias?: string | null | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; query?: Record | undefined; }" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.toggleFilterDisabled.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.toggleFilterNegated", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "toggleFilterNegated", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => { meta: { negate: boolean; alias?: string | null | undefined; disabled?: boolean | undefined; controlledBy?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; query?: Record | undefined; }" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.toggleFilterNegated.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.uniqFilters", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "uniqFilters", + "description": [], + "signature": [ + "(filters: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[], comparatorOptions?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterCompareOptions", + "text": "FilterCompareOptions" + }, + " | undefined) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.uniqFilters.$1", + "type": "Array", + "tags": [], + "label": "filters", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/uniq_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.uniqFilters.$2", + "type": "Object", + "tags": [], + "label": "comparatorOptions", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterCompareOptions", + "text": "FilterCompareOptions" + }, + " | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/uniq_filters.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes", + "type": "Interface", + "tags": [], + "label": "DataViewAttributes", + "description": [ + "\nInterface for an index pattern saved object" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.fields", + "type": "string", + "tags": [], + "label": "fields", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.typeMeta", + "type": "string", + "tags": [], + "label": "typeMeta", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.timeFieldName", + "type": "string", + "tags": [], + "label": "timeFieldName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.intervalName", + "type": "string", + "tags": [], + "label": "intervalName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.sourceFilters", + "type": "string", + "tags": [], + "label": "sourceFilters", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.fieldFormatMap", + "type": "string", + "tags": [], + "label": "fieldFormatMap", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.fieldAttrs", + "type": "string", + "tags": [], + "label": "fieldAttrs", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.runtimeFieldMap", + "type": "string", + "tags": [], + "label": "runtimeFieldMap", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.allowNoIndex", + "type": "CompoundType", + "tags": [], + "label": "allowNoIndex", + "description": [ + "\nprevents errors when index pattern exists before indices" + ], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewListItem", + "type": "Interface", + "tags": [], + "label": "DataViewListItem", + "description": [], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewListItem.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewListItem.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewListItem.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewListItem.typeMeta", + "type": "Object", + "tags": [], + "label": "typeMeta", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.TypeMeta", + "text": "TypeMeta" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec", + "type": "Interface", + "tags": [], + "label": "DataViewSpec", + "description": [ + "\nStatic index pattern format\nSerialized data object, representing index pattern attributes and state" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.id", + "type": "string", + "tags": [], + "label": "id", + "description": [ + "\nsaved object id" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.version", + "type": "string", + "tags": [], + "label": "version", + "description": [ + "\nsaved object version string" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.intervalName", + "type": "string", + "tags": [ + "deprecated" + ], + "label": "intervalName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_views.ts" + } + ] + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.timeFieldName", + "type": "string", + "tags": [], + "label": "timeFieldName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.sourceFilters", + "type": "Array", + "tags": [], + "label": "sourceFilters", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.SourceFilter", + "text": "SourceFilter" + }, + "[] | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.fields", + "type": "Object", + "tags": [], + "label": "fields", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.typeMeta", + "type": "Object", + "tags": [], + "label": "typeMeta", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.TypeMeta", + "text": "TypeMeta" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.fieldFormats", + "type": "Object", + "tags": [], + "label": "fieldFormats", + "description": [], + "signature": [ + "Record>> | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.runtimeFieldMap", + "type": "Object", + "tags": [], + "label": "runtimeFieldMap", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.fieldAttrs", + "type": "Object", + "tags": [], + "label": "fieldAttrs", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.allowNoIndex", + "type": "CompoundType", + "tags": [], + "label": "allowNoIndex", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldAttrs", + "type": "Interface", + "tags": [ + "intenal" + ], + "label": "FieldAttrs", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.FieldAttrs.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldAttrSet", + "type": "Interface", + "tags": [], + "label": "FieldAttrSet", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.FieldAttrSet.customLabel", + "type": "string", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldAttrSet.count", + "type": "number", + "tags": [], + "label": "count", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec", + "type": "Interface", + "tags": [], + "label": "FieldSpec", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " extends ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.count", + "type": "number", + "tags": [], + "label": "count", + "description": [ + "\nPopularity count is used by discover" + ], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.conflictDescriptions", + "type": "Object", + "tags": [], + "label": "conflictDescriptions", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.format", + "type": "Object", + "tags": [], + "label": "format", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + "> | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.esTypes", + "type": "Array", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.searchable", + "type": "boolean", + "tags": [], + "label": "searchable", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.aggregatable", + "type": "boolean", + "tags": [], + "label": "aggregatable", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.readFromDocValues", + "type": "CompoundType", + "tags": [], + "label": "readFromDocValues", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.indexed", + "type": "CompoundType", + "tags": [], + "label": "indexed", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.customLabel", + "type": "string", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.runtimeField", + "type": "Object", + "tags": [], + "label": "runtimeField", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.shortDotsEnable", + "type": "CompoundType", + "tags": [], + "label": "shortDotsEnable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.isMapped", + "type": "CompoundType", + "tags": [], + "label": "isMapped", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt", + "type": "Interface", + "tags": [], + "label": "FieldSpecExportFmt", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.count", + "type": "number", + "tags": [], + "label": "count", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.script", + "type": "string", + "tags": [], + "label": "script", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.lang", + "type": "CompoundType", + "tags": [], + "label": "lang", + "description": [], + "signature": [ + "\"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.conflictDescriptions", + "type": "Object", + "tags": [], + "label": "conflictDescriptions", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.type", + "type": "Enum", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.esTypes", + "type": "Array", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.scripted", + "type": "boolean", + "tags": [], + "label": "scripted", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.searchable", + "type": "boolean", + "tags": [], + "label": "searchable", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.aggregatable", + "type": "boolean", + "tags": [], + "label": "aggregatable", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.readFromDocValues", + "type": "CompoundType", + "tags": [], + "label": "readFromDocValues", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.subType", + "type": "CompoundType", + "tags": [], + "label": "subType", + "description": [], + "signature": [ + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional", + " | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.format", + "type": "Object", + "tags": [], + "label": "format", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + "> | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.indexed", + "type": "CompoundType", + "tags": [], + "label": "indexed", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.FilterValueFormatter", + "type": "Interface", + "tags": [], + "label": "FilterValueFormatter", + "description": [], + "path": "src/plugins/data/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.FilterValueFormatter.convert", + "type": "Function", + "tags": [], + "label": "convert", + "description": [], + "signature": [ + "(value: any) => string" + ], + "path": "src/plugins/data/common/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.FilterValueFormatter.convert.$1", + "type": "Any", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data/common/types.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-common.FilterValueFormatter.getConverterFor", + "type": "Function", + "tags": [], + "label": "getConverterFor", + "description": [], + "signature": [ + "(type: string) => FilterFormatterFunction" + ], + "path": "src/plugins/data/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.FilterValueFormatter.getConverterFor.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptions", + "type": "Interface", + "tags": [], + "label": "GetFieldsOptions", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptions.pattern", + "type": "string", + "tags": [], + "label": "pattern", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptions.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptions.lookBack", + "type": "CompoundType", + "tags": [], + "label": "lookBack", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptions.metaFields", + "type": "Array", + "tags": [], + "label": "metaFields", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptions.rollupIndex", + "type": "string", + "tags": [], + "label": "rollupIndex", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptions.allowNoIndex", + "type": "CompoundType", + "tags": [], + "label": "allowNoIndex", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptionsTimePattern", + "type": "Interface", + "tags": [], + "label": "GetFieldsOptionsTimePattern", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptionsTimePattern.pattern", + "type": "string", + "tags": [], + "label": "pattern", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptionsTimePattern.metaFields", + "type": "Array", + "tags": [], + "label": "metaFields", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptionsTimePattern.lookBack", + "type": "number", + "tags": [], + "label": "lookBack", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptionsTimePattern.interval", + "type": "string", + "tags": [], + "label": "interval", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IDataViewsApiClient", + "type": "Interface", + "tags": [], + "label": "IDataViewsApiClient", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IDataViewsApiClient.getFieldsForTimePattern", + "type": "Function", + "tags": [], + "label": "getFieldsForTimePattern", + "description": [], + "signature": [ + "(options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptionsTimePattern", + "text": "GetFieldsOptionsTimePattern" + }, + ") => Promise" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IDataViewsApiClient.getFieldsForTimePattern.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptionsTimePattern", + "text": "GetFieldsOptionsTimePattern" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IDataViewsApiClient.getFieldsForWildcard", + "type": "Function", + "tags": [], + "label": "getFieldsForWildcard", + "description": [], + "signature": [ + "(options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + ") => Promise" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IDataViewsApiClient.getFieldsForWildcard.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IDataViewsApiClient.hasUserIndexPattern", + "type": "Function", + "tags": [], + "label": "hasUserIndexPattern", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType", + "type": "Interface", + "tags": [ + "deprecated" + ], + "label": "IFieldType", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " extends ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/utils.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/utils.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/field_list.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/field_list.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/field_list.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/field_list.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/types.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/types.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/types.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/types.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/inventory/components/expression.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/inventory/components/expression.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/selector.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/selector.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/group_by_expression.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/group_by_expression.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/group_by_expression.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/group_by_expression.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/selector.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/selector.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/expression.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/expression.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/metric.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/metric.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_row.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_row.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criteria.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criteria.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criterion.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criterion.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/group_by.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/group_by.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/metrics.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/metrics.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/index.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/index.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/utils.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/utils.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/fields.mocks.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/fields.mocks.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/fields.mocks.ts" + } + ], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IFieldType.count", + "type": "number", + "tags": [], + "label": "count", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.esTypes", + "type": "Array", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.aggregatable", + "type": "CompoundType", + "tags": [], + "label": "aggregatable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.filterable", + "type": "CompoundType", + "tags": [], + "label": "filterable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.searchable", + "type": "CompoundType", + "tags": [], + "label": "searchable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.sortable", + "type": "CompoundType", + "tags": [], + "label": "sortable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.visualizable", + "type": "CompoundType", + "tags": [], + "label": "visualizable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.readFromDocValues", + "type": "CompoundType", + "tags": [], + "label": "readFromDocValues", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.displayName", + "type": "string", + "tags": [], + "label": "displayName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.customLabel", + "type": "string", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.format", + "type": "Any", + "tags": [], + "label": "format", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.toSpec", + "type": "Function", + "tags": [], + "label": "toSpec", + "description": [], + "signature": [ + "((options?: { getFormatterForField?: ((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined; } | undefined) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + ") | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IFieldType.toSpec.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IFieldType.toSpec.$1.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [], + "signature": [ + "((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPattern", + "type": "Interface", + "tags": [ + "deprecated" + ], + "label": "IIndexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPattern", + "text": "IIndexPattern" + }, + " extends ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/helpers.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/helpers.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/container/source/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/container/source/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/container/source/index.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/utils/kuery.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/utils/kuery.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/with_source/with_source.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/with_source/with_source.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/lib/kuery.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/lib/kuery.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/mock/index_pattern.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/mock/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/common/search_strategy/index_fields/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/common/search_strategy/index_fields/index.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/containers/with_kuery_autocompletion.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/containers/with_kuery_autocompletion.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/containers/with_source/with_source.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/containers/with_source/with_source.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/index_pattern_context.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/index_pattern_context.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/target/types/public/components/kuery_bar/with_kuery_autocompletion.d.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/target/types/public/components/kuery_bar/with_kuery_autocompletion.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_chart.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_chart.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/index.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/index.d.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/target/types/public/alerts/components/param_details_form/use_derived_index_pattern.d.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/target/types/public/alerts/components/param_details_form/use_derived_index_pattern.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/utils.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/utils.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/editor.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/editor.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/custom_urls.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/custom_urls.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/index.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/store/sourcerer/model.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/store/sourcerer/model.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/services/es_index_service.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/services/es_index_service.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/server/routes/api/transforms.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/server/routes/api/transforms.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/mock/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/mock/index_pattern.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts" + } + ], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPattern.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPattern.fields", + "type": "Array", + "tags": [], + "label": "fields", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + "[]" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPattern.type", + "type": "string", + "tags": [], + "label": "type", + "description": [ + "\nType is used for identifying rollup indices, otherwise left undefined" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPattern.timeFieldName", + "type": "string", + "tags": [], + "label": "timeFieldName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPattern.intervalName", + "type": "CompoundType", + "tags": [], + "label": "intervalName", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPattern.getTimeField", + "type": "Function", + "tags": [], + "label": "getTimeField", + "description": [], + "signature": [ + "(() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | undefined) | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPattern.fieldFormatMap", + "type": "Object", + "tags": [], + "label": "fieldFormatMap", + "description": [], + "signature": [ + "Record | undefined> | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPattern.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [ + "\nLook up a formatter for a given field" + ], + "signature": [ + "((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPattern.getFormatterForField.$1", + "type": "CompoundType", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList", + "type": "Interface", + "tags": [], + "label": "IIndexPatternFieldList", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPatternFieldList", + "text": "IIndexPatternFieldList" + }, + " extends ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.add", + "type": "Function", + "tags": [], + "label": "add", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.add.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.getAll", + "type": "Function", + "tags": [], + "label": "getAll", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.getByName", + "type": "Function", + "tags": [], + "label": "getByName", + "description": [], + "signature": [ + "(name: string) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.getByName.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.getByType", + "type": "Function", + "tags": [], + "label": "getByType", + "description": [], + "signature": [ + "(type: string) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.getByType.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.remove", + "type": "Function", + "tags": [], + "label": "remove", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.remove.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + } + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.removeAll", + "type": "Function", + "tags": [], + "label": "removeAll", + "description": [], + "signature": [ + "() => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.replaceAll", + "type": "Function", + "tags": [], + "label": "replaceAll", + "description": [], + "signature": [ + "(specs: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]) => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.replaceAll.$1", + "type": "Array", + "tags": [], + "label": "specs", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.update", + "type": "Function", + "tags": [], + "label": "update", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.update.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.toSpec", + "type": "Function", + "tags": [], + "label": "toSpec", + "description": [], + "signature": [ + "(options?: { getFormatterForField?: ((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined; } | undefined) => Record" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.toSpec.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.toSpec.$1.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [], + "signature": [ + "((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternExpressionType", + "type": "Interface", + "tags": [], + "label": "IndexPatternExpressionType", + "description": [], + "path": "src/plugins/data_views/common/expressions/load_index_pattern.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IndexPatternExpressionType.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"index_pattern\"" + ], + "path": "src/plugins/data_views/common/expressions/load_index_pattern.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternExpressionType.value", + "type": "Object", + "tags": [], + "label": "value", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/expressions/load_index_pattern.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.KbnFieldTypeOptions", + "type": "Interface", + "tags": [], + "label": "KbnFieldTypeOptions", + "description": [], + "path": "node_modules/@kbn/field-types/target_types/types.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.KbnFieldTypeOptions.sortable", + "type": "boolean", + "tags": [], + "label": "sortable", + "description": [], + "path": "node_modules/@kbn/field-types/target_types/types.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.KbnFieldTypeOptions.filterable", + "type": "boolean", + "tags": [], + "label": "filterable", + "description": [], + "path": "node_modules/@kbn/field-types/target_types/types.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.KbnFieldTypeOptions.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "node_modules/@kbn/field-types/target_types/types.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.KbnFieldTypeOptions.esTypes", + "type": "Array", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, + "[]" + ], + "path": "node_modules/@kbn/field-types/target_types/types.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.RuntimeField", + "type": "Interface", + "tags": [], + "label": "RuntimeField", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.RuntimeField.type", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"boolean\" | \"date\" | \"keyword\" | \"geo_point\" | \"ip\" | \"long\" | \"double\"" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.RuntimeField.script", + "type": "Object", + "tags": [], + "label": "script", + "description": [], + "signature": [ + "{ source: string; } | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObject", + "type": "Interface", + "tags": [], + "label": "SavedObject", + "description": [], + "signature": [ + "SavedObject", + "" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.SavedObject.id", + "type": "string", + "tags": [], + "label": "id", + "description": [ + "The ID of this Saved Object, guaranteed to be unique for all objects of the same `type`" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObject.type", + "type": "string", + "tags": [], + "label": "type", + "description": [ + " The type of Saved Object. Each plugin can define it's own custom Saved Object types." + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObject.version", + "type": "string", + "tags": [], + "label": "version", + "description": [ + "An opaque version number which changes on each successful write operation. Can be used for implementing optimistic concurrency control." + ], + "signature": [ + "string | undefined" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObject.updated_at", + "type": "string", + "tags": [], + "label": "updated_at", + "description": [ + "Timestamp of the last time this document had been updated." + ], + "signature": [ + "string | undefined" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObject.error", + "type": "Object", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "SavedObjectError", + " | undefined" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObject.attributes", + "type": "Uncategorized", + "tags": [], + "label": "attributes", + "description": [ + "{@inheritdoc SavedObjectAttributes}" + ], + "signature": [ + "T" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObject.references", + "type": "Array", + "tags": [], + "label": "references", + "description": [ + "{@inheritdoc SavedObjectReference}" + ], + "signature": [ + "SavedObjectReference", + "[]" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObject.migrationVersion", + "type": "Object", + "tags": [], + "label": "migrationVersion", + "description": [ + "{@inheritdoc SavedObjectsMigrationVersion}" + ], + "signature": [ + "SavedObjectsMigrationVersion", + " | undefined" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObject.coreMigrationVersion", + "type": "string", + "tags": [], + "label": "coreMigrationVersion", + "description": [ + "A semver value that is used when upgrading objects between Kibana versions." + ], + "signature": [ + "string | undefined" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObject.namespaces", + "type": "Array", + "tags": [], + "label": "namespaces", + "description": [ + "\nSpace(s) that this saved object exists in. This attribute is not used for \"global\" saved object types which are registered with\n`namespaceType: 'agnostic'`." + ], + "signature": [ + "string[] | undefined" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObject.originId", + "type": "string", + "tags": [], + "label": "originId", + "description": [ + "\nThe ID of the saved object this originated from. This is set if this object's `id` was regenerated; that can happen during migration\nfrom a legacy single-namespace type, or during import. It is only set during migration or create operations. This is used during import\nto ensure that ID regeneration is deterministic, so saved objects will be overwritten if they are imported multiple times into a given\nspace." + ], + "signature": [ + "string | undefined" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon", + "type": "Interface", + "tags": [], + "label": "SavedObjectsClientCommon", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.find", + "type": "Function", + "tags": [], + "label": "find", + "description": [], + "signature": [ + "(options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.SavedObjectsClientCommonFindArgs", + "text": "SavedObjectsClientCommonFindArgs" + }, + ") => Promise<", + "SavedObject", + "[]>" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.find.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.SavedObjectsClientCommonFindArgs", + "text": "SavedObjectsClientCommonFindArgs" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(type: string, id: string) => Promise<", + "SavedObject", + ">" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.get.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.get.$2", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.update", + "type": "Function", + "tags": [], + "label": "update", + "description": [], + "signature": [ + "(type: string, id: string, attributes: Record, options: Record) => Promise<", + "SavedObject", + ">" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.update.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.update.$2", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.update.$3", + "type": "Object", + "tags": [], + "label": "attributes", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.update.$4", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.create", + "type": "Function", + "tags": [], + "label": "create", + "description": [], + "signature": [ + "(type: string, attributes: Record, options: Record) => Promise<", + "SavedObject", + ">" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.create.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.create.$2", + "type": "Object", + "tags": [], + "label": "attributes", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.create.$3", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.delete", + "type": "Function", + "tags": [], + "label": "delete", + "description": [], + "signature": [ + "(type: string, id: string) => Promise<{}>" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.delete.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.delete.$2", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommonFindArgs", + "type": "Interface", + "tags": [], + "label": "SavedObjectsClientCommonFindArgs", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommonFindArgs.type", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | string[]" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommonFindArgs.fields", + "type": "Array", + "tags": [], + "label": "fields", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommonFindArgs.perPage", + "type": "number", + "tags": [], + "label": "perPage", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommonFindArgs.search", + "type": "string", + "tags": [], + "label": "search", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommonFindArgs.searchFields", + "type": "Array", + "tags": [], + "label": "searchFields", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.SourceFilter", + "type": "Interface", + "tags": [], + "label": "SourceFilter", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.SourceFilter.value", + "type": "string", + "tags": [], + "label": "value", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.TypeMeta", + "type": "Interface", + "tags": [], + "label": "TypeMeta", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.TypeMeta.aggs", + "type": "Object", + "tags": [], + "label": "aggs", + "description": [], + "signature": [ + "Record> | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.TypeMeta.params", + "type": "Object", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "{ rollup_index: string; } | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.UiSettingsCommon", + "type": "Interface", + "tags": [], + "label": "UiSettingsCommon", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.UiSettingsCommon.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(key: string) => Promise" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.UiSettingsCommon.get.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.UiSettingsCommon.getAll", + "type": "Function", + "tags": [], + "label": "getAll", + "description": [], + "signature": [ + "() => Promise>" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.UiSettingsCommon.set", + "type": "Function", + "tags": [], + "label": "set", + "description": [], + "signature": [ + "(key: string, value: any) => Promise" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.UiSettingsCommon.set.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.UiSettingsCommon.set.$2", + "type": "Any", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.UiSettingsCommon.remove", + "type": "Function", + "tags": [], + "label": "remove", + "description": [], + "signature": [ + "(key: string) => Promise" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.UiSettingsCommon.remove.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "enums": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewType", + "type": "Enum", + "tags": [], + "label": "DataViewType", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.ES_FIELD_TYPES", + "type": "Enum", + "tags": [], + "label": "ES_FIELD_TYPES", + "description": [], + "path": "node_modules/@kbn/field-types/target_types/types.d.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.FilterStateStore", + "type": "Enum", + "tags": [], + "label": "FilterStateStore", + "description": [ + "\n Filter,\nAn enum to denote whether a filter is specific to an application's context or whether it should be applied globally." + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/types.d.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternType", + "type": "Enum", + "tags": [ + "deprecated" + ], + "label": "IndexPatternType", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.KBN_FIELD_TYPES", + "type": "Enum", + "tags": [], + "label": "KBN_FIELD_TYPES", + "description": [], + "path": "node_modules/@kbn/field-types/target_types/types.d.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "misc": [ + { + "parentPluginId": "data", + "id": "def-common.AggregationRestrictions", + "type": "Type", + "tags": [], + "label": "AggregationRestrictions", + "description": [], + "signature": [ + "{ [x: string]: { agg?: string | undefined; interval?: number | undefined; fixed_interval?: string | undefined; calendar_interval?: string | undefined; delay?: string | undefined; time_zone?: string | undefined; }; }" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.CSV_FORMULA_CHARS", + "type": "Array", + "tags": [], + "label": "CSV_FORMULA_CHARS", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data/common/exports/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.CSV_MIME_TYPE", + "type": "string", + "tags": [], + "label": "CSV_MIME_TYPE", + "description": [], + "signature": [ + "\"text/plain;charset=utf-8\"" + ], + "path": "src/plugins/data/common/exports/export_csv.tsx", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.CustomFilter", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "CustomFilter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.DATA_VIEW_SAVED_OBJECT_TYPE", + "type": "string", + "tags": [], + "label": "DATA_VIEW_SAVED_OBJECT_TYPE", + "description": [], + "signature": [ + "\"index-pattern\"" + ], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewFieldMap", + "type": "Type", + "tags": [], + "label": "DataViewFieldMap", + "description": [], + "signature": [ + "{ [x: string]: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "; }" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewsContract", + "type": "Type", + "tags": [], + "label": "DataViewsContract", + "description": [], + "signature": [ + "{ get: (id: string) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; find: (search: string, size?: number) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + "[]>; ensureDefaultDataView: ", + "EnsureDefaultDataView", + "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" + }, + "[]>; clearCache: (id?: string | undefined) => void; getCache: () => Promise<", + "SavedObject", + ">[] | null | undefined>; getDefault: () => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserDataView: () => Promise; getFieldsForWildcard: (options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + ") => Promise; getFieldsForIndexPattern: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", options?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + " | undefined) => Promise; refreshFields: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ") => Promise; fieldArrayToMap: (fields: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[], fieldAttrs?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined) => Record; savedObjectToSpec: (savedObject: ", + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + "; migrate: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", newTitle: string) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + }, + ">; createAndSave: (spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", override?: boolean, skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; createSavedObject: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", override?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; updateSavedObject: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; }" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.DEFAULT_QUERY_LANGUAGE", + "type": "string", + "tags": [], + "label": "DEFAULT_QUERY_LANGUAGE", + "description": [], + "signature": [ + "\"kuery\"" + ], + "path": "src/plugins/data/common/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.EsQueryConfig", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "EsQueryConfig", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryQueryOptions", + "text": "KueryQueryOptions" + }, + " & { allowLeadingWildcards: boolean; queryStringOptions: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, + "; ignoreFilterIfFieldNotInIndex: boolean; }" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/types.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.ExistsFilter", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "ExistsFilter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " & { meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; exists?: { field: string; } | undefined; }" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldFormatMap", + "type": "Type", + "tags": [], + "label": "FieldFormatMap", + "description": [], + "signature": [ + "{ [x: string]: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + ">; }" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecConflictDescriptions", + "type": "Type", + "tags": [], + "label": "FieldSpecConflictDescriptions", + "description": [], + "signature": [ + "{ [x: string]: string[]; }" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.Filter", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "Filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "discover", + "path": "src/plugins/discover/public/url_generator.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/url_generator.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/url_generator.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/locator.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/locator.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/locator.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/state/dashboard_state_slice.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/state/dashboard_state_slice.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/state/dashboard_state_slice.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_filter_state.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_filter_state.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_filter_state.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/locator.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/locator.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/locator.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/locator.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/url_generator.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/url_generator.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/url_generator.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/state_management/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/state_management/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/fields_accordion.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/fields_accordion.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/common/types/timeline/store.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/common/types/timeline/store.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/store/t_grid/model.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/store/t_grid/model.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/body/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/body/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/hover_actions/utils.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/hover_actions/utils.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/hover_actions/utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/reducers/map/types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/reducers/map/types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/selectors/map_selectors.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/selectors/map_selectors.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/actions/map_actions.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/actions/map_actions.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/join_tooltip_property.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/join_tooltip_property.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/mb_map.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/mb_map.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/toolbar_overlay/toolbar_overlay.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/toolbar_overlay/toolbar_overlay.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/map_container/map_container.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/map_container/map_container.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/url_state/global_sync.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/url_state/global_sync.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/url_state/app_state_manager.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/url_state/app_state_manager.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/url_state/app_state_manager.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/index.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/index.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/locators.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/locators.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/locators.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/locators.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/locators.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/migrations/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/migrations/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/migrations/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/migrations/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/migrations/saved_object_migrations.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/migrations/saved_object_migrations.ts" + }, + { + "plugin": "dashboardEnhanced", + "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" + }, + { + "plugin": "dashboardEnhanced", + "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" + }, + { + "plugin": "discoverEnhanced", + "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_context_menu_action.ts" + }, + { + "plugin": "discoverEnhanced", + "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_context_menu_action.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/types/timeline/store.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/types/timeline/store.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/store/inputs/model.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/store/inputs/model.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/store/inputs/actions.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/store/inputs/actions.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/navigation/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/navigation/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/lib/cell_actions/default_cell_actions.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/lib/cell_actions/default_cell_actions.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/alerts_table.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/alerts_table.tsx" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/types.ts" - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.ExistsFilter", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "ExistsFilter", - "description": [], - "signature": [ - "Filter", - " & { meta: ", - "FilterMeta", - "; exists?: { field: string; } | undefined; }" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/alerts_table.tsx" + }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/alerts_query_tab_body.tsx" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.Filter", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "Filter", - "description": [], - "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/alerts_query_tab_body.tsx" + }, { - "plugin": "discover", - "path": "src/plugins/discover/public/url_generator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/url_generator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/url_generator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_histogram_panel/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/locator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_histogram_panel/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/locator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/signals_by_category/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/locator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/signals_by_category/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/types.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/types.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/hover_actions/actions/show_top_n.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/hover_actions/actions/show_top_n.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/helpers.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/helpers.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/index.tsx" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_count_panel/index.tsx" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_count_panel/index.tsx" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/navigation/tab_navigation/types.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/navigation/tab_navigation/types.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/helpers.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/helpers.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/state/dashboard_state_slice.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/state/dashboard_state_slice.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map_helpers.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/state/dashboard_state_slice.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map_helpers.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_filter_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_filter_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_filter_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/types.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/types.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/types.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/types.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/locator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/helpers.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/locator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/helpers.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/locator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/locator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/url_generator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/initialize_redux_by_url.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/url_generator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/initialize_redux_by_url.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/url_generator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/search_or_filter.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/types.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/search_or_filter.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/types.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/search_or_filter.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/types.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/index.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/index.tsx" + }, + { + "plugin": "urlDrilldown", + "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/variables/context_variables.ts" + }, + { + "plugin": "urlDrilldown", + "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/variables/context_variables.ts" + }, + { + "plugin": "urlDrilldown", + "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/url_drilldown.tsx" + }, + { + "plugin": "urlDrilldown", + "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/url_drilldown.tsx" }, { "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + "path": "x-pack/plugins/lens/public/persistence/filter_references.test.ts" }, { "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + "path": "x-pack/plugins/lens/public/persistence/filter_references.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/selectors/map_selectors.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/selectors/map_selectors.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts" + }, + { + "plugin": "discoverEnhanced", + "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts" + }, + { + "plugin": "discoverEnhanced", + "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts" + }, + { + "plugin": "discoverEnhanced", + "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts" + }, + { + "plugin": "urlDrilldown", + "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/test/data.ts" + }, + { + "plugin": "urlDrilldown", + "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/test/data.ts" }, { "plugin": "lens", - "path": "x-pack/plugins/lens/public/state_management/types.ts" + "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" }, { "plugin": "lens", - "path": "x-pack/plugins/lens/public/state_management/types.ts" + "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" }, { "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx" + "path": "x-pack/plugins/lens/target/types/server/migrations/types.d.ts" }, { "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx" + "path": "x-pack/plugins/lens/target/types/server/migrations/types.d.ts" }, { "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/fields_accordion.tsx" + "path": "x-pack/plugins/lens/target/types/server/migrations/types.d.ts" }, { "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/fields_accordion.tsx" + "path": "x-pack/plugins/lens/target/types/server/migrations/types.d.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/tooltips/tooltip_property.d.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/tooltips/tooltip_property.d.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/common/types/timeline/store.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/tooltips/tooltip_property.d.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/common/types/timeline/store.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/tooltips/tooltip_property.d.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/store/t_grid/model.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/vector_source/vector_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/vector_source/vector_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/actions/map_actions.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/actions/map_actions.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/global_sync.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/global_sync.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/app_state_manager.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/app_state_manager.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/app_state_manager.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/map_container/map_container.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/map_container/map_container.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/mb_map.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/mb_map.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/toolbar_overlay/toolbar_overlay.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/toolbar_overlay/toolbar_overlay.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/tooltip_control.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/tooltip_control.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/tooltip_popover.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/tooltip_popover.d.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/store/t_grid/model.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/body/index.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/body/index.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/hover_actions/utils.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/hover_actions/utils.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/hover_actions/utils.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/reducers/map/types.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/reducers/map/types.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts" + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts" + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts" + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts" + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx" + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx" + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/selectors/map_selectors.ts" + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/selectors/map_selectors.ts" + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/actions/map_actions.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/url_generator.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/actions/map_actions.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/url_generator.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/join_tooltip_property.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/join_tooltip_property.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/control.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/control.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/vis_controller.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/vis_controller.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/utils/utils.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/utils/utils.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.tsx" + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/move_filters_to_query.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.tsx" + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/move_filters_to_query.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.tsx" + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/public/helpers/timelion_request_handler.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.tsx" + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/public/helpers/timelion_request_handler.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.tsx" + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/public/timelion_vis_fn.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.tsx" + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/public/timelion_vis_fn.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/mb_map.tsx" + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/mb_map.tsx" + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/toolbar_overlay/toolbar_overlay.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/toolbar_overlay/toolbar_overlay.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/map_container/map_container.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/map_container/map_container.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/url_state/global_sync.ts" + "plugin": "visualize", + "path": "src/plugins/visualize/target/types/public/application/types.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/url_state/global_sync.ts" + "plugin": "visualize", + "path": "src/plugins/visualize/target/types/public/application/types.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/url_state/app_state_manager.ts" + "plugin": "visualize", + "path": "src/plugins/visualize/target/types/public/application/types.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/url_state/app_state_manager.ts" + "plugin": "visualize", + "path": "src/plugins/visualize/target/types/public/application/types.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/url_state/app_state_manager.ts" + "plugin": "presentationUtil", + "path": "src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/index.ts" + "plugin": "presentationUtil", + "path": "src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/index.ts" + "plugin": "presentationUtil", + "path": "src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/locators.ts" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/locators.ts" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/locators.ts" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/locators.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/locators.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/types.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/migrations/types.ts" + "plugin": "timelines", + "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/migrations/types.ts" + "plugin": "timelines", + "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/migrations/types.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/migrations/types.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/migrations/saved_object_migrations.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/types.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/migrations/saved_object_migrations.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/types.ts" }, { - "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/types.ts" }, { - "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/types.ts" }, { - "plugin": "discoverEnhanced", - "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_context_menu_action.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" }, { - "plugin": "discoverEnhanced", - "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_context_menu_action.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/common/types/timeline/store.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/common/types/timeline/store.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/store/inputs/model.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/store/inputs/model.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/store/inputs/actions.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/store/inputs/actions.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/helpers.tsx" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/helpers.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/types/index.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/helpers.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/types/index.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/types.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/types.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/helpers.ts" + "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/types.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/helpers.ts" + "path": "x-pack/plugins/security_solution/public/ueba/pages/navigation/types.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/navigation/helpers.ts" + "path": "x-pack/plugins/security_solution/public/ueba/pages/navigation/types.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/navigation/helpers.ts" + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/util/can_skip_fetch.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/util/can_skip_fetch.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/util/can_skip_fetch.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/util/can_skip_fetch.test.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threat_mapping/build_threat_mapping_filter.mock.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threat_mapping/build_threat_mapping_filter.mock.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/helpers.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/helpers.ts" + "path": "x-pack/plugins/security_solution/target/types/server/lib/detection_engine/signals/threat_mapping/build_threat_mapping_filter.mock.d.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/helpers.ts" + "path": "x-pack/plugins/security_solution/target/types/server/lib/detection_engine/signals/threat_mapping/build_threat_mapping_filter.mock.d.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/index.tsx" + "path": "x-pack/plugins/security_solution/target/types/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.d.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/index.tsx" + "path": "x-pack/plugins/security_solution/target/types/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/types.ts" + "plugin": "visualize", + "path": "src/plugins/visualize/common/locator.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/types.ts" + "plugin": "visualize", + "path": "src/plugins/visualize/common/locator.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/types.ts" + "plugin": "visualize", + "path": "src/plugins/visualize/target/types/common/locator.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/target/types/common/locator.d.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_preview/helpers.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/index.tsx" + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_preview/helpers.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/index.tsx" + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_preview/reducer.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/lib/cell_actions/default_cell_actions.tsx" + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_preview/reducer.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/lib/cell_actions/default_cell_actions.tsx" + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/types.ts" + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/types.ts" + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/types.ts" + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/alerts_table.tsx" + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/alerts_table.tsx" + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/alerts_table.tsx" + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/alerts_query_tab_body.tsx" + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/alerts_query_tab_body.tsx" + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" + "path": "x-pack/plugins/security_solution/public/network/pages/navigation/alerts_query_tab_body.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" + "path": "x-pack/plugins/security_solution/public/network/pages/navigation/alerts_query_tab_body.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_histogram_panel/index.tsx" + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/helpers.test.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_histogram_panel/index.tsx" - }, + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/helpers.test.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.FilterMeta", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "FilterMeta", + "description": [], + "signature": [ + "{ alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetConfigFn", + "type": "Type", + "tags": [], + "label": "GetConfigFn", + "description": [ + "\nIf a service is being shared on both the client and the server, and\nthe client code requires synchronous access to uiSettings, both client\nand server should wrap the core uiSettings services in a function\nmatching this signature.\n\nThis matches the signature of the public `core.uiSettings.get`, and\nshould only be used in scenarios where async access to uiSettings is\nnot possible." + ], + "signature": [ + "(key: string, defaultOverride?: T | undefined) => T" + ], + "path": "src/plugins/data/common/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/signals_by_category/index.tsx" + "parentPluginId": "data", + "id": "def-common.GetConfigFn.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "path": "src/plugins/data/common/types.ts", + "deprecated": false }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/signals_by_category/index.tsx" - }, + "parentPluginId": "data", + "id": "def-common.GetConfigFn.$2", + "type": "Uncategorized", + "tags": [], + "label": "defaultOverride", + "description": [], + "signature": [ + "T | undefined" + ], + "path": "src/plugins/data/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldSubType", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IFieldSubType", + "description": [], + "signature": [ + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" + "plugin": "timelines", + "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" - }, + "plugin": "timelines", + "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternsApiClient", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IIndexPatternsApiClient", + "description": [], + "signature": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" - }, + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IDataViewsApiClient", + "text": "IDataViewsApiClient" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": true, + "references": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/index_patterns_api_client.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" - }, + "plugin": "dataViews", + "path": "src/plugins/data_views/server/index_patterns_api_client.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.INDEX_PATTERN_SAVED_OBJECT_TYPE", + "type": "string", + "tags": [ + "deprecated" + ], + "label": "INDEX_PATTERN_SAVED_OBJECT_TYPE", + "description": [], + "signature": [ + "\"index-pattern\"" + ], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": true, + "references": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/hover_actions/actions/show_top_n.tsx" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/hover_actions/actions/show_top_n.tsx" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/helpers.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/helpers.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/index.tsx" + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/index.tsx" + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/index.tsx" + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_count_panel/index.tsx" + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_count_panel/index.tsx" + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/navigation/tab_navigation/types.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/navigation/tab_navigation/types.ts" - }, + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternAttributes", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternAttributes", + "description": [], + "signature": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" - }, + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": true, + "references": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/helpers.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/helpers.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/index.tsx" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/index.tsx" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/deprecations/scripted_fields.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map_helpers.tsx" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/deprecations/scripted_fields.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map_helpers.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/lib/es_service.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/lib/es_service.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/lib/es_service.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/helpers.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/helpers.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/initialize_redux_by_url.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/initialize_redux_by_url.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/search_or_filter.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/search_or_filter.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_app.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/search_or_filter.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_app.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" }, { - "plugin": "urlDrilldown", - "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/variables/context_variables.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/common/types/kibana.ts" }, { - "plugin": "urlDrilldown", - "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/variables/context_variables.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/common/types/kibana.ts" }, { - "plugin": "urlDrilldown", - "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/url_drilldown.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/common/types/kibana.d.ts" }, { - "plugin": "urlDrilldown", - "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/url_drilldown.tsx" - }, + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/common/types/kibana.d.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternFieldMap", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternFieldMap", + "description": [], + "signature": [ + "{ [x: string]: ", { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/persistence/filter_references.test.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, + "; }" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": true, + "references": [ { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/persistence/filter_references.test.ts" - }, + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternListItem", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternListItem", + "description": [], + "signature": [ { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/selectors/map_selectors.test.ts" - }, + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": true, + "references": [ { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/selectors/map_selectors.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_views.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" }, { - "plugin": "discoverEnhanced", - "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" }, { - "plugin": "discoverEnhanced", - "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" }, { - "plugin": "discoverEnhanced", - "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" }, { - "plugin": "urlDrilldown", - "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/test/data.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" }, { - "plugin": "urlDrilldown", - "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/test/data.ts" - }, + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternLoadExpressionFunctionDefinition", + "type": "Type", + "tags": [], + "label": "IndexPatternLoadExpressionFunctionDefinition", + "description": [], + "signature": [ { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" }, + "<\"indexPatternLoad\", null, Arguments, Output, ", { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" }, + "<", { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/migrations/types.d.ts" + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" }, + ", ", { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/migrations/types.d.ts" + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" }, + ">>" + ], + "path": "src/plugins/data_views/common/expressions/load_index_pattern.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternsContract", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternsContract", + "description": [], + "signature": [ + "{ get: (id: string) => Promise<", { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/migrations/types.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/migrations/types.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" }, + ", skipFetchFields?: boolean) => Promise<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/tooltips/tooltip_property.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ">; find: (search: string, size?: number) => Promise<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/tooltips/tooltip_property.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + "[]>; ensureDefaultDataView: ", + "EnsureDefaultDataView", + "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/tooltips/tooltip_property.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" }, + "[]>; clearCache: (id?: string | undefined) => void; getCache: () => Promise<", + "SavedObject", + ">[] | null | undefined>; getDefault: () => Promise<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/vector_source/vector_source.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserDataView: () => Promise; getFieldsForWildcard: (options: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/vector_source/vector_source.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/actions/map_actions.d.ts" + ") => Promise; getFieldsForIndexPattern: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + " | ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/actions/map_actions.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" }, + ", options?: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/global_sync.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" }, + " | undefined) => Promise; refreshFields: (indexPattern: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/global_sync.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ") => Promise; fieldArrayToMap: (fields: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/app_state_manager.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, + "[], fieldAttrs?: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/app_state_manager.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" }, + " | undefined) => Record; savedObjectToSpec: (savedObject: ", + "SavedObject", + "<", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" }, + ">) => ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" }, + "; migrate: (indexPattern: ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ", newTitle: string) => Promise<", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" }, + ">; createAndSave: (spec: ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" }, + ", override?: boolean, skipFetchFields?: boolean) => Promise<", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.test.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ">; createSavedObject: (indexPattern: ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.test.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ", override?: boolean) => Promise<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/map_container/map_container.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ">; updateSavedObject: (indexPattern: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/map_container/map_container.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; }" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": true, + "references": [ { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/mb_map.d.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/mb_map.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/toolbar_overlay/toolbar_overlay.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/toolbar_overlay/toolbar_overlay.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/tooltip_control.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/tooltip_control.d.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/tooltip_popover.d.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/tooltip_popover.d.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.d.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/public/index.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.d.ts" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.d.ts" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.d.ts" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.d.ts" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.d.ts" + "plugin": "security", + "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.d.ts" + "plugin": "security", + "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.d.ts" + "plugin": "security", + "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/url_generator.test.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/build_services.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/url_generator.test.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/build_services.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/control.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/doc/components/doc.tsx" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/control.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/doc/components/doc.tsx" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/vis_controller.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/vis_controller.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/types.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/types.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/types.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/types.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/utils/utils.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/utils/utils.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/move_filters_to_query.test.ts" + "path": "src/plugins/dashboard/public/application/test_helpers/make_default_services.ts" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/move_filters_to_query.test.ts" + "path": "src/plugins/dashboard/public/application/test_helpers/make_default_services.ts" }, { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_types/timelion/public/helpers/timelion_request_handler.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" }, { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_types/timelion/public/helpers/timelion_request_handler.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" }, { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_types/timelion/public/timelion_vis_fn.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" }, { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_types/timelion/public/timelion_vis_fn.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" }, { - "plugin": "visTypeVega", - "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" }, { - "plugin": "visTypeVega", - "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable_factory.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable_factory.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/lazy_load_bundle/index.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/lazy_load_bundle/index.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/dependency_cache.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/dependency_cache.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/target/types/public/application/types.d.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/target/types/public/application/types.d.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/target/types/public/application/types.d.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/target/types/public/application/types.d.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/routing/resolvers.ts" }, { - "plugin": "presentationUtil", - "path": "src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/routing/resolvers.ts" }, { - "plugin": "presentationUtil", - "path": "src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts" }, { - "plugin": "presentationUtil", - "path": "src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context_state.test.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context_state.test.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context_state.test.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/routing/router.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/routing/router.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/types.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/application.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/types.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/application.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/types.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/types.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/types.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/types.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + "path": "x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + "path": "x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_patterns.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_patterns.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx" + "path": "x-pack/plugins/ml/target/types/public/application/routing/router.d.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx" + "path": "x-pack/plugins/ml/target/types/public/application/routing/router.d.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx" + "path": "x-pack/plugins/ml/target/types/public/application/util/dependency_cache.d.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx" + "path": "x-pack/plugins/ml/target/types/public/application/util/dependency_cache.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts" + "plugin": "security", + "path": "x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts" + "plugin": "security", + "path": "x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/types/index.ts" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/types/index.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/types.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/types.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/types.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/navigation/types.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/navigation/types.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.ts" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.ts" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.ts" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/util/can_skip_fetch.test.ts" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/util/can_skip_fetch.test.ts" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/util/can_skip_fetch.test.ts" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/util/can_skip_fetch.test.ts" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threat_mapping/build_threat_mapping_filter.mock.ts" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threat_mapping/build_threat_mapping_filter.mock.ts" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/server/lib/detection_engine/signals/threat_mapping/build_threat_mapping_filter.mock.d.ts" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/server/lib/detection_engine/signals/threat_mapping/build_threat_mapping_filter.mock.d.ts" + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/public/helpers/plugin_services.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.d.ts" + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/public/helpers/plugin_services.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/build_services.d.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/common/locator.ts" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/build_services.d.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/common/locator.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/target/types/common/locator.d.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/target/types/common/locator.d.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_preview/helpers.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_preview/helpers.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_preview/reducer.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_preview/reducer.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/_stubs.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/_stubs.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/navigation/alerts_query_tab_body.tsx" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/doc/components/doc.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/navigation/alerts_query_tab_body.tsx" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/doc/components/doc.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/helpers.test.ts" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/helpers.test.ts" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" } ], "initialIsOpen": false }, { "parentPluginId": "data", - "id": "def-common.FilterMeta", + "id": "def-common.IndexPatternSpec", "type": "Type", "tags": [ "deprecated" ], - "label": "FilterMeta", + "label": "IndexPatternSpec", "description": [], "signature": [ - "{ alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.GetConfigFn", - "type": "Type", - "tags": [], - "label": "GetConfigFn", - "description": [ - "\nIf a service is being shared on both the client and the server, and\nthe client code requires synchronous access to uiSettings, both client\nand server should wrap the core uiSettings services in a function\nmatching this signature.\n\nThis matches the signature of the public `core.uiSettings.get`, and\nshould only be used in scenarios where async access to uiSettings is\nnot possible." - ], - "signature": [ - "(key: string, defaultOverride?: T | undefined) => T" - ], - "path": "src/plugins/data/common/types.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.GetConfigFn.$1", - "type": "string", - "tags": [], - "label": "key", - "description": [], - "path": "src/plugins/data/common/types.ts", - "deprecated": false - }, { - "parentPluginId": "data", - "id": "def-common.GetConfigFn.$2", - "type": "Uncategorized", - "tags": [], - "label": "defaultOverride", - "description": [], - "signature": [ - "T | undefined" - ], - "path": "src/plugins/data/common/types.ts", - "deprecated": false + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" } ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IFieldSubType", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "IFieldSubType", - "description": [], - "signature": [ - "IFieldSubType" - ], - "path": "src/plugins/data/common/es_query/index.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": true, - "removeBy": "8.1", "references": [ { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx" - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.INDEX_PATTERN_SAVED_OBJECT_TYPE", - "type": "string", - "tags": [ - "deprecated" - ], - "label": "INDEX_PATTERN_SAVED_OBJECT_TYPE", - "description": [], - "signature": [ - "\"index-pattern\"" - ], - "path": "src/plugins/data/common/constants.ts", - "deprecated": true, - "references": [ - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/routes/create_index_pattern.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/routes/create_index_pattern.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" } ], "initialIsOpen": false @@ -41574,9 +59591,6 @@ ], "label": "KueryNode", "description": [], - "signature": [ - "KueryNode" - ], "path": "src/plugins/data/common/es_query/index.ts", "deprecated": true, "removeBy": "8.1", @@ -41794,7 +59808,13 @@ "label": "MatchAllFilter", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " & { meta: ", "MatchAllFilterMeta", "; match_all: ", @@ -41807,6 +59827,20 @@ "references": [], "initialIsOpen": false }, + { + "parentPluginId": "data", + "id": "def-common.META_FIELDS", + "type": "string", + "tags": [], + "label": "META_FIELDS", + "description": [], + "signature": [ + "\"metaFields\"" + ], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "data", "id": "def-common.MissingFilter", @@ -41817,9 +59851,21 @@ "label": "MissingFilter", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " & { meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; missing: { field: string; }; }" ], "path": "src/plugins/data/common/es_query/index.ts", @@ -41828,6 +59874,119 @@ "references": [], "initialIsOpen": false }, + { + "parentPluginId": "data", + "id": "def-common.OnError", + "type": "Type", + "tags": [], + "label": "OnError", + "description": [], + "signature": [ + "(error: Error, toastInputFields: ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.ErrorToastOptions", + "text": "ErrorToastOptions" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.OnError.$1", + "type": "Object", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "Error" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.OnError.$2", + "type": "Object", + "tags": [], + "label": "toastInputFields", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.ErrorToastOptions", + "text": "ErrorToastOptions" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.OnNotification", + "type": "Type", + "tags": [], + "label": "OnNotification", + "description": [], + "signature": [ + "(toastInputFields: ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.ToastInputFields", + "text": "ToastInputFields" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.OnNotification.$1", + "type": "CompoundType", + "tags": [], + "label": "toastInputFields", + "description": [], + "signature": [ + "Pick<", + "Toast", + ", \"children\" | \"onClick\" | \"onChange\" | \"color\" | \"onKeyDown\" | \"security\" | \"defaultChecked\" | \"defaultValue\" | \"suppressContentEditableWarning\" | \"suppressHydrationWarning\" | \"accessKey\" | \"className\" | \"contentEditable\" | \"contextMenu\" | \"dir\" | \"draggable\" | \"hidden\" | \"lang\" | \"placeholder\" | \"slot\" | \"spellCheck\" | \"style\" | \"tabIndex\" | \"translate\" | \"radioGroup\" | \"role\" | \"about\" | \"datatype\" | \"inlist\" | \"prefix\" | \"property\" | \"resource\" | \"typeof\" | \"vocab\" | \"autoCapitalize\" | \"autoCorrect\" | \"autoSave\" | \"itemProp\" | \"itemScope\" | \"itemType\" | \"itemID\" | \"itemRef\" | \"results\" | \"unselectable\" | \"inputMode\" | \"is\" | \"aria-activedescendant\" | \"aria-atomic\" | \"aria-autocomplete\" | \"aria-busy\" | \"aria-checked\" | \"aria-colcount\" | \"aria-colindex\" | \"aria-colspan\" | \"aria-controls\" | \"aria-current\" | \"aria-describedby\" | \"aria-details\" | \"aria-disabled\" | \"aria-dropeffect\" | \"aria-errormessage\" | \"aria-expanded\" | \"aria-flowto\" | \"aria-grabbed\" | \"aria-haspopup\" | \"aria-hidden\" | \"aria-invalid\" | \"aria-keyshortcuts\" | \"aria-label\" | \"aria-labelledby\" | \"aria-level\" | \"aria-live\" | \"aria-modal\" | \"aria-multiline\" | \"aria-multiselectable\" | \"aria-orientation\" | \"aria-owns\" | \"aria-placeholder\" | \"aria-posinset\" | \"aria-pressed\" | \"aria-readonly\" | \"aria-relevant\" | \"aria-required\" | \"aria-roledescription\" | \"aria-rowcount\" | \"aria-rowindex\" | \"aria-rowspan\" | \"aria-selected\" | \"aria-setsize\" | \"aria-sort\" | \"aria-valuemax\" | \"aria-valuemin\" | \"aria-valuenow\" | \"aria-valuetext\" | \"dangerouslySetInnerHTML\" | \"onCopy\" | \"onCopyCapture\" | \"onCut\" | \"onCutCapture\" | \"onPaste\" | \"onPasteCapture\" | \"onCompositionEnd\" | \"onCompositionEndCapture\" | \"onCompositionStart\" | \"onCompositionStartCapture\" | \"onCompositionUpdate\" | \"onCompositionUpdateCapture\" | \"onFocus\" | \"onFocusCapture\" | \"onBlur\" | \"onBlurCapture\" | \"onChangeCapture\" | \"onBeforeInput\" | \"onBeforeInputCapture\" | \"onInput\" | \"onInputCapture\" | \"onReset\" | \"onResetCapture\" | \"onSubmit\" | \"onSubmitCapture\" | \"onInvalid\" | \"onInvalidCapture\" | \"onLoad\" | \"onLoadCapture\" | \"onError\" | \"onErrorCapture\" | \"onKeyDownCapture\" | \"onKeyPress\" | \"onKeyPressCapture\" | \"onKeyUp\" | \"onKeyUpCapture\" | \"onAbort\" | \"onAbortCapture\" | \"onCanPlay\" | \"onCanPlayCapture\" | \"onCanPlayThrough\" | \"onCanPlayThroughCapture\" | \"onDurationChange\" | \"onDurationChangeCapture\" | \"onEmptied\" | \"onEmptiedCapture\" | \"onEncrypted\" | \"onEncryptedCapture\" | \"onEnded\" | \"onEndedCapture\" | \"onLoadedData\" | \"onLoadedDataCapture\" | \"onLoadedMetadata\" | \"onLoadedMetadataCapture\" | \"onLoadStart\" | \"onLoadStartCapture\" | \"onPause\" | \"onPauseCapture\" | \"onPlay\" | \"onPlayCapture\" | \"onPlaying\" | \"onPlayingCapture\" | \"onProgress\" | \"onProgressCapture\" | \"onRateChange\" | \"onRateChangeCapture\" | \"onSeeked\" | \"onSeekedCapture\" | \"onSeeking\" | \"onSeekingCapture\" | \"onStalled\" | \"onStalledCapture\" | \"onSuspend\" | \"onSuspendCapture\" | \"onTimeUpdate\" | \"onTimeUpdateCapture\" | \"onVolumeChange\" | \"onVolumeChangeCapture\" | \"onWaiting\" | \"onWaitingCapture\" | \"onAuxClick\" | \"onAuxClickCapture\" | \"onClickCapture\" | \"onContextMenu\" | \"onContextMenuCapture\" | \"onDoubleClick\" | \"onDoubleClickCapture\" | \"onDrag\" | \"onDragCapture\" | \"onDragEnd\" | \"onDragEndCapture\" | \"onDragEnter\" | \"onDragEnterCapture\" | \"onDragExit\" | \"onDragExitCapture\" | \"onDragLeave\" | \"onDragLeaveCapture\" | \"onDragOver\" | \"onDragOverCapture\" | \"onDragStart\" | \"onDragStartCapture\" | \"onDrop\" | \"onDropCapture\" | \"onMouseDown\" | \"onMouseDownCapture\" | \"onMouseEnter\" | \"onMouseLeave\" | \"onMouseMove\" | \"onMouseMoveCapture\" | \"onMouseOut\" | \"onMouseOutCapture\" | \"onMouseOver\" | \"onMouseOverCapture\" | \"onMouseUp\" | \"onMouseUpCapture\" | \"onSelect\" | \"onSelectCapture\" | \"onTouchCancel\" | \"onTouchCancelCapture\" | \"onTouchEnd\" | \"onTouchEndCapture\" | \"onTouchMove\" | \"onTouchMoveCapture\" | \"onTouchStart\" | \"onTouchStartCapture\" | \"onPointerDown\" | \"onPointerDownCapture\" | \"onPointerMove\" | \"onPointerMoveCapture\" | \"onPointerUp\" | \"onPointerUpCapture\" | \"onPointerCancel\" | \"onPointerCancelCapture\" | \"onPointerEnter\" | \"onPointerEnterCapture\" | \"onPointerLeave\" | \"onPointerLeaveCapture\" | \"onPointerOver\" | \"onPointerOverCapture\" | \"onPointerOut\" | \"onPointerOutCapture\" | \"onGotPointerCapture\" | \"onGotPointerCaptureCapture\" | \"onLostPointerCapture\" | \"onLostPointerCaptureCapture\" | \"onScroll\" | \"onScrollCapture\" | \"onWheel\" | \"onWheelCapture\" | \"onAnimationStart\" | \"onAnimationStartCapture\" | \"onAnimationEnd\" | \"onAnimationEndCapture\" | \"onAnimationIteration\" | \"onAnimationIterationCapture\" | \"onTransitionEnd\" | \"onTransitionEndCapture\" | \"data-test-subj\" | \"iconType\" | \"toastLifeTimeMs\" | \"onClose\"> & { title?: string | ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.MountPoint", + "text": "MountPoint" + }, + " | undefined; text?: string | ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.MountPoint", + "text": "MountPoint" + }, + " | undefined; }" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "data", "id": "def-common.PhraseFilter", @@ -41838,7 +59997,13 @@ "label": "PhraseFilter", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " & { meta: ", "PhraseFilterMeta", "; query: { match_phrase?: Record ", "FunctionTypeBuildNode", "; or: (nodes: ", - "KueryNode", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, "[]) => ", - "KueryNode", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, "; and: (nodes: ", - "KueryNode", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, "[]) => ", - "KueryNode", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, "; }" ], "path": "src/plugins/data/common/es_query/index.ts", @@ -42352,6 +60671,20 @@ "references": [], "initialIsOpen": false }, + { + "parentPluginId": "data", + "id": "def-common.RUNTIME_FIELD_TYPES", + "type": "Object", + "tags": [], + "label": "RUNTIME_FIELD_TYPES", + "description": [], + "signature": [ + "readonly [\"keyword\", \"long\", \"double\", \"date\", \"ip\", \"boolean\", \"geo_point\"]" + ], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "data", "id": "def-common.UI_SETTINGS", diff --git a/api_docs/data.mdx b/api_docs/data.mdx index ae56cb1e2cdf3..163889f42a098 100644 --- a/api_docs/data.mdx +++ b/api_docs/data.mdx @@ -1,7 +1,7 @@ --- id: kibDataPluginApi -slug: /kibana-dev-docs/dataPluginApi -title: data +slug: /kibana-dev-docs/api/data +title: "data" image: https://source.unsplash.com/400x175/?github summary: API docs for the data plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3201 | 44 | 2815 | 49 | +| 3210 | 43 | 2825 | 48 | ## Client diff --git a/api_docs/data_autocomplete.json b/api_docs/data_autocomplete.json index 98a728a61b060..4b56c3517f44d 100644 --- a/api_docs/data_autocomplete.json +++ b/api_docs/data_autocomplete.json @@ -148,9 +148,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" } @@ -190,9 +190,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, diff --git a/api_docs/data_autocomplete.mdx b/api_docs/data_autocomplete.mdx index d431960767f03..89eec94f4d474 100644 --- a/api_docs/data_autocomplete.mdx +++ b/api_docs/data_autocomplete.mdx @@ -1,7 +1,7 @@ --- id: kibDataAutocompletePluginApi -slug: /kibana-dev-docs/data.autocompletePluginApi -title: data.autocomplete +slug: /kibana-dev-docs/api/data-autocomplete +title: "data.autocomplete" image: https://source.unsplash.com/400x175/?github summary: API docs for the data.autocomplete plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3201 | 44 | 2815 | 49 | +| 3210 | 43 | 2825 | 48 | ## Client diff --git a/api_docs/data_data_views.json b/api_docs/data_data_views.json deleted file mode 100644 index a68e5d8ad0f94..0000000000000 --- a/api_docs/data_data_views.json +++ /dev/null @@ -1,14262 +0,0 @@ -{ - "id": "data.dataViews", - "client": { - "classes": [], - "functions": [], - "interfaces": [], - "enums": [], - "misc": [], - "objects": [] - }, - "server": { - "classes": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher", - "type": "Class", - "tags": [], - "label": "IndexPatternsFetcher", - "description": [], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.Unnamed.$1", - "type": "CompoundType", - "tags": [], - "label": "elasticsearchClient", - "description": [], - "signature": [ - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.ElasticsearchClient", - "text": "ElasticsearchClient" - } - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.Unnamed.$2", - "type": "boolean", - "tags": [], - "label": "allowNoIndices", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard", - "type": "Function", - "tags": [ - "property", - "property", - "return" - ], - "label": "getFieldsForWildcard", - "description": [ - "\n Get a list of field objects for an index pattern that may contain wildcards\n" - ], - "signature": [ - "(options: { pattern: string | string[]; metaFields?: string[] | undefined; fieldCapsOptions?: { allow_no_indices: boolean; } | undefined; type?: string | undefined; rollupIndex?: string | undefined; }) => Promise<", - { - "pluginId": "data", - "scope": "server", - "docId": "kibDataDataViewsPluginApi", - "section": "def-server.FieldDescriptor", - "text": "FieldDescriptor" - }, - "[]>" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.pattern", - "type": "CompoundType", - "tags": [], - "label": "pattern", - "description": [], - "signature": [ - "string | string[]" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.metaFields", - "type": "Array", - "tags": [], - "label": "metaFields", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.fieldCapsOptions", - "type": "Object", - "tags": [], - "label": "fieldCapsOptions", - "description": [], - "signature": [ - "{ allow_no_indices: boolean; } | undefined" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.rollupIndex", - "type": "string", - "tags": [], - "label": "rollupIndex", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - } - ] - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern", - "type": "Function", - "tags": [ - "property", - "property", - "property", - "return" - ], - "label": "getFieldsForTimePattern", - "description": [ - "\n Get a list of field objects for a time pattern\n" - ], - "signature": [ - "(options: { pattern: string; metaFields: string[]; lookBack: number; interval: string; }) => Promise<", - { - "pluginId": "data", - "scope": "server", - "docId": "kibDataDataViewsPluginApi", - "section": "def-server.FieldDescriptor", - "text": "FieldDescriptor" - }, - "[]>" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.pattern", - "type": "string", - "tags": [], - "label": "pattern", - "description": [], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.metaFields", - "type": "Array", - "tags": [], - "label": "metaFields", - "description": [], - "signature": [ - "string[]" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.lookBack", - "type": "number", - "tags": [], - "label": "lookBack", - "description": [], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.interval", - "type": "string", - "tags": [], - "label": "interval", - "description": [], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - } - ] - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.validatePatternListActive", - "type": "Function", - "tags": [ - "return" - ], - "label": "validatePatternListActive", - "description": [ - "\n Returns an index pattern list of only those index pattern strings in the given list that return indices\n" - ], - "signature": [ - "(patternList: string[]) => Promise" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.validatePatternListActive.$1", - "type": "Array", - "tags": [], - "label": "patternList", - "description": [ - "string[]" - ], - "signature": [ - "string[]" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - } - ], - "functions": [ - { - "parentPluginId": "data", - "id": "def-server.getCapabilitiesForRollupIndices", - "type": "Function", - "tags": [], - "label": "getCapabilitiesForRollupIndices", - "description": [], - "signature": [ - "(indices: Record) => { [key: string]: any; }" - ], - "path": "src/plugins/data/server/data_views/fetcher/lib/map_capabilities.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.getCapabilitiesForRollupIndices.$1", - "type": "Object", - "tags": [], - "label": "indices", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/data/server/data_views/fetcher/lib/map_capabilities.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-server.shouldReadFieldFromDocValues", - "type": "Function", - "tags": [], - "label": "shouldReadFieldFromDocValues", - "description": [], - "signature": [ - "(aggregatable: boolean, esType: string) => boolean" - ], - "path": "src/plugins/data/server/data_views/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.shouldReadFieldFromDocValues.$1", - "type": "boolean", - "tags": [], - "label": "aggregatable", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/server/data_views/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.shouldReadFieldFromDocValues.$2", - "type": "string", - "tags": [], - "label": "esType", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/server/data_views/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - } - ], - "interfaces": [ - { - "parentPluginId": "data", - "id": "def-server.FieldDescriptor", - "type": "Interface", - "tags": [], - "label": "FieldDescriptor", - "description": [], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.FieldDescriptor.aggregatable", - "type": "boolean", - "tags": [], - "label": "aggregatable", - "description": [], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.FieldDescriptor.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.FieldDescriptor.readFromDocValues", - "type": "boolean", - "tags": [], - "label": "readFromDocValues", - "description": [], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.FieldDescriptor.searchable", - "type": "boolean", - "tags": [], - "label": "searchable", - "description": [], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.FieldDescriptor.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.FieldDescriptor.esTypes", - "type": "Array", - "tags": [], - "label": "esTypes", - "description": [], - "signature": [ - "string[]" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.FieldDescriptor.subType", - "type": "Object", - "tags": [], - "label": "subType", - "description": [], - "signature": [ - "FieldSubType | undefined" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.FieldDescriptor.metadata_field", - "type": "CompoundType", - "tags": [], - "label": "metadata_field", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsServiceStart", - "type": "Interface", - "tags": [], - "label": "IndexPatternsServiceStart", - "description": [], - "path": "src/plugins/data/server/data_views/index_patterns_service.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsServiceStart.indexPatternsServiceFactory", - "type": "Function", - "tags": [], - "label": "indexPatternsServiceFactory", - "description": [], - "signature": [ - "(savedObjectsClient: Pick<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsClient", - "text": "SavedObjectsClient" - }, - ", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"find\" | \"bulkGet\" | \"bulkResolve\" | \"resolve\" | \"update\" | \"collectMultiNamespaceReferences\" | \"updateObjectsSpaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\" | \"errors\">, elasticsearchClient: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.ElasticsearchClient", - "text": "ElasticsearchClient" - }, - ") => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IndexPatternsService", - "text": "IndexPatternsService" - }, - ">" - ], - "path": "src/plugins/data/server/data_views/index_patterns_service.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsServiceStart.indexPatternsServiceFactory.$1", - "type": "Object", - "tags": [], - "label": "savedObjectsClient", - "description": [], - "signature": [ - "Pick<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsClient", - "text": "SavedObjectsClient" - }, - ", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"find\" | \"bulkGet\" | \"bulkResolve\" | \"resolve\" | \"update\" | \"collectMultiNamespaceReferences\" | \"updateObjectsSpaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\" | \"errors\">" - ], - "path": "src/plugins/data/server/data_views/index_patterns_service.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsServiceStart.indexPatternsServiceFactory.$2", - "type": "CompoundType", - "tags": [], - "label": "elasticsearchClient", - "description": [], - "signature": [ - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.ElasticsearchClient", - "text": "ElasticsearchClient" - } - ], - "path": "src/plugins/data/server/data_views/index_patterns_service.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - } - ], - "enums": [], - "misc": [], - "objects": [] - }, - "common": { - "classes": [ - { - "parentPluginId": "data", - "id": "def-common.DataView", - "type": "Class", - "tags": [], - "label": "DataView", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " implements ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IIndexPattern", - "text": "IIndexPattern" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.id", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.title", - "type": "string", - "tags": [], - "label": "title", - "description": [], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.fieldFormatMap", - "type": "Object", - "tags": [], - "label": "fieldFormatMap", - "description": [], - "signature": [ - "{ [x: string]: any; }" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.typeMeta", - "type": "Object", - "tags": [], - "label": "typeMeta", - "description": [ - "\nOnly used by rollup indices, used by rollup specific endpoint to load field list" - ], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.TypeMeta", - "text": "TypeMeta" - }, - " | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.fields", - "type": "CompoundType", - "tags": [], - "label": "fields", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IIndexPatternFieldList", - "text": "IIndexPatternFieldList" - }, - " & { toSpec: () => Record; }" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.timeFieldName", - "type": "string", - "tags": [], - "label": "timeFieldName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.intervalName", - "type": "string", - "tags": [ - "deprecated" - ], - "label": "intervalName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.type", - "type": "string", - "tags": [], - "label": "type", - "description": [ - "\nType is used to identify rollup index patterns" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.formatHit", - "type": "Function", - "tags": [], - "label": "formatHit", - "description": [], - "signature": [ - "{ (hit: Record, type?: string | undefined): any; formatField: FormatFieldFn; }" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.formatHit.$1", - "type": "Object", - "tags": [], - "label": "hit", - "description": [], - "signature": [ - "{ [x: string]: any; }" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.formatHit.$2", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.formatField", - "type": "Function", - "tags": [], - "label": "formatField", - "description": [], - "signature": [ - "(hit: Record, fieldName: string) => any" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.formatField.$1", - "type": "Object", - "tags": [], - "label": "hit", - "description": [], - "signature": [ - "{ [x: string]: any; }" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.formatField.$2", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.flattenHit", - "type": "Function", - "tags": [], - "label": "flattenHit", - "description": [], - "signature": [ - "(hit: Record, deep?: boolean | undefined) => Record" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.flattenHit.$1", - "type": "Object", - "tags": [], - "label": "hit", - "description": [], - "signature": [ - "{ [x: string]: any; }" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.flattenHit.$2", - "type": "CompoundType", - "tags": [], - "label": "deep", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.metaFields", - "type": "Array", - "tags": [], - "label": "metaFields", - "description": [], - "signature": [ - "string[]" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.version", - "type": "string", - "tags": [], - "label": "version", - "description": [ - "\nSavedObject version" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.sourceFilters", - "type": "Array", - "tags": [], - "label": "sourceFilters", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.SourceFilter", - "text": "SourceFilter" - }, - "[] | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.allowNoIndex", - "type": "boolean", - "tags": [], - "label": "allowNoIndex", - "description": [ - "\nprevents errors when index pattern exists before indices" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.Unnamed.$1", - "type": "Object", - "tags": [], - "label": "{ spec = {}, fieldFormats, shortDotsEnable = false, metaFields = [] }", - "description": [], - "signature": [ - "DataViewDeps" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.getOriginalSavedObjectBody", - "type": "Function", - "tags": [], - "label": "getOriginalSavedObjectBody", - "description": [ - "\nGet last saved saved object fields" - ], - "signature": [ - "() => { fieldAttrs?: string | undefined; title?: string | undefined; timeFieldName?: string | undefined; intervalName?: string | undefined; fields?: string | undefined; sourceFilters?: string | undefined; fieldFormatMap?: string | undefined; typeMeta?: string | undefined; type?: string | undefined; }" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.resetOriginalSavedObjectBody", - "type": "Function", - "tags": [], - "label": "resetOriginalSavedObjectBody", - "description": [ - "\nReset last saved saved object fields. used after saving" - ], - "signature": [ - "() => void" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.getFieldAttrs", - "type": "Function", - "tags": [], - "label": "getFieldAttrs", - "description": [], - "signature": [ - "() => { [x: string]: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldAttrSet", - "text": "FieldAttrSet" - }, - "; }" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.getComputedFields", - "type": "Function", - "tags": [], - "label": "getComputedFields", - "description": [], - "signature": [ - "() => { storedFields: string[]; scriptFields: Record; docvalueFields: { field: string; format: string; }[]; runtimeFields: Record; }" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.toSpec", - "type": "Function", - "tags": [], - "label": "toSpec", - "description": [ - "\nCreate static representation of index pattern" - ], - "signature": [ - "() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.getSourceFiltering", - "type": "Function", - "tags": [], - "label": "getSourceFiltering", - "description": [ - "\nGet the source filtering configuration for that index." - ], - "signature": [ - "() => { excludes: string[]; }" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.addScriptedField", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "addScriptedField", - "description": [ - "\nAdd scripted field to field list\n" - ], - "signature": [ - "(name: string, script: string, fieldType?: string) => Promise" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.addScriptedField.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [ - "field name" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.addScriptedField.$2", - "type": "string", - "tags": [], - "label": "script", - "description": [ - "script code" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.addScriptedField.$3", - "type": "string", - "tags": [], - "label": "fieldType", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.removeScriptedField", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "removeScriptedField", - "description": [ - "\nRemove scripted field from field list" - ], - "signature": [ - "(fieldName: string) => void" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" - } - ], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.removeScriptedField.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.getNonScriptedFields", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "getNonScriptedFields", - "description": [ - "\n" - ], - "signature": [ - "() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - "[]" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/lib/fetch_fields.ts" - } - ], - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.getScriptedFields", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "getScriptedFields", - "description": [ - "\n" - ], - "signature": [ - "() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - "[]" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" - } - ], - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.getIndex", - "type": "Function", - "tags": [], - "label": "getIndex", - "description": [], - "signature": [ - "() => string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.isUnsupportedTimePattern", - "type": "Function", - "tags": [], - "label": "isUnsupportedTimePattern", - "description": [], - "signature": [ - "() => boolean" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.isTimeBased", - "type": "Function", - "tags": [], - "label": "isTimeBased", - "description": [], - "signature": [ - "() => boolean" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.isTimeNanosBased", - "type": "Function", - "tags": [], - "label": "isTimeNanosBased", - "description": [], - "signature": [ - "() => boolean" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.getTimeField", - "type": "Function", - "tags": [], - "label": "getTimeField", - "description": [], - "signature": [ - "() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - " | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.getFieldByName", - "type": "Function", - "tags": [], - "label": "getFieldByName", - "description": [], - "signature": [ - "(name: string) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - " | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.getFieldByName.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.getAggregationRestrictions", - "type": "Function", - "tags": [], - "label": "getAggregationRestrictions", - "description": [], - "signature": [ - "() => Record> | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.getAsSavedObjectBody", - "type": "Function", - "tags": [], - "label": "getAsSavedObjectBody", - "description": [ - "\nReturns index pattern as saved object body for saving" - ], - "signature": [ - "() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewAttributes", - "text": "DataViewAttributes" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.getFormatterForField", - "type": "Function", - "tags": [], - "label": "getFormatterForField", - "description": [ - "\nProvide a field, get its formatter" - ], - "signature": [ - "(field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.getFormatterForField.$1", - "type": "CompoundType", - "tags": [], - "label": "field", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.addRuntimeField", - "type": "Function", - "tags": [], - "label": "addRuntimeField", - "description": [ - "\nAdd a runtime field - Appended to existing mapped field or a new field is\ncreated as appropriate" - ], - "signature": [ - "(name: string, runtimeField: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.RuntimeField", - "text": "RuntimeField" - }, - ") => void" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.addRuntimeField.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [ - "Field name" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.addRuntimeField.$2", - "type": "Object", - "tags": [], - "label": "runtimeField", - "description": [ - "Runtime field definition" - ], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.RuntimeField", - "text": "RuntimeField" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.hasRuntimeField", - "type": "Function", - "tags": [], - "label": "hasRuntimeField", - "description": [ - "\nChecks if runtime field exists" - ], - "signature": [ - "(name: string) => boolean" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.hasRuntimeField.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.getRuntimeField", - "type": "Function", - "tags": [], - "label": "getRuntimeField", - "description": [ - "\nReturns runtime field if exists" - ], - "signature": [ - "(name: string) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.RuntimeField", - "text": "RuntimeField" - }, - " | null" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.getRuntimeField.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.replaceAllRuntimeFields", - "type": "Function", - "tags": [], - "label": "replaceAllRuntimeFields", - "description": [ - "\nReplaces all existing runtime fields with new fields" - ], - "signature": [ - "(newFields: Record) => void" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.replaceAllRuntimeFields.$1", - "type": "Object", - "tags": [], - "label": "newFields", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.removeRuntimeField", - "type": "Function", - "tags": [], - "label": "removeRuntimeField", - "description": [ - "\nRemove a runtime field - removed from mapped field or removed unmapped\nfield as appropriate. Doesn't clear associated field attributes." - ], - "signature": [ - "(name: string) => void" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.removeRuntimeField.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [ - "- Field name to remove" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.getFormatterForFieldNoDefault", - "type": "Function", - "tags": [], - "label": "getFormatterForFieldNoDefault", - "description": [ - "\nGet formatter for a given field name. Return undefined if none exists" - ], - "signature": [ - "(fieldname: string) => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - " | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.getFormatterForFieldNoDefault.$1", - "type": "string", - "tags": [], - "label": "fieldname", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.setFieldAttrs", - "type": "Function", - "tags": [], - "label": "setFieldAttrs", - "description": [], - "signature": [ - "(fieldName: string, attrName: K, value: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldAttrSet", - "text": "FieldAttrSet" - }, - "[K]) => void" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.setFieldAttrs.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.setFieldAttrs.$2", - "type": "Uncategorized", - "tags": [], - "label": "attrName", - "description": [], - "signature": [ - "K" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.setFieldAttrs.$3", - "type": "Uncategorized", - "tags": [], - "label": "value", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldAttrSet", - "text": "FieldAttrSet" - }, - "[K]" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.setFieldCustomLabel", - "type": "Function", - "tags": [], - "label": "setFieldCustomLabel", - "description": [], - "signature": [ - "(fieldName: string, customLabel: string | null | undefined) => void" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.setFieldCustomLabel.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.setFieldCustomLabel.$2", - "type": "CompoundType", - "tags": [], - "label": "customLabel", - "description": [], - "signature": [ - "string | null | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.setFieldCount", - "type": "Function", - "tags": [], - "label": "setFieldCount", - "description": [], - "signature": [ - "(fieldName: string, count: number | null | undefined) => void" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.setFieldCount.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.setFieldCount.$2", - "type": "CompoundType", - "tags": [], - "label": "count", - "description": [], - "signature": [ - "number | null | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.setFieldFormat", - "type": "Function", - "tags": [], - "label": "setFieldFormat", - "description": [], - "signature": [ - "(fieldName: string, format: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.SerializedFieldFormat", - "text": "SerializedFieldFormat" - }, - ">) => void" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.setFieldFormat.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.setFieldFormat.$2", - "type": "Object", - "tags": [], - "label": "format", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.SerializedFieldFormat", - "text": "SerializedFieldFormat" - }, - ">" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.deleteFieldFormat", - "type": "Function", - "tags": [], - "label": "deleteFieldFormat", - "description": [], - "signature": [ - "(fieldName: string) => void" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.deleteFieldFormat.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField", - "type": "Class", - "tags": [], - "label": "DataViewField", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - " implements ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - } - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewField.spec", - "type": "Object", - "tags": [], - "label": "spec", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - } - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewField.Unnamed.$1", - "type": "Object", - "tags": [], - "label": "spec", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - } - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.count", - "type": "number", - "tags": [], - "label": "count", - "description": [ - "\nCount is used for field popularity" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.count", - "type": "number", - "tags": [], - "label": "count", - "description": [], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.runtimeField", - "type": "Object", - "tags": [], - "label": "runtimeField", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.RuntimeField", - "text": "RuntimeField" - }, - " | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.runtimeField", - "type": "Object", - "tags": [], - "label": "runtimeField", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.RuntimeField", - "text": "RuntimeField" - }, - " | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.script", - "type": "string", - "tags": [], - "label": "script", - "description": [ - "\nScript field code" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.script", - "type": "string", - "tags": [], - "label": "script", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.lang", - "type": "CompoundType", - "tags": [], - "label": "lang", - "description": [ - "\nScript field language" - ], - "signature": [ - "\"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.lang", - "type": "CompoundType", - "tags": [], - "label": "lang", - "description": [], - "signature": [ - "\"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.customLabel", - "type": "string", - "tags": [], - "label": "customLabel", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.customLabel", - "type": "string", - "tags": [], - "label": "customLabel", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.conflictDescriptions", - "type": "Object", - "tags": [], - "label": "conflictDescriptions", - "description": [ - "\nDescription of field type conflicts across different indices in the same index pattern" - ], - "signature": [ - "Record | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.conflictDescriptions", - "type": "Object", - "tags": [], - "label": "conflictDescriptions", - "description": [], - "signature": [ - "Record | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.displayName", - "type": "string", - "tags": [], - "label": "displayName", - "description": [], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.esTypes", - "type": "Array", - "tags": [], - "label": "esTypes", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.scripted", - "type": "boolean", - "tags": [], - "label": "scripted", - "description": [], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.searchable", - "type": "boolean", - "tags": [], - "label": "searchable", - "description": [], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.aggregatable", - "type": "boolean", - "tags": [], - "label": "aggregatable", - "description": [], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.readFromDocValues", - "type": "boolean", - "tags": [], - "label": "readFromDocValues", - "description": [], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.subType", - "type": "Object", - "tags": [], - "label": "subType", - "description": [], - "signature": [ - "IFieldSubType", - " | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.isMapped", - "type": "CompoundType", - "tags": [], - "label": "isMapped", - "description": [ - "\nIs the field part of the index mapping?" - ], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.sortable", - "type": "boolean", - "tags": [], - "label": "sortable", - "description": [], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.filterable", - "type": "boolean", - "tags": [], - "label": "filterable", - "description": [], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.visualizable", - "type": "boolean", - "tags": [], - "label": "visualizable", - "description": [], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.deleteCount", - "type": "Function", - "tags": [], - "label": "deleteCount", - "description": [], - "signature": [ - "() => void" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.toJSON", - "type": "Function", - "tags": [], - "label": "toJSON", - "description": [], - "signature": [ - "() => { count: number; script: string | undefined; lang: \"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined; conflictDescriptions: Record | undefined; name: string; type: string; esTypes: string[] | undefined; scripted: boolean; searchable: boolean; aggregatable: boolean; readFromDocValues: boolean; subType: ", - "IFieldSubType", - " | undefined; customLabel: string | undefined; }" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.toSpec", - "type": "Function", - "tags": [], - "label": "toSpec", - "description": [], - "signature": [ - "({ getFormatterForField, }?: { getFormatterForField?: ((field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined; }) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - } - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewField.toSpec.$1", - "type": "Object", - "tags": [], - "label": "{\n getFormatterForField,\n }", - "description": [], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewField.toSpec.$1.getFormatterForField", - "type": "Function", - "tags": [], - "label": "getFormatterForField", - "description": [], - "signature": [ - "((field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - } - ] - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSavedObjectConflictError", - "type": "Class", - "tags": [], - "label": "DataViewSavedObjectConflictError", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSavedObjectConflictError", - "text": "DataViewSavedObjectConflictError" - }, - " extends Error" - ], - "path": "src/plugins/data/common/data_views/errors/data_view_saved_object_conflict.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewSavedObjectConflictError.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/data_views/errors/data_view_saved_object_conflict.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewSavedObjectConflictError.Unnamed.$1", - "type": "string", - "tags": [], - "label": "savedObjectId", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/errors/data_view_saved_object_conflict.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService", - "type": "Class", - "tags": [], - "label": "DataViewsService", - "description": [], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.ensureDefaultDataView", - "type": "Function", - "tags": [], - "label": "ensureDefaultDataView", - "description": [], - "signature": [ - "() => Promise | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "returnComment": [], - "children": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.Unnamed.$1", - "type": "Object", - "tags": [], - "label": "{\n uiSettings,\n savedObjectsClient,\n apiClient,\n fieldFormats,\n onNotification,\n onError,\n onUnsupportedTimePattern,\n onRedirectNoIndexPattern = () => {},\n }", - "description": [], - "signature": [ - "IndexPatternsServiceDeps" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.getIds", - "type": "Function", - "tags": [], - "label": "getIds", - "description": [ - "\nGet list of index pattern ids" - ], - "signature": [ - "(refresh?: boolean) => Promise" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.getIds.$1", - "type": "boolean", - "tags": [], - "label": "refresh", - "description": [ - "Force refresh of index pattern list" - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.getTitles", - "type": "Function", - "tags": [], - "label": "getTitles", - "description": [ - "\nGet list of index pattern titles" - ], - "signature": [ - "(refresh?: boolean) => Promise" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.getTitles.$1", - "type": "boolean", - "tags": [], - "label": "refresh", - "description": [ - "Force refresh of index pattern list" - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.find", - "type": "Function", - "tags": [], - "label": "find", - "description": [ - "\nFind and load index patterns by title" - ], - "signature": [ - "(search: string, size?: number) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - "[]>" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.find.$1", - "type": "string", - "tags": [], - "label": "search", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.find.$2", - "type": "number", - "tags": [], - "label": "size", - "description": [], - "signature": [ - "number" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [ - "IndexPattern[]" - ] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.getIdsWithTitle", - "type": "Function", - "tags": [], - "label": "getIdsWithTitle", - "description": [ - "\nGet list of index pattern ids with titles" - ], - "signature": [ - "(refresh?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewListItem", - "text": "DataViewListItem" - }, - "[]>" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.getIdsWithTitle.$1", - "type": "boolean", - "tags": [], - "label": "refresh", - "description": [ - "Force refresh of index pattern list" - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.clearCache", - "type": "Function", - "tags": [], - "label": "clearCache", - "description": [ - "\nClear index pattern list cache" - ], - "signature": [ - "(id?: string | undefined) => void" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.clearCache.$1", - "type": "string", - "tags": [], - "label": "id", - "description": [ - "optionally clear a single id" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.getCache", - "type": "Function", - "tags": [], - "label": "getCache", - "description": [], - "signature": [ - "() => Promise<", - "SavedObject", - ">[] | null | undefined>" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.getDefault", - "type": "Function", - "tags": [], - "label": "getDefault", - "description": [ - "\nGet default index pattern" - ], - "signature": [ - "() => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " | null>" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.getDefaultId", - "type": "Function", - "tags": [], - "label": "getDefaultId", - "description": [ - "\nGet default index pattern id" - ], - "signature": [ - "() => Promise" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.setDefault", - "type": "Function", - "tags": [], - "label": "setDefault", - "description": [ - "\nOptionally set default index pattern, unless force = true" - ], - "signature": [ - "(id: string | null, force?: boolean) => Promise" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.setDefault.$1", - "type": "CompoundType", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string | null" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.setDefault.$2", - "type": "boolean", - "tags": [], - "label": "force", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.hasUserDataView", - "type": "Function", - "tags": [], - "label": "hasUserDataView", - "description": [ - "\nChecks if current user has a user created index pattern ignoring fleet's server default index patterns" - ], - "signature": [ - "() => Promise" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.getFieldsForWildcard", - "type": "Function", - "tags": [], - "label": "getFieldsForWildcard", - "description": [ - "\nGet field list by providing { pattern }" - ], - "signature": [ - "(options: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - ") => Promise" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.getFieldsForWildcard.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [ - "FieldSpec[]" - ] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.getFieldsForIndexPattern", - "type": "Function", - "tags": [], - "label": "getFieldsForIndexPattern", - "description": [ - "\nGet field list by providing an index patttern (or spec)" - ], - "signature": [ - "(indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - ", options?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - " | undefined) => Promise" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.getFieldsForIndexPattern.$1", - "type": "CompoundType", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.getFieldsForIndexPattern.$2", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - " | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [ - "FieldSpec[]" - ] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.refreshFields", - "type": "Function", - "tags": [], - "label": "refreshFields", - "description": [ - "\nRefresh field list for a given index pattern" - ], - "signature": [ - "(indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ") => Promise" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.refreshFields.$1", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.fieldArrayToMap", - "type": "Function", - "tags": [], - "label": "fieldArrayToMap", - "description": [ - "\nConverts field array to map" - ], - "signature": [ - "(fields: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[], fieldAttrs?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldAttrs", - "text": "FieldAttrs" - }, - " | undefined) => Record" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.fieldArrayToMap.$1", - "type": "Array", - "tags": [], - "label": "fields", - "description": [ - ": FieldSpec[]" - ], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[]" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.fieldArrayToMap.$2", - "type": "Object", - "tags": [], - "label": "fieldAttrs", - "description": [ - ": FieldAttrs" - ], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldAttrs", - "text": "FieldAttrs" - }, - " | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [ - "Record" - ] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.savedObjectToSpec", - "type": "Function", - "tags": [], - "label": "savedObjectToSpec", - "description": [ - "\nConverts index pattern saved object to index pattern spec" - ], - "signature": [ - "(savedObject: ", - "SavedObject", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewAttributes", - "text": "DataViewAttributes" - }, - ">) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.savedObjectToSpec.$1", - "type": "Object", - "tags": [], - "label": "savedObject", - "description": [], - "signature": [ - "SavedObject", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewAttributes", - "text": "DataViewAttributes" - }, - ">" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [ - "IndexPatternSpec" - ] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.migrate", - "type": "Function", - "tags": [], - "label": "migrate", - "description": [], - "signature": [ - "(indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ", newTitle: string) => Promise" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.migrate.$1", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.migrate.$2", - "type": "string", - "tags": [], - "label": "newTitle", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.get", - "type": "Function", - "tags": [], - "label": "get", - "description": [ - "\nGet an index pattern by id. Cache optimized" - ], - "signature": [ - "(id: string) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.get.$1", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.create", - "type": "Function", - "tags": [], - "label": "create", - "description": [ - "\nCreate a new index pattern instance" - ], - "signature": [ - "(spec: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - ", skipFetchFields?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.create.$1", - "type": "Object", - "tags": [], - "label": "spec", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.create.$2", - "type": "boolean", - "tags": [], - "label": "skipFetchFields", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [ - "IndexPattern" - ] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.createAndSave", - "type": "Function", - "tags": [], - "label": "createAndSave", - "description": [ - "\nCreate a new index pattern and save it right away" - ], - "signature": [ - "(spec: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - ", override?: boolean, skipFetchFields?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.createAndSave.$1", - "type": "Object", - "tags": [], - "label": "spec", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.createAndSave.$2", - "type": "boolean", - "tags": [], - "label": "override", - "description": [ - "Overwrite if existing index pattern exists." - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.createAndSave.$3", - "type": "boolean", - "tags": [], - "label": "skipFetchFields", - "description": [ - "Whether to skip field refresh step." - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.createSavedObject", - "type": "Function", - "tags": [], - "label": "createSavedObject", - "description": [ - "\nSave a new index pattern" - ], - "signature": [ - "(indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ", override?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.createSavedObject.$1", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.createSavedObject.$2", - "type": "boolean", - "tags": [], - "label": "override", - "description": [ - "Overwrite if existing index pattern exists" - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.updateSavedObject", - "type": "Function", - "tags": [], - "label": "updateSavedObject", - "description": [ - "\nSave existing index pattern. Will attempt to merge differences if there are conflicts" - ], - "signature": [ - "(indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ", saveAttempts?: number, ignoreErrors?: boolean) => Promise" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.updateSavedObject.$1", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.updateSavedObject.$2", - "type": "number", - "tags": [], - "label": "saveAttempts", - "description": [], - "signature": [ - "number" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.updateSavedObject.$3", - "type": "boolean", - "tags": [], - "label": "ignoreErrors", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.delete", - "type": "Function", - "tags": [], - "label": "delete", - "description": [ - "\nDeletes an index pattern from .kibana index" - ], - "signature": [ - "(indexPatternId: string) => Promise<{}>" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.delete.$1", - "type": "string", - "tags": [], - "label": "indexPatternId", - "description": [ - ": Id of kibana Index Pattern to delete" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.DuplicateDataViewError", - "type": "Class", - "tags": [], - "label": "DuplicateDataViewError", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DuplicateDataViewError", - "text": "DuplicateDataViewError" - }, - " extends Error" - ], - "path": "src/plugins/data/common/data_views/errors/duplicate_index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DuplicateDataViewError.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/data_views/errors/duplicate_index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DuplicateDataViewError.Unnamed.$1", - "type": "string", - "tags": [], - "label": "message", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/errors/duplicate_index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPattern", - "type": "Class", - "tags": [ - "deprecated" - ], - "label": "IndexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - " extends ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": true, - "references": [ - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" - }, - { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" - }, - { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_default_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_default_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/helpers/update_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/helpers/update_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/utils/sorting.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/utils/sorting.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/context_app_content.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/context_app_content.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern_management.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern_management.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/update_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/update_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/calc_field_counts.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/calc_field_counts.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_documents.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_documents.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/types.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/types.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/embeddables/types.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/embeddables/types.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/types/index.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/types/index.ts" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/common/types/index_pattern.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/common/types/index_pattern.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/common/types/index_pattern.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/common/types/index_pattern.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/timeseries_visualization.tsx" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/timeseries_visualization.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/view_saved_search_action.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/view_saved_search_action.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/helpers.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/helpers.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/doc_table_wrapper.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/doc_table_wrapper.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_flyout.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_flyout.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/components/discover_grid/get_render_cell_value.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/components/discover_grid/get_render_cell_value.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/context/services/utils/sorting.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/context/services/utils/sorting.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/utils/calc_field_counts.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/utils/calc_field_counts.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/utils/get_switch_index_pattern_app_state.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/utils/get_switch_index_pattern_app_state.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/utils/get_switch_index_pattern_app_state.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_default_sort.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_default_sort.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/top_nav/get_top_nav_links.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/top_nav/get_top_nav_links.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/row_formatter.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/row_formatter.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/row_formatter.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/table_header.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/table_header.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" - }, - { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/types.ts" - }, - { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/types.ts" - }, - { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/types.ts" - }, - { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" - }, - { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis_types/types.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis_types/types.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis_types/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/doc_views/doc_views_types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/doc_views/doc_views_types.ts" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/shared_imports.ts" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/nested_fields.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/nested_fields.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/table/table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/table/table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_fetch.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_fetch.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/persist_saved_search.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/persist_saved_search.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/types.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/types.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/utils.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/utils.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/utils.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/field_format_service.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/field_format_service.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector_service.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector_service.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/types/app_state.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/types/app_state.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/search_bar.tsx" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/search_bar.tsx" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/search_bar.tsx" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/search_bar.tsx" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/common/request.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/common/request.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/common/request.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/common/request.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" - }, - { - "plugin": "uptime", - "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" - }, - { - "plugin": "uptime", - "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" - }, - { - "plugin": "uptime", - "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" - }, - { - "plugin": "uptime", - "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" - }, - { - "plugin": "uptime", - "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/mocks.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/mocks.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities._service.test.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities._service.test.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_pattern.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_pattern.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/target/types/public/application/components/full_time_range_selector/full_time_range_selector.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/target/types/public/application/components/full_time_range_selector/full_time_range_selector.d.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/open_editor.tsx" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/open_editor.tsx" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/types.ts" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/types.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" - }, - { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" - }, - { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" - }, - { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" - }, - { - "plugin": "visTypeVega", - "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" - }, - { - "plugin": "visTypeVega", - "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" - }, - { - "plugin": "visTypeVega", - "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/target/types/public/types.d.ts" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/target/types/public/types.d.ts" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/utils/nested_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/utils/nested_fields.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" - } - ], - "children": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternField", - "type": "Class", - "tags": [ - "deprecated" - ], - "label": "IndexPatternField", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - " extends ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - } - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": true, - "references": [ - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/shared_imports.ts" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/field_name/field_name.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/field_name/field_name.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/table/table_cell_actions.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/table/table_cell_actions.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/table/table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/table/table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/es_doc_field.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/es_doc_field.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/geo_field_select.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/geo_field_select.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metrics_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metrics_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metric_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metric_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_param_props.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_param_props.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/controls/top_field.tsx" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/controls/top_field.tsx" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/agg_param_props.d.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/agg_param_props.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_field.d.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_field.d.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_sort_field.d.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_sort_field.d.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" - } - ], - "children": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternsService", - "type": "Class", - "tags": [ - "deprecated" - ], - "label": "IndexPatternsService", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IndexPatternsService", - "text": "IndexPatternsService" - }, - " extends ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewsService", - "text": "DataViewsService" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": true, - "references": [ - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/types.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/types.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/kibana_server_services.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/kibana_server_services.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/data_indexing/create_doc_source.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/data_indexing/create_doc_source.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/fields_fetcher.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/fields_fetcher.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/plugin.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/plugin.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" - } - ], - "children": [], - "initialIsOpen": false - } - ], - "functions": [ - { - "parentPluginId": "data", - "id": "def-common.fieldList", - "type": "Function", - "tags": [], - "label": "fieldList", - "description": [], - "signature": [ - "(specs?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[], shortDotsEnable?: boolean) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IIndexPatternFieldList", - "text": "IIndexPatternFieldList" - } - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.fieldList.$1", - "type": "Array", - "tags": [], - "label": "specs", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[]" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.fieldList.$2", - "type": "boolean", - "tags": [], - "label": "shortDotsEnable", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.getIndexPatternLoadMeta", - "type": "Function", - "tags": [], - "label": "getIndexPatternLoadMeta", - "description": [], - "signature": [ - "() => Pick<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IndexPatternLoadExpressionFunctionDefinition", - "text": "IndexPatternLoadExpressionFunctionDefinition" - }, - ", \"type\" | \"telemetry\" | \"inject\" | \"extract\" | \"migrations\" | \"name\" | \"disabled\" | \"help\" | \"inputTypes\" | \"args\" | \"aliases\" | \"context\">" - ], - "path": "src/plugins/data/common/data_views/expressions/load_index_pattern.ts", - "deprecated": false, - "children": [], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.isFilterable", - "type": "Function", - "tags": [], - "label": "isFilterable", - "description": [], - "signature": [ - "(field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - ") => boolean" - ], - "path": "src/plugins/data/common/data_views/fields/utils.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.isFilterable.$1", - "type": "Object", - "tags": [], - "label": "field", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - } - ], - "path": "src/plugins/data/common/data_views/fields/utils.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.isNestedField", - "type": "Function", - "tags": [], - "label": "isNestedField", - "description": [], - "signature": [ - "(field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - ") => boolean" - ], - "path": "src/plugins/data/common/data_views/fields/utils.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.isNestedField.$1", - "type": "Object", - "tags": [], - "label": "field", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - } - ], - "path": "src/plugins/data/common/data_views/fields/utils.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - } - ], - "interfaces": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewAttributes", - "type": "Interface", - "tags": [], - "label": "DataViewAttributes", - "description": [ - "\nInterface for an index pattern saved object" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewAttributes.fields", - "type": "string", - "tags": [], - "label": "fields", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewAttributes.title", - "type": "string", - "tags": [], - "label": "title", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewAttributes.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewAttributes.typeMeta", - "type": "string", - "tags": [], - "label": "typeMeta", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewAttributes.timeFieldName", - "type": "string", - "tags": [], - "label": "timeFieldName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewAttributes.intervalName", - "type": "string", - "tags": [], - "label": "intervalName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewAttributes.sourceFilters", - "type": "string", - "tags": [], - "label": "sourceFilters", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewAttributes.fieldFormatMap", - "type": "string", - "tags": [], - "label": "fieldFormatMap", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewAttributes.fieldAttrs", - "type": "string", - "tags": [], - "label": "fieldAttrs", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewAttributes.runtimeFieldMap", - "type": "string", - "tags": [], - "label": "runtimeFieldMap", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewAttributes.allowNoIndex", - "type": "CompoundType", - "tags": [], - "label": "allowNoIndex", - "description": [ - "\nprevents errors when index pattern exists before indices" - ], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewListItem", - "type": "Interface", - "tags": [], - "label": "DataViewListItem", - "description": [], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewListItem.id", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewListItem.title", - "type": "string", - "tags": [], - "label": "title", - "description": [], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewListItem.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewListItem.typeMeta", - "type": "Object", - "tags": [], - "label": "typeMeta", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.TypeMeta", - "text": "TypeMeta" - }, - " | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec", - "type": "Interface", - "tags": [], - "label": "DataViewSpec", - "description": [ - "\nStatic index pattern format\nSerialized data object, representing index pattern attributes and state" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec.id", - "type": "string", - "tags": [], - "label": "id", - "description": [ - "\nsaved object id" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec.version", - "type": "string", - "tags": [], - "label": "version", - "description": [ - "\nsaved object version string" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec.title", - "type": "string", - "tags": [], - "label": "title", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec.intervalName", - "type": "string", - "tags": [ - "deprecated" - ], - "label": "intervalName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": true, - "references": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec.timeFieldName", - "type": "string", - "tags": [], - "label": "timeFieldName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec.sourceFilters", - "type": "Array", - "tags": [], - "label": "sourceFilters", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.SourceFilter", - "text": "SourceFilter" - }, - "[] | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec.fields", - "type": "Object", - "tags": [], - "label": "fields", - "description": [], - "signature": [ - "Record | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec.typeMeta", - "type": "Object", - "tags": [], - "label": "typeMeta", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.TypeMeta", - "text": "TypeMeta" - }, - " | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec.fieldFormats", - "type": "Object", - "tags": [], - "label": "fieldFormats", - "description": [], - "signature": [ - "Record>> | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec.runtimeFieldMap", - "type": "Object", - "tags": [], - "label": "runtimeFieldMap", - "description": [], - "signature": [ - "Record | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec.fieldAttrs", - "type": "Object", - "tags": [], - "label": "fieldAttrs", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldAttrs", - "text": "FieldAttrs" - }, - " | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec.allowNoIndex", - "type": "CompoundType", - "tags": [], - "label": "allowNoIndex", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldAttrs", - "type": "Interface", - "tags": [ - "intenal" - ], - "label": "FieldAttrs", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.FieldAttrs.Unnamed", - "type": "Any", - "tags": [], - "label": "Unnamed", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldAttrSet", - "type": "Interface", - "tags": [], - "label": "FieldAttrSet", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.FieldAttrSet.customLabel", - "type": "string", - "tags": [], - "label": "customLabel", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldAttrSet.count", - "type": "number", - "tags": [], - "label": "count", - "description": [], - "signature": [ - "number | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpec", - "type": "Interface", - "tags": [], - "label": "FieldSpec", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - " extends ", - "DataViewFieldBase" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.FieldSpec.count", - "type": "number", - "tags": [], - "label": "count", - "description": [ - "\nPopularity count is used by discover" - ], - "signature": [ - "number | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpec.conflictDescriptions", - "type": "Object", - "tags": [], - "label": "conflictDescriptions", - "description": [], - "signature": [ - "Record | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpec.format", - "type": "Object", - "tags": [], - "label": "format", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.SerializedFieldFormat", - "text": "SerializedFieldFormat" - }, - "> | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpec.esTypes", - "type": "Array", - "tags": [], - "label": "esTypes", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpec.searchable", - "type": "boolean", - "tags": [], - "label": "searchable", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpec.aggregatable", - "type": "boolean", - "tags": [], - "label": "aggregatable", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpec.readFromDocValues", - "type": "CompoundType", - "tags": [], - "label": "readFromDocValues", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpec.indexed", - "type": "CompoundType", - "tags": [], - "label": "indexed", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpec.customLabel", - "type": "string", - "tags": [], - "label": "customLabel", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpec.runtimeField", - "type": "Object", - "tags": [], - "label": "runtimeField", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.RuntimeField", - "text": "RuntimeField" - }, - " | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpec.shortDotsEnable", - "type": "CompoundType", - "tags": [], - "label": "shortDotsEnable", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpec.isMapped", - "type": "CompoundType", - "tags": [], - "label": "isMapped", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt", - "type": "Interface", - "tags": [], - "label": "FieldSpecExportFmt", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.count", - "type": "number", - "tags": [], - "label": "count", - "description": [], - "signature": [ - "number | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.script", - "type": "string", - "tags": [], - "label": "script", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.lang", - "type": "CompoundType", - "tags": [], - "label": "lang", - "description": [], - "signature": [ - "\"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.conflictDescriptions", - "type": "Object", - "tags": [], - "label": "conflictDescriptions", - "description": [], - "signature": [ - "Record | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.type", - "type": "Enum", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "KBN_FIELD_TYPES" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.esTypes", - "type": "Array", - "tags": [], - "label": "esTypes", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.scripted", - "type": "boolean", - "tags": [], - "label": "scripted", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.searchable", - "type": "boolean", - "tags": [], - "label": "searchable", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.aggregatable", - "type": "boolean", - "tags": [], - "label": "aggregatable", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.readFromDocValues", - "type": "CompoundType", - "tags": [], - "label": "readFromDocValues", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.subType", - "type": "Object", - "tags": [], - "label": "subType", - "description": [], - "signature": [ - "IFieldSubType", - " | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.format", - "type": "Object", - "tags": [], - "label": "format", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.SerializedFieldFormat", - "text": "SerializedFieldFormat" - }, - "> | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.indexed", - "type": "CompoundType", - "tags": [], - "label": "indexed", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptions", - "type": "Interface", - "tags": [], - "label": "GetFieldsOptions", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptions.pattern", - "type": "string", - "tags": [], - "label": "pattern", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptions.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptions.lookBack", - "type": "CompoundType", - "tags": [], - "label": "lookBack", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptions.metaFields", - "type": "Array", - "tags": [], - "label": "metaFields", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptions.rollupIndex", - "type": "string", - "tags": [], - "label": "rollupIndex", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptions.allowNoIndex", - "type": "CompoundType", - "tags": [], - "label": "allowNoIndex", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptionsTimePattern", - "type": "Interface", - "tags": [], - "label": "GetFieldsOptionsTimePattern", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptionsTimePattern.pattern", - "type": "string", - "tags": [], - "label": "pattern", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptionsTimePattern.metaFields", - "type": "Array", - "tags": [], - "label": "metaFields", - "description": [], - "signature": [ - "string[]" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptionsTimePattern.lookBack", - "type": "number", - "tags": [], - "label": "lookBack", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptionsTimePattern.interval", - "type": "string", - "tags": [], - "label": "interval", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IDataViewsApiClient", - "type": "Interface", - "tags": [], - "label": "IDataViewsApiClient", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IDataViewsApiClient.getFieldsForTimePattern", - "type": "Function", - "tags": [], - "label": "getFieldsForTimePattern", - "description": [], - "signature": [ - "(options: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.GetFieldsOptionsTimePattern", - "text": "GetFieldsOptionsTimePattern" - }, - ") => Promise" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IDataViewsApiClient.getFieldsForTimePattern.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.GetFieldsOptionsTimePattern", - "text": "GetFieldsOptionsTimePattern" - } - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.IDataViewsApiClient.getFieldsForWildcard", - "type": "Function", - "tags": [], - "label": "getFieldsForWildcard", - "description": [], - "signature": [ - "(options: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - ") => Promise" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IDataViewsApiClient.getFieldsForWildcard.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - } - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.IDataViewsApiClient.hasUserIndexPattern", - "type": "Function", - "tags": [], - "label": "hasUserIndexPattern", - "description": [], - "signature": [ - "() => Promise" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IFieldType", - "type": "Interface", - "tags": [ - "deprecated" - ], - "label": "IFieldType", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " extends ", - "DataViewFieldBase" - ], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/inventory/components/expression.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/inventory/components/expression.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/selector.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/selector.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/group_by_expression.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/group_by_expression.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/field_types_utils.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/field_types_utils.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/group_by_expression.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/group_by_expression.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/selector.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/selector.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/expression.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/expression.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/metric.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/metric.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_row.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_row.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criteria.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criteria.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criterion.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criterion.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/group_by.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/group_by.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/metrics.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/metrics.d.ts" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/index.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/index.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" - } - ], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IFieldType.count", - "type": "number", - "tags": [], - "label": "count", - "description": [], - "signature": [ - "number | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IFieldType.esTypes", - "type": "Array", - "tags": [], - "label": "esTypes", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IFieldType.aggregatable", - "type": "CompoundType", - "tags": [], - "label": "aggregatable", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IFieldType.filterable", - "type": "CompoundType", - "tags": [], - "label": "filterable", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IFieldType.searchable", - "type": "CompoundType", - "tags": [], - "label": "searchable", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IFieldType.sortable", - "type": "CompoundType", - "tags": [], - "label": "sortable", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IFieldType.visualizable", - "type": "CompoundType", - "tags": [], - "label": "visualizable", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IFieldType.readFromDocValues", - "type": "CompoundType", - "tags": [], - "label": "readFromDocValues", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IFieldType.displayName", - "type": "string", - "tags": [], - "label": "displayName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IFieldType.customLabel", - "type": "string", - "tags": [], - "label": "customLabel", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IFieldType.format", - "type": "Any", - "tags": [], - "label": "format", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IFieldType.toSpec", - "type": "Function", - "tags": [], - "label": "toSpec", - "description": [], - "signature": [ - "((options?: { getFormatterForField?: ((field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined; } | undefined) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - ") | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IFieldType.toSpec.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IFieldType.toSpec.$1.getFormatterForField", - "type": "Function", - "tags": [], - "label": "getFormatterForField", - "description": [], - "signature": [ - "((field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": false - } - ] - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPattern", - "type": "Interface", - "tags": [ - "deprecated" - ], - "label": "IIndexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IIndexPattern", - "text": "IIndexPattern" - }, - " extends ", - "DataViewBase" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": true, - "references": [ - { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/helpers.tsx" - }, - { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/helpers.tsx" - }, - { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" - }, - { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" - }, - { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/container/source/index.tsx" - }, - { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/container/source/index.tsx" - }, - { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/container/source/index.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/utils/kuery.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/utils/kuery.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/with_source/with_source.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/with_source/with_source.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/public/lib/kuery.ts" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/public/lib/kuery.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/details/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/details/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" - }, - { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/mock/index_pattern.ts" - }, - { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/mock/index_pattern.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/common/search_strategy/index_fields/index.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/common/search_strategy/index_fields/index.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/containers/with_kuery_autocompletion.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/containers/with_kuery_autocompletion.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/containers/with_source/with_source.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/containers/with_source/with_source.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/index_pattern_context.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/index_pattern_context.ts" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/target/types/public/components/kuery_bar/with_kuery_autocompletion.d.ts" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/target/types/public/components/kuery_bar/with_kuery_autocompletion.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_chart.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_chart.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/index.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/index.d.ts" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/target/types/public/alerts/components/param_details_form/use_derived_index_pattern.d.ts" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/target/types/public/alerts/components/param_details_form/use_derived_index_pattern.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/index.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/index.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/network/pages/details/types.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/network/pages/details/types.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/utils.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/utils.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/editor.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/editor.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/custom_urls.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/custom_urls.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/index.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/store/sourcerer/model.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/store/sourcerer/model.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/services/es_index_service.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/services/es_index_service.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/server/routes/api/transforms.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/server/routes/api/transforms.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/mock/index_pattern.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/mock/index_pattern.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts" - } - ], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPattern.title", - "type": "string", - "tags": [], - "label": "title", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPattern.fields", - "type": "Array", - "tags": [], - "label": "fields", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - "[]" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPattern.type", - "type": "string", - "tags": [], - "label": "type", - "description": [ - "\nType is used for identifying rollup indices, otherwise left undefined" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPattern.timeFieldName", - "type": "string", - "tags": [], - "label": "timeFieldName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPattern.intervalName", - "type": "CompoundType", - "tags": [], - "label": "intervalName", - "description": [], - "signature": [ - "string | null | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPattern.getTimeField", - "type": "Function", - "tags": [], - "label": "getTimeField", - "description": [], - "signature": [ - "(() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | undefined) | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPattern.fieldFormatMap", - "type": "Object", - "tags": [], - "label": "fieldFormatMap", - "description": [], - "signature": [ - "Record | undefined> | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPattern.getFormatterForField", - "type": "Function", - "tags": [], - "label": "getFormatterForField", - "description": [ - "\nLook up a formatter for a given field" - ], - "signature": [ - "((field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPattern.getFormatterForField.$1", - "type": "CompoundType", - "tags": [], - "label": "field", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - } - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList", - "type": "Interface", - "tags": [], - "label": "IIndexPatternFieldList", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IIndexPatternFieldList", - "text": "IIndexPatternFieldList" - }, - " extends ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - "[]" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.add", - "type": "Function", - "tags": [], - "label": "add", - "description": [], - "signature": [ - "(field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - ") => void" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.add.$1", - "type": "Object", - "tags": [], - "label": "field", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - } - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.getAll", - "type": "Function", - "tags": [], - "label": "getAll", - "description": [], - "signature": [ - "() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - "[]" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.getByName", - "type": "Function", - "tags": [], - "label": "getByName", - "description": [], - "signature": [ - "(name: string) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - " | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.getByName.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.getByType", - "type": "Function", - "tags": [], - "label": "getByType", - "description": [], - "signature": [ - "(type: string) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - "[]" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.getByType.$1", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.remove", - "type": "Function", - "tags": [], - "label": "remove", - "description": [], - "signature": [ - "(field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - ") => void" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.remove.$1", - "type": "Object", - "tags": [], - "label": "field", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - } - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.removeAll", - "type": "Function", - "tags": [], - "label": "removeAll", - "description": [], - "signature": [ - "() => void" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.replaceAll", - "type": "Function", - "tags": [], - "label": "replaceAll", - "description": [], - "signature": [ - "(specs: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[]) => void" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.replaceAll.$1", - "type": "Array", - "tags": [], - "label": "specs", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[]" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.update", - "type": "Function", - "tags": [], - "label": "update", - "description": [], - "signature": [ - "(field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - ") => void" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.update.$1", - "type": "Object", - "tags": [], - "label": "field", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - } - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.toSpec", - "type": "Function", - "tags": [], - "label": "toSpec", - "description": [], - "signature": [ - "(options?: { getFormatterForField?: ((field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined; } | undefined) => Record" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.toSpec.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.toSpec.$1.getFormatterForField", - "type": "Function", - "tags": [], - "label": "getFormatterForField", - "description": [], - "signature": [ - "((field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false - } - ] - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternExpressionType", - "type": "Interface", - "tags": [], - "label": "IndexPatternExpressionType", - "description": [], - "path": "src/plugins/data/common/data_views/expressions/load_index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IndexPatternExpressionType.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "\"index_pattern\"" - ], - "path": "src/plugins/data/common/data_views/expressions/load_index_pattern.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternExpressionType.value", - "type": "Object", - "tags": [], - "label": "value", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - } - ], - "path": "src/plugins/data/common/data_views/expressions/load_index_pattern.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.RuntimeField", - "type": "Interface", - "tags": [], - "label": "RuntimeField", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.RuntimeField.type", - "type": "CompoundType", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "\"boolean\" | \"date\" | \"keyword\" | \"geo_point\" | \"ip\" | \"long\" | \"double\"" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.RuntimeField.script", - "type": "Object", - "tags": [], - "label": "script", - "description": [], - "signature": [ - "{ source: string; } | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon", - "type": "Interface", - "tags": [], - "label": "SavedObjectsClientCommon", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.find", - "type": "Function", - "tags": [], - "label": "find", - "description": [], - "signature": [ - "(options: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.SavedObjectsClientCommonFindArgs", - "text": "SavedObjectsClientCommonFindArgs" - }, - ") => Promise<", - "SavedObject", - "[]>" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.find.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.SavedObjectsClientCommonFindArgs", - "text": "SavedObjectsClientCommonFindArgs" - } - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.get", - "type": "Function", - "tags": [], - "label": "get", - "description": [], - "signature": [ - "(type: string, id: string) => Promise<", - "SavedObject", - ">" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.get.$1", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.get.$2", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.update", - "type": "Function", - "tags": [], - "label": "update", - "description": [], - "signature": [ - "(type: string, id: string, attributes: Record, options: Record) => Promise<", - "SavedObject", - ">" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.update.$1", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.update.$2", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.update.$3", - "type": "Object", - "tags": [], - "label": "attributes", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.update.$4", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.create", - "type": "Function", - "tags": [], - "label": "create", - "description": [], - "signature": [ - "(type: string, attributes: Record, options: Record) => Promise<", - "SavedObject", - ">" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.create.$1", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.create.$2", - "type": "Object", - "tags": [], - "label": "attributes", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.create.$3", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.delete", - "type": "Function", - "tags": [], - "label": "delete", - "description": [], - "signature": [ - "(type: string, id: string) => Promise<{}>" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.delete.$1", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.delete.$2", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommonFindArgs", - "type": "Interface", - "tags": [], - "label": "SavedObjectsClientCommonFindArgs", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommonFindArgs.type", - "type": "CompoundType", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string | string[]" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommonFindArgs.fields", - "type": "Array", - "tags": [], - "label": "fields", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommonFindArgs.perPage", - "type": "number", - "tags": [], - "label": "perPage", - "description": [], - "signature": [ - "number | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommonFindArgs.search", - "type": "string", - "tags": [], - "label": "search", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommonFindArgs.searchFields", - "type": "Array", - "tags": [], - "label": "searchFields", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.SourceFilter", - "type": "Interface", - "tags": [], - "label": "SourceFilter", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.SourceFilter.value", - "type": "string", - "tags": [], - "label": "value", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.TypeMeta", - "type": "Interface", - "tags": [], - "label": "TypeMeta", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.TypeMeta.aggs", - "type": "Object", - "tags": [], - "label": "aggs", - "description": [], - "signature": [ - "Record> | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.TypeMeta.params", - "type": "Object", - "tags": [], - "label": "params", - "description": [], - "signature": [ - "{ rollup_index: string; } | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.UiSettingsCommon", - "type": "Interface", - "tags": [], - "label": "UiSettingsCommon", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.UiSettingsCommon.get", - "type": "Function", - "tags": [], - "label": "get", - "description": [], - "signature": [ - "(key: string) => Promise" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.UiSettingsCommon.get.$1", - "type": "string", - "tags": [], - "label": "key", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.UiSettingsCommon.getAll", - "type": "Function", - "tags": [], - "label": "getAll", - "description": [], - "signature": [ - "() => Promise>" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.UiSettingsCommon.set", - "type": "Function", - "tags": [], - "label": "set", - "description": [], - "signature": [ - "(key: string, value: any) => Promise" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.UiSettingsCommon.set.$1", - "type": "string", - "tags": [], - "label": "key", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.UiSettingsCommon.set.$2", - "type": "Any", - "tags": [], - "label": "value", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.UiSettingsCommon.remove", - "type": "Function", - "tags": [], - "label": "remove", - "description": [], - "signature": [ - "(key: string) => Promise" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.UiSettingsCommon.remove.$1", - "type": "string", - "tags": [], - "label": "key", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - } - ], - "enums": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewType", - "type": "Enum", - "tags": [], - "label": "DataViewType", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternType", - "type": "Enum", - "tags": [ - "deprecated" - ], - "label": "IndexPatternType", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": true, - "references": [], - "initialIsOpen": false - } - ], - "misc": [ - { - "parentPluginId": "data", - "id": "def-common.AggregationRestrictions", - "type": "Type", - "tags": [], - "label": "AggregationRestrictions", - "description": [], - "signature": [ - "{ [x: string]: { agg?: string | undefined; interval?: number | undefined; fixed_interval?: string | undefined; calendar_interval?: string | undefined; delay?: string | undefined; time_zone?: string | undefined; }; }" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewFieldMap", - "type": "Type", - "tags": [], - "label": "DataViewFieldMap", - "description": [], - "signature": [ - "{ [x: string]: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "; }" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsContract", - "type": "Type", - "tags": [], - "label": "DataViewsContract", - "description": [], - "signature": [ - "{ get: (id: string) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - ", skipFetchFields?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">; find: (search: string, size?: number) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - "[]>; ensureDefaultDataView: ", - "EnsureDefaultDataView", - "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewListItem", - "text": "DataViewListItem" - }, - "[]>; clearCache: (id?: string | undefined) => void; getCache: () => Promise<", - "SavedObject", - ">[] | null | undefined>; getDefault: () => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserDataView: () => Promise; getFieldsForWildcard: (options: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - ") => Promise; getFieldsForIndexPattern: (indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - ", options?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - " | undefined) => Promise; refreshFields: (indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ") => Promise; fieldArrayToMap: (fields: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[], fieldAttrs?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldAttrs", - "text": "FieldAttrs" - }, - " | undefined) => Record; savedObjectToSpec: (savedObject: ", - "SavedObject", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewAttributes", - "text": "DataViewAttributes" - }, - ">) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - "; migrate: (indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ", newTitle: string) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewsService", - "text": "DataViewsService" - }, - ">; createAndSave: (spec: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - ", override?: boolean, skipFetchFields?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">; createSavedObject: (indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ", override?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">; updateSavedObject: (indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; }" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldFormatMap", - "type": "Type", - "tags": [], - "label": "FieldFormatMap", - "description": [], - "signature": [ - "{ [x: string]: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.SerializedFieldFormat", - "text": "SerializedFieldFormat" - }, - ">; }" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecConflictDescriptions", - "type": "Type", - "tags": [], - "label": "FieldSpecConflictDescriptions", - "description": [], - "signature": [ - "{ [x: string]: string[]; }" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternsApiClient", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "IIndexPatternsApiClient", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IDataViewsApiClient", - "text": "IDataViewsApiClient" - } - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": true, - "references": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternAttributes", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "IndexPatternAttributes", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewAttributes", - "text": "DataViewAttributes" - } - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": true, - "references": [ - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/lib/es_service.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/lib/es_service.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/lib/es_service.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/discover_main_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/discover_main_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/common/types/kibana.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/common/types/kibana.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/target/types/common/types/kibana.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/target/types/common/types/kibana.d.ts" - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternFieldMap", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "IndexPatternFieldMap", - "description": [], - "signature": [ - "{ [x: string]: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "; }" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": true, - "references": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternListItem", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "IndexPatternListItem", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewListItem", - "text": "DataViewListItem" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": true, - "references": [ - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternLoadExpressionFunctionDefinition", - "type": "Type", - "tags": [], - "label": "IndexPatternLoadExpressionFunctionDefinition", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"indexPatternLoad\", null, Arguments, Output, ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/data_views/expressions/load_index_pattern.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternsContract", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "IndexPatternsContract", - "description": [], - "signature": [ - "{ get: (id: string) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - ", skipFetchFields?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">; find: (search: string, size?: number) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - "[]>; ensureDefaultDataView: ", - "EnsureDefaultDataView", - "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewListItem", - "text": "DataViewListItem" - }, - "[]>; clearCache: (id?: string | undefined) => void; getCache: () => Promise<", - "SavedObject", - ">[] | null | undefined>; getDefault: () => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserDataView: () => Promise; getFieldsForWildcard: (options: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - ") => Promise; getFieldsForIndexPattern: (indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - ", options?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - " | undefined) => Promise; refreshFields: (indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ") => Promise; fieldArrayToMap: (fields: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[], fieldAttrs?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldAttrs", - "text": "FieldAttrs" - }, - " | undefined) => Record; savedObjectToSpec: (savedObject: ", - "SavedObject", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewAttributes", - "text": "DataViewAttributes" - }, - ">) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - "; migrate: (indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ", newTitle: string) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewsService", - "text": "DataViewsService" - }, - ">; createAndSave: (spec: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - ", override?: boolean, skipFetchFields?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">; createSavedObject: (indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ", override?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">; updateSavedObject: (indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; }" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": true, - "references": [ - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" - }, - { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/types.ts" - }, - { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/types.ts" - }, - { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts" - }, - { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/build_services.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/build_services.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/doc/components/doc.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/doc/components/doc.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/types.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/types.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/test_helpers/make_default_services.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/test_helpers/make_default_services.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/utils.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/utils.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable_factory.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable_factory.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/lazy_load_bundle/index.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/lazy_load_bundle/index.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/dependency_cache.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/dependency_cache.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/routing/resolvers.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/routing/resolvers.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/routing/router.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/routing/router.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/application.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/application.ts" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_patterns.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_patterns.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/target/types/public/application/routing/router.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/target/types/public/application/routing/router.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/target/types/public/application/util/dependency_cache.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/target/types/public/application/util/dependency_cache.d.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.test.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.test.ts" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts" - }, - { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_types/timelion/public/helpers/plugin_services.ts" - }, - { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_types/timelion/public/helpers/plugin_services.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/build_services.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/build_services.d.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" - }, - { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts" - }, - { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/_stubs.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/_stubs.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/doc/components/doc.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/doc/components/doc.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternSpec", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "IndexPatternSpec", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - } - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": true, - "references": [ - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.OnError", - "type": "Type", - "tags": [], - "label": "OnError", - "description": [], - "signature": [ - "(error: Error, toastInputFields: ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.ErrorToastOptions", - "text": "ErrorToastOptions" - }, - ") => void" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.OnError.$1", - "type": "Object", - "tags": [], - "label": "error", - "description": [], - "signature": [ - "Error" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.OnError.$2", - "type": "Object", - "tags": [], - "label": "toastInputFields", - "description": [], - "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.ErrorToastOptions", - "text": "ErrorToastOptions" - } - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.OnNotification", - "type": "Type", - "tags": [], - "label": "OnNotification", - "description": [], - "signature": [ - "(toastInputFields: ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.ToastInputFields", - "text": "ToastInputFields" - }, - ") => void" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.OnNotification.$1", - "type": "CompoundType", - "tags": [], - "label": "toastInputFields", - "description": [], - "signature": [ - "Pick<", - "Toast", - ", \"children\" | \"onClick\" | \"onChange\" | \"color\" | \"onKeyDown\" | \"security\" | \"defaultChecked\" | \"defaultValue\" | \"suppressContentEditableWarning\" | \"suppressHydrationWarning\" | \"accessKey\" | \"className\" | \"contentEditable\" | \"contextMenu\" | \"dir\" | \"draggable\" | \"hidden\" | \"lang\" | \"placeholder\" | \"slot\" | \"spellCheck\" | \"style\" | \"tabIndex\" | \"translate\" | \"radioGroup\" | \"role\" | \"about\" | \"datatype\" | \"inlist\" | \"prefix\" | \"property\" | \"resource\" | \"typeof\" | \"vocab\" | \"autoCapitalize\" | \"autoCorrect\" | \"autoSave\" | \"itemProp\" | \"itemScope\" | \"itemType\" | \"itemID\" | \"itemRef\" | \"results\" | \"unselectable\" | \"inputMode\" | \"is\" | \"aria-activedescendant\" | \"aria-atomic\" | \"aria-autocomplete\" | \"aria-busy\" | \"aria-checked\" | \"aria-colcount\" | \"aria-colindex\" | \"aria-colspan\" | \"aria-controls\" | \"aria-current\" | \"aria-describedby\" | \"aria-details\" | \"aria-disabled\" | \"aria-dropeffect\" | \"aria-errormessage\" | \"aria-expanded\" | \"aria-flowto\" | \"aria-grabbed\" | \"aria-haspopup\" | \"aria-hidden\" | \"aria-invalid\" | \"aria-keyshortcuts\" | \"aria-label\" | \"aria-labelledby\" | \"aria-level\" | \"aria-live\" | \"aria-modal\" | \"aria-multiline\" | \"aria-multiselectable\" | \"aria-orientation\" | \"aria-owns\" | \"aria-placeholder\" | \"aria-posinset\" | \"aria-pressed\" | \"aria-readonly\" | \"aria-relevant\" | \"aria-required\" | \"aria-roledescription\" | \"aria-rowcount\" | \"aria-rowindex\" | \"aria-rowspan\" | \"aria-selected\" | \"aria-setsize\" | \"aria-sort\" | \"aria-valuemax\" | \"aria-valuemin\" | \"aria-valuenow\" | \"aria-valuetext\" | \"dangerouslySetInnerHTML\" | \"onCopy\" | \"onCopyCapture\" | \"onCut\" | \"onCutCapture\" | \"onPaste\" | \"onPasteCapture\" | \"onCompositionEnd\" | \"onCompositionEndCapture\" | \"onCompositionStart\" | \"onCompositionStartCapture\" | \"onCompositionUpdate\" | \"onCompositionUpdateCapture\" | \"onFocus\" | \"onFocusCapture\" | \"onBlur\" | \"onBlurCapture\" | \"onChangeCapture\" | \"onBeforeInput\" | \"onBeforeInputCapture\" | \"onInput\" | \"onInputCapture\" | \"onReset\" | \"onResetCapture\" | \"onSubmit\" | \"onSubmitCapture\" | \"onInvalid\" | \"onInvalidCapture\" | \"onLoad\" | \"onLoadCapture\" | \"onError\" | \"onErrorCapture\" | \"onKeyDownCapture\" | \"onKeyPress\" | \"onKeyPressCapture\" | \"onKeyUp\" | \"onKeyUpCapture\" | \"onAbort\" | \"onAbortCapture\" | \"onCanPlay\" | \"onCanPlayCapture\" | \"onCanPlayThrough\" | \"onCanPlayThroughCapture\" | \"onDurationChange\" | \"onDurationChangeCapture\" | \"onEmptied\" | \"onEmptiedCapture\" | \"onEncrypted\" | \"onEncryptedCapture\" | \"onEnded\" | \"onEndedCapture\" | \"onLoadedData\" | \"onLoadedDataCapture\" | \"onLoadedMetadata\" | \"onLoadedMetadataCapture\" | \"onLoadStart\" | \"onLoadStartCapture\" | \"onPause\" | \"onPauseCapture\" | \"onPlay\" | \"onPlayCapture\" | \"onPlaying\" | \"onPlayingCapture\" | \"onProgress\" | \"onProgressCapture\" | \"onRateChange\" | \"onRateChangeCapture\" | \"onSeeked\" | \"onSeekedCapture\" | \"onSeeking\" | \"onSeekingCapture\" | \"onStalled\" | \"onStalledCapture\" | \"onSuspend\" | \"onSuspendCapture\" | \"onTimeUpdate\" | \"onTimeUpdateCapture\" | \"onVolumeChange\" | \"onVolumeChangeCapture\" | \"onWaiting\" | \"onWaitingCapture\" | \"onAuxClick\" | \"onAuxClickCapture\" | \"onClickCapture\" | \"onContextMenu\" | \"onContextMenuCapture\" | \"onDoubleClick\" | \"onDoubleClickCapture\" | \"onDrag\" | \"onDragCapture\" | \"onDragEnd\" | \"onDragEndCapture\" | \"onDragEnter\" | \"onDragEnterCapture\" | \"onDragExit\" | \"onDragExitCapture\" | \"onDragLeave\" | \"onDragLeaveCapture\" | \"onDragOver\" | \"onDragOverCapture\" | \"onDragStart\" | \"onDragStartCapture\" | \"onDrop\" | \"onDropCapture\" | \"onMouseDown\" | \"onMouseDownCapture\" | \"onMouseEnter\" | \"onMouseLeave\" | \"onMouseMove\" | \"onMouseMoveCapture\" | \"onMouseOut\" | \"onMouseOutCapture\" | \"onMouseOver\" | \"onMouseOverCapture\" | \"onMouseUp\" | \"onMouseUpCapture\" | \"onSelect\" | \"onSelectCapture\" | \"onTouchCancel\" | \"onTouchCancelCapture\" | \"onTouchEnd\" | \"onTouchEndCapture\" | \"onTouchMove\" | \"onTouchMoveCapture\" | \"onTouchStart\" | \"onTouchStartCapture\" | \"onPointerDown\" | \"onPointerDownCapture\" | \"onPointerMove\" | \"onPointerMoveCapture\" | \"onPointerUp\" | \"onPointerUpCapture\" | \"onPointerCancel\" | \"onPointerCancelCapture\" | \"onPointerEnter\" | \"onPointerEnterCapture\" | \"onPointerLeave\" | \"onPointerLeaveCapture\" | \"onPointerOver\" | \"onPointerOverCapture\" | \"onPointerOut\" | \"onPointerOutCapture\" | \"onGotPointerCapture\" | \"onGotPointerCaptureCapture\" | \"onLostPointerCapture\" | \"onLostPointerCaptureCapture\" | \"onScroll\" | \"onScrollCapture\" | \"onWheel\" | \"onWheelCapture\" | \"onAnimationStart\" | \"onAnimationStartCapture\" | \"onAnimationEnd\" | \"onAnimationEndCapture\" | \"onAnimationIteration\" | \"onAnimationIterationCapture\" | \"onTransitionEnd\" | \"onTransitionEndCapture\" | \"data-test-subj\" | \"iconType\" | \"toastLifeTimeMs\" | \"onClose\"> & { title?: string | ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, - " | undefined; text?: string | ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, - " | undefined; }" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.OnUnsupportedTimePattern", - "type": "Type", - "tags": [], - "label": "OnUnsupportedTimePattern", - "description": [], - "signature": [ - "({ id, title, index, }: { id: string; title: string; index: string; }) => void" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.OnUnsupportedTimePattern.$1", - "type": "Object", - "tags": [], - "label": "__0", - "description": [], - "signature": [ - "{ id: string; title: string; index: string; }" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.RuntimeType", - "type": "Type", - "tags": [], - "label": "RuntimeType", - "description": [], - "signature": [ - "\"boolean\" | \"date\" | \"keyword\" | \"geo_point\" | \"ip\" | \"long\" | \"double\"" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "initialIsOpen": false - } - ], - "objects": [ - { - "parentPluginId": "data", - "id": "def-common.FLEET_ASSETS_TO_IGNORE", - "type": "Object", - "tags": [], - "label": "FLEET_ASSETS_TO_IGNORE", - "description": [ - "\nUsed to determine if the instance has any user created index patterns by filtering index patterns\nthat are created and backed only by Fleet server data\nShould be revised after https://github.com/elastic/kibana/issues/82851 is fixed\nFor more background see: https://github.com/elastic/kibana/issues/107020" - ], - "path": "src/plugins/data/common/data_views/constants.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.FLEET_ASSETS_TO_IGNORE.LOGS_INDEX_PATTERN", - "type": "string", - "tags": [], - "label": "LOGS_INDEX_PATTERN", - "description": [], - "path": "src/plugins/data/common/data_views/constants.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FLEET_ASSETS_TO_IGNORE.METRICS_INDEX_PATTERN", - "type": "string", - "tags": [], - "label": "METRICS_INDEX_PATTERN", - "description": [], - "path": "src/plugins/data/common/data_views/constants.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FLEET_ASSETS_TO_IGNORE.LOGS_DATA_STREAM_TO_IGNORE", - "type": "string", - "tags": [], - "label": "LOGS_DATA_STREAM_TO_IGNORE", - "description": [], - "path": "src/plugins/data/common/data_views/constants.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FLEET_ASSETS_TO_IGNORE.METRICS_DATA_STREAM_TO_IGNORE", - "type": "string", - "tags": [], - "label": "METRICS_DATA_STREAM_TO_IGNORE", - "description": [], - "path": "src/plugins/data/common/data_views/constants.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FLEET_ASSETS_TO_IGNORE.METRICS_ENDPOINT_INDEX_TO_IGNORE", - "type": "string", - "tags": [], - "label": "METRICS_ENDPOINT_INDEX_TO_IGNORE", - "description": [], - "path": "src/plugins/data/common/data_views/constants.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.RUNTIME_FIELD_TYPES", - "type": "Object", - "tags": [], - "label": "RUNTIME_FIELD_TYPES", - "description": [], - "signature": [ - "readonly [\"keyword\", \"long\", \"double\", \"date\", \"ip\", \"boolean\", \"geo_point\"]" - ], - "path": "src/plugins/data/common/data_views/constants.ts", - "deprecated": false, - "initialIsOpen": false - } - ] - } -} \ No newline at end of file diff --git a/api_docs/data_data_views.mdx b/api_docs/data_data_views.mdx deleted file mode 100644 index c983813787747..0000000000000 --- a/api_docs/data_data_views.mdx +++ /dev/null @@ -1,53 +0,0 @@ ---- -id: kibDataDataViewsPluginApi -slug: /kibana-dev-docs/data.dataViewsPluginApi -title: data.dataViews -image: https://source.unsplash.com/400x175/?github -summary: API docs for the data.dataViews plugin -date: 2020-11-16 -tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.dataViews'] -warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. ---- -import dataDataViewsObj from './data_data_views.json'; - -Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. - -Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) for questions regarding this plugin. - -**Code health stats** - -| Public API count | Any count | Items lacking comments | Missing exports | -|-------------------|-----------|------------------------|-----------------| -| 3201 | 44 | 2815 | 49 | - -## Server - -### Functions - - -### Classes - - -### Interfaces - - -## Common - -### Objects - - -### Functions - - -### Classes - - -### Interfaces - - -### Enums - - -### Consts, variables and types - - diff --git a/api_docs/data_enhanced.mdx b/api_docs/data_enhanced.mdx index c1b30c5158d56..7da000f78f61d 100644 --- a/api_docs/data_enhanced.mdx +++ b/api_docs/data_enhanced.mdx @@ -1,7 +1,7 @@ --- id: kibDataEnhancedPluginApi -slug: /kibana-dev-docs/dataEnhancedPluginApi -title: dataEnhanced +slug: /kibana-dev-docs/api/dataEnhanced +title: "dataEnhanced" image: https://source.unsplash.com/400x175/?github summary: API docs for the dataEnhanced plugin date: 2020-11-16 diff --git a/api_docs/data_query.json b/api_docs/data_query.json index 10c27aa063ca7..e711d7c5bbb76 100644 --- a/api_docs/data_query.json +++ b/api_docs/data_query.json @@ -26,7 +26,13 @@ "text": "PersistableStateService" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -77,7 +83,13 @@ "description": [], "signature": [ "() => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -94,7 +106,13 @@ "description": [], "signature": [ "() => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -111,7 +129,13 @@ "description": [], "signature": [ "() => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -178,9 +202,21 @@ "description": [], "signature": [ "(filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], pinFilterStatus?: boolean) => void" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -194,9 +230,21 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -229,7 +277,13 @@ "description": [], "signature": [ "(newFilters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], pinFilterStatus?: boolean) => void" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -243,7 +297,13 @@ "label": "newFilters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -278,7 +338,13 @@ ], "signature": [ "(newGlobalFilters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]) => void" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -292,7 +358,13 @@ "label": "newGlobalFilters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -313,7 +385,13 @@ ], "signature": [ "(newAppFilters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]) => void" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -327,7 +405,13 @@ "label": "newAppFilters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -346,7 +430,13 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ") => void" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -360,7 +450,13 @@ "label": "filter", "description": [], "signature": [ - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", "deprecated": false, @@ -393,9 +489,21 @@ "description": [], "signature": [ "(filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, ", shouldOverrideStore?: boolean) => void" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -409,7 +517,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -424,7 +538,13 @@ "label": "store", "description": [], "signature": [ - "FilterStateStore" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + } ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", "deprecated": false, @@ -482,7 +602,13 @@ "description": [], "signature": [ "(filters: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ", collector: unknown) => {}" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -497,7 +623,13 @@ "label": "filters", "description": [], "signature": [ - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/data/common/query/persistable_state.ts", "deprecated": false @@ -686,7 +818,13 @@ "text": "QueryState" }, ">({ timefilter: { timefilter }, filterManager, queryString, state$, }: Pick<{ addToQueryLog: (appName: string, { language, query }: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, ") => void; filterManager: ", { "pluginId": "data", @@ -727,9 +865,9 @@ "TimefilterSetup", "; getEsQuery: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -742,7 +880,13 @@ "text": "TimeRange" }, " | undefined) => { bool: ", - "BoolQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + }, "; }; } | { filterManager: ", { "pluginId": "data", @@ -782,7 +926,13 @@ "text": "BaseStateContainer" }, ", syncConfig: { time?: boolean | undefined; refreshInterval?: boolean | undefined; filters?: boolean | ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, " | undefined; query?: boolean | undefined; }) => () => void" ], "path": "src/plugins/data/public/query/state_sync/connect_to_query_state.ts", @@ -797,7 +947,13 @@ "description": [], "signature": [ "Pick<{ addToQueryLog: (appName: string, { language, query }: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, ") => void; filterManager: ", { "pluginId": "data", @@ -838,9 +994,9 @@ "TimefilterSetup", "; getEsQuery: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -853,7 +1009,13 @@ "text": "TimeRange" }, " | undefined) => { bool: ", - "BoolQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + }, "; }; } | { filterManager: ", { "pluginId": "data", @@ -958,7 +1120,13 @@ "description": [], "signature": [ "boolean | ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, " | undefined" ], "path": "src/plugins/data/public/query/state_sync/connect_to_query_state.ts", @@ -1046,9 +1214,21 @@ "description": [], "signature": [ "(filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], timeFieldName: string | undefined) => { restOfFilters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; timeRange?: ", { "pluginId": "data", @@ -1070,7 +1250,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/timefilter/lib/extract_time_filter.ts", @@ -1115,14 +1301,20 @@ }, ", field: string | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, ", values: any, operation: string, index: string) => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts", @@ -1162,9 +1354,9 @@ "signature": [ "string | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" } @@ -1271,12 +1463,18 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ", indexPatterns: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -1293,7 +1491,13 @@ "label": "filter", "description": [], "signature": [ - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "src/plugins/data/public/query/filter_manager/lib/get_display_value.ts", "deprecated": false, @@ -1308,9 +1512,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -1335,7 +1539,13 @@ ], "signature": [ "(query: Pick<{ addToQueryLog: (appName: string, { language, query }: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, ") => void; filterManager: ", { "pluginId": "data", @@ -1376,9 +1586,9 @@ "TimefilterSetup", "; getEsQuery: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -1391,7 +1601,13 @@ "text": "TimeRange" }, " | undefined) => { bool: ", - "BoolQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + }, "; }; } | { filterManager: ", { "pluginId": "data", @@ -1444,7 +1660,13 @@ "description": [], "signature": [ "Pick<{ addToQueryLog: (appName: string, { language, query }: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, ") => void; filterManager: ", { "pluginId": "data", @@ -1485,9 +1707,9 @@ "TimefilterSetup", "; getEsQuery: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -1500,7 +1722,13 @@ "text": "TimeRange" }, " | undefined) => { bool: ", - "BoolQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + }, "; }; } | { filterManager: ", { "pluginId": "data", @@ -1625,7 +1853,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "src/plugins/data/public/query/state_sync/types.ts", @@ -1639,7 +1873,13 @@ "label": "query", "description": [], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "src/plugins/data/public/query/state_sync/types.ts", @@ -2008,7 +2248,13 @@ "description": [], "signature": [ "{ addToQueryLog: (appName: string, { language, query }: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, ") => void; filterManager: ", { "pluginId": "data", @@ -2049,9 +2295,9 @@ "TimefilterSetup", "; getEsQuery: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -2064,7 +2310,13 @@ "text": "TimeRange" }, " | undefined) => { bool: ", - "BoolQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + }, "; }; }" ], "path": "src/plugins/data/public/query/query_service.ts", @@ -2162,9 +2414,9 @@ }, ">) => void; createFilter: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -2177,16 +2429,28 @@ "text": "TimeRange" }, " | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined; createRelativeFilter: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -2199,9 +2463,21 @@ "text": "TimeRange" }, " | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined; getBounds: () => ", @@ -2455,9 +2731,9 @@ "signature": [ "(indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -2470,9 +2746,21 @@ "text": "TimeRange" }, ", options: { forceNow?: Date | undefined; fieldName?: string | undefined; } | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined" @@ -2489,9 +2777,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -2573,9 +2861,9 @@ "signature": [ "(indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -2588,9 +2876,21 @@ "text": "TimeRange" }, ", options: { forceNow?: Date | undefined; fieldName?: string | undefined; } | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined" @@ -2607,9 +2907,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -2690,7 +2990,13 @@ "description": [], "signature": [ "(x: unknown) => x is ", - "Query" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + } ], "path": "src/plugins/data/common/query/is_query.ts", "deprecated": false, diff --git a/api_docs/data_query.mdx b/api_docs/data_query.mdx index ed707dddf8357..bf310e14a12c0 100644 --- a/api_docs/data_query.mdx +++ b/api_docs/data_query.mdx @@ -1,7 +1,7 @@ --- id: kibDataQueryPluginApi -slug: /kibana-dev-docs/data.queryPluginApi -title: data.query +slug: /kibana-dev-docs/api/data-query +title: "data.query" image: https://source.unsplash.com/400x175/?github summary: API docs for the data.query plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3201 | 44 | 2815 | 49 | +| 3210 | 43 | 2825 | 48 | ## Client diff --git a/api_docs/data_search.json b/api_docs/data_search.json index 0d1a90fc15319..a17d25b4307e7 100644 --- a/api_docs/data_search.json +++ b/api_docs/data_search.json @@ -333,9 +333,9 @@ }, ") => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -365,14 +365,20 @@ }, ") => boolean; }; createAggConfigs: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, ", configStates?: Pick & Pick<{ type: string | ", { "pluginId": "data", @@ -2271,13 +2277,7 @@ "label": "uiSettingsClient", "description": [], "signature": [ - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.IUiSettingsClient", - "text": "IUiSettingsClient" - } + "{ get: (key: string) => Promise; }" ], "path": "src/plugins/data/server/search/types.ts", "deprecated": false @@ -2586,7 +2586,13 @@ "description": [], "signature": [ "Pick & Pick<{ type: ", { "pluginId": "data", @@ -2953,7 +2959,13 @@ "description": [], "signature": [ "() => { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -2974,7 +2986,13 @@ "description": [], "signature": [ "() => { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -3285,9 +3303,9 @@ "signature": [ "() => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" } @@ -3504,9 +3522,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" } @@ -3615,9 +3633,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" } @@ -3635,7 +3653,13 @@ "description": [], "signature": [ "Pick & Pick<{ type: string | ", { "pluginId": "data", @@ -3874,7 +3898,13 @@ "text": "AggConfig" }, ">(params: Pick & Pick<{ type: string | ", { "pluginId": "data", @@ -3905,7 +3935,13 @@ "description": [], "signature": [ "Pick & Pick<{ type: string | ", { "pluginId": "data", @@ -4336,7 +4372,13 @@ "description": [], "signature": [ "(forceNow?: Date | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, "[] | { meta: { index: string | undefined; params: {}; alias: string; disabled: boolean; negate: boolean; }; query: { bool: { should: { bool: { filter: { range: { [x: string]: { gte: string; lte: string; }; }; }[]; }; }[]; minimum_should_match: number; }; }; }[]" ], "path": "src/plugins/data/common/search/aggs/agg_configs.ts", @@ -4636,7 +4678,13 @@ "description": [], "signature": [ "(agg: TAggConfig, state?: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined) => TAggConfig" ], "path": "src/plugins/data/common/search/aggs/param_types/agg.ts", @@ -4665,7 +4713,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/param_types/agg.ts", @@ -6665,9 +6719,21 @@ "label": "filterFieldTypes", "description": [], "signature": [ - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, " | \"*\" | ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "[]" ], "path": "src/plugins/data/common/search/aggs/param_types/field.ts", @@ -6733,9 +6799,9 @@ }, ") => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" }, @@ -6839,7 +6905,13 @@ "label": "unit", "description": [], "signature": [ - "Unit" + { + "pluginId": "@elastic/datemath", + "scope": "server", + "docId": "kibElasticDatemathPluginApi", + "section": "def-server.Unit", + "text": "Unit" + } ], "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/invalid_es_calendar_interval_error.ts", "deprecated": false, @@ -8303,9 +8375,9 @@ "signature": [ "(indexPatterns: Pick<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewsService", "text": "DataViewsService" }, @@ -8356,9 +8428,9 @@ "signature": [ "Pick<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewsService", "text": "DataViewsService" }, @@ -9310,9 +9382,9 @@ "signature": [ "(indexPatterns: Pick<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewsService", "text": "DataViewsService" }, @@ -9357,9 +9429,9 @@ "signature": [ "Pick<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewsService", "text": "DataViewsService" }, @@ -9598,9 +9670,21 @@ "description": [], "signature": [ "(filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]) => ", { "pluginId": "expressions", @@ -9622,9 +9706,21 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/common/search/expressions/filters_to_ast.ts", @@ -9670,7 +9766,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => any" ], "path": "src/plugins/data/common/search/expressions/utils/function_wrapper.ts", @@ -11683,9 +11785,9 @@ }, ", indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -11723,9 +11825,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" } @@ -12472,7 +12574,13 @@ ], "signature": [ "(interval: string) => { value: number; unit: ", - "Unit", + { + "pluginId": "@elastic/datemath", + "scope": "server", + "docId": "kibElasticDatemathPluginApi", + "section": "def-server.Unit", + "text": "Unit" + }, "; type: \"calendar\" | \"fixed\"; }" ], "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_es_interval.ts", @@ -12777,7 +12885,13 @@ "description": [], "signature": [ "(query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, ") => ", { "pluginId": "expressions", @@ -12798,7 +12912,13 @@ "label": "query", "description": [], "signature": [ - "Query" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + } ], "path": "src/plugins/data/common/search/expressions/query_to_ast.ts", "deprecated": false, @@ -12817,7 +12937,13 @@ "description": [], "signature": [ "(interval: string) => { value: number; unit: ", - "Unit", + { + "pluginId": "@elastic/datemath", + "scope": "server", + "docId": "kibElasticDatemathPluginApi", + "section": "def-server.Unit", + "text": "Unit" + }, "; } | null" ], "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_interval.ts", @@ -12939,9 +13065,9 @@ "SearchResponse", ", index?: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -12983,9 +13109,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -13297,7 +13423,13 @@ "text": "ExpressionValueBoxed" }, "<\"kibana_query\", ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "> | undefined; }, \"filter\" | \"geo_bounding_box\"> & Pick<{ geo_bounding_box?: ({ type: \"geo_bounding_box\"; } & GeoBox) | ({ type: \"geo_bounding_box\"; } & { top_left: ", { "pluginId": "data", @@ -13339,7 +13471,13 @@ "text": "ExpressionValueBoxed" }, "<\"kibana_query\", ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "> | undefined; }, never>, \"enabled\" | \"id\" | \"filter\" | \"schema\" | \"geo_bounding_box\" | \"json\" | \"customLabel\" | \"timeShift\">, ", "AggExpressionType", ", ", @@ -13359,7 +13497,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -13441,7 +13585,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -13491,7 +13641,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -13605,7 +13761,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -13687,7 +13849,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -13769,7 +13937,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -13819,7 +13993,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -13933,7 +14113,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14015,7 +14201,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14129,7 +14321,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14183,7 +14381,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14233,7 +14437,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14291,7 +14501,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14349,7 +14565,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14407,7 +14629,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14465,7 +14693,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14523,7 +14757,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14573,7 +14813,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14623,7 +14869,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14677,7 +14929,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14731,7 +14989,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14781,7 +15045,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14831,7 +15101,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14881,7 +15157,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14931,7 +15213,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14981,7 +15269,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15031,7 +15325,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15085,7 +15385,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15135,7 +15441,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15185,7 +15497,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15239,7 +15557,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15289,7 +15613,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15339,7 +15669,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15389,7 +15725,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15539,7 +15881,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_avg.ts", @@ -15554,7 +15902,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_avg.ts", @@ -15593,7 +15947,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_max.ts", @@ -15608,7 +15968,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_max.ts", @@ -15647,7 +16013,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_min.ts", @@ -15662,7 +16034,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_min.ts", @@ -15701,7 +16079,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_sum.ts", @@ -15716,7 +16100,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_sum.ts", @@ -15802,7 +16192,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/cumulative_sum.ts", @@ -15855,9 +16251,9 @@ "signature": [ "string | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, @@ -16139,7 +16535,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/derivative.ts", @@ -16280,7 +16682,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/filtered_metric.ts", @@ -16295,7 +16703,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/filtered_metric.ts", @@ -16994,7 +17408,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/moving_avg.ts", @@ -17207,7 +17627,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/serial_diff.ts", @@ -17464,7 +17890,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/buckets/terms.ts", @@ -18210,9 +18642,21 @@ "label": "filterFieldTypes", "description": [], "signature": [ - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, " | \"*\" | ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "[] | undefined" ], "path": "src/plugins/data/common/search/aggs/buckets/bucket_agg_type.ts", @@ -19836,9 +20280,9 @@ ], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -20100,9 +20544,21 @@ "label": "filterFieldTypes", "description": [], "signature": [ - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, " | \"*\" | ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "[] | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/metric_agg_type.ts", @@ -21232,7 +21688,13 @@ "\n{@link Query}" ], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "src/plugins/data/common/search/search_source/types.ts", @@ -21248,13 +21710,37 @@ "\n{@link Filter}" ], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | (() => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined) | undefined" ], "path": "src/plugins/data/common/search/search_source/types.ts", @@ -21497,9 +21983,9 @@ ], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -22026,7 +22512,13 @@ "text": "IAggType" }, "; enabled?: boolean | undefined; id?: string | undefined; schema?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -22042,7 +22534,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -22456,9 +22954,9 @@ }, ") => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -22488,14 +22986,20 @@ }, ") => boolean; }; createAggConfigs: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, ", configStates?: Pick & Pick<{ type: string | ", { "pluginId": "data", @@ -22684,7 +23188,13 @@ "text": "IAggType" }, "; enabled?: boolean | undefined; id?: string | undefined; schema?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_configs.ts", @@ -22824,7 +23334,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts", @@ -22863,7 +23379,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/esdsl.ts", @@ -22968,11 +23490,29 @@ "description": [], "signature": [ "{ filters?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined; query?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "[] | undefined; timeRange?: ", { "pluginId": "data", @@ -23043,7 +23583,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/cidr.ts", @@ -23106,7 +23652,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/date_range.ts", @@ -23137,7 +23689,13 @@ "text": "ExpressionValueBoxed" }, "<\"kibana_filter\", ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ">, ", { "pluginId": "expressions", @@ -23155,7 +23713,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/exists_filter.ts", @@ -23218,7 +23782,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/extended_bounds.ts", @@ -23250,9 +23820,9 @@ }, "<\"kibana_field\", ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPatternField", "text": "IndexPatternField" }, @@ -23273,7 +23843,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/field.ts", @@ -23328,7 +23904,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/geo_bounding_box.ts", @@ -23383,7 +23965,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/geo_point.ts", @@ -23446,7 +24034,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/ip_range.ts", @@ -23599,7 +24193,13 @@ "text": "ExpressionValueBoxed" }, "<\"kibana_filter\", ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ">, ", { "pluginId": "expressions", @@ -23617,7 +24217,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/kibana_filter.ts", @@ -23680,7 +24286,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/timerange.ts", @@ -23711,7 +24323,13 @@ "text": "ExpressionValueBoxed" }, "<\"kibana_query\", ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, ">, ", { "pluginId": "expressions", @@ -23729,7 +24347,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/kql.ts", @@ -23760,7 +24384,13 @@ "text": "ExpressionValueBoxed" }, "<\"kibana_query\", ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, ">, ", { "pluginId": "expressions", @@ -23778,7 +24408,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/lucene.ts", @@ -23841,7 +24477,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/numerical_range.ts", @@ -23872,7 +24514,13 @@ "text": "ExpressionValueBoxed" }, "<\"kibana_filter\", ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ">, ", { "pluginId": "expressions", @@ -23890,7 +24538,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/phrase_filter.ts", @@ -23945,7 +24599,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/query_filter.ts", @@ -23992,7 +24652,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/range.ts", @@ -24023,7 +24689,13 @@ "text": "ExpressionValueBoxed" }, "<\"kibana_filter\", ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ">, ", { "pluginId": "expressions", @@ -24041,7 +24713,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/range_filter.ts", @@ -24098,9 +24776,21 @@ "label": "FieldTypes", "description": [], "signature": [ - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, " | \"*\" | ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "[]" ], "path": "src/plugins/data/common/search/aggs/param_types/field.ts", @@ -25036,9 +25726,9 @@ "signature": [ "{ type: \"kibana_field\"; } & ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPatternField", "text": "IndexPatternField" } @@ -25056,7 +25746,13 @@ "description": [], "signature": [ "{ type: \"kibana_filter\"; } & ", - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "src/plugins/data/common/search/expressions/kibana_context_type.ts", "deprecated": false, @@ -25071,7 +25767,13 @@ "description": [], "signature": [ "{ type: \"kibana_query\"; } & ", - "Query" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + } ], "path": "src/plugins/data/common/search/expressions/kibana_context_type.ts", "deprecated": false, @@ -25153,7 +25855,13 @@ "description": [], "signature": [ "{ value: number; unit: ", - "Unit", + { + "pluginId": "@elastic/datemath", + "scope": "server", + "docId": "kibElasticDatemathPluginApi", + "section": "def-server.Unit", + "text": "Unit" + }, "; type: \"calendar\" | \"fixed\"; }" ], "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_es_interval.ts", @@ -25948,9 +26656,21 @@ "description": [], "signature": [ "(input: null, args: Arguments) => { $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; type: \"kibana_filter\"; }" ], "path": "src/plugins/data/common/search/expressions/exists_filter.ts", @@ -26412,9 +27132,9 @@ }, "<\"kibana_field\", ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPatternField", "text": "IndexPatternField" }, @@ -28588,9 +29308,21 @@ "description": [], "signature": [ "{ scriptable?: boolean | undefined; filterFieldTypes?: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, " | \"*\" | ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "[] | undefined; makeAgg?: ((agg: ", { "pluginId": "data", @@ -28600,7 +29332,13 @@ "text": "IBucketAggConfig" }, ", state?: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined) => ", { "pluginId": "data", @@ -29275,9 +30013,21 @@ "description": [], "signature": [ "(input: null, args: Arguments) => { $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; type: \"kibana_filter\"; }" ], "path": "src/plugins/data/common/search/expressions/phrase_filter.ts", @@ -29771,9 +30521,21 @@ "description": [], "signature": [ "(input: null, args: Arguments) => { $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; type: \"kibana_filter\"; }" ], "path": "src/plugins/data/common/search/expressions/range_filter.ts", diff --git a/api_docs/data_search.mdx b/api_docs/data_search.mdx index 2e20a2502c449..cdb3d58ce3297 100644 --- a/api_docs/data_search.mdx +++ b/api_docs/data_search.mdx @@ -1,7 +1,7 @@ --- id: kibDataSearchPluginApi -slug: /kibana-dev-docs/data.searchPluginApi -title: data.search +slug: /kibana-dev-docs/api/data-search +title: "data.search" image: https://source.unsplash.com/400x175/?github summary: API docs for the data.search plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3201 | 44 | 2815 | 49 | +| 3210 | 43 | 2825 | 48 | ## Client diff --git a/api_docs/data_ui.json b/api_docs/data_ui.json index cc959cd4a4176..b8acd6a7ee454 100644 --- a/api_docs/data_ui.json +++ b/api_docs/data_ui.json @@ -136,9 +136,9 @@ "signature": [ "(string | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -289,7 +289,13 @@ "description": [], "signature": [ "((query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, ") => void) | undefined" ], "path": "src/plugins/data/public/ui/query_string_input/query_string_input.tsx", @@ -303,7 +309,13 @@ "label": "query", "description": [], "signature": [ - "Query" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + } ], "path": "src/plugins/data/public/ui/query_string_input/query_string_input.tsx", "deprecated": false, @@ -351,7 +363,13 @@ "description": [], "signature": [ "((query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, ") => void) | undefined" ], "path": "src/plugins/data/public/ui/query_string_input/query_string_input.tsx", @@ -365,7 +383,13 @@ "label": "query", "description": [], "signature": [ - "Query" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + } ], "path": "src/plugins/data/public/ui/query_string_input/query_string_input.tsx", "deprecated": false, diff --git a/api_docs/data_ui.mdx b/api_docs/data_ui.mdx index ad02944aca6c5..25333ca44b600 100644 --- a/api_docs/data_ui.mdx +++ b/api_docs/data_ui.mdx @@ -1,7 +1,7 @@ --- id: kibDataUiPluginApi -slug: /kibana-dev-docs/data.uiPluginApi -title: data.ui +slug: /kibana-dev-docs/api/data-ui +title: "data.ui" image: https://source.unsplash.com/400x175/?github summary: API docs for the data.ui plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3201 | 44 | 2815 | 49 | +| 3210 | 43 | 2825 | 48 | ## Client diff --git a/api_docs/data_views.json b/api_docs/data_views.json new file mode 100644 index 0000000000000..7585271e4d51b --- /dev/null +++ b/api_docs/data_views.json @@ -0,0 +1,27060 @@ +{ + "id": "dataViews", + "client": { + "classes": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView", + "type": "Class", + "tags": [], + "label": "DataView", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " implements ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPattern", + "text": "IIndexPattern" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.fieldFormatMap", + "type": "Object", + "tags": [], + "label": "fieldFormatMap", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.typeMeta", + "type": "Object", + "tags": [], + "label": "typeMeta", + "description": [ + "\nOnly used by rollup indices, used by rollup specific endpoint to load field list" + ], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.TypeMeta", + "text": "TypeMeta" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.fields", + "type": "CompoundType", + "tags": [], + "label": "fields", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPatternFieldList", + "text": "IIndexPatternFieldList" + }, + " & { toSpec: () => Record; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.timeFieldName", + "type": "string", + "tags": [], + "label": "timeFieldName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.intervalName", + "type": "string", + "tags": [ + "deprecated" + ], + "label": "intervalName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.type", + "type": "string", + "tags": [], + "label": "type", + "description": [ + "\nType is used to identify rollup index patterns" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.formatHit", + "type": "Function", + "tags": [], + "label": "formatHit", + "description": [], + "signature": [ + "{ (hit: Record, type?: string | undefined): any; formatField: FormatFieldFn; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.formatHit.$1", + "type": "Object", + "tags": [], + "label": "hit", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.formatHit.$2", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.formatField", + "type": "Function", + "tags": [], + "label": "formatField", + "description": [], + "signature": [ + "(hit: Record, fieldName: string) => any" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.formatField.$1", + "type": "Object", + "tags": [], + "label": "hit", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.formatField.$2", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.flattenHit", + "type": "Function", + "tags": [], + "label": "flattenHit", + "description": [], + "signature": [ + "(hit: Record, deep?: boolean | undefined) => Record" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.flattenHit.$1", + "type": "Object", + "tags": [], + "label": "hit", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.flattenHit.$2", + "type": "CompoundType", + "tags": [], + "label": "deep", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.metaFields", + "type": "Array", + "tags": [], + "label": "metaFields", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.version", + "type": "string", + "tags": [], + "label": "version", + "description": [ + "\nSavedObject version" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.sourceFilters", + "type": "Array", + "tags": [], + "label": "sourceFilters", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.SourceFilter", + "text": "SourceFilter" + }, + "[] | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.allowNoIndex", + "type": "boolean", + "tags": [], + "label": "allowNoIndex", + "description": [ + "\nprevents errors when index pattern exists before indices" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "{ spec = {}, fieldFormats, shortDotsEnable = false, metaFields = [] }", + "description": [], + "signature": [ + "DataViewDeps" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getOriginalSavedObjectBody", + "type": "Function", + "tags": [], + "label": "getOriginalSavedObjectBody", + "description": [ + "\nGet last saved saved object fields" + ], + "signature": [ + "() => { fieldAttrs?: string | undefined; title?: string | undefined; timeFieldName?: string | undefined; intervalName?: string | undefined; fields?: string | undefined; sourceFilters?: string | undefined; fieldFormatMap?: string | undefined; typeMeta?: string | undefined; type?: string | undefined; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.resetOriginalSavedObjectBody", + "type": "Function", + "tags": [], + "label": "resetOriginalSavedObjectBody", + "description": [ + "\nReset last saved saved object fields. used after saving" + ], + "signature": [ + "() => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getFieldAttrs", + "type": "Function", + "tags": [], + "label": "getFieldAttrs", + "description": [], + "signature": [ + "() => { [x: string]: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrSet", + "text": "FieldAttrSet" + }, + "; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getComputedFields", + "type": "Function", + "tags": [], + "label": "getComputedFields", + "description": [], + "signature": [ + "() => { storedFields: string[]; scriptFields: Record; docvalueFields: { field: string; format: string; }[]; runtimeFields: Record; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.toSpec", + "type": "Function", + "tags": [], + "label": "toSpec", + "description": [ + "\nCreate static representation of index pattern" + ], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getSourceFiltering", + "type": "Function", + "tags": [], + "label": "getSourceFiltering", + "description": [ + "\nGet the source filtering configuration for that index." + ], + "signature": [ + "() => { excludes: string[]; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.addScriptedField", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "addScriptedField", + "description": [ + "\nAdd scripted field to field list\n" + ], + "signature": [ + "(name: string, script: string, fieldType?: string) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.addScriptedField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [ + "field name" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.addScriptedField.$2", + "type": "string", + "tags": [], + "label": "script", + "description": [ + "script code" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.addScriptedField.$3", + "type": "string", + "tags": [], + "label": "fieldType", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.removeScriptedField", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "removeScriptedField", + "description": [ + "\nRemove scripted field from field list" + ], + "signature": [ + "(fieldName: string) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + } + ], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.removeScriptedField.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getNonScriptedFields", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "getNonScriptedFields", + "description": [ + "\n" + ], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/lib/fetch_fields.ts" + } + ], + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getScriptedFields", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "getScriptedFields", + "description": [ + "\n" + ], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + } + ], + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getIndex", + "type": "Function", + "tags": [], + "label": "getIndex", + "description": [], + "signature": [ + "() => string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.isUnsupportedTimePattern", + "type": "Function", + "tags": [], + "label": "isUnsupportedTimePattern", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.isTimeBased", + "type": "Function", + "tags": [], + "label": "isTimeBased", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.isTimeNanosBased", + "type": "Function", + "tags": [], + "label": "isTimeNanosBased", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getTimeField", + "type": "Function", + "tags": [], + "label": "getTimeField", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getFieldByName", + "type": "Function", + "tags": [], + "label": "getFieldByName", + "description": [], + "signature": [ + "(name: string) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getFieldByName.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getAggregationRestrictions", + "type": "Function", + "tags": [], + "label": "getAggregationRestrictions", + "description": [], + "signature": [ + "() => Record> | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getAsSavedObjectBody", + "type": "Function", + "tags": [], + "label": "getAsSavedObjectBody", + "description": [ + "\nReturns index pattern as saved object body for saving" + ], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [ + "\nProvide a field, get its formatter" + ], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getFormatterForField.$1", + "type": "CompoundType", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.addRuntimeField", + "type": "Function", + "tags": [], + "label": "addRuntimeField", + "description": [ + "\nAdd a runtime field - Appended to existing mapped field or a new field is\ncreated as appropriate" + ], + "signature": [ + "(name: string, runtimeField: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.addRuntimeField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [ + "Field name" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.addRuntimeField.$2", + "type": "Object", + "tags": [], + "label": "runtimeField", + "description": [ + "Runtime field definition" + ], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.hasRuntimeField", + "type": "Function", + "tags": [], + "label": "hasRuntimeField", + "description": [ + "\nChecks if runtime field exists" + ], + "signature": [ + "(name: string) => boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.hasRuntimeField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getRuntimeField", + "type": "Function", + "tags": [], + "label": "getRuntimeField", + "description": [ + "\nReturns runtime field if exists" + ], + "signature": [ + "(name: string) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, + " | null" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getRuntimeField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.replaceAllRuntimeFields", + "type": "Function", + "tags": [], + "label": "replaceAllRuntimeFields", + "description": [ + "\nReplaces all existing runtime fields with new fields" + ], + "signature": [ + "(newFields: Record) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.replaceAllRuntimeFields.$1", + "type": "Object", + "tags": [], + "label": "newFields", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.removeRuntimeField", + "type": "Function", + "tags": [], + "label": "removeRuntimeField", + "description": [ + "\nRemove a runtime field - removed from mapped field or removed unmapped\nfield as appropriate. Doesn't clear associated field attributes." + ], + "signature": [ + "(name: string) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.removeRuntimeField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [ + "- Field name to remove" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getFormatterForFieldNoDefault", + "type": "Function", + "tags": [], + "label": "getFormatterForFieldNoDefault", + "description": [ + "\nGet formatter for a given field name. Return undefined if none exists" + ], + "signature": [ + "(fieldname: string) => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getFormatterForFieldNoDefault.$1", + "type": "string", + "tags": [], + "label": "fieldname", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.setFieldAttrs", + "type": "Function", + "tags": [], + "label": "setFieldAttrs", + "description": [], + "signature": [ + "(fieldName: string, attrName: K, value: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrSet", + "text": "FieldAttrSet" + }, + "[K]) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.setFieldAttrs.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.setFieldAttrs.$2", + "type": "Uncategorized", + "tags": [], + "label": "attrName", + "description": [], + "signature": [ + "K" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.setFieldAttrs.$3", + "type": "Uncategorized", + "tags": [], + "label": "value", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrSet", + "text": "FieldAttrSet" + }, + "[K]" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.setFieldCustomLabel", + "type": "Function", + "tags": [], + "label": "setFieldCustomLabel", + "description": [], + "signature": [ + "(fieldName: string, customLabel: string | null | undefined) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.setFieldCustomLabel.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.setFieldCustomLabel.$2", + "type": "CompoundType", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.setFieldCount", + "type": "Function", + "tags": [], + "label": "setFieldCount", + "description": [], + "signature": [ + "(fieldName: string, count: number | null | undefined) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.setFieldCount.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.setFieldCount.$2", + "type": "CompoundType", + "tags": [], + "label": "count", + "description": [], + "signature": [ + "number | null | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.setFieldFormat", + "type": "Function", + "tags": [], + "label": "setFieldFormat", + "description": [], + "signature": [ + "(fieldName: string, format: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + ">) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.setFieldFormat.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.setFieldFormat.$2", + "type": "Object", + "tags": [], + "label": "format", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.deleteFieldFormat", + "type": "Function", + "tags": [], + "label": "deleteFieldFormat", + "description": [], + "signature": [ + "(fieldName: string) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.deleteFieldFormat.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsApiClient", + "type": "Class", + "tags": [], + "label": "DataViewsApiClient", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "public", + "docId": "kibDataViewsPluginApi", + "section": "def-public.DataViewsApiClient", + "text": "DataViewsApiClient" + }, + " implements ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IDataViewsApiClient", + "text": "IDataViewsApiClient" + } + ], + "path": "src/plugins/data_views/public/data_views/data_views_api_client.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsApiClient.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/public/data_views/data_views_api_client.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsApiClient.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "public", + "docId": "kibCoreHttpPluginApi", + "section": "def-public.HttpSetup", + "text": "HttpSetup" + } + ], + "path": "src/plugins/data_views/public/data_views/data_views_api_client.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsApiClient.getFieldsForTimePattern", + "type": "Function", + "tags": [], + "label": "getFieldsForTimePattern", + "description": [], + "signature": [ + "(options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptionsTimePattern", + "text": "GetFieldsOptionsTimePattern" + }, + ") => Promise" + ], + "path": "src/plugins/data_views/public/data_views/data_views_api_client.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsApiClient.getFieldsForTimePattern.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptionsTimePattern", + "text": "GetFieldsOptionsTimePattern" + } + ], + "path": "src/plugins/data_views/public/data_views/data_views_api_client.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsApiClient.getFieldsForWildcard", + "type": "Function", + "tags": [], + "label": "getFieldsForWildcard", + "description": [], + "signature": [ + "({ pattern, metaFields, type, rollupIndex, allowNoIndex }: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + ") => Promise" + ], + "path": "src/plugins/data_views/public/data_views/data_views_api_client.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsApiClient.getFieldsForWildcard.$1", + "type": "Object", + "tags": [], + "label": "{ pattern, metaFields, type, rollupIndex, allowNoIndex }", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + } + ], + "path": "src/plugins/data_views/public/data_views/data_views_api_client.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsApiClient.hasUserIndexPattern", + "type": "Function", + "tags": [], + "label": "hasUserIndexPattern", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "src/plugins/data_views/public/data_views/data_views_api_client.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsPublicPlugin", + "type": "Class", + "tags": [], + "label": "DataViewsPublicPlugin", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "public", + "docId": "kibDataViewsPluginApi", + "section": "def-public.DataViewsPublicPlugin", + "text": "DataViewsPublicPlugin" + }, + " implements ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.Plugin", + "text": "Plugin" + }, + "<", + { + "pluginId": "dataViews", + "scope": "public", + "docId": "kibDataViewsPluginApi", + "section": "def-public.DataViewsPublicPluginSetup", + "text": "DataViewsPublicPluginSetup" + }, + ", Pick<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + }, + ", \"get\" | \"delete\" | \"create\" | \"find\" | \"ensureDefaultDataView\" | \"getIds\" | \"getTitles\" | \"getIdsWithTitle\" | \"clearCache\" | \"getCache\" | \"getDefault\" | \"getDefaultId\" | \"setDefault\" | \"hasUserDataView\" | \"getFieldsForWildcard\" | \"getFieldsForIndexPattern\" | \"refreshFields\" | \"fieldArrayToMap\" | \"savedObjectToSpec\" | \"migrate\" | \"createAndSave\" | \"createSavedObject\" | \"updateSavedObject\">, ", + "DataViewsPublicSetupDependencies", + ", ", + "DataViewsPublicStartDependencies", + ">" + ], + "path": "src/plugins/data_views/public/plugin.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsPublicPlugin.setup", + "type": "Function", + "tags": [], + "label": "setup", + "description": [], + "signature": [ + "(core: ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.CoreSetup", + "text": "CoreSetup" + }, + "<", + "DataViewsPublicStartDependencies", + ", Pick<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + }, + ", \"get\" | \"delete\" | \"create\" | \"find\" | \"ensureDefaultDataView\" | \"getIds\" | \"getTitles\" | \"getIdsWithTitle\" | \"clearCache\" | \"getCache\" | \"getDefault\" | \"getDefaultId\" | \"setDefault\" | \"hasUserDataView\" | \"getFieldsForWildcard\" | \"getFieldsForIndexPattern\" | \"refreshFields\" | \"fieldArrayToMap\" | \"savedObjectToSpec\" | \"migrate\" | \"createAndSave\" | \"createSavedObject\" | \"updateSavedObject\">>, { expressions }: ", + "DataViewsPublicSetupDependencies", + ") => ", + { + "pluginId": "dataViews", + "scope": "public", + "docId": "kibDataViewsPluginApi", + "section": "def-public.DataViewsPublicPluginSetup", + "text": "DataViewsPublicPluginSetup" + } + ], + "path": "src/plugins/data_views/public/plugin.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsPublicPlugin.setup.$1", + "type": "Object", + "tags": [], + "label": "core", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.CoreSetup", + "text": "CoreSetup" + }, + "<", + "DataViewsPublicStartDependencies", + ", Pick<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + }, + ", \"get\" | \"delete\" | \"create\" | \"find\" | \"ensureDefaultDataView\" | \"getIds\" | \"getTitles\" | \"getIdsWithTitle\" | \"clearCache\" | \"getCache\" | \"getDefault\" | \"getDefaultId\" | \"setDefault\" | \"hasUserDataView\" | \"getFieldsForWildcard\" | \"getFieldsForIndexPattern\" | \"refreshFields\" | \"fieldArrayToMap\" | \"savedObjectToSpec\" | \"migrate\" | \"createAndSave\" | \"createSavedObject\" | \"updateSavedObject\">>" + ], + "path": "src/plugins/data_views/public/plugin.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsPublicPlugin.setup.$2", + "type": "Object", + "tags": [], + "label": "{ expressions }", + "description": [], + "signature": [ + "DataViewsPublicSetupDependencies" + ], + "path": "src/plugins/data_views/public/plugin.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsPublicPlugin.start", + "type": "Function", + "tags": [], + "label": "start", + "description": [], + "signature": [ + "(core: ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.CoreStart", + "text": "CoreStart" + }, + ", { fieldFormats }: ", + "DataViewsPublicStartDependencies", + ") => Pick<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + }, + ", \"get\" | \"delete\" | \"create\" | \"find\" | \"ensureDefaultDataView\" | \"getIds\" | \"getTitles\" | \"getIdsWithTitle\" | \"clearCache\" | \"getCache\" | \"getDefault\" | \"getDefaultId\" | \"setDefault\" | \"hasUserDataView\" | \"getFieldsForWildcard\" | \"getFieldsForIndexPattern\" | \"refreshFields\" | \"fieldArrayToMap\" | \"savedObjectToSpec\" | \"migrate\" | \"createAndSave\" | \"createSavedObject\" | \"updateSavedObject\">" + ], + "path": "src/plugins/data_views/public/plugin.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsPublicPlugin.start.$1", + "type": "Object", + "tags": [], + "label": "core", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.CoreStart", + "text": "CoreStart" + } + ], + "path": "src/plugins/data_views/public/plugin.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsPublicPlugin.start.$2", + "type": "Object", + "tags": [], + "label": "{ fieldFormats }", + "description": [], + "signature": [ + "DataViewsPublicStartDependencies" + ], + "path": "src/plugins/data_views/public/plugin.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsPublicPlugin.stop", + "type": "Function", + "tags": [], + "label": "stop", + "description": [], + "signature": [ + "() => void" + ], + "path": "src/plugins/data_views/public/plugin.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService", + "type": "Class", + "tags": [], + "label": "DataViewsService", + "description": [], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.ensureDefaultDataView", + "type": "Function", + "tags": [], + "label": "ensureDefaultDataView", + "description": [], + "signature": [ + "() => Promise | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "returnComment": [], + "children": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "{\n uiSettings,\n savedObjectsClient,\n apiClient,\n fieldFormats,\n onNotification,\n onError,\n onUnsupportedTimePattern,\n onRedirectNoIndexPattern = () => {},\n }", + "description": [], + "signature": [ + "IndexPatternsServiceDeps" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.getIds", + "type": "Function", + "tags": [], + "label": "getIds", + "description": [ + "\nGet list of index pattern ids" + ], + "signature": [ + "(refresh?: boolean) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.getIds.$1", + "type": "boolean", + "tags": [], + "label": "refresh", + "description": [ + "Force refresh of index pattern list" + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.getTitles", + "type": "Function", + "tags": [], + "label": "getTitles", + "description": [ + "\nGet list of index pattern titles" + ], + "signature": [ + "(refresh?: boolean) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.getTitles.$1", + "type": "boolean", + "tags": [], + "label": "refresh", + "description": [ + "Force refresh of index pattern list" + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.find", + "type": "Function", + "tags": [], + "label": "find", + "description": [ + "\nFind and load index patterns by title" + ], + "signature": [ + "(search: string, size?: number) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + "[]>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.find.$1", + "type": "string", + "tags": [], + "label": "search", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.find.$2", + "type": "number", + "tags": [], + "label": "size", + "description": [], + "signature": [ + "number" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "IndexPattern[]" + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.getIdsWithTitle", + "type": "Function", + "tags": [], + "label": "getIdsWithTitle", + "description": [ + "\nGet list of index pattern ids with titles" + ], + "signature": [ + "(refresh?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" + }, + "[]>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.getIdsWithTitle.$1", + "type": "boolean", + "tags": [], + "label": "refresh", + "description": [ + "Force refresh of index pattern list" + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.clearCache", + "type": "Function", + "tags": [], + "label": "clearCache", + "description": [ + "\nClear index pattern list cache" + ], + "signature": [ + "(id?: string | undefined) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.clearCache.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [ + "optionally clear a single id" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.getCache", + "type": "Function", + "tags": [], + "label": "getCache", + "description": [], + "signature": [ + "() => Promise<", + "SavedObject", + ">[] | null | undefined>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.getDefault", + "type": "Function", + "tags": [], + "label": "getDefault", + "description": [ + "\nGet default index pattern" + ], + "signature": [ + "() => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | null>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.getDefaultId", + "type": "Function", + "tags": [], + "label": "getDefaultId", + "description": [ + "\nGet default index pattern id" + ], + "signature": [ + "() => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.setDefault", + "type": "Function", + "tags": [], + "label": "setDefault", + "description": [ + "\nOptionally set default index pattern, unless force = true" + ], + "signature": [ + "(id: string | null, force?: boolean) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.setDefault.$1", + "type": "CompoundType", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string | null" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.setDefault.$2", + "type": "boolean", + "tags": [], + "label": "force", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.hasUserDataView", + "type": "Function", + "tags": [], + "label": "hasUserDataView", + "description": [ + "\nChecks if current user has a user created index pattern ignoring fleet's server default index patterns" + ], + "signature": [ + "() => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.getFieldsForWildcard", + "type": "Function", + "tags": [], + "label": "getFieldsForWildcard", + "description": [ + "\nGet field list by providing { pattern }" + ], + "signature": [ + "(options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + ") => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.getFieldsForWildcard.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "FieldSpec[]" + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.getFieldsForIndexPattern", + "type": "Function", + "tags": [], + "label": "getFieldsForIndexPattern", + "description": [ + "\nGet field list by providing an index patttern (or spec)" + ], + "signature": [ + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", options?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + " | undefined) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.getFieldsForIndexPattern.$1", + "type": "CompoundType", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.getFieldsForIndexPattern.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "FieldSpec[]" + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.refreshFields", + "type": "Function", + "tags": [], + "label": "refreshFields", + "description": [ + "\nRefresh field list for a given index pattern" + ], + "signature": [ + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ") => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.refreshFields.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.fieldArrayToMap", + "type": "Function", + "tags": [], + "label": "fieldArrayToMap", + "description": [ + "\nConverts field array to map" + ], + "signature": [ + "(fields: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[], fieldAttrs?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined) => Record" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.fieldArrayToMap.$1", + "type": "Array", + "tags": [], + "label": "fields", + "description": [ + ": FieldSpec[]" + ], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.fieldArrayToMap.$2", + "type": "Object", + "tags": [], + "label": "fieldAttrs", + "description": [ + ": FieldAttrs" + ], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "Record" + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.savedObjectToSpec", + "type": "Function", + "tags": [], + "label": "savedObjectToSpec", + "description": [ + "\nConverts index pattern saved object to index pattern spec" + ], + "signature": [ + "(savedObject: ", + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.savedObjectToSpec.$1", + "type": "Object", + "tags": [], + "label": "savedObject", + "description": [], + "signature": [ + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "IndexPatternSpec" + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.migrate", + "type": "Function", + "tags": [], + "label": "migrate", + "description": [], + "signature": [ + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", newTitle: string) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.migrate.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.migrate.$2", + "type": "string", + "tags": [], + "label": "newTitle", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [ + "\nGet an index pattern by id. Cache optimized" + ], + "signature": [ + "(id: string) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.get.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.create", + "type": "Function", + "tags": [], + "label": "create", + "description": [ + "\nCreate a new index pattern instance" + ], + "signature": [ + "(spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.create.$1", + "type": "Object", + "tags": [], + "label": "spec", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.create.$2", + "type": "boolean", + "tags": [], + "label": "skipFetchFields", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "IndexPattern" + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.createAndSave", + "type": "Function", + "tags": [], + "label": "createAndSave", + "description": [ + "\nCreate a new index pattern and save it right away" + ], + "signature": [ + "(spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", override?: boolean, skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.createAndSave.$1", + "type": "Object", + "tags": [], + "label": "spec", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.createAndSave.$2", + "type": "boolean", + "tags": [], + "label": "override", + "description": [ + "Overwrite if existing index pattern exists." + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.createAndSave.$3", + "type": "boolean", + "tags": [], + "label": "skipFetchFields", + "description": [ + "Whether to skip field refresh step." + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.createSavedObject", + "type": "Function", + "tags": [], + "label": "createSavedObject", + "description": [ + "\nSave a new index pattern" + ], + "signature": [ + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", override?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.createSavedObject.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.createSavedObject.$2", + "type": "boolean", + "tags": [], + "label": "override", + "description": [ + "Overwrite if existing index pattern exists" + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.updateSavedObject", + "type": "Function", + "tags": [], + "label": "updateSavedObject", + "description": [ + "\nSave existing index pattern. Will attempt to merge differences if there are conflicts" + ], + "signature": [ + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", saveAttempts?: number, ignoreErrors?: boolean) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.updateSavedObject.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.updateSavedObject.$2", + "type": "number", + "tags": [], + "label": "saveAttempts", + "description": [], + "signature": [ + "number" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.updateSavedObject.$3", + "type": "boolean", + "tags": [], + "label": "ignoreErrors", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.delete", + "type": "Function", + "tags": [], + "label": "delete", + "description": [ + "\nDeletes an index pattern from .kibana index" + ], + "signature": [ + "(indexPatternId: string) => Promise<{}>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.delete.$1", + "type": "string", + "tags": [], + "label": "indexPatternId", + "description": [ + ": Id of kibana Index Pattern to delete" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.IndexPattern", + "type": "Class", + "tags": [ + "deprecated" + ], + "label": "IndexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IndexPattern", + "text": "IndexPattern" + }, + " extends ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify_docs.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify_docs.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify_docs.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/phrase_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/phrase_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/phrase_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/exists_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/exists_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/range_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/range_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_configs.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_configs.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_configs.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/datatable_column_meta.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/datatable_column_meta.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/datatable_column_meta.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/aggs_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/aggs_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/aggs_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/index.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" + }, + { + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_default_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_default_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/helpers/update_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/helpers/update_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/utils/sorting.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/utils/sorting.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app_content.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app_content.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern_management.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern_management.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/update_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/update_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/calc_field_counts.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/calc_field_counts.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_documents.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_documents.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/types.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/types.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/types/index.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/types/index.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/timeseries_visualization.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/timeseries_visualization.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_configs.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_configs.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify_docs.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify_docs.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/view_saved_search_action.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/view_saved_search_action.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/helpers.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/helpers.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/doc_table_wrapper.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/doc_table_wrapper.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_flyout.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_flyout.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/get_render_cell_value.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/get_render_cell_value.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/utils/sorting.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/utils/sorting.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/calc_field_counts.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/calc_field_counts.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/get_switch_index_pattern_app_state.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/get_switch_index_pattern_app_state.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/get_switch_index_pattern_app_state.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_default_sort.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_default_sort.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/top_nav/get_top_nav_links.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/top_nav/get_top_nav_links.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/row_formatter.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/row_formatter.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/row_formatter.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/table_header.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/table_header.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/index.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/search/errors/painless_error.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/search/errors/painless_error.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/search/errors/painless_error.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/query_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/query_service.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/doc_views/doc_views_types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/doc_views/doc_views_types.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/nested_fields.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/nested_fields.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_fetch.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_fetch.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/persist_saved_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/persist_saved_search.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/field_format_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/field_format_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/types/app_state.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/types/app_state.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/mocks.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/mocks.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities._service.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities._service.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_pattern.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_pattern.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/types.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/types.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/target/types/public/types.d.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/target/types/public/types.d.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/nested_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/nested_fields.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" + } + ], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.IndexPatternField", + "type": "Class", + "tags": [ + "deprecated" + ], + "label": "IndexPatternField", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IndexPatternField", + "text": "IndexPatternField" + }, + " extends ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + } + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/kibana_context_type.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/kibana_context_type.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/index.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/index.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/field_name/field_name.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/field_name/field_name.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/es_doc_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/es_doc_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metrics_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metrics_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metric_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metric_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_param_props.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_param_props.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_param_props.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_param_props.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_field.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_field.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_sort_field.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_sort_field.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/param_types/field.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/param_types/field.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/param_types/field.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/param_types/field.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" + } + ], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.IndexPatternsService", + "type": "Class", + "tags": [ + "deprecated" + ], + "label": "IndexPatternsService", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IndexPatternsService", + "text": "IndexPatternsService" + }, + " extends ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/index.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/index.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/kibana_server_services.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/kibana_server_services.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/create_doc_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/create_doc_source.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/fields_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/fields_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/plugin.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/plugin.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/index.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + } + ], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon", + "type": "Class", + "tags": [], + "label": "SavedObjectsClientPublicToCommon", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "public", + "docId": "kibDataViewsPluginApi", + "section": "def-public.SavedObjectsClientPublicToCommon", + "text": "SavedObjectsClientPublicToCommon" + }, + " implements ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.SavedObjectsClientCommon", + "text": "SavedObjectsClientCommon" + } + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "savedObjectClient", + "description": [], + "signature": [ + "Pick<", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-public.SavedObjectsClient", + "text": "SavedObjectsClient" + }, + ", \"delete\" | \"create\" | \"find\" | \"resolve\" | \"update\">" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.find", + "type": "Function", + "tags": [], + "label": "find", + "description": [], + "signature": [ + "(options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.SavedObjectsClientCommonFindArgs", + "text": "SavedObjectsClientCommonFindArgs" + }, + ") => Promise<", + "SavedObject", + "[]>" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.find.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.SavedObjectsClientCommonFindArgs", + "text": "SavedObjectsClientCommonFindArgs" + } + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(type: string, id: string) => Promise<", + "SavedObject", + ">" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.get.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.get.$2", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.update", + "type": "Function", + "tags": [], + "label": "update", + "description": [], + "signature": [ + "(type: string, id: string, attributes: Record, options: Record) => Promise<", + "SavedObject", + ">" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.update.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.update.$2", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.update.$3", + "type": "Object", + "tags": [], + "label": "attributes", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.update.$4", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.create", + "type": "Function", + "tags": [], + "label": "create", + "description": [], + "signature": [ + "(type: string, attributes: Record, options: Record) => Promise<", + "SavedObject", + ">" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.create.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.create.$2", + "type": "Object", + "tags": [], + "label": "attributes", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.create.$3", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.delete", + "type": "Function", + "tags": [], + "label": "delete", + "description": [], + "signature": [ + "(type: string, id: string) => Promise<{}>" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.delete.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.delete.$2", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon", + "type": "Class", + "tags": [], + "label": "UiSettingsPublicToCommon", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "public", + "docId": "kibDataViewsPluginApi", + "section": "def-public.UiSettingsPublicToCommon", + "text": "UiSettingsPublicToCommon" + }, + " implements ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.UiSettingsCommon", + "text": "UiSettingsCommon" + } + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "uiSettings", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.IUiSettingsClient", + "text": "IUiSettingsClient" + } + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(key: string) => Promise" + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.get.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.getAll", + "type": "Function", + "tags": [], + "label": "getAll", + "description": [], + "signature": [ + "() => Promise, \"type\" | \"options\" | \"description\" | \"name\" | \"order\" | \"value\" | \"category\" | \"optionLabels\" | \"requiresPageReload\" | \"readonly\" | \"sensitive\" | \"deprecation\" | \"metric\"> & ", + "UserProvidedValues", + ">>" + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.set", + "type": "Function", + "tags": [], + "label": "set", + "description": [], + "signature": [ + "(key: string, value: any) => Promise" + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.set.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.set.$2", + "type": "Any", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.remove", + "type": "Function", + "tags": [], + "label": "remove", + "description": [], + "signature": [ + "(key: string) => Promise" + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.remove.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "dataViews", + "id": "def-public.formatHitProvider", + "type": "Function", + "tags": [], + "label": "formatHitProvider", + "description": [], + "signature": [ + "(dataView: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", defaultFormat: any) => { (hit: Record, type?: string): any; formatField(hit: Record, fieldName: string): any; }" + ], + "path": "src/plugins/data_views/common/data_views/format_hit.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.formatHitProvider.$1", + "type": "Object", + "tags": [], + "label": "dataView", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/format_hit.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.formatHitProvider.$2", + "type": "Any", + "tags": [], + "label": "defaultFormat", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/data_views/format_hit.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.onRedirectNoIndexPattern", + "type": "Function", + "tags": [], + "label": "onRedirectNoIndexPattern", + "description": [], + "signature": [ + "(capabilities: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean | Readonly<{ [x: string]: boolean; }>; }>; navLinks: Readonly<{ [x: string]: boolean; }>; management: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean; }>; }>; catalogue: Readonly<{ [x: string]: boolean; }>; }>, navigateToApp: (appId: string, options?: ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCoreApplicationPluginApi", + "section": "def-public.NavigateToAppOptions", + "text": "NavigateToAppOptions" + }, + " | undefined) => Promise, overlays: ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.OverlayStart", + "text": "OverlayStart" + }, + ") => () => Promise" + ], + "path": "src/plugins/data_views/public/data_views/redirect_no_index_pattern.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.onRedirectNoIndexPattern.$1", + "type": "Object", + "tags": [], + "label": "capabilities", + "description": [], + "signature": [ + "Readonly<{ [x: string]: Readonly<{ [x: string]: boolean | Readonly<{ [x: string]: boolean; }>; }>; navLinks: Readonly<{ [x: string]: boolean; }>; management: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean; }>; }>; catalogue: Readonly<{ [x: string]: boolean; }>; }>" + ], + "path": "src/plugins/data_views/public/data_views/redirect_no_index_pattern.tsx", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.onRedirectNoIndexPattern.$2", + "type": "Function", + "tags": [], + "label": "navigateToApp", + "description": [], + "signature": [ + "(appId: string, options?: ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCoreApplicationPluginApi", + "section": "def-public.NavigateToAppOptions", + "text": "NavigateToAppOptions" + }, + " | undefined) => Promise" + ], + "path": "src/plugins/data_views/public/data_views/redirect_no_index_pattern.tsx", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.onRedirectNoIndexPattern.$3", + "type": "Object", + "tags": [], + "label": "overlays", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.OverlayStart", + "text": "OverlayStart" + } + ], + "path": "src/plugins/data_views/public/data_views/redirect_no_index_pattern.tsx", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.onUnsupportedTimePattern", + "type": "Function", + "tags": [], + "label": "onUnsupportedTimePattern", + "description": [], + "signature": [ + "(toasts: Pick<", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.ToastsApi", + "text": "ToastsApi" + }, + ", \"get$\" | \"add\" | \"remove\" | \"addSuccess\" | \"addWarning\" | \"addDanger\" | \"addError\" | \"addInfo\">, navigateToApp: (appId: string, options?: ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCoreApplicationPluginApi", + "section": "def-public.NavigateToAppOptions", + "text": "NavigateToAppOptions" + }, + " | undefined) => Promise) => ({ id, title, index }: { id: string; title: string; index: string; }) => void" + ], + "path": "src/plugins/data_views/public/data_views/on_unsupported_time_pattern.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.onUnsupportedTimePattern.$1", + "type": "Object", + "tags": [], + "label": "toasts", + "description": [], + "signature": [ + "Pick<", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.ToastsApi", + "text": "ToastsApi" + }, + ", \"get$\" | \"add\" | \"remove\" | \"addSuccess\" | \"addWarning\" | \"addDanger\" | \"addError\" | \"addInfo\">" + ], + "path": "src/plugins/data_views/public/data_views/on_unsupported_time_pattern.tsx", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.onUnsupportedTimePattern.$2", + "type": "Function", + "tags": [], + "label": "navigateToApp", + "description": [], + "signature": [ + "(appId: string, options?: ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCoreApplicationPluginApi", + "section": "def-public.NavigateToAppOptions", + "text": "NavigateToAppOptions" + }, + " | undefined) => Promise" + ], + "path": "src/plugins/data_views/public/data_views/on_unsupported_time_pattern.tsx", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.validateDataView", + "type": "Function", + "tags": [], + "label": "validateDataView", + "description": [], + "signature": [ + "(indexPattern: string) => { ILLEGAL_CHARACTERS?: string[] | undefined; CONTAINS_SPACES?: boolean | undefined; }" + ], + "path": "src/plugins/data_views/common/lib/validate_data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.validateDataView.$1", + "type": "string", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/lib/validate_data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList", + "type": "Interface", + "tags": [], + "label": "IIndexPatternFieldList", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPatternFieldList", + "text": "IIndexPatternFieldList" + }, + " extends ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.add", + "type": "Function", + "tags": [], + "label": "add", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.add.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.getAll", + "type": "Function", + "tags": [], + "label": "getAll", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.getByName", + "type": "Function", + "tags": [], + "label": "getByName", + "description": [], + "signature": [ + "(name: string) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.getByName.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.getByType", + "type": "Function", + "tags": [], + "label": "getByType", + "description": [], + "signature": [ + "(type: string) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.getByType.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.remove", + "type": "Function", + "tags": [], + "label": "remove", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.remove.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + } + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.removeAll", + "type": "Function", + "tags": [], + "label": "removeAll", + "description": [], + "signature": [ + "() => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.replaceAll", + "type": "Function", + "tags": [], + "label": "replaceAll", + "description": [], + "signature": [ + "(specs: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]) => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.replaceAll.$1", + "type": "Array", + "tags": [], + "label": "specs", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.update", + "type": "Function", + "tags": [], + "label": "update", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.update.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.toSpec", + "type": "Function", + "tags": [], + "label": "toSpec", + "description": [], + "signature": [ + "(options?: { getFormatterForField?: ((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined; } | undefined) => Record" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.toSpec.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.toSpec.$1.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [], + "signature": [ + "((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.TypeMeta", + "type": "Interface", + "tags": [], + "label": "TypeMeta", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.TypeMeta.aggs", + "type": "Object", + "tags": [], + "label": "aggs", + "description": [], + "signature": [ + "Record> | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.TypeMeta.params", + "type": "Object", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "{ rollup_index: string; } | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "dataViews", + "id": "def-public.CONTAINS_SPACES_KEY", + "type": "string", + "tags": [], + "label": "CONTAINS_SPACES_KEY", + "description": [], + "signature": [ + "\"CONTAINS_SPACES\"" + ], + "path": "src/plugins/data_views/common/lib/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.ILLEGAL_CHARACTERS", + "type": "Array", + "tags": [], + "label": "ILLEGAL_CHARACTERS", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/common/lib/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.ILLEGAL_CHARACTERS_KEY", + "type": "string", + "tags": [], + "label": "ILLEGAL_CHARACTERS_KEY", + "description": [], + "signature": [ + "\"ILLEGAL_CHARACTERS\"" + ], + "path": "src/plugins/data_views/common/lib/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.ILLEGAL_CHARACTERS_VISIBLE", + "type": "Array", + "tags": [], + "label": "ILLEGAL_CHARACTERS_VISIBLE", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/common/lib/types.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [], + "start": { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsPublicPluginStart", + "type": "Type", + "tags": [], + "label": "DataViewsPublicPluginStart", + "description": [ + "\nData plugin public Start contract" + ], + "signature": [ + "{ get: (id: string) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; find: (search: string, size?: number) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + "[]>; ensureDefaultDataView: ", + "EnsureDefaultDataView", + "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" + }, + "[]>; clearCache: (id?: string | undefined) => void; getCache: () => Promise<", + "SavedObject", + ">[] | null | undefined>; getDefault: () => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserDataView: () => Promise; getFieldsForWildcard: (options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + ") => Promise; getFieldsForIndexPattern: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", options?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + " | undefined) => Promise; refreshFields: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ") => Promise; fieldArrayToMap: (fields: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[], fieldAttrs?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined) => Record; savedObjectToSpec: (savedObject: ", + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + "; migrate: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", newTitle: string) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + }, + ">; createAndSave: (spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", override?: boolean, skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; createSavedObject: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", override?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; updateSavedObject: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; }" + ], + "path": "src/plugins/data_views/public/types.ts", + "deprecated": false, + "lifecycle": "start", + "initialIsOpen": true + }, + "setup": { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsPublicPluginSetup", + "type": "Interface", + "tags": [], + "label": "DataViewsPublicPluginSetup", + "description": [ + "\nData plugin public Setup contract" + ], + "path": "src/plugins/data_views/public/types.ts", + "deprecated": false, + "children": [], + "lifecycle": "setup", + "initialIsOpen": true + } + }, + "server": { + "classes": [ + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPlugin", + "type": "Class", + "tags": [], + "label": "DataViewsServerPlugin", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.DataViewsServerPlugin", + "text": "DataViewsServerPlugin" + }, + " implements ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.Plugin", + "text": "Plugin" + }, + "<", + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.DataViewsServerPluginSetup", + "text": "DataViewsServerPluginSetup" + }, + ", ", + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.DataViewsServerPluginStart", + "text": "DataViewsServerPluginStart" + }, + ", ", + "DataViewsServerPluginSetupDependencies", + ", ", + "DataViewsServerPluginStartDependencies", + ">" + ], + "path": "src/plugins/data_views/server/plugin.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPlugin.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/server/plugin.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPlugin.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "initializerContext", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.PluginInitializerContext", + "text": "PluginInitializerContext" + }, + "" + ], + "path": "src/plugins/data_views/server/plugin.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPlugin.setup", + "type": "Function", + "tags": [], + "label": "setup", + "description": [], + "signature": [ + "(core: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, + "<", + "DataViewsServerPluginStartDependencies", + ", ", + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.DataViewsServerPluginStart", + "text": "DataViewsServerPluginStart" + }, + ">, { expressions, usageCollection }: ", + "DataViewsServerPluginSetupDependencies", + ") => {}" + ], + "path": "src/plugins/data_views/server/plugin.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPlugin.setup.$1", + "type": "Object", + "tags": [], + "label": "core", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, + "<", + "DataViewsServerPluginStartDependencies", + ", ", + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.DataViewsServerPluginStart", + "text": "DataViewsServerPluginStart" + }, + ">" + ], + "path": "src/plugins/data_views/server/plugin.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPlugin.setup.$2", + "type": "Object", + "tags": [], + "label": "{ expressions, usageCollection }", + "description": [], + "signature": [ + "DataViewsServerPluginSetupDependencies" + ], + "path": "src/plugins/data_views/server/plugin.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPlugin.start", + "type": "Function", + "tags": [], + "label": "start", + "description": [], + "signature": [ + "({ uiSettings }: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + }, + ", { fieldFormats }: ", + "DataViewsServerPluginStartDependencies", + ") => { indexPatternsServiceFactory: (savedObjectsClient: Pick<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsClient", + "text": "SavedObjectsClient" + }, + ", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"find\" | \"bulkGet\" | \"bulkResolve\" | \"resolve\" | \"update\" | \"collectMultiNamespaceReferences\" | \"updateObjectsSpaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\" | \"errors\">, elasticsearchClient: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, + ") => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + }, + ">; dataViewsServiceFactory: (savedObjectsClient: Pick<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsClient", + "text": "SavedObjectsClient" + }, + ", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"find\" | \"bulkGet\" | \"bulkResolve\" | \"resolve\" | \"update\" | \"collectMultiNamespaceReferences\" | \"updateObjectsSpaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\" | \"errors\">, elasticsearchClient: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, + ") => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + }, + ">; }" + ], + "path": "src/plugins/data_views/server/plugin.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPlugin.start.$1", + "type": "Object", + "tags": [], + "label": "{ uiSettings }", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + } + ], + "path": "src/plugins/data_views/server/plugin.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPlugin.start.$2", + "type": "Object", + "tags": [], + "label": "{ fieldFormats }", + "description": [], + "signature": [ + "DataViewsServerPluginStartDependencies" + ], + "path": "src/plugins/data_views/server/plugin.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPlugin.stop", + "type": "Function", + "tags": [], + "label": "stop", + "description": [], + "signature": [ + "() => void" + ], + "path": "src/plugins/data_views/server/plugin.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher", + "type": "Class", + "tags": [], + "label": "IndexPatternsFetcher", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.Unnamed.$1", + "type": "CompoundType", + "tags": [], + "label": "elasticsearchClient", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + } + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.Unnamed.$2", + "type": "boolean", + "tags": [], + "label": "allowNoIndices", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard", + "type": "Function", + "tags": [ + "property", + "property", + "return" + ], + "label": "getFieldsForWildcard", + "description": [ + "\n Get a list of field objects for an index pattern that may contain wildcards\n" + ], + "signature": [ + "(options: { pattern: string | string[]; metaFields?: string[] | undefined; fieldCapsOptions?: { allow_no_indices: boolean; } | undefined; type?: string | undefined; rollupIndex?: string | undefined; }) => Promise<", + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.FieldDescriptor", + "text": "FieldDescriptor" + }, + "[]>" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.pattern", + "type": "CompoundType", + "tags": [], + "label": "pattern", + "description": [], + "signature": [ + "string | string[]" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.metaFields", + "type": "Array", + "tags": [], + "label": "metaFields", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.fieldCapsOptions", + "type": "Object", + "tags": [], + "label": "fieldCapsOptions", + "description": [], + "signature": [ + "{ allow_no_indices: boolean; } | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.rollupIndex", + "type": "string", + "tags": [], + "label": "rollupIndex", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern", + "type": "Function", + "tags": [ + "property", + "property", + "property", + "return" + ], + "label": "getFieldsForTimePattern", + "description": [ + "\n Get a list of field objects for a time pattern\n" + ], + "signature": [ + "(options: { pattern: string; metaFields: string[]; lookBack: number; interval: string; }) => Promise<", + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.FieldDescriptor", + "text": "FieldDescriptor" + }, + "[]>" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.pattern", + "type": "string", + "tags": [], + "label": "pattern", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.metaFields", + "type": "Array", + "tags": [], + "label": "metaFields", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.lookBack", + "type": "number", + "tags": [], + "label": "lookBack", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.interval", + "type": "string", + "tags": [], + "label": "interval", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.validatePatternListActive", + "type": "Function", + "tags": [ + "return" + ], + "label": "validatePatternListActive", + "description": [ + "\n Returns an index pattern list of only those index pattern strings in the given list that return indices\n" + ], + "signature": [ + "(patternList: string[]) => Promise" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.validatePatternListActive.$1", + "type": "Array", + "tags": [], + "label": "patternList", + "description": [ + "string[]" + ], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "dataViews", + "id": "def-server.dataViewsServiceFactory", + "type": "Function", + "tags": [], + "label": "dataViewsServiceFactory", + "description": [], + "signature": [ + "({ logger, uiSettings, fieldFormats, }: { logger: ", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, + "; uiSettings: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.UiSettingsServiceStart", + "text": "UiSettingsServiceStart" + }, + "; fieldFormats: ", + { + "pluginId": "fieldFormats", + "scope": "server", + "docId": "kibFieldFormatsPluginApi", + "section": "def-server.FieldFormatsStart", + "text": "FieldFormatsStart" + }, + "; }) => (savedObjectsClient: Pick<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsClient", + "text": "SavedObjectsClient" + }, + ", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"find\" | \"bulkGet\" | \"bulkResolve\" | \"resolve\" | \"update\" | \"collectMultiNamespaceReferences\" | \"updateObjectsSpaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\" | \"errors\">, elasticsearchClient: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, + ") => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + }, + ">" + ], + "path": "src/plugins/data_views/server/data_views_service_factory.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.dataViewsServiceFactory.$1", + "type": "Object", + "tags": [], + "label": "{\n logger,\n uiSettings,\n fieldFormats,\n }", + "description": [], + "path": "src/plugins/data_views/server/data_views_service_factory.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.dataViewsServiceFactory.$1.logger", + "type": "Object", + "tags": [], + "label": "logger", + "description": [], + "signature": [ + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } + ], + "path": "src/plugins/data_views/server/data_views_service_factory.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.dataViewsServiceFactory.$1.uiSettings", + "type": "Object", + "tags": [], + "label": "uiSettings", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.UiSettingsServiceStart", + "text": "UiSettingsServiceStart" + } + ], + "path": "src/plugins/data_views/server/data_views_service_factory.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.dataViewsServiceFactory.$1.fieldFormats", + "type": "Object", + "tags": [], + "label": "fieldFormats", + "description": [], + "signature": [ + { + "pluginId": "fieldFormats", + "scope": "server", + "docId": "kibFieldFormatsPluginApi", + "section": "def-server.FieldFormatsStart", + "text": "FieldFormatsStart" + } + ], + "path": "src/plugins/data_views/server/data_views_service_factory.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.findIndexPatternById", + "type": "Function", + "tags": [], + "label": "findIndexPatternById", + "description": [], + "signature": [ + "(savedObjectsClient: Pick<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsClient", + "text": "SavedObjectsClient" + }, + ", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"find\" | \"bulkGet\" | \"bulkResolve\" | \"resolve\" | \"update\" | \"collectMultiNamespaceReferences\" | \"updateObjectsSpaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\" | \"errors\">, index: string) => Promise<", + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + "> | undefined>" + ], + "path": "src/plugins/data_views/server/utils.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.findIndexPatternById.$1", + "type": "Object", + "tags": [], + "label": "savedObjectsClient", + "description": [], + "signature": [ + "Pick<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsClient", + "text": "SavedObjectsClient" + }, + ", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"find\" | \"bulkGet\" | \"bulkResolve\" | \"resolve\" | \"update\" | \"collectMultiNamespaceReferences\" | \"updateObjectsSpaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\" | \"errors\">" + ], + "path": "src/plugins/data_views/server/utils.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-server.findIndexPatternById.$2", + "type": "string", + "tags": [], + "label": "index", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/server/utils.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.getCapabilitiesForRollupIndices", + "type": "Function", + "tags": [], + "label": "getCapabilitiesForRollupIndices", + "description": [], + "signature": [ + "(indices: Record) => { [key: string]: any; }" + ], + "path": "src/plugins/data_views/server/fetcher/lib/map_capabilities.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.getCapabilitiesForRollupIndices.$1", + "type": "Object", + "tags": [], + "label": "indices", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/server/fetcher/lib/map_capabilities.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.getFieldByName", + "type": "Function", + "tags": [], + "label": "getFieldByName", + "description": [], + "signature": [ + "(fieldName: string, indexPattern: ", + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | undefined" + ], + "path": "src/plugins/data_views/server/utils.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.getFieldByName.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/server/utils.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-server.getFieldByName.$2", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">" + ], + "path": "src/plugins/data_views/server/utils.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.mergeCapabilitiesWithFields", + "type": "Function", + "tags": [], + "label": "mergeCapabilitiesWithFields", + "description": [], + "signature": [ + "(rollupIndexCapabilities: { [key: string]: any; }, fieldsFromFieldCapsApi: Record, previousFields?: ", + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.FieldDescriptor", + "text": "FieldDescriptor" + }, + "[]) => ", + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.FieldDescriptor", + "text": "FieldDescriptor" + }, + "[]" + ], + "path": "src/plugins/data_views/server/fetcher/lib/merge_capabilities_with_fields.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.mergeCapabilitiesWithFields.$1", + "type": "Object", + "tags": [], + "label": "rollupIndexCapabilities", + "description": [], + "path": "src/plugins/data_views/server/fetcher/lib/merge_capabilities_with_fields.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.mergeCapabilitiesWithFields.$1.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/server/fetcher/lib/merge_capabilities_with_fields.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-server.mergeCapabilitiesWithFields.$2", + "type": "Object", + "tags": [], + "label": "fieldsFromFieldCapsApi", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/server/fetcher/lib/merge_capabilities_with_fields.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-server.mergeCapabilitiesWithFields.$3", + "type": "Array", + "tags": [], + "label": "previousFields", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.FieldDescriptor", + "text": "FieldDescriptor" + }, + "[]" + ], + "path": "src/plugins/data_views/server/fetcher/lib/merge_capabilities_with_fields.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.shouldReadFieldFromDocValues", + "type": "Function", + "tags": [], + "label": "shouldReadFieldFromDocValues", + "description": [], + "signature": [ + "(aggregatable: boolean, esType: string) => boolean" + ], + "path": "src/plugins/data_views/server/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.shouldReadFieldFromDocValues.$1", + "type": "boolean", + "tags": [], + "label": "aggregatable", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/server/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-server.shouldReadFieldFromDocValues.$2", + "type": "string", + "tags": [], + "label": "esType", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/server/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "dataViews", + "id": "def-server.FieldDescriptor", + "type": "Interface", + "tags": [], + "label": "FieldDescriptor", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.FieldDescriptor.aggregatable", + "type": "boolean", + "tags": [], + "label": "aggregatable", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.FieldDescriptor.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.FieldDescriptor.readFromDocValues", + "type": "boolean", + "tags": [], + "label": "readFromDocValues", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.FieldDescriptor.searchable", + "type": "boolean", + "tags": [], + "label": "searchable", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.FieldDescriptor.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.FieldDescriptor.esTypes", + "type": "Array", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.FieldDescriptor.subType", + "type": "Object", + "tags": [], + "label": "subType", + "description": [], + "signature": [ + "FieldSubType | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.FieldDescriptor.metadata_field", + "type": "CompoundType", + "tags": [], + "label": "metadata_field", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [], + "objects": [], + "start": { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPluginStart", + "type": "Interface", + "tags": [], + "label": "DataViewsServerPluginStart", + "description": [], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPluginStart.dataViewsServiceFactory", + "type": "Function", + "tags": [], + "label": "dataViewsServiceFactory", + "description": [], + "signature": [ + "(savedObjectsClient: Pick<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsClient", + "text": "SavedObjectsClient" + }, + ", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"find\" | \"bulkGet\" | \"bulkResolve\" | \"resolve\" | \"update\" | \"collectMultiNamespaceReferences\" | \"updateObjectsSpaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\" | \"errors\">, elasticsearchClient: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, + ") => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + }, + ">" + ], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPluginStart.dataViewsServiceFactory.$1", + "type": "Object", + "tags": [], + "label": "savedObjectsClient", + "description": [], + "signature": [ + "{ get: (type: string, id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + "SavedObject", + ">; delete: (type: string, id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsDeleteOptions", + "text": "SavedObjectsDeleteOptions" + }, + ") => Promise<{}>; create: (type: string, attributes: T, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, + " | undefined) => Promise<", + "SavedObject", + ">; bulkCreate: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkCreateObject", + "text": "SavedObjectsBulkCreateObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkResponse", + "text": "SavedObjectsBulkResponse" + }, + ">; checkConflicts: (objects?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCheckConflictsObject", + "text": "SavedObjectsCheckConflictsObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCheckConflictsResponse", + "text": "SavedObjectsCheckConflictsResponse" + }, + ">; find: (options: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsFindResponse", + "text": "SavedObjectsFindResponse" + }, + ">; bulkGet: (objects?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkGetObject", + "text": "SavedObjectsBulkGetObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkResponse", + "text": "SavedObjectsBulkResponse" + }, + ">; bulkResolve: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkResolveObject", + "text": "SavedObjectsBulkResolveObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkResolveResponse", + "text": "SavedObjectsBulkResolveResponse" + }, + ">; resolve: (type: string, id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsResolveResponse", + "text": "SavedObjectsResolveResponse" + }, + ">; update: (type: string, id: string, attributes: Partial, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateOptions", + "text": "SavedObjectsUpdateOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateResponse", + "text": "SavedObjectsUpdateResponse" + }, + ">; collectMultiNamespaceReferences: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesObject", + "text": "SavedObjectsCollectMultiNamespaceReferencesObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesOptions", + "text": "SavedObjectsCollectMultiNamespaceReferencesOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesResponse", + "text": "SavedObjectsCollectMultiNamespaceReferencesResponse" + }, + ">; updateObjectsSpaces: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesObject", + "text": "SavedObjectsUpdateObjectsSpacesObject" + }, + "[], spacesToAdd: string[], spacesToRemove: string[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesOptions", + "text": "SavedObjectsUpdateObjectsSpacesOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesResponse", + "text": "SavedObjectsUpdateObjectsSpacesResponse" + }, + ">; bulkUpdate: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkUpdateObject", + "text": "SavedObjectsBulkUpdateObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkUpdateOptions", + "text": "SavedObjectsBulkUpdateOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkUpdateResponse", + "text": "SavedObjectsBulkUpdateResponse" + }, + ">; removeReferencesTo: (type: string, id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsRemoveReferencesToOptions", + "text": "SavedObjectsRemoveReferencesToOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsRemoveReferencesToResponse", + "text": "SavedObjectsRemoveReferencesToResponse" + }, + ">; openPointInTimeForType: (type: string | string[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsOpenPointInTimeOptions", + "text": "SavedObjectsOpenPointInTimeOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsOpenPointInTimeResponse", + "text": "SavedObjectsOpenPointInTimeResponse" + }, + ">; closePointInTime: (id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsClosePointInTimeResponse", + "text": "SavedObjectsClosePointInTimeResponse" + }, + ">; createPointInTimeFinder: (findOptions: Pick<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + }, + ", \"type\" | \"filter\" | \"aggs\" | \"fields\" | \"perPage\" | \"sortField\" | \"sortOrder\" | \"search\" | \"searchFields\" | \"rootSearchFields\" | \"hasReference\" | \"hasReferenceOperator\" | \"defaultSearchOperator\" | \"namespaces\" | \"typeToNamespacesMap\" | \"preference\">, dependencies?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCreatePointInTimeFinderDependencies", + "text": "SavedObjectsCreatePointInTimeFinderDependencies" + }, + " | undefined) => ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.ISavedObjectsPointInTimeFinder", + "text": "ISavedObjectsPointInTimeFinder" + }, + "; errors: typeof ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsErrorHelpers", + "text": "SavedObjectsErrorHelpers" + }, + "; }" + ], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPluginStart.dataViewsServiceFactory.$2", + "type": "CompoundType", + "tags": [], + "label": "elasticsearchClient", + "description": [], + "signature": [ + "Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\"> & { transport: { request(params: ", + "TransportRequestParams", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", unknown>>; }; }" + ], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPluginStart.indexPatternsServiceFactory", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "indexPatternsServiceFactory", + "description": [], + "signature": [ + "(savedObjectsClient: Pick<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsClient", + "text": "SavedObjectsClient" + }, + ", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"find\" | \"bulkGet\" | \"bulkResolve\" | \"resolve\" | \"update\" | \"collectMultiNamespaceReferences\" | \"updateObjectsSpaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\" | \"errors\">, elasticsearchClient: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, + ") => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + }, + ">" + ], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/server/search/aggs/aggs_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/search/expressions/esaggs.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/search/search_service.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/plugin.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/server/services/log_entries/log_entries_search_strategy.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/server/services/log_entries/log_entry_search_strategy.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/kibana_server_services.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/plugin.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/server/routes/run.ts" + } + ], + "returnComment": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPluginStart.indexPatternsServiceFactory.$1", + "type": "Object", + "tags": [], + "label": "savedObjectsClient", + "description": [], + "signature": [ + "{ get: (type: string, id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + "SavedObject", + ">; delete: (type: string, id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsDeleteOptions", + "text": "SavedObjectsDeleteOptions" + }, + ") => Promise<{}>; create: (type: string, attributes: T, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, + " | undefined) => Promise<", + "SavedObject", + ">; bulkCreate: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkCreateObject", + "text": "SavedObjectsBulkCreateObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkResponse", + "text": "SavedObjectsBulkResponse" + }, + ">; checkConflicts: (objects?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCheckConflictsObject", + "text": "SavedObjectsCheckConflictsObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCheckConflictsResponse", + "text": "SavedObjectsCheckConflictsResponse" + }, + ">; find: (options: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsFindResponse", + "text": "SavedObjectsFindResponse" + }, + ">; bulkGet: (objects?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkGetObject", + "text": "SavedObjectsBulkGetObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkResponse", + "text": "SavedObjectsBulkResponse" + }, + ">; bulkResolve: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkResolveObject", + "text": "SavedObjectsBulkResolveObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkResolveResponse", + "text": "SavedObjectsBulkResolveResponse" + }, + ">; resolve: (type: string, id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsResolveResponse", + "text": "SavedObjectsResolveResponse" + }, + ">; update: (type: string, id: string, attributes: Partial, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateOptions", + "text": "SavedObjectsUpdateOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateResponse", + "text": "SavedObjectsUpdateResponse" + }, + ">; collectMultiNamespaceReferences: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesObject", + "text": "SavedObjectsCollectMultiNamespaceReferencesObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesOptions", + "text": "SavedObjectsCollectMultiNamespaceReferencesOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesResponse", + "text": "SavedObjectsCollectMultiNamespaceReferencesResponse" + }, + ">; updateObjectsSpaces: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesObject", + "text": "SavedObjectsUpdateObjectsSpacesObject" + }, + "[], spacesToAdd: string[], spacesToRemove: string[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesOptions", + "text": "SavedObjectsUpdateObjectsSpacesOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesResponse", + "text": "SavedObjectsUpdateObjectsSpacesResponse" + }, + ">; bulkUpdate: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkUpdateObject", + "text": "SavedObjectsBulkUpdateObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkUpdateOptions", + "text": "SavedObjectsBulkUpdateOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkUpdateResponse", + "text": "SavedObjectsBulkUpdateResponse" + }, + ">; removeReferencesTo: (type: string, id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsRemoveReferencesToOptions", + "text": "SavedObjectsRemoveReferencesToOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsRemoveReferencesToResponse", + "text": "SavedObjectsRemoveReferencesToResponse" + }, + ">; openPointInTimeForType: (type: string | string[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsOpenPointInTimeOptions", + "text": "SavedObjectsOpenPointInTimeOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsOpenPointInTimeResponse", + "text": "SavedObjectsOpenPointInTimeResponse" + }, + ">; closePointInTime: (id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsClosePointInTimeResponse", + "text": "SavedObjectsClosePointInTimeResponse" + }, + ">; createPointInTimeFinder: (findOptions: Pick<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + }, + ", \"type\" | \"filter\" | \"aggs\" | \"fields\" | \"perPage\" | \"sortField\" | \"sortOrder\" | \"search\" | \"searchFields\" | \"rootSearchFields\" | \"hasReference\" | \"hasReferenceOperator\" | \"defaultSearchOperator\" | \"namespaces\" | \"typeToNamespacesMap\" | \"preference\">, dependencies?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCreatePointInTimeFinderDependencies", + "text": "SavedObjectsCreatePointInTimeFinderDependencies" + }, + " | undefined) => ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.ISavedObjectsPointInTimeFinder", + "text": "ISavedObjectsPointInTimeFinder" + }, + "; errors: typeof ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsErrorHelpers", + "text": "SavedObjectsErrorHelpers" + }, + "; }" + ], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPluginStart.indexPatternsServiceFactory.$2", + "type": "CompoundType", + "tags": [], + "label": "elasticsearchClient", + "description": [], + "signature": [ + "Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\"> & { transport: { request(params: ", + "TransportRequestParams", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", unknown>>; }; }" + ], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": false + } + ] + } + ], + "lifecycle": "start", + "initialIsOpen": true + }, + "setup": { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPluginSetup", + "type": "Interface", + "tags": [], + "label": "DataViewsServerPluginSetup", + "description": [], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": false, + "children": [], + "lifecycle": "setup", + "initialIsOpen": true + } + }, + "common": { + "classes": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView", + "type": "Class", + "tags": [], + "label": "DataView", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " implements ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPattern", + "text": "IIndexPattern" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.fieldFormatMap", + "type": "Object", + "tags": [], + "label": "fieldFormatMap", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.typeMeta", + "type": "Object", + "tags": [], + "label": "typeMeta", + "description": [ + "\nOnly used by rollup indices, used by rollup specific endpoint to load field list" + ], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.TypeMeta", + "text": "TypeMeta" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.fields", + "type": "CompoundType", + "tags": [], + "label": "fields", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPatternFieldList", + "text": "IIndexPatternFieldList" + }, + " & { toSpec: () => Record; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.timeFieldName", + "type": "string", + "tags": [], + "label": "timeFieldName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.intervalName", + "type": "string", + "tags": [ + "deprecated" + ], + "label": "intervalName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.type", + "type": "string", + "tags": [], + "label": "type", + "description": [ + "\nType is used to identify rollup index patterns" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.formatHit", + "type": "Function", + "tags": [], + "label": "formatHit", + "description": [], + "signature": [ + "{ (hit: Record, type?: string | undefined): any; formatField: FormatFieldFn; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.formatHit.$1", + "type": "Object", + "tags": [], + "label": "hit", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.formatHit.$2", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.formatField", + "type": "Function", + "tags": [], + "label": "formatField", + "description": [], + "signature": [ + "(hit: Record, fieldName: string) => any" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.formatField.$1", + "type": "Object", + "tags": [], + "label": "hit", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.formatField.$2", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.flattenHit", + "type": "Function", + "tags": [], + "label": "flattenHit", + "description": [], + "signature": [ + "(hit: Record, deep?: boolean | undefined) => Record" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.flattenHit.$1", + "type": "Object", + "tags": [], + "label": "hit", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.flattenHit.$2", + "type": "CompoundType", + "tags": [], + "label": "deep", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.metaFields", + "type": "Array", + "tags": [], + "label": "metaFields", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.version", + "type": "string", + "tags": [], + "label": "version", + "description": [ + "\nSavedObject version" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.sourceFilters", + "type": "Array", + "tags": [], + "label": "sourceFilters", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.SourceFilter", + "text": "SourceFilter" + }, + "[] | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.allowNoIndex", + "type": "boolean", + "tags": [], + "label": "allowNoIndex", + "description": [ + "\nprevents errors when index pattern exists before indices" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "{ spec = {}, fieldFormats, shortDotsEnable = false, metaFields = [] }", + "description": [], + "signature": [ + "DataViewDeps" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getOriginalSavedObjectBody", + "type": "Function", + "tags": [], + "label": "getOriginalSavedObjectBody", + "description": [ + "\nGet last saved saved object fields" + ], + "signature": [ + "() => { fieldAttrs?: string | undefined; title?: string | undefined; timeFieldName?: string | undefined; intervalName?: string | undefined; fields?: string | undefined; sourceFilters?: string | undefined; fieldFormatMap?: string | undefined; typeMeta?: string | undefined; type?: string | undefined; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.resetOriginalSavedObjectBody", + "type": "Function", + "tags": [], + "label": "resetOriginalSavedObjectBody", + "description": [ + "\nReset last saved saved object fields. used after saving" + ], + "signature": [ + "() => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getFieldAttrs", + "type": "Function", + "tags": [], + "label": "getFieldAttrs", + "description": [], + "signature": [ + "() => { [x: string]: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrSet", + "text": "FieldAttrSet" + }, + "; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getComputedFields", + "type": "Function", + "tags": [], + "label": "getComputedFields", + "description": [], + "signature": [ + "() => { storedFields: string[]; scriptFields: Record; docvalueFields: { field: string; format: string; }[]; runtimeFields: Record; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.toSpec", + "type": "Function", + "tags": [], + "label": "toSpec", + "description": [ + "\nCreate static representation of index pattern" + ], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getSourceFiltering", + "type": "Function", + "tags": [], + "label": "getSourceFiltering", + "description": [ + "\nGet the source filtering configuration for that index." + ], + "signature": [ + "() => { excludes: string[]; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.addScriptedField", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "addScriptedField", + "description": [ + "\nAdd scripted field to field list\n" + ], + "signature": [ + "(name: string, script: string, fieldType?: string) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.addScriptedField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [ + "field name" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.addScriptedField.$2", + "type": "string", + "tags": [], + "label": "script", + "description": [ + "script code" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.addScriptedField.$3", + "type": "string", + "tags": [], + "label": "fieldType", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.removeScriptedField", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "removeScriptedField", + "description": [ + "\nRemove scripted field from field list" + ], + "signature": [ + "(fieldName: string) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + } + ], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.removeScriptedField.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getNonScriptedFields", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "getNonScriptedFields", + "description": [ + "\n" + ], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/lib/fetch_fields.ts" + } + ], + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getScriptedFields", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "getScriptedFields", + "description": [ + "\n" + ], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + } + ], + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getIndex", + "type": "Function", + "tags": [], + "label": "getIndex", + "description": [], + "signature": [ + "() => string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.isUnsupportedTimePattern", + "type": "Function", + "tags": [], + "label": "isUnsupportedTimePattern", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.isTimeBased", + "type": "Function", + "tags": [], + "label": "isTimeBased", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.isTimeNanosBased", + "type": "Function", + "tags": [], + "label": "isTimeNanosBased", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getTimeField", + "type": "Function", + "tags": [], + "label": "getTimeField", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getFieldByName", + "type": "Function", + "tags": [], + "label": "getFieldByName", + "description": [], + "signature": [ + "(name: string) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getFieldByName.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getAggregationRestrictions", + "type": "Function", + "tags": [], + "label": "getAggregationRestrictions", + "description": [], + "signature": [ + "() => Record> | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getAsSavedObjectBody", + "type": "Function", + "tags": [], + "label": "getAsSavedObjectBody", + "description": [ + "\nReturns index pattern as saved object body for saving" + ], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [ + "\nProvide a field, get its formatter" + ], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getFormatterForField.$1", + "type": "CompoundType", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.addRuntimeField", + "type": "Function", + "tags": [], + "label": "addRuntimeField", + "description": [ + "\nAdd a runtime field - Appended to existing mapped field or a new field is\ncreated as appropriate" + ], + "signature": [ + "(name: string, runtimeField: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.addRuntimeField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [ + "Field name" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.addRuntimeField.$2", + "type": "Object", + "tags": [], + "label": "runtimeField", + "description": [ + "Runtime field definition" + ], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.hasRuntimeField", + "type": "Function", + "tags": [], + "label": "hasRuntimeField", + "description": [ + "\nChecks if runtime field exists" + ], + "signature": [ + "(name: string) => boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.hasRuntimeField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getRuntimeField", + "type": "Function", + "tags": [], + "label": "getRuntimeField", + "description": [ + "\nReturns runtime field if exists" + ], + "signature": [ + "(name: string) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, + " | null" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getRuntimeField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.replaceAllRuntimeFields", + "type": "Function", + "tags": [], + "label": "replaceAllRuntimeFields", + "description": [ + "\nReplaces all existing runtime fields with new fields" + ], + "signature": [ + "(newFields: Record) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.replaceAllRuntimeFields.$1", + "type": "Object", + "tags": [], + "label": "newFields", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.removeRuntimeField", + "type": "Function", + "tags": [], + "label": "removeRuntimeField", + "description": [ + "\nRemove a runtime field - removed from mapped field or removed unmapped\nfield as appropriate. Doesn't clear associated field attributes." + ], + "signature": [ + "(name: string) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.removeRuntimeField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [ + "- Field name to remove" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getFormatterForFieldNoDefault", + "type": "Function", + "tags": [], + "label": "getFormatterForFieldNoDefault", + "description": [ + "\nGet formatter for a given field name. Return undefined if none exists" + ], + "signature": [ + "(fieldname: string) => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getFormatterForFieldNoDefault.$1", + "type": "string", + "tags": [], + "label": "fieldname", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldAttrs", + "type": "Function", + "tags": [], + "label": "setFieldAttrs", + "description": [], + "signature": [ + "(fieldName: string, attrName: K, value: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrSet", + "text": "FieldAttrSet" + }, + "[K]) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldAttrs.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldAttrs.$2", + "type": "Uncategorized", + "tags": [], + "label": "attrName", + "description": [], + "signature": [ + "K" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldAttrs.$3", + "type": "Uncategorized", + "tags": [], + "label": "value", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrSet", + "text": "FieldAttrSet" + }, + "[K]" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldCustomLabel", + "type": "Function", + "tags": [], + "label": "setFieldCustomLabel", + "description": [], + "signature": [ + "(fieldName: string, customLabel: string | null | undefined) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldCustomLabel.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldCustomLabel.$2", + "type": "CompoundType", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldCount", + "type": "Function", + "tags": [], + "label": "setFieldCount", + "description": [], + "signature": [ + "(fieldName: string, count: number | null | undefined) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldCount.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldCount.$2", + "type": "CompoundType", + "tags": [], + "label": "count", + "description": [], + "signature": [ + "number | null | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldFormat", + "type": "Function", + "tags": [], + "label": "setFieldFormat", + "description": [], + "signature": [ + "(fieldName: string, format: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + ">) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldFormat.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldFormat.$2", + "type": "Object", + "tags": [], + "label": "format", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.deleteFieldFormat", + "type": "Function", + "tags": [], + "label": "deleteFieldFormat", + "description": [], + "signature": [ + "(fieldName: string) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.deleteFieldFormat.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField", + "type": "Class", + "tags": [], + "label": "DataViewField", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + " implements ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + } + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.spec", + "type": "Object", + "tags": [], + "label": "spec", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "spec", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.count", + "type": "number", + "tags": [], + "label": "count", + "description": [ + "\nCount is used for field popularity" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.count", + "type": "number", + "tags": [], + "label": "count", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.runtimeField", + "type": "Object", + "tags": [], + "label": "runtimeField", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.runtimeField", + "type": "Object", + "tags": [], + "label": "runtimeField", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.script", + "type": "string", + "tags": [], + "label": "script", + "description": [ + "\nScript field code" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.script", + "type": "string", + "tags": [], + "label": "script", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.lang", + "type": "CompoundType", + "tags": [], + "label": "lang", + "description": [ + "\nScript field language" + ], + "signature": [ + "\"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.lang", + "type": "CompoundType", + "tags": [], + "label": "lang", + "description": [], + "signature": [ + "\"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.customLabel", + "type": "string", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.customLabel", + "type": "string", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.conflictDescriptions", + "type": "Object", + "tags": [], + "label": "conflictDescriptions", + "description": [ + "\nDescription of field type conflicts across different indices in the same index pattern" + ], + "signature": [ + "Record | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.conflictDescriptions", + "type": "Object", + "tags": [], + "label": "conflictDescriptions", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.displayName", + "type": "string", + "tags": [], + "label": "displayName", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.esTypes", + "type": "Array", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.scripted", + "type": "boolean", + "tags": [], + "label": "scripted", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.searchable", + "type": "boolean", + "tags": [], + "label": "searchable", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.aggregatable", + "type": "boolean", + "tags": [], + "label": "aggregatable", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.readFromDocValues", + "type": "boolean", + "tags": [], + "label": "readFromDocValues", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.subType", + "type": "CompoundType", + "tags": [], + "label": "subType", + "description": [], + "signature": [ + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional", + " | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.isMapped", + "type": "CompoundType", + "tags": [], + "label": "isMapped", + "description": [ + "\nIs the field part of the index mapping?" + ], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.sortable", + "type": "boolean", + "tags": [], + "label": "sortable", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.filterable", + "type": "boolean", + "tags": [], + "label": "filterable", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.visualizable", + "type": "boolean", + "tags": [], + "label": "visualizable", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.isSubtypeNested", + "type": "Function", + "tags": [], + "label": "isSubtypeNested", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.isSubtypeMulti", + "type": "Function", + "tags": [], + "label": "isSubtypeMulti", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.getSubtypeNested", + "type": "Function", + "tags": [], + "label": "getSubtypeNested", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubTypeNested", + "text": "IFieldSubTypeNested" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.getSubtypeMulti", + "type": "Function", + "tags": [], + "label": "getSubtypeMulti", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubTypeMulti", + "text": "IFieldSubTypeMulti" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.deleteCount", + "type": "Function", + "tags": [], + "label": "deleteCount", + "description": [], + "signature": [ + "() => void" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.toJSON", + "type": "Function", + "tags": [], + "label": "toJSON", + "description": [], + "signature": [ + "() => { count: number; script: string | undefined; lang: \"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined; conflictDescriptions: Record | undefined; name: string; type: string; esTypes: string[] | undefined; scripted: boolean; searchable: boolean; aggregatable: boolean; readFromDocValues: boolean; subType: ", + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional", + " | undefined; customLabel: string | undefined; }" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.toSpec", + "type": "Function", + "tags": [], + "label": "toSpec", + "description": [], + "signature": [ + "({ getFormatterForField, }?: { getFormatterForField?: ((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined; }) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.toSpec.$1", + "type": "Object", + "tags": [], + "label": "{\n getFormatterForField,\n }", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.toSpec.$1.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [], + "signature": [ + "((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSavedObjectConflictError", + "type": "Class", + "tags": [], + "label": "DataViewSavedObjectConflictError", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSavedObjectConflictError", + "text": "DataViewSavedObjectConflictError" + }, + " extends Error" + ], + "path": "src/plugins/data_views/common/errors/data_view_saved_object_conflict.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSavedObjectConflictError.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/errors/data_view_saved_object_conflict.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSavedObjectConflictError.Unnamed.$1", + "type": "string", + "tags": [], + "label": "savedObjectId", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/errors/data_view_saved_object_conflict.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService", + "type": "Class", + "tags": [], + "label": "DataViewsService", + "description": [], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.ensureDefaultDataView", + "type": "Function", + "tags": [], + "label": "ensureDefaultDataView", + "description": [], + "signature": [ + "() => Promise | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "returnComment": [], + "children": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "{\n uiSettings,\n savedObjectsClient,\n apiClient,\n fieldFormats,\n onNotification,\n onError,\n onUnsupportedTimePattern,\n onRedirectNoIndexPattern = () => {},\n }", + "description": [], + "signature": [ + "IndexPatternsServiceDeps" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getIds", + "type": "Function", + "tags": [], + "label": "getIds", + "description": [ + "\nGet list of index pattern ids" + ], + "signature": [ + "(refresh?: boolean) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getIds.$1", + "type": "boolean", + "tags": [], + "label": "refresh", + "description": [ + "Force refresh of index pattern list" + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getTitles", + "type": "Function", + "tags": [], + "label": "getTitles", + "description": [ + "\nGet list of index pattern titles" + ], + "signature": [ + "(refresh?: boolean) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getTitles.$1", + "type": "boolean", + "tags": [], + "label": "refresh", + "description": [ + "Force refresh of index pattern list" + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.find", + "type": "Function", + "tags": [], + "label": "find", + "description": [ + "\nFind and load index patterns by title" + ], + "signature": [ + "(search: string, size?: number) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + "[]>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.find.$1", + "type": "string", + "tags": [], + "label": "search", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.find.$2", + "type": "number", + "tags": [], + "label": "size", + "description": [], + "signature": [ + "number" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "IndexPattern[]" + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getIdsWithTitle", + "type": "Function", + "tags": [], + "label": "getIdsWithTitle", + "description": [ + "\nGet list of index pattern ids with titles" + ], + "signature": [ + "(refresh?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" + }, + "[]>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getIdsWithTitle.$1", + "type": "boolean", + "tags": [], + "label": "refresh", + "description": [ + "Force refresh of index pattern list" + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.clearCache", + "type": "Function", + "tags": [], + "label": "clearCache", + "description": [ + "\nClear index pattern list cache" + ], + "signature": [ + "(id?: string | undefined) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.clearCache.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [ + "optionally clear a single id" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getCache", + "type": "Function", + "tags": [], + "label": "getCache", + "description": [], + "signature": [ + "() => Promise<", + "SavedObject", + ">[] | null | undefined>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getDefault", + "type": "Function", + "tags": [], + "label": "getDefault", + "description": [ + "\nGet default index pattern" + ], + "signature": [ + "() => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | null>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getDefaultId", + "type": "Function", + "tags": [], + "label": "getDefaultId", + "description": [ + "\nGet default index pattern id" + ], + "signature": [ + "() => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.setDefault", + "type": "Function", + "tags": [], + "label": "setDefault", + "description": [ + "\nOptionally set default index pattern, unless force = true" + ], + "signature": [ + "(id: string | null, force?: boolean) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.setDefault.$1", + "type": "CompoundType", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string | null" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.setDefault.$2", + "type": "boolean", + "tags": [], + "label": "force", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.hasUserDataView", + "type": "Function", + "tags": [], + "label": "hasUserDataView", + "description": [ + "\nChecks if current user has a user created index pattern ignoring fleet's server default index patterns" + ], + "signature": [ + "() => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getFieldsForWildcard", + "type": "Function", + "tags": [], + "label": "getFieldsForWildcard", + "description": [ + "\nGet field list by providing { pattern }" + ], + "signature": [ + "(options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + ") => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getFieldsForWildcard.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "FieldSpec[]" + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getFieldsForIndexPattern", + "type": "Function", + "tags": [], + "label": "getFieldsForIndexPattern", + "description": [ + "\nGet field list by providing an index patttern (or spec)" + ], + "signature": [ + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", options?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + " | undefined) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getFieldsForIndexPattern.$1", + "type": "CompoundType", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getFieldsForIndexPattern.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "FieldSpec[]" + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.refreshFields", + "type": "Function", + "tags": [], + "label": "refreshFields", + "description": [ + "\nRefresh field list for a given index pattern" + ], + "signature": [ + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ") => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.refreshFields.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.fieldArrayToMap", + "type": "Function", + "tags": [], + "label": "fieldArrayToMap", + "description": [ + "\nConverts field array to map" + ], + "signature": [ + "(fields: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[], fieldAttrs?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined) => Record" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.fieldArrayToMap.$1", + "type": "Array", + "tags": [], + "label": "fields", + "description": [ + ": FieldSpec[]" + ], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.fieldArrayToMap.$2", + "type": "Object", + "tags": [], + "label": "fieldAttrs", + "description": [ + ": FieldAttrs" + ], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "Record" + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.savedObjectToSpec", + "type": "Function", + "tags": [], + "label": "savedObjectToSpec", + "description": [ + "\nConverts index pattern saved object to index pattern spec" + ], + "signature": [ + "(savedObject: ", + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.savedObjectToSpec.$1", + "type": "Object", + "tags": [], + "label": "savedObject", + "description": [], + "signature": [ + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "IndexPatternSpec" + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.migrate", + "type": "Function", + "tags": [], + "label": "migrate", + "description": [], + "signature": [ + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", newTitle: string) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.migrate.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.migrate.$2", + "type": "string", + "tags": [], + "label": "newTitle", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [ + "\nGet an index pattern by id. Cache optimized" + ], + "signature": [ + "(id: string) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.get.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.create", + "type": "Function", + "tags": [], + "label": "create", + "description": [ + "\nCreate a new index pattern instance" + ], + "signature": [ + "(spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.create.$1", + "type": "Object", + "tags": [], + "label": "spec", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.create.$2", + "type": "boolean", + "tags": [], + "label": "skipFetchFields", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "IndexPattern" + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.createAndSave", + "type": "Function", + "tags": [], + "label": "createAndSave", + "description": [ + "\nCreate a new index pattern and save it right away" + ], + "signature": [ + "(spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", override?: boolean, skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.createAndSave.$1", + "type": "Object", + "tags": [], + "label": "spec", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.createAndSave.$2", + "type": "boolean", + "tags": [], + "label": "override", + "description": [ + "Overwrite if existing index pattern exists." + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.createAndSave.$3", + "type": "boolean", + "tags": [], + "label": "skipFetchFields", + "description": [ + "Whether to skip field refresh step." + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.createSavedObject", + "type": "Function", + "tags": [], + "label": "createSavedObject", + "description": [ + "\nSave a new index pattern" + ], + "signature": [ + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", override?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.createSavedObject.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.createSavedObject.$2", + "type": "boolean", + "tags": [], + "label": "override", + "description": [ + "Overwrite if existing index pattern exists" + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.updateSavedObject", + "type": "Function", + "tags": [], + "label": "updateSavedObject", + "description": [ + "\nSave existing index pattern. Will attempt to merge differences if there are conflicts" + ], + "signature": [ + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", saveAttempts?: number, ignoreErrors?: boolean) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.updateSavedObject.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.updateSavedObject.$2", + "type": "number", + "tags": [], + "label": "saveAttempts", + "description": [], + "signature": [ + "number" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.updateSavedObject.$3", + "type": "boolean", + "tags": [], + "label": "ignoreErrors", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.delete", + "type": "Function", + "tags": [], + "label": "delete", + "description": [ + "\nDeletes an index pattern from .kibana index" + ], + "signature": [ + "(indexPatternId: string) => Promise<{}>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.delete.$1", + "type": "string", + "tags": [], + "label": "indexPatternId", + "description": [ + ": Id of kibana Index Pattern to delete" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DuplicateDataViewError", + "type": "Class", + "tags": [], + "label": "DuplicateDataViewError", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DuplicateDataViewError", + "text": "DuplicateDataViewError" + }, + " extends Error" + ], + "path": "src/plugins/data_views/common/errors/duplicate_index_pattern.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DuplicateDataViewError.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/errors/duplicate_index_pattern.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DuplicateDataViewError.Unnamed.$1", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/errors/duplicate_index_pattern.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IndexPattern", + "type": "Class", + "tags": [ + "deprecated" + ], + "label": "IndexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IndexPattern", + "text": "IndexPattern" + }, + " extends ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify_docs.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify_docs.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify_docs.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/phrase_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/phrase_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/phrase_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/exists_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/exists_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/range_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/range_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_configs.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_configs.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_configs.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/datatable_column_meta.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/datatable_column_meta.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/datatable_column_meta.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/aggs_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/aggs_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/aggs_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/index.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" + }, + { + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_default_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_default_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/helpers/update_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/helpers/update_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/utils/sorting.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/utils/sorting.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app_content.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app_content.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern_management.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern_management.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/update_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/update_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/calc_field_counts.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/calc_field_counts.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_documents.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_documents.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/types.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/types.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/types/index.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/types/index.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/timeseries_visualization.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/timeseries_visualization.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_configs.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_configs.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify_docs.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify_docs.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/view_saved_search_action.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/view_saved_search_action.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/helpers.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/helpers.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/doc_table_wrapper.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/doc_table_wrapper.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_flyout.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_flyout.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/get_render_cell_value.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/get_render_cell_value.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/utils/sorting.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/utils/sorting.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/calc_field_counts.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/calc_field_counts.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/get_switch_index_pattern_app_state.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/get_switch_index_pattern_app_state.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/get_switch_index_pattern_app_state.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_default_sort.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_default_sort.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/top_nav/get_top_nav_links.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/top_nav/get_top_nav_links.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/row_formatter.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/row_formatter.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/row_formatter.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/table_header.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/table_header.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/index.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/search/errors/painless_error.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/search/errors/painless_error.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/search/errors/painless_error.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/query_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/query_service.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/doc_views/doc_views_types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/doc_views/doc_views_types.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/nested_fields.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/nested_fields.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_fetch.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_fetch.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/persist_saved_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/persist_saved_search.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/field_format_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/field_format_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/types/app_state.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/types/app_state.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/mocks.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/mocks.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities._service.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities._service.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_pattern.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_pattern.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/types.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/types.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/target/types/public/types.d.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/target/types/public/types.d.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/nested_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/nested_fields.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" + } + ], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IndexPatternField", + "type": "Class", + "tags": [ + "deprecated" + ], + "label": "IndexPatternField", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IndexPatternField", + "text": "IndexPatternField" + }, + " extends ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + } + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/kibana_context_type.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/kibana_context_type.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/index.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/index.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/field_name/field_name.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/field_name/field_name.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/es_doc_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/es_doc_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metrics_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metrics_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metric_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metric_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_param_props.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_param_props.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_param_props.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_param_props.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_field.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_field.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_sort_field.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_sort_field.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/param_types/field.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/param_types/field.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/param_types/field.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/param_types/field.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" + } + ], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IndexPatternsService", + "type": "Class", + "tags": [ + "deprecated" + ], + "label": "IndexPatternsService", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IndexPatternsService", + "text": "IndexPatternsService" + }, + " extends ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/index.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/index.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/kibana_server_services.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/kibana_server_services.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/create_doc_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/create_doc_source.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/fields_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/fields_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/plugin.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/plugin.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/index.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + } + ], + "children": [], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "dataViews", + "id": "def-common.fieldList", + "type": "Function", + "tags": [], + "label": "fieldList", + "description": [], + "signature": [ + "(specs?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[], shortDotsEnable?: boolean) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPatternFieldList", + "text": "IIndexPatternFieldList" + } + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.fieldList.$1", + "type": "Array", + "tags": [], + "label": "specs", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.fieldList.$2", + "type": "boolean", + "tags": [], + "label": "shortDotsEnable", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.getFieldSubtypeMulti", + "type": "Function", + "tags": [], + "label": "getFieldSubtypeMulti", + "description": [], + "signature": [ + "(field: Pick<", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", \"subType\">) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubTypeMulti", + "text": "IFieldSubTypeMulti" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.getFieldSubtypeMulti.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + "{ subType?: ", + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional", + " | undefined; }" + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.getFieldSubtypeNested", + "type": "Function", + "tags": [], + "label": "getFieldSubtypeNested", + "description": [], + "signature": [ + "(field: Pick<", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", \"subType\">) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubTypeNested", + "text": "IFieldSubTypeNested" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.getFieldSubtypeNested.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + "{ subType?: ", + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional", + " | undefined; }" + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.getIndexPatternLoadMeta", + "type": "Function", + "tags": [], + "label": "getIndexPatternLoadMeta", + "description": [], + "signature": [ + "() => Pick<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IndexPatternLoadExpressionFunctionDefinition", + "text": "IndexPatternLoadExpressionFunctionDefinition" + }, + ", \"type\" | \"telemetry\" | \"inject\" | \"extract\" | \"migrations\" | \"name\" | \"disabled\" | \"help\" | \"inputTypes\" | \"args\" | \"aliases\" | \"context\">" + ], + "path": "src/plugins/data_views/common/expressions/load_index_pattern.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.isFilterable", + "type": "Function", + "tags": [], + "label": "isFilterable", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + ") => boolean" + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.isFilterable.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + } + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.isMultiField", + "type": "Function", + "tags": [], + "label": "isMultiField", + "description": [], + "signature": [ + "(field: Pick<", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", \"subType\">) => boolean" + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.isMultiField.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + "{ subType?: ", + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional", + " | undefined; }" + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.isNestedField", + "type": "Function", + "tags": [], + "label": "isNestedField", + "description": [], + "signature": [ + "(field: Pick<", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", \"subType\">) => boolean" + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.isNestedField.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + "{ subType?: ", + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional", + " | undefined; }" + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewAttributes", + "type": "Interface", + "tags": [], + "label": "DataViewAttributes", + "description": [ + "\nInterface for an index pattern saved object" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewAttributes.fields", + "type": "string", + "tags": [], + "label": "fields", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewAttributes.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewAttributes.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewAttributes.typeMeta", + "type": "string", + "tags": [], + "label": "typeMeta", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewAttributes.timeFieldName", + "type": "string", + "tags": [], + "label": "timeFieldName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewAttributes.intervalName", + "type": "string", + "tags": [], + "label": "intervalName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewAttributes.sourceFilters", + "type": "string", + "tags": [], + "label": "sourceFilters", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewAttributes.fieldFormatMap", + "type": "string", + "tags": [], + "label": "fieldFormatMap", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewAttributes.fieldAttrs", + "type": "string", + "tags": [], + "label": "fieldAttrs", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewAttributes.runtimeFieldMap", + "type": "string", + "tags": [], + "label": "runtimeFieldMap", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewAttributes.allowNoIndex", + "type": "CompoundType", + "tags": [], + "label": "allowNoIndex", + "description": [ + "\nprevents errors when index pattern exists before indices" + ], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewListItem", + "type": "Interface", + "tags": [], + "label": "DataViewListItem", + "description": [], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewListItem.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewListItem.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewListItem.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewListItem.typeMeta", + "type": "Object", + "tags": [], + "label": "typeMeta", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.TypeMeta", + "text": "TypeMeta" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSpec", + "type": "Interface", + "tags": [], + "label": "DataViewSpec", + "description": [ + "\nStatic index pattern format\nSerialized data object, representing index pattern attributes and state" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSpec.id", + "type": "string", + "tags": [], + "label": "id", + "description": [ + "\nsaved object id" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSpec.version", + "type": "string", + "tags": [], + "label": "version", + "description": [ + "\nsaved object version string" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSpec.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSpec.intervalName", + "type": "string", + "tags": [ + "deprecated" + ], + "label": "intervalName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": true, + "references": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSpec.timeFieldName", + "type": "string", + "tags": [], + "label": "timeFieldName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSpec.sourceFilters", + "type": "Array", + "tags": [], + "label": "sourceFilters", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.SourceFilter", + "text": "SourceFilter" + }, + "[] | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSpec.fields", + "type": "Object", + "tags": [], + "label": "fields", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSpec.typeMeta", + "type": "Object", + "tags": [], + "label": "typeMeta", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.TypeMeta", + "text": "TypeMeta" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSpec.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSpec.fieldFormats", + "type": "Object", + "tags": [], + "label": "fieldFormats", + "description": [], + "signature": [ + "Record>> | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSpec.runtimeFieldMap", + "type": "Object", + "tags": [], + "label": "runtimeFieldMap", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSpec.fieldAttrs", + "type": "Object", + "tags": [], + "label": "fieldAttrs", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSpec.allowNoIndex", + "type": "CompoundType", + "tags": [], + "label": "allowNoIndex", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldAttrs", + "type": "Interface", + "tags": [ + "intenal" + ], + "label": "FieldAttrs", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.FieldAttrs.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldAttrSet", + "type": "Interface", + "tags": [], + "label": "FieldAttrSet", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.FieldAttrSet.customLabel", + "type": "string", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldAttrSet.count", + "type": "number", + "tags": [], + "label": "count", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpec", + "type": "Interface", + "tags": [], + "label": "FieldSpec", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " extends ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpec.count", + "type": "number", + "tags": [], + "label": "count", + "description": [ + "\nPopularity count is used by discover" + ], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpec.conflictDescriptions", + "type": "Object", + "tags": [], + "label": "conflictDescriptions", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpec.format", + "type": "Object", + "tags": [], + "label": "format", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + "> | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpec.esTypes", + "type": "Array", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpec.searchable", + "type": "boolean", + "tags": [], + "label": "searchable", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpec.aggregatable", + "type": "boolean", + "tags": [], + "label": "aggregatable", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpec.readFromDocValues", + "type": "CompoundType", + "tags": [], + "label": "readFromDocValues", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpec.indexed", + "type": "CompoundType", + "tags": [], + "label": "indexed", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpec.customLabel", + "type": "string", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpec.runtimeField", + "type": "Object", + "tags": [], + "label": "runtimeField", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpec.shortDotsEnable", + "type": "CompoundType", + "tags": [], + "label": "shortDotsEnable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpec.isMapped", + "type": "CompoundType", + "tags": [], + "label": "isMapped", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt", + "type": "Interface", + "tags": [], + "label": "FieldSpecExportFmt", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt.count", + "type": "number", + "tags": [], + "label": "count", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt.script", + "type": "string", + "tags": [], + "label": "script", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt.lang", + "type": "CompoundType", + "tags": [], + "label": "lang", + "description": [], + "signature": [ + "\"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt.conflictDescriptions", + "type": "Object", + "tags": [], + "label": "conflictDescriptions", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt.type", + "type": "Enum", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt.esTypes", + "type": "Array", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt.scripted", + "type": "boolean", + "tags": [], + "label": "scripted", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt.searchable", + "type": "boolean", + "tags": [], + "label": "searchable", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt.aggregatable", + "type": "boolean", + "tags": [], + "label": "aggregatable", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt.readFromDocValues", + "type": "CompoundType", + "tags": [], + "label": "readFromDocValues", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt.subType", + "type": "CompoundType", + "tags": [], + "label": "subType", + "description": [], + "signature": [ + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional", + " | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt.format", + "type": "Object", + "tags": [], + "label": "format", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + "> | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt.indexed", + "type": "CompoundType", + "tags": [], + "label": "indexed", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.GetFieldsOptions", + "type": "Interface", + "tags": [], + "label": "GetFieldsOptions", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.GetFieldsOptions.pattern", + "type": "string", + "tags": [], + "label": "pattern", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.GetFieldsOptions.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.GetFieldsOptions.lookBack", + "type": "CompoundType", + "tags": [], + "label": "lookBack", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.GetFieldsOptions.metaFields", + "type": "Array", + "tags": [], + "label": "metaFields", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.GetFieldsOptions.rollupIndex", + "type": "string", + "tags": [], + "label": "rollupIndex", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.GetFieldsOptions.allowNoIndex", + "type": "CompoundType", + "tags": [], + "label": "allowNoIndex", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.GetFieldsOptionsTimePattern", + "type": "Interface", + "tags": [], + "label": "GetFieldsOptionsTimePattern", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.GetFieldsOptionsTimePattern.pattern", + "type": "string", + "tags": [], + "label": "pattern", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.GetFieldsOptionsTimePattern.metaFields", + "type": "Array", + "tags": [], + "label": "metaFields", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.GetFieldsOptionsTimePattern.lookBack", + "type": "number", + "tags": [], + "label": "lookBack", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.GetFieldsOptionsTimePattern.interval", + "type": "string", + "tags": [], + "label": "interval", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IDataViewsApiClient", + "type": "Interface", + "tags": [], + "label": "IDataViewsApiClient", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IDataViewsApiClient.getFieldsForTimePattern", + "type": "Function", + "tags": [], + "label": "getFieldsForTimePattern", + "description": [], + "signature": [ + "(options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptionsTimePattern", + "text": "GetFieldsOptionsTimePattern" + }, + ") => Promise" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IDataViewsApiClient.getFieldsForTimePattern.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptionsTimePattern", + "text": "GetFieldsOptionsTimePattern" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IDataViewsApiClient.getFieldsForWildcard", + "type": "Function", + "tags": [], + "label": "getFieldsForWildcard", + "description": [], + "signature": [ + "(options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + ") => Promise" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IDataViewsApiClient.getFieldsForWildcard.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IDataViewsApiClient.hasUserIndexPattern", + "type": "Function", + "tags": [], + "label": "hasUserIndexPattern", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType", + "type": "Interface", + "tags": [ + "deprecated" + ], + "label": "IFieldType", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " extends ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/value_suggestion_provider.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/value_suggestion_provider.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/value_suggestion_provider.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/value_suggestion_provider.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/date_histogram.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/date_histogram.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/phrase_suggestor.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/phrase_suggestor.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/range_value_input.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/range_value_input.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/kql_query_suggestion/field.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/kql_query_suggestion/field.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/kql_query_suggestion/field.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/kql_query_suggestion/field.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/kql_query_suggestion/value.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/kql_query_suggestion/value.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/actions/filters/create_filters_from_range_select.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/actions/filters/create_filters_from_range_select.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/index.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/index.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/index.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/index.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/inventory/components/expression.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/inventory/components/expression.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/selector.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/selector.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/group_by_expression.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/group_by_expression.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/group_by_expression.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/group_by_expression.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/selector.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/selector.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/expression.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/expression.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/metric.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/metric.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_row.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_row.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criteria.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criteria.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criterion.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criterion.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/group_by.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/group_by.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/metrics.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/metrics.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/index.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/index.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/autocomplete/terms_enum.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/autocomplete/terms_enum.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/autocomplete/terms_agg.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/autocomplete/terms_agg.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/autocomplete/terms_agg.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/autocomplete/terms_agg.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/index.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/timefilter/lib/extract_time_filter.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/timefilter/lib/extract_time_filter.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/timefilter/lib/extract_time_filter.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/timefilter/lib/extract_time_filter.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/mappers/map_exists.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/mappers/map_exists.test.ts" + } + ], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType.count", + "type": "number", + "tags": [], + "label": "count", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType.esTypes", + "type": "Array", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType.aggregatable", + "type": "CompoundType", + "tags": [], + "label": "aggregatable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType.filterable", + "type": "CompoundType", + "tags": [], + "label": "filterable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType.searchable", + "type": "CompoundType", + "tags": [], + "label": "searchable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType.sortable", + "type": "CompoundType", + "tags": [], + "label": "sortable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType.visualizable", + "type": "CompoundType", + "tags": [], + "label": "visualizable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType.readFromDocValues", + "type": "CompoundType", + "tags": [], + "label": "readFromDocValues", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType.displayName", + "type": "string", + "tags": [], + "label": "displayName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType.customLabel", + "type": "string", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType.format", + "type": "Any", + "tags": [], + "label": "format", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType.toSpec", + "type": "Function", + "tags": [], + "label": "toSpec", + "description": [], + "signature": [ + "((options?: { getFormatterForField?: ((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined; } | undefined) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + ") | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType.toSpec.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType.toSpec.$1.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [], + "signature": [ + "((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPattern", + "type": "Interface", + "tags": [ + "deprecated" + ], + "label": "IIndexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPattern", + "text": "IIndexPattern" + }, + " extends ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/query/timefilter/get_time.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/query/timefilter/get_time.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/query/timefilter/get_time.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/query/timefilter/get_time.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/get_index_pattern_from_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/get_index_pattern_from_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/get_index_pattern_from_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/get_display_value.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/get_display_value.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/get_display_value.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/timefilter/timefilter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/timefilter/timefilter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/timefilter/timefilter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/value_suggestion_provider.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/value_suggestion_provider.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/value_suggestion_provider.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/normalize_sort_request.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/normalize_sort_request.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/normalize_sort_request.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/search_bar/search_bar.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/search_bar/search_bar.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/phrase_suggestor.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/phrase_suggestor.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/kql_query_suggestion/value.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/kql_query_suggestion/value.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/apply_filters/apply_filter_popover_content.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/apply_filters/apply_filter_popover_content.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/apply_filters/apply_filters_popover.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/apply_filters/apply_filters_popover.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/index.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/index.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/index.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/index.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/index.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_item.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_item.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/query_string_input/query_string_input.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/query_string_input/query_string_input.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/query_string_input/query_string_input.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/query_string_input/query_string_input.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/query_string_input/query_string_input.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/query_string_input/query_bar_top_row.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/query_string_input/query_bar_top_row.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_bar.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_bar.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/helpers.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/helpers.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/container/source/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/container/source/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/container/source/index.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/utils/kuery.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/utils/kuery.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/with_source/with_source.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/with_source/with_source.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/lib/kuery.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/lib/kuery.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/mock/index_pattern.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/mock/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/common/search_strategy/index_fields/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/common/search_strategy/index_fields/index.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/containers/with_kuery_autocompletion.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/containers/with_kuery_autocompletion.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/containers/with_source/with_source.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/containers/with_source/with_source.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/index_pattern_context.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/index_pattern_context.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/target/types/public/components/kuery_bar/with_kuery_autocompletion.d.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/target/types/public/components/kuery_bar/with_kuery_autocompletion.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_chart.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_chart.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/index.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/index.d.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/target/types/public/alerts/components/param_details_form/use_derived_index_pattern.d.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/target/types/public/alerts/components/param_details_form/use_derived_index_pattern.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/utils.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/utils.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/editor.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/editor.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/custom_urls.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/custom_urls.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/index.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/store/sourcerer/model.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/store/sourcerer/model.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/services/es_index_service.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/services/es_index_service.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/server/routes/api/transforms.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/server/routes/api/transforms.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/mock/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/mock/index_pattern.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/query/timefilter/get_time.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/query/timefilter/get_time.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/query/timefilter/get_time.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/query/timefilter/get_time.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/query/timefilter/get_time.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/create_search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/create_search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/create_search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/normalize_sort_request.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/normalize_sort_request.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/timefilter/lib/extract_time_filter.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/timefilter/lib/extract_time_filter.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/timefilter/lib/extract_time_filter.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/mappers/map_exists.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/mappers/map_exists.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/mappers/map_exists.test.ts" + } + ], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPattern.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPattern.fields", + "type": "Array", + "tags": [], + "label": "fields", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + "[]" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPattern.type", + "type": "string", + "tags": [], + "label": "type", + "description": [ + "\nType is used for identifying rollup indices, otherwise left undefined" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPattern.timeFieldName", + "type": "string", + "tags": [], + "label": "timeFieldName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPattern.intervalName", + "type": "CompoundType", + "tags": [], + "label": "intervalName", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPattern.getTimeField", + "type": "Function", + "tags": [], + "label": "getTimeField", + "description": [], + "signature": [ + "(() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | undefined) | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPattern.fieldFormatMap", + "type": "Object", + "tags": [], + "label": "fieldFormatMap", + "description": [], + "signature": [ + "Record | undefined> | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPattern.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [ + "\nLook up a formatter for a given field" + ], + "signature": [ + "((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPattern.getFormatterForField.$1", + "type": "CompoundType", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList", + "type": "Interface", + "tags": [], + "label": "IIndexPatternFieldList", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPatternFieldList", + "text": "IIndexPatternFieldList" + }, + " extends ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.add", + "type": "Function", + "tags": [], + "label": "add", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.add.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.getAll", + "type": "Function", + "tags": [], + "label": "getAll", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.getByName", + "type": "Function", + "tags": [], + "label": "getByName", + "description": [], + "signature": [ + "(name: string) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.getByName.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.getByType", + "type": "Function", + "tags": [], + "label": "getByType", + "description": [], + "signature": [ + "(type: string) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.getByType.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.remove", + "type": "Function", + "tags": [], + "label": "remove", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.remove.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + } + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.removeAll", + "type": "Function", + "tags": [], + "label": "removeAll", + "description": [], + "signature": [ + "() => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.replaceAll", + "type": "Function", + "tags": [], + "label": "replaceAll", + "description": [], + "signature": [ + "(specs: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]) => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.replaceAll.$1", + "type": "Array", + "tags": [], + "label": "specs", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.update", + "type": "Function", + "tags": [], + "label": "update", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.update.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.toSpec", + "type": "Function", + "tags": [], + "label": "toSpec", + "description": [], + "signature": [ + "(options?: { getFormatterForField?: ((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined; } | undefined) => Record" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.toSpec.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.toSpec.$1.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [], + "signature": [ + "((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IndexPatternExpressionType", + "type": "Interface", + "tags": [], + "label": "IndexPatternExpressionType", + "description": [], + "path": "src/plugins/data_views/common/expressions/load_index_pattern.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IndexPatternExpressionType.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"index_pattern\"" + ], + "path": "src/plugins/data_views/common/expressions/load_index_pattern.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IndexPatternExpressionType.value", + "type": "Object", + "tags": [], + "label": "value", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/expressions/load_index_pattern.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.RuntimeField", + "type": "Interface", + "tags": [], + "label": "RuntimeField", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.RuntimeField.type", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"boolean\" | \"date\" | \"keyword\" | \"geo_point\" | \"ip\" | \"long\" | \"double\"" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.RuntimeField.script", + "type": "Object", + "tags": [], + "label": "script", + "description": [], + "signature": [ + "{ source: string; } | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObject", + "type": "Interface", + "tags": [], + "label": "SavedObject", + "description": [], + "signature": [ + "SavedObject", + "" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObject.id", + "type": "string", + "tags": [], + "label": "id", + "description": [ + "The ID of this Saved Object, guaranteed to be unique for all objects of the same `type`" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObject.type", + "type": "string", + "tags": [], + "label": "type", + "description": [ + " The type of Saved Object. Each plugin can define it's own custom Saved Object types." + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObject.version", + "type": "string", + "tags": [], + "label": "version", + "description": [ + "An opaque version number which changes on each successful write operation. Can be used for implementing optimistic concurrency control." + ], + "signature": [ + "string | undefined" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObject.updated_at", + "type": "string", + "tags": [], + "label": "updated_at", + "description": [ + "Timestamp of the last time this document had been updated." + ], + "signature": [ + "string | undefined" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObject.error", + "type": "Object", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "SavedObjectError", + " | undefined" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObject.attributes", + "type": "Uncategorized", + "tags": [], + "label": "attributes", + "description": [ + "{@inheritdoc SavedObjectAttributes}" + ], + "signature": [ + "T" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObject.references", + "type": "Array", + "tags": [], + "label": "references", + "description": [ + "{@inheritdoc SavedObjectReference}" + ], + "signature": [ + "SavedObjectReference", + "[]" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObject.migrationVersion", + "type": "Object", + "tags": [], + "label": "migrationVersion", + "description": [ + "{@inheritdoc SavedObjectsMigrationVersion}" + ], + "signature": [ + "SavedObjectsMigrationVersion", + " | undefined" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObject.coreMigrationVersion", + "type": "string", + "tags": [], + "label": "coreMigrationVersion", + "description": [ + "A semver value that is used when upgrading objects between Kibana versions." + ], + "signature": [ + "string | undefined" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObject.namespaces", + "type": "Array", + "tags": [], + "label": "namespaces", + "description": [ + "\nSpace(s) that this saved object exists in. This attribute is not used for \"global\" saved object types which are registered with\n`namespaceType: 'agnostic'`." + ], + "signature": [ + "string[] | undefined" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObject.originId", + "type": "string", + "tags": [], + "label": "originId", + "description": [ + "\nThe ID of the saved object this originated from. This is set if this object's `id` was regenerated; that can happen during migration\nfrom a legacy single-namespace type, or during import. It is only set during migration or create operations. This is used during import\nto ensure that ID regeneration is deterministic, so saved objects will be overwritten if they are imported multiple times into a given\nspace." + ], + "signature": [ + "string | undefined" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon", + "type": "Interface", + "tags": [], + "label": "SavedObjectsClientCommon", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.find", + "type": "Function", + "tags": [], + "label": "find", + "description": [], + "signature": [ + "(options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.SavedObjectsClientCommonFindArgs", + "text": "SavedObjectsClientCommonFindArgs" + }, + ") => Promise<", + "SavedObject", + "[]>" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.find.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.SavedObjectsClientCommonFindArgs", + "text": "SavedObjectsClientCommonFindArgs" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(type: string, id: string) => Promise<", + "SavedObject", + ">" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.get.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.get.$2", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.update", + "type": "Function", + "tags": [], + "label": "update", + "description": [], + "signature": [ + "(type: string, id: string, attributes: Record, options: Record) => Promise<", + "SavedObject", + ">" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.update.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.update.$2", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.update.$3", + "type": "Object", + "tags": [], + "label": "attributes", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.update.$4", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.create", + "type": "Function", + "tags": [], + "label": "create", + "description": [], + "signature": [ + "(type: string, attributes: Record, options: Record) => Promise<", + "SavedObject", + ">" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.create.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.create.$2", + "type": "Object", + "tags": [], + "label": "attributes", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.create.$3", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.delete", + "type": "Function", + "tags": [], + "label": "delete", + "description": [], + "signature": [ + "(type: string, id: string) => Promise<{}>" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.delete.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.delete.$2", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommonFindArgs", + "type": "Interface", + "tags": [], + "label": "SavedObjectsClientCommonFindArgs", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommonFindArgs.type", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | string[]" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommonFindArgs.fields", + "type": "Array", + "tags": [], + "label": "fields", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommonFindArgs.perPage", + "type": "number", + "tags": [], + "label": "perPage", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommonFindArgs.search", + "type": "string", + "tags": [], + "label": "search", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommonFindArgs.searchFields", + "type": "Array", + "tags": [], + "label": "searchFields", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SourceFilter", + "type": "Interface", + "tags": [], + "label": "SourceFilter", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.SourceFilter.value", + "type": "string", + "tags": [], + "label": "value", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.TypeMeta", + "type": "Interface", + "tags": [], + "label": "TypeMeta", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.TypeMeta.aggs", + "type": "Object", + "tags": [], + "label": "aggs", + "description": [], + "signature": [ + "Record> | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.TypeMeta.params", + "type": "Object", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "{ rollup_index: string; } | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.UiSettingsCommon", + "type": "Interface", + "tags": [], + "label": "UiSettingsCommon", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.UiSettingsCommon.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(key: string) => Promise" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.UiSettingsCommon.get.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.UiSettingsCommon.getAll", + "type": "Function", + "tags": [], + "label": "getAll", + "description": [], + "signature": [ + "() => Promise>" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.UiSettingsCommon.set", + "type": "Function", + "tags": [], + "label": "set", + "description": [], + "signature": [ + "(key: string, value: any) => Promise" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.UiSettingsCommon.set.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.UiSettingsCommon.set.$2", + "type": "Any", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.UiSettingsCommon.remove", + "type": "Function", + "tags": [], + "label": "remove", + "description": [], + "signature": [ + "(key: string) => Promise" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.UiSettingsCommon.remove.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "enums": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewType", + "type": "Enum", + "tags": [], + "label": "DataViewType", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IndexPatternType", + "type": "Enum", + "tags": [ + "deprecated" + ], + "label": "IndexPatternType", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/index.ts" + } + ], + "initialIsOpen": false + } + ], + "misc": [ + { + "parentPluginId": "dataViews", + "id": "def-common.AggregationRestrictions", + "type": "Type", + "tags": [], + "label": "AggregationRestrictions", + "description": [], + "signature": [ + "{ [x: string]: { agg?: string | undefined; interval?: number | undefined; fixed_interval?: string | undefined; calendar_interval?: string | undefined; delay?: string | undefined; time_zone?: string | undefined; }; }" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DATA_VIEW_SAVED_OBJECT_TYPE", + "type": "string", + "tags": [], + "label": "DATA_VIEW_SAVED_OBJECT_TYPE", + "description": [], + "signature": [ + "\"index-pattern\"" + ], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewFieldMap", + "type": "Type", + "tags": [], + "label": "DataViewFieldMap", + "description": [], + "signature": [ + "{ [x: string]: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "; }" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsContract", + "type": "Type", + "tags": [], + "label": "DataViewsContract", + "description": [], + "signature": [ + "{ get: (id: string) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; find: (search: string, size?: number) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + "[]>; ensureDefaultDataView: ", + "EnsureDefaultDataView", + "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" + }, + "[]>; clearCache: (id?: string | undefined) => void; getCache: () => Promise<", + "SavedObject", + ">[] | null | undefined>; getDefault: () => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserDataView: () => Promise; getFieldsForWildcard: (options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + ") => Promise; getFieldsForIndexPattern: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", options?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + " | undefined) => Promise; refreshFields: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ") => Promise; fieldArrayToMap: (fields: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[], fieldAttrs?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined) => Record; savedObjectToSpec: (savedObject: ", + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + "; migrate: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", newTitle: string) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + }, + ">; createAndSave: (spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", override?: boolean, skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; createSavedObject: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", override?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; updateSavedObject: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; }" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldFormatMap", + "type": "Type", + "tags": [], + "label": "FieldFormatMap", + "description": [], + "signature": [ + "{ [x: string]: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + ">; }" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecConflictDescriptions", + "type": "Type", + "tags": [], + "label": "FieldSpecConflictDescriptions", + "description": [], + "signature": [ + "{ [x: string]: string[]; }" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternsApiClient", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IIndexPatternsApiClient", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IDataViewsApiClient", + "text": "IDataViewsApiClient" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.INDEX_PATTERN_SAVED_OBJECT_TYPE", + "type": "string", + "tags": [ + "deprecated" + ], + "label": "INDEX_PATTERN_SAVED_OBJECT_TYPE", + "description": [], + "signature": [ + "\"index-pattern\"" + ], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IndexPatternAttributes", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternAttributes", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/index.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/lib/es_service.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/lib/es_service.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/lib/es_service.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/index.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/common/types/kibana.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/common/types/kibana.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/common/types/kibana.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/common/types/kibana.d.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IndexPatternFieldMap", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternFieldMap", + "description": [], + "signature": [ + "{ [x: string]: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "; }" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IndexPatternListItem", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternListItem", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/index.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IndexPatternLoadExpressionFunctionDefinition", + "type": "Type", + "tags": [], + "label": "IndexPatternLoadExpressionFunctionDefinition", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"indexPatternLoad\", null, Arguments, Output, ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, + ">>" + ], + "path": "src/plugins/data_views/common/expressions/load_index_pattern.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IndexPatternsContract", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternsContract", + "description": [], + "signature": [ + "{ get: (id: string) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; find: (search: string, size?: number) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + "[]>; ensureDefaultDataView: ", + "EnsureDefaultDataView", + "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" + }, + "[]>; clearCache: (id?: string | undefined) => void; getCache: () => Promise<", + "SavedObject", + ">[] | null | undefined>; getDefault: () => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserDataView: () => Promise; getFieldsForWildcard: (options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + ") => Promise; getFieldsForIndexPattern: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", options?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + " | undefined) => Promise; refreshFields: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ") => Promise; fieldArrayToMap: (fields: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[], fieldAttrs?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined) => Record; savedObjectToSpec: (savedObject: ", + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + "; migrate: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", newTitle: string) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + }, + ">; createAndSave: (spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", override?: boolean, skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; createSavedObject: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", override?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; updateSavedObject: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; }" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/create_search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/create_search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/search/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/search/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/create_search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/create_search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/create_search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source_service.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source_service.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/search/expressions/esaggs.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/search/expressions/esaggs.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/search/expressions/esaggs.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/search/expressions/esaggs.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/services.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/services.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/index_pattern_select/index_pattern_select.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/index_pattern_select/index_pattern_select.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/index_pattern_select/create_index_pattern_select.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/index_pattern_select/create_index_pattern_select.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/search/aggs/aggs_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/search/aggs/aggs_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/query_string_input/fetch_index_patterns.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/query_string_input/fetch_index_patterns.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/search/search_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/search/search_service.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/build_services.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/build_services.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/doc/components/doc.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/doc/components/doc.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/test_helpers/make_default_services.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/test_helpers/make_default_services.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable_factory.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable_factory.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/lazy_load_bundle/index.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/lazy_load_bundle/index.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/dependency_cache.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/dependency_cache.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/routing/resolvers.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/routing/resolvers.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/routing/router.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/routing/router.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/application.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/application.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_patterns.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_patterns.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/routing/router.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/routing/router.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/util/dependency_cache.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/util/dependency_cache.d.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.test.ts" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/public/helpers/plugin_services.ts" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/public/helpers/plugin_services.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/actions/filters/create_filters_from_range_select.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/actions/filters/create_filters_from_range_select.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/actions/filters/create_filters_from_value_click.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/actions/filters/create_filters_from_value_click.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/target/types/public/ui/index_pattern_select/index_pattern_select.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/target/types/public/ui/index_pattern_select/index_pattern_select.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/target/types/public/ui/index_pattern_select/create_index_pattern_select.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/target/types/public/ui/index_pattern_select/create_index_pattern_select.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/build_services.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/build_services.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/_stubs.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/_stubs.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/doc/components/doc.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/doc/components/doc.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IndexPatternSpec", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternSpec", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/index.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.META_FIELDS", + "type": "string", + "tags": [], + "label": "META_FIELDS", + "description": [], + "signature": [ + "\"metaFields\"" + ], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.OnError", + "type": "Type", + "tags": [], + "label": "OnError", + "description": [], + "signature": [ + "(error: Error, toastInputFields: ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.ErrorToastOptions", + "text": "ErrorToastOptions" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.OnError.$1", + "type": "Object", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "Error" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.OnError.$2", + "type": "Object", + "tags": [], + "label": "toastInputFields", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.ErrorToastOptions", + "text": "ErrorToastOptions" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.OnNotification", + "type": "Type", + "tags": [], + "label": "OnNotification", + "description": [], + "signature": [ + "(toastInputFields: ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.ToastInputFields", + "text": "ToastInputFields" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.OnNotification.$1", + "type": "CompoundType", + "tags": [], + "label": "toastInputFields", + "description": [], + "signature": [ + "Pick<", + "Toast", + ", \"children\" | \"onClick\" | \"onChange\" | \"color\" | \"onKeyDown\" | \"security\" | \"defaultChecked\" | \"defaultValue\" | \"suppressContentEditableWarning\" | \"suppressHydrationWarning\" | \"accessKey\" | \"className\" | \"contentEditable\" | \"contextMenu\" | \"dir\" | \"draggable\" | \"hidden\" | \"lang\" | \"placeholder\" | \"slot\" | \"spellCheck\" | \"style\" | \"tabIndex\" | \"translate\" | \"radioGroup\" | \"role\" | \"about\" | \"datatype\" | \"inlist\" | \"prefix\" | \"property\" | \"resource\" | \"typeof\" | \"vocab\" | \"autoCapitalize\" | \"autoCorrect\" | \"autoSave\" | \"itemProp\" | \"itemScope\" | \"itemType\" | \"itemID\" | \"itemRef\" | \"results\" | \"unselectable\" | \"inputMode\" | \"is\" | \"aria-activedescendant\" | \"aria-atomic\" | \"aria-autocomplete\" | \"aria-busy\" | \"aria-checked\" | \"aria-colcount\" | \"aria-colindex\" | \"aria-colspan\" | \"aria-controls\" | \"aria-current\" | \"aria-describedby\" | \"aria-details\" | \"aria-disabled\" | \"aria-dropeffect\" | \"aria-errormessage\" | \"aria-expanded\" | \"aria-flowto\" | \"aria-grabbed\" | \"aria-haspopup\" | \"aria-hidden\" | \"aria-invalid\" | \"aria-keyshortcuts\" | \"aria-label\" | \"aria-labelledby\" | \"aria-level\" | \"aria-live\" | \"aria-modal\" | \"aria-multiline\" | \"aria-multiselectable\" | \"aria-orientation\" | \"aria-owns\" | \"aria-placeholder\" | \"aria-posinset\" | \"aria-pressed\" | \"aria-readonly\" | \"aria-relevant\" | \"aria-required\" | \"aria-roledescription\" | \"aria-rowcount\" | \"aria-rowindex\" | \"aria-rowspan\" | \"aria-selected\" | \"aria-setsize\" | \"aria-sort\" | \"aria-valuemax\" | \"aria-valuemin\" | \"aria-valuenow\" | \"aria-valuetext\" | \"dangerouslySetInnerHTML\" | \"onCopy\" | \"onCopyCapture\" | \"onCut\" | \"onCutCapture\" | \"onPaste\" | \"onPasteCapture\" | \"onCompositionEnd\" | \"onCompositionEndCapture\" | \"onCompositionStart\" | \"onCompositionStartCapture\" | \"onCompositionUpdate\" | \"onCompositionUpdateCapture\" | \"onFocus\" | \"onFocusCapture\" | \"onBlur\" | \"onBlurCapture\" | \"onChangeCapture\" | \"onBeforeInput\" | \"onBeforeInputCapture\" | \"onInput\" | \"onInputCapture\" | \"onReset\" | \"onResetCapture\" | \"onSubmit\" | \"onSubmitCapture\" | \"onInvalid\" | \"onInvalidCapture\" | \"onLoad\" | \"onLoadCapture\" | \"onError\" | \"onErrorCapture\" | \"onKeyDownCapture\" | \"onKeyPress\" | \"onKeyPressCapture\" | \"onKeyUp\" | \"onKeyUpCapture\" | \"onAbort\" | \"onAbortCapture\" | \"onCanPlay\" | \"onCanPlayCapture\" | \"onCanPlayThrough\" | \"onCanPlayThroughCapture\" | \"onDurationChange\" | \"onDurationChangeCapture\" | \"onEmptied\" | \"onEmptiedCapture\" | \"onEncrypted\" | \"onEncryptedCapture\" | \"onEnded\" | \"onEndedCapture\" | \"onLoadedData\" | \"onLoadedDataCapture\" | \"onLoadedMetadata\" | \"onLoadedMetadataCapture\" | \"onLoadStart\" | \"onLoadStartCapture\" | \"onPause\" | \"onPauseCapture\" | \"onPlay\" | \"onPlayCapture\" | \"onPlaying\" | \"onPlayingCapture\" | \"onProgress\" | \"onProgressCapture\" | \"onRateChange\" | \"onRateChangeCapture\" | \"onSeeked\" | \"onSeekedCapture\" | \"onSeeking\" | \"onSeekingCapture\" | \"onStalled\" | \"onStalledCapture\" | \"onSuspend\" | \"onSuspendCapture\" | \"onTimeUpdate\" | \"onTimeUpdateCapture\" | \"onVolumeChange\" | \"onVolumeChangeCapture\" | \"onWaiting\" | \"onWaitingCapture\" | \"onAuxClick\" | \"onAuxClickCapture\" | \"onClickCapture\" | \"onContextMenu\" | \"onContextMenuCapture\" | \"onDoubleClick\" | \"onDoubleClickCapture\" | \"onDrag\" | \"onDragCapture\" | \"onDragEnd\" | \"onDragEndCapture\" | \"onDragEnter\" | \"onDragEnterCapture\" | \"onDragExit\" | \"onDragExitCapture\" | \"onDragLeave\" | \"onDragLeaveCapture\" | \"onDragOver\" | \"onDragOverCapture\" | \"onDragStart\" | \"onDragStartCapture\" | \"onDrop\" | \"onDropCapture\" | \"onMouseDown\" | \"onMouseDownCapture\" | \"onMouseEnter\" | \"onMouseLeave\" | \"onMouseMove\" | \"onMouseMoveCapture\" | \"onMouseOut\" | \"onMouseOutCapture\" | \"onMouseOver\" | \"onMouseOverCapture\" | \"onMouseUp\" | \"onMouseUpCapture\" | \"onSelect\" | \"onSelectCapture\" | \"onTouchCancel\" | \"onTouchCancelCapture\" | \"onTouchEnd\" | \"onTouchEndCapture\" | \"onTouchMove\" | \"onTouchMoveCapture\" | \"onTouchStart\" | \"onTouchStartCapture\" | \"onPointerDown\" | \"onPointerDownCapture\" | \"onPointerMove\" | \"onPointerMoveCapture\" | \"onPointerUp\" | \"onPointerUpCapture\" | \"onPointerCancel\" | \"onPointerCancelCapture\" | \"onPointerEnter\" | \"onPointerEnterCapture\" | \"onPointerLeave\" | \"onPointerLeaveCapture\" | \"onPointerOver\" | \"onPointerOverCapture\" | \"onPointerOut\" | \"onPointerOutCapture\" | \"onGotPointerCapture\" | \"onGotPointerCaptureCapture\" | \"onLostPointerCapture\" | \"onLostPointerCaptureCapture\" | \"onScroll\" | \"onScrollCapture\" | \"onWheel\" | \"onWheelCapture\" | \"onAnimationStart\" | \"onAnimationStartCapture\" | \"onAnimationEnd\" | \"onAnimationEndCapture\" | \"onAnimationIteration\" | \"onAnimationIterationCapture\" | \"onTransitionEnd\" | \"onTransitionEndCapture\" | \"data-test-subj\" | \"iconType\" | \"toastLifeTimeMs\" | \"onClose\"> & { title?: string | ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.MountPoint", + "text": "MountPoint" + }, + " | undefined; text?: string | ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.MountPoint", + "text": "MountPoint" + }, + " | undefined; }" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.RuntimeType", + "type": "Type", + "tags": [], + "label": "RuntimeType", + "description": [], + "signature": [ + "\"boolean\" | \"date\" | \"keyword\" | \"geo_point\" | \"ip\" | \"long\" | \"double\"" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "dataViews", + "id": "def-common.FLEET_ASSETS_TO_IGNORE", + "type": "Object", + "tags": [], + "label": "FLEET_ASSETS_TO_IGNORE", + "description": [ + "\nUsed to determine if the instance has any user created index patterns by filtering index patterns\nthat are created and backed only by Fleet server data\nShould be revised after https://github.com/elastic/kibana/issues/82851 is fixed\nFor more background see: https://github.com/elastic/kibana/issues/107020" + ], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.FLEET_ASSETS_TO_IGNORE.LOGS_INDEX_PATTERN", + "type": "string", + "tags": [], + "label": "LOGS_INDEX_PATTERN", + "description": [], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FLEET_ASSETS_TO_IGNORE.METRICS_INDEX_PATTERN", + "type": "string", + "tags": [], + "label": "METRICS_INDEX_PATTERN", + "description": [], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FLEET_ASSETS_TO_IGNORE.LOGS_DATA_STREAM_TO_IGNORE", + "type": "string", + "tags": [], + "label": "LOGS_DATA_STREAM_TO_IGNORE", + "description": [], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FLEET_ASSETS_TO_IGNORE.METRICS_DATA_STREAM_TO_IGNORE", + "type": "string", + "tags": [], + "label": "METRICS_DATA_STREAM_TO_IGNORE", + "description": [], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FLEET_ASSETS_TO_IGNORE.METRICS_ENDPOINT_INDEX_TO_IGNORE", + "type": "string", + "tags": [], + "label": "METRICS_ENDPOINT_INDEX_TO_IGNORE", + "description": [], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.RUNTIME_FIELD_TYPES", + "type": "Object", + "tags": [], + "label": "RUNTIME_FIELD_TYPES", + "description": [], + "signature": [ + "readonly [\"keyword\", \"long\", \"double\", \"date\", \"ip\", \"boolean\", \"geo_point\"]" + ], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": false, + "initialIsOpen": false + } + ] + } +} \ No newline at end of file diff --git a/api_docs/data_views.mdx b/api_docs/data_views.mdx new file mode 100644 index 0000000000000..0e9045d742c0c --- /dev/null +++ b/api_docs/data_views.mdx @@ -0,0 +1,79 @@ +--- +id: kibDataViewsPluginApi +slug: /kibana-dev-docs/api/dataViews +title: "dataViews" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the dataViews plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViews'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import dataViewsObj from './data_views.json'; + +Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. + +Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 695 | 6 | 555 | 5 | + +## Client + +### Setup + + +### Start + + +### Functions + + +### Classes + + +### Interfaces + + +### Consts, variables and types + + +## Server + +### Setup + + +### Start + + +### Functions + + +### Classes + + +### Interfaces + + +## Common + +### Objects + + +### Functions + + +### Classes + + +### Interfaces + + +### Enums + + +### Consts, variables and types + + diff --git a/api_docs/data_visualizer.json b/api_docs/data_visualizer.json index f0c4ff72f94af..6e46a32aabda7 100644 --- a/api_docs/data_visualizer.json +++ b/api_docs/data_visualizer.json @@ -23,9 +23,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" } @@ -348,7 +348,39 @@ }, "common": { "classes": [], - "functions": [], + "functions": [ + { + "parentPluginId": "dataVisualizer", + "id": "def-common.isSavedSearchSavedObject", + "type": "Function", + "tags": [], + "label": "isSavedSearchSavedObject", + "description": [], + "signature": [ + "(arg: unknown) => boolean" + ], + "path": "x-pack/plugins/data_visualizer/common/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataVisualizer", + "id": "def-common.isSavedSearchSavedObject.$1", + "type": "Unknown", + "tags": [], + "label": "arg", + "description": [], + "signature": [ + "unknown" + ], + "path": "x-pack/plugins/data_visualizer/common/types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], "interfaces": [ { "parentPluginId": "dataVisualizer", @@ -1082,329 +1114,6 @@ "deprecated": false, "initialIsOpen": false }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS", - "type": "Object", - "tags": [], - "label": "JOB_FIELD_TYPES_OPTIONS", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.BOOLEAN", - "type": "Object", - "tags": [], - "label": "[JOB_FIELD_TYPES.BOOLEAN]", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.BOOLEAN.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.BOOLEAN.icon", - "type": "string", - "tags": [], - "label": "icon", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.DATE", - "type": "Object", - "tags": [], - "label": "[JOB_FIELD_TYPES.DATE]", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.DATE.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.DATE.icon", - "type": "string", - "tags": [], - "label": "icon", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.GEO_POINT", - "type": "Object", - "tags": [], - "label": "[JOB_FIELD_TYPES.GEO_POINT]", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.GEO_POINT.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.GEO_POINT.icon", - "type": "string", - "tags": [], - "label": "icon", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.GEO_SHAPE", - "type": "Object", - "tags": [], - "label": "[JOB_FIELD_TYPES.GEO_SHAPE]", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.GEO_SHAPE.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.GEO_SHAPE.icon", - "type": "string", - "tags": [], - "label": "icon", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.IP", - "type": "Object", - "tags": [], - "label": "[JOB_FIELD_TYPES.IP]", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.IP.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.IP.icon", - "type": "string", - "tags": [], - "label": "icon", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.KEYWORD", - "type": "Object", - "tags": [], - "label": "[JOB_FIELD_TYPES.KEYWORD]", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.KEYWORD.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.KEYWORD.icon", - "type": "string", - "tags": [], - "label": "icon", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.NUMBER", - "type": "Object", - "tags": [], - "label": "[JOB_FIELD_TYPES.NUMBER]", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.NUMBER.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.NUMBER.icon", - "type": "string", - "tags": [], - "label": "icon", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.TEXT", - "type": "Object", - "tags": [], - "label": "[JOB_FIELD_TYPES.TEXT]", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.TEXT.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.TEXT.icon", - "type": "string", - "tags": [], - "label": "icon", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.HISTOGRAM", - "type": "Object", - "tags": [], - "label": "[JOB_FIELD_TYPES.HISTOGRAM]", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.HISTOGRAM.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.HISTOGRAM.icon", - "type": "string", - "tags": [], - "label": "icon", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.UNKNOWN", - "type": "Object", - "tags": [], - "label": "[JOB_FIELD_TYPES.UNKNOWN]", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.UNKNOWN.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - } - ] - } - ], - "initialIsOpen": false - }, { "parentPluginId": "dataVisualizer", "id": "def-common.NON_AGGREGATABLE_FIELD_TYPES", diff --git a/api_docs/data_visualizer.mdx b/api_docs/data_visualizer.mdx index 428d1cd518b33..d2fe5cb5e7097 100644 --- a/api_docs/data_visualizer.mdx +++ b/api_docs/data_visualizer.mdx @@ -1,7 +1,7 @@ --- id: kibDataVisualizerPluginApi -slug: /kibana-dev-docs/dataVisualizerPluginApi -title: dataVisualizer +slug: /kibana-dev-docs/api/dataVisualizer +title: "dataVisualizer" image: https://source.unsplash.com/400x175/?github summary: API docs for the dataVisualizer plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) for q | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 108 | 5 | 108 | 0 | +| 80 | 5 | 80 | 0 | ## Client @@ -36,6 +36,9 @@ Contact [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) for q ### Objects +### Functions + + ### Interfaces diff --git a/api_docs/deprecations_by_api.mdx b/api_docs/deprecations_by_api.mdx index dc6711d48b637..4aeb2476dfa17 100644 --- a/api_docs/deprecations_by_api.mdx +++ b/api_docs/deprecations_by_api.mdx @@ -1,6 +1,6 @@ --- id: kibDevDocsDeprecationsByApi -slug: /kibana-dev-docs/deprecated-api-list-by-api +slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-api title: Deprecated API usage by API summary: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. date: 2021-07-27 @@ -14,37 +14,48 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Referencing plugin(s) | Remove By | | ---------------|-----------|-----------| | | securitySolution | - | -| | visTypeTimeseries, reporting, discover, observability, infra, maps, dataVisualizer, ml, apm, lens, osquery, securitySolution, transform, savedObjects, visualizations, indexPatternFieldEditor, dashboard, graph, stackAlerts, uptime, indexPatternEditor, indexPatternManagement, inputControlVis, visualize, visDefaultEditor, savedObjectsManagement, visTypeVega | - | -| | indexPatternFieldEditor, discover, maps, dataVisualizer, securitySolution, indexPatternEditor, indexPatternManagement, inputControlVis, visDefaultEditor, visTypeTimeseries, lens | - | -| | timelines, infra, ml, monitoring, securitySolution, indexPatternManagement, stackAlerts, transform | - | +| | dataViews, visTypeTimeseries, reporting, discover, observability, infra, maps, dataVisualizer, ml, apm, lens, osquery, securitySolution, transform, savedObjects, indexPatternFieldEditor, visualizations, dashboard, graph, stackAlerts, uptime, indexPatternEditor, indexPatternManagement, inputControlVis, visualize, visDefaultEditor, savedObjectsManagement, visTypeVega, data | - | +| | dataViews, discover, maps, dataVisualizer, lens, indexPatternFieldEditor, securitySolution, indexPatternEditor, indexPatternManagement, inputControlVis, visDefaultEditor, visTypeTimeseries, data | - | +| | dataViews, timelines, infra, ml, monitoring, securitySolution, indexPatternManagement, stackAlerts, transform | - | | | home, savedObjects, security, fleet, indexPatternFieldEditor, discover, visualizations, dashboard, lens, observability, maps, fileUpload, dataVisualizer, ml, infra, apm, graph, monitoring, osquery, securitySolution, stackAlerts, transform, uptime, indexPatternEditor, indexPatternManagement, inputControlVis, kibanaOverview, visualize, savedObjectsManagement, visTypeTimelion, visTypeTimeseries, visTypeVega | - | -| | visTypeTimeseries, reporting, discover, observability, infra, maps, dataVisualizer, ml, apm, lens, osquery, securitySolution, transform, savedObjects, visualizations, indexPatternFieldEditor, dashboard, graph, stackAlerts, uptime, indexPatternEditor, indexPatternManagement, inputControlVis, visualize, visDefaultEditor, savedObjectsManagement, visTypeVega | - | -| | indexPatternFieldEditor, discover, maps, dataVisualizer, securitySolution, indexPatternEditor, indexPatternManagement, inputControlVis, visDefaultEditor, visTypeTimeseries, lens | - | -| | timelines, infra, ml, monitoring, securitySolution, indexPatternManagement, stackAlerts, transform | - | -| | indexPatternFieldEditor, discover, maps, dataVisualizer, securitySolution, indexPatternEditor, indexPatternManagement, inputControlVis, visDefaultEditor, visTypeTimeseries, lens | - | -| | visTypeTimeseries, reporting, discover, observability, infra, maps, dataVisualizer, ml, apm, lens, osquery, securitySolution, transform, savedObjects, visualizations, indexPatternFieldEditor, dashboard, graph, stackAlerts, uptime, indexPatternEditor, indexPatternManagement, inputControlVis, visualize, visDefaultEditor, savedObjectsManagement, visTypeVega | - | +| | dataViews, timelines, infra, ml, monitoring, securitySolution, indexPatternManagement, stackAlerts, transform, data | - | +| | dataViews, discover, maps, dataVisualizer, lens, indexPatternFieldEditor, securitySolution, indexPatternEditor, indexPatternManagement, inputControlVis, visDefaultEditor, visTypeTimeseries, data | - | +| | dataViews, visTypeTimeseries, reporting, discover, observability, infra, maps, dataVisualizer, ml, apm, lens, osquery, securitySolution, transform, savedObjects, indexPatternFieldEditor, visualizations, dashboard, graph, stackAlerts, uptime, indexPatternEditor, indexPatternManagement, inputControlVis, visualize, visDefaultEditor, savedObjectsManagement, visTypeVega, data | - | +| | dataViews, discover, maps, dataVisualizer, lens, indexPatternFieldEditor, securitySolution, indexPatternEditor, indexPatternManagement, inputControlVis, visDefaultEditor, visTypeTimeseries | - | +| | dataViews, visTypeTimeseries, reporting, discover, observability, infra, maps, dataVisualizer, ml, apm, lens, osquery, securitySolution, transform, savedObjects, indexPatternFieldEditor, visualizations, dashboard, graph, stackAlerts, uptime, indexPatternEditor, indexPatternManagement, inputControlVis, visualize, visDefaultEditor, savedObjectsManagement, visTypeVega | - | | | apm, security, securitySolution | - | | | apm, security, securitySolution | - | | | reporting, encryptedSavedObjects, actions, ml, dashboardMode, dataEnhanced, logstash, securitySolution | - | | | dashboard, lens, maps, ml, securitySolution, security, visualize | - | | | securitySolution | - | -| | visTypeTimeseries, maps, lens, discover | - | -| | fleet, indexPatternFieldEditor, discover, dashboard, lens, ml, stackAlerts, indexPatternManagement, regionMap, tileMap, visTypeMetric, visTypePie, visTypeTable, visTypeTimeseries, visTypeXy, visTypeVislib | - | -| | visTypeTimeseries, maps, lens, discover | - | -| | visTypeTimeseries, maps, lens, discover | - | +| | dataViews, visTypeTimeseries, maps, lens, discover, data | - | +| | dataViews, discover, infra, observability, savedObjects, security, visualizations, dashboard, lens, maps, ml, graph, stackAlerts, transform, indexPatternManagement, inputControlVis, savedObjectsManagement, visTypeTimelion, data | - | +| | dataViews, discover, ml, transform, canvas | - | +| | dataViews, observability, indexPatternEditor, savedObjectsManagement, apm | - | +| | dataViews | - | +| | dataViews, indexPatternManagement | - | +| | dataViews, discover, ml, transform, canvas, data | - | +| | dataViews, data | - | +| | dataViews, data | - | +| | dataViews | - | +| | dataViews, observability, indexPatternEditor, savedObjectsManagement, apm, data | - | +| | dataViews, visualizations, dashboard, data | - | +| | dataViews, data | - | +| | dataViews, visTypeTimeseries, maps, lens, discover, data | - | +| | dataViews, discover, infra, observability, savedObjects, security, visualizations, dashboard, lens, maps, ml, graph, stackAlerts, transform, indexPatternManagement, inputControlVis, savedObjectsManagement, visTypeTimelion, data | - | +| | dataViews, indexPatternManagement, data | - | +| | dataViews, discover, ml, transform, canvas | - | +| | dataViews, visTypeTimeseries, maps, lens, discover | - | +| | fleet, indexPatternFieldEditor, discover, dashboard, lens, ml, stackAlerts, indexPatternManagement, regionMap, tileMap, visTypePie, visTypeTable, visTypeTimeseries, visTypeXy, visTypeVislib | - | | | reporting, visTypeTimeseries | - | -| | discover, infra, observability, savedObjects, security, visualizations, dashboard, lens, maps, ml, graph, stackAlerts, transform, indexPatternManagement, inputControlVis, savedObjectsManagement, visTypeTimelion | - | -| | discover, infra, observability, savedObjects, security, visualizations, dashboard, lens, maps, ml, graph, stackAlerts, transform, indexPatternManagement, inputControlVis, savedObjectsManagement, visTypeTimelion | - | +| | data, lens, visTypeTimeseries, infra, maps, visTypeTimelion | - | | | dashboard, maps, graph, visualize | - | | | spaces, security, reporting, actions, alerting, ml, fleet, remoteClusters, graph, indexLifecycleManagement, maps, painlessLab, rollup, searchprofiler, snapshotRestore, transform, upgradeAssistant | - | | | lens, dashboard | - | -| | discover, ml, transform, canvas | - | | | discover | - | -| | discover, ml, transform, canvas | - | | | discover | - | -| | discover, ml, transform, canvas | - | -| | embeddable, discover, presentationUtil, dashboard, graph | - | -| | visualizations, discover, dashboard, savedObjectsManagement | - | +| | embeddable, presentationUtil, discover, dashboard, graph | - | +| | discover, visualizations, dashboard, savedObjectsManagement | - | | | discover, savedObjectsTaggingOss, visualizations, dashboard, visualize, visDefaultEditor, savedObjectsManagement | - | | | discover, visualizations, dashboard | - | | | data, discover, embeddable | - | @@ -52,25 +63,18 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | advancedSettings, discover | - | | | ml, infra, reporting, ingestPipelines, upgradeAssistant | - | | | ml, infra, reporting, ingestPipelines, upgradeAssistant | - | -| | observability, indexPatternEditor, savedObjectsManagement, apm | - | -| | observability, indexPatternEditor, savedObjectsManagement, apm | - | +| | observability, osquery | - | | | security | - | | | security | - | | | security, licenseManagement, ml, fleet, apm, reporting, crossClusterReplication, logstash, painlessLab, searchprofiler, watcher | - | | | management, fleet, security, kibanaOverview | - | -| | visualizations, dashboard | - | -| | visualizations, dashboard | - | -| | visualizations, dashboard | - | | | actions, ml, enterpriseSearch, savedObjectsTagging | - | | | ml | - | -| | indexPatternManagement | - | -| | indexPatternManagement | - | | | spaces, savedObjectsManagement | - | | | spaces, savedObjectsManagement | - | | | reporting | - | | | reporting | - | | | cloud, apm | - | -| | osquery | - | | | visTypeVega | - | | | monitoring, visTypeVega | - | | | monitoring, kibanaUsageCollection | - | @@ -96,27 +100,34 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | discover, visualizations, dashboard, lens, observability, timelines, maps, infra, dashboardEnhanced, discoverEnhanced, securitySolution, urlDrilldown, inputControlVis, visualize, visTypeTimelion, visTypeVega, presentationUtil, ml, visTypeTimeseries | 8.1 | | | discover, visualizations, dashboard, lens, observability, timelines, maps, infra, dashboardEnhanced, discoverEnhanced, securitySolution, urlDrilldown, inputControlVis, visualize, visTypeTimelion, visTypeVega, presentationUtil, ml, visTypeTimeseries | 8.1 | | | discover, visualizations, dashboard, lens, observability, timelines, maps, infra, dashboardEnhanced, discoverEnhanced, securitySolution, urlDrilldown, inputControlVis, visualize, visTypeTimelion, visTypeVega, presentationUtil, ml, visTypeTimeseries | 8.1 | +| | dataViews, fleet, ml, infra, monitoring, stackAlerts, indexPatternManagement | 8.1 | +| | dataViews, fleet, ml, infra, monitoring, stackAlerts, indexPatternManagement, data | 8.1 | +| | dataViews | 8.1 | +| | dataViews | 8.1 | +| | indexPatternManagement, dataViews | 8.1 | +| | visTypeTimeseries, graph, indexPatternManagement, dataViews | 8.1 | +| | dataViews, indexPatternManagement | 8.1 | +| | dataViews, fleet, ml, infra, monitoring, stackAlerts, indexPatternManagement | 8.1 | +| | dataViews | 8.1 | +| | dataViews | 8.1 | +| | indexPatternManagement, dataViews | 8.1 | +| | visTypeTimeseries, graph, indexPatternManagement, dataViews | 8.1 | +| | dataViews, indexPatternManagement | 8.1 | | | visTypeTimeseries | 8.1 | | | visTypeTimeseries | 8.1 | -| | visTypeTimeseries, graph, indexPatternManagement | 8.1 | -| | visTypeTimeseries, graph, indexPatternManagement | 8.1 | | | visTypeTimeseries | 8.1 | +| | visTypeTimeseries, graph, indexPatternManagement | 8.1 | | | discover, maps, inputControlVis | 8.1 | | | discover, maps, inputControlVis | 8.1 | | | lens, infra, apm, graph, monitoring, stackAlerts, transform | 8.1 | -| | fleet, ml, infra, monitoring, stackAlerts, indexPatternManagement | 8.1 | -| | fleet, ml, infra, monitoring, stackAlerts, indexPatternManagement | 8.1 | -| | fleet, ml, infra, monitoring, stackAlerts, indexPatternManagement | 8.1 | | | observability | 8.1 | | | observability | 8.1 | | | visualizations, visDefaultEditor | 8.1 | | | visualizations, visDefaultEditor | 8.1 | | | indexPatternManagement | 8.1 | -| | indexPatternManagement | 8.1 | -| | indexPatternManagement | 8.1 | | | indexPatternManagement | 8.1 | -| | indexPatternManagement | 8.1 | -| | indexPatternManagement | 8.1 | +| | indexPatternManagement | 8.1 | +| | indexPatternManagement | 8.1 | | | indexPatternFieldEditor, savedObjectsManagement | 8.1 | | | indexPatternFieldEditor, savedObjectsManagement | 8.1 | | | indexPatternFieldEditor, savedObjectsManagement | 8.1 | @@ -144,7 +155,6 @@ Safe to remove. | ---------------| | | | | -| | | | | | | | @@ -195,17 +205,14 @@ Safe to remove. | | | | | | -| | -| | -| | -| | -| | -| | | | | | -| | -| | | | +| | +| | +| | +| | +| | | | | | | | @@ -230,4 +237,7 @@ Safe to remove. | | | | | | -| | \ No newline at end of file +| | +| | +| | +| | \ No newline at end of file diff --git a/api_docs/deprecations_by_plugin.mdx b/api_docs/deprecations_by_plugin.mdx index e46265dc4114d..e9818638993bf 100644 --- a/api_docs/deprecations_by_plugin.mdx +++ b/api_docs/deprecations_by_plugin.mdx @@ -1,6 +1,6 @@ --- id: kibDevDocsDeprecationsByPlugin -slug: /kibana-dev-docs/deprecated-api-list-by-plugin +slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-plugin title: Deprecated API usage by plugin summary: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. date: 2021-05-02 @@ -48,12 +48,12 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern) | - | +| | [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern)+ 4 more | - | | | [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPatternSpec), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPatternSpec) | - | | | [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=indexPatterns) | - | | | [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=esKuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=esKuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=esKuery) | 8.1 | -| | [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern) | - | -| | [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPatternSpec), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPatternSpec) | - | +| | [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPatternSpec), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPatternSpec), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPatternSpec), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPatternSpec) | - | +| | [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern)+ 4 more | - | | | [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/plugin.ts#:~:text=environment) | - | | | [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode)+ 2 more | - | @@ -69,7 +69,7 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| | | [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes), [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes), [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes) | - | -| | [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes), [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes), [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes) | - | +| | [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes), [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes), [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes), [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes), [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes), [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes) | - | | | [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes), [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes), [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes) | - | | | [filters.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/functions/filters.ts#:~:text=context), [escount.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/escount.ts#:~:text=context), [esdocs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/esdocs.ts#:~:text=context), [essql.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/essql.ts#:~:text=context), [neq.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.ts#:~:text=context), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts#:~:text=context), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts#:~:text=context) | - | | | [setup_expressions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/setup_expressions.ts#:~:text=getFunction) | - | @@ -123,18 +123,16 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPatternsContract), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPatternsContract), [make_default_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/test_helpers/make_default_services.ts#:~:text=IndexPatternsContract), [make_default_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/test_helpers/make_default_services.ts#:~:text=IndexPatternsContract) | - | -| | [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPattern) | - | -| | [replace_index_pattern_reference.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [replace_index_pattern_reference.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE) | - | +| | [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPatternsContract), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPatternsContract), [make_default_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/test_helpers/make_default_services.ts#:~:text=IndexPatternsContract), [make_default_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/test_helpers/make_default_services.ts#:~:text=IndexPatternsContract), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPatternsContract), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPatternsContract)+ 2 more | - | +| | [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern)+ 6 more | - | | | [dashboard_router.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/dashboard_router.tsx#:~:text=indexPatterns), [dashboard_router.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/dashboard_router.tsx#:~:text=indexPatterns) | - | | | [export_csv_action.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/actions/export_csv_action.tsx#:~:text=fieldFormats) | - | | | [save_dashboard.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/save_dashboard.ts#:~:text=esFilters), [save_dashboard.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/save_dashboard.ts#:~:text=esFilters), [diff_dashboard_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts#:~:text=esFilters), [diff_dashboard_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts#:~:text=esFilters), [diff_dashboard_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts#:~:text=esFilters), [diff_dashboard_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts#:~:text=esFilters), [sync_dashboard_container_input.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts#:~:text=esFilters), [sync_dashboard_container_input.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts#:~:text=esFilters), [sync_dashboard_container_input.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts#:~:text=esFilters), [plugin.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/plugin.tsx#:~:text=esFilters)+ 15 more | 8.1 | | | [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [saved_dashboard.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts#:~:text=Filter), [saved_dashboard.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts#:~:text=Filter), [dashboard_state_slice.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/state/dashboard_state_slice.ts#:~:text=Filter), [dashboard_state_slice.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/state/dashboard_state_slice.ts#:~:text=Filter), [dashboard_state_slice.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/state/dashboard_state_slice.ts#:~:text=Filter)+ 25 more | 8.1 | -| | [replace_index_pattern_reference.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [replace_index_pattern_reference.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE) | - | +| | [replace_index_pattern_reference.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [replace_index_pattern_reference.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [replace_index_pattern_reference.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [replace_index_pattern_reference.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE) | - | +| | [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPatternsContract), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPatternsContract), [make_default_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/test_helpers/make_default_services.ts#:~:text=IndexPatternsContract), [make_default_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/test_helpers/make_default_services.ts#:~:text=IndexPatternsContract), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPatternsContract), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPatternsContract)+ 2 more | - | +| | [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern)+ 6 more | - | | | [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [saved_dashboard.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts#:~:text=Filter), [saved_dashboard.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts#:~:text=Filter), [dashboard_state_slice.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/state/dashboard_state_slice.ts#:~:text=Filter), [dashboard_state_slice.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/state/dashboard_state_slice.ts#:~:text=Filter), [dashboard_state_slice.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/state/dashboard_state_slice.ts#:~:text=Filter)+ 25 more | 8.1 | -| | [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPatternsContract), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPatternsContract), [make_default_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/test_helpers/make_default_services.ts#:~:text=IndexPatternsContract), [make_default_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/test_helpers/make_default_services.ts#:~:text=IndexPatternsContract) | - | -| | [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPattern) | - | -| | [replace_index_pattern_reference.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [replace_index_pattern_reference.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE) | - | | | [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPattern) | - | | | [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [saved_dashboard.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts#:~:text=Filter), [saved_dashboard.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts#:~:text=Filter), [dashboard_state_slice.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/state/dashboard_state_slice.ts#:~:text=Filter), [dashboard_state_slice.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/state/dashboard_state_slice.ts#:~:text=Filter), [dashboard_state_slice.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/state/dashboard_state_slice.ts#:~:text=Filter)+ 25 more | 8.1 | | | [saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/services/saved_objects.ts#:~:text=SavedObjectSaveModal), [save_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/top_nav/save_modal.tsx#:~:text=SavedObjectSaveModal), [save_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/top_nav/save_modal.tsx#:~:text=SavedObjectSaveModal) | - | @@ -172,6 +170,24 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IndexPatternField), [kibana_context_type.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/expressions/kibana_context_type.ts#:~:text=IndexPatternField), [kibana_context_type.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/expressions/kibana_context_type.ts#:~:text=IndexPatternField), [search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source.ts#:~:text=IndexPatternField), [search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source.ts#:~:text=IndexPatternField), [search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source.ts#:~:text=IndexPatternField), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/server/index.ts#:~:text=IndexPatternField), [agg_config.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/aggs/agg_config.test.ts#:~:text=IndexPatternField), [agg_config.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/aggs/agg_config.test.ts#:~:text=IndexPatternField), [_terms_other_bucket_helper.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts#:~:text=IndexPatternField)+ 11 more | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IndexPatternsService), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/server/index.ts#:~:text=IndexPatternsService), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/server/index.ts#:~:text=IndexPatternsService), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/server/index.ts#:~:text=IndexPatternsService), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/index.ts#:~:text=IndexPatternsService) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IndexPatternsContract), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/create_search_source.ts#:~:text=IndexPatternsContract), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/create_search_source.ts#:~:text=IndexPatternsContract), [search_source_service.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source_service.ts#:~:text=IndexPatternsContract), [search_source_service.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source_service.ts#:~:text=IndexPatternsContract), [esaggs_fn.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts#:~:text=IndexPatternsContract), [esaggs_fn.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/search/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/search/types.ts#:~:text=IndexPatternsContract), [create_search_source.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/create_search_source.test.ts#:~:text=IndexPatternsContract)+ 29 more | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/types.ts#:~:text=IndexPattern), [search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source.ts#:~:text=IndexPattern), [search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source.ts#:~:text=IndexPattern), [search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source.ts#:~:text=IndexPattern), [tabify_docs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/tabify/tabify_docs.ts#:~:text=IndexPattern), [tabify_docs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/tabify/tabify_docs.ts#:~:text=IndexPattern)+ 88 more | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IFieldType), [filter_editor_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts#:~:text=IFieldType), [filter_editor_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts#:~:text=IFieldType), [filter_editor_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts#:~:text=IFieldType), [generate_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/query/filter_manager/lib/generate_filters.ts#:~:text=IFieldType), [generate_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/query/filter_manager/lib/generate_filters.ts#:~:text=IFieldType), [generate_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/query/filter_manager/lib/generate_filters.ts#:~:text=IFieldType), [generate_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/query/filter_manager/lib/generate_filters.ts#:~:text=IFieldType), [query_suggestion_provider.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts#:~:text=IFieldType), [query_suggestion_provider.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts#:~:text=IFieldType)+ 36 more | 8.1 | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IndexPatternField), [kibana_context_type.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/expressions/kibana_context_type.ts#:~:text=IndexPatternField), [kibana_context_type.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/expressions/kibana_context_type.ts#:~:text=IndexPatternField), [search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source.ts#:~:text=IndexPatternField), [search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source.ts#:~:text=IndexPatternField), [search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source.ts#:~:text=IndexPatternField), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/server/index.ts#:~:text=IndexPatternField), [agg_config.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/aggs/agg_config.test.ts#:~:text=IndexPatternField), [agg_config.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/aggs/agg_config.test.ts#:~:text=IndexPatternField), [_terms_other_bucket_helper.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts#:~:text=IndexPatternField)+ 11 more | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IIndexPattern), [get_time.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/query/timefilter/get_time.ts#:~:text=IIndexPattern), [get_time.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/query/timefilter/get_time.ts#:~:text=IIndexPattern), [get_time.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/query/timefilter/get_time.ts#:~:text=IIndexPattern), [get_time.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/query/timefilter/get_time.ts#:~:text=IIndexPattern), [filter_editor_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts#:~:text=IIndexPattern), [filter_editor_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts#:~:text=IIndexPattern), [filter_editor_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts#:~:text=IIndexPattern), [filter_editor_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts#:~:text=IIndexPattern), [generate_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/query/filter_manager/lib/generate_filters.ts#:~:text=IIndexPattern)+ 64 more | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IndexPatternAttributes), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/index.ts#:~:text=IndexPatternAttributes), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/server/index.ts#:~:text=IndexPatternAttributes) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IIndexPatternsApiClient) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IndexPatternFieldMap) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IndexPatternSpec), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/index.ts#:~:text=IndexPatternSpec) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IndexPatternType), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/index.ts#:~:text=IndexPatternType) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IndexPatternsService), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/server/index.ts#:~:text=IndexPatternsService), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/server/index.ts#:~:text=IndexPatternsService), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/server/index.ts#:~:text=IndexPatternsService), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/index.ts#:~:text=IndexPatternsService) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IndexPatternsContract), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/create_search_source.ts#:~:text=IndexPatternsContract), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/create_search_source.ts#:~:text=IndexPatternsContract), [search_source_service.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source_service.ts#:~:text=IndexPatternsContract), [search_source_service.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source_service.ts#:~:text=IndexPatternsContract), [esaggs_fn.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts#:~:text=IndexPatternsContract), [esaggs_fn.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/search/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/search/types.ts#:~:text=IndexPatternsContract), [create_search_source.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/create_search_source.test.ts#:~:text=IndexPatternsContract)+ 29 more | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/types.ts#:~:text=IndexPattern), [search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source.ts#:~:text=IndexPattern), [search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source.ts#:~:text=IndexPattern), [search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source.ts#:~:text=IndexPattern), [tabify_docs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/tabify/tabify_docs.ts#:~:text=IndexPattern), [tabify_docs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/tabify/tabify_docs.ts#:~:text=IndexPattern)+ 88 more | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IndexPatternListItem), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/index.ts#:~:text=IndexPatternListItem) | - | +| | [aggs_service.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/server/search/aggs/aggs_service.ts#:~:text=indexPatternsServiceFactory), [esaggs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/server/search/expressions/esaggs.ts#:~:text=indexPatternsServiceFactory), [search_service.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/server/search/search_service.ts#:~:text=indexPatternsServiceFactory) | - | | | [data_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/utils/table_inspector_view/components/data_table.tsx#:~:text=executeTriggerActions), [data_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/utils/table_inspector_view/components/data_table.tsx#:~:text=executeTriggerActions) | - | @@ -188,17 +204,63 @@ warning: This document is auto-generated and is meant to be viewed inside our ex +## dataViews + +| Deprecated API | Reference location(s) | Remove By | +| ---------------|-----------|-----------| +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternsService), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/public/index.ts#:~:text=IndexPatternsService) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternsContract), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/public/index.ts#:~:text=IndexPatternsContract) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPattern), [data_view_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.test.ts#:~:text=IndexPattern), [data_view_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.test.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/public/index.ts#:~:text=IndexPattern), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPattern), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPattern), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPattern), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPattern) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternField), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/public/index.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.test.ts#:~:text=IndexPatternField), [data_view_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.test.ts#:~:text=IndexPatternField)+ 2 more | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IIndexPattern), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=IIndexPattern), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=IIndexPattern) | - | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/utils.ts#:~:text=IFieldType), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/utils.ts#:~:text=IFieldType), [data_view_field.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.ts#:~:text=IFieldType), [data_view_field.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/types.ts#:~:text=IFieldType), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/types.ts#:~:text=IFieldType)+ 13 more | 8.1 | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [scripted_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/deprecations/scripted_fields.ts#:~:text=IndexPatternAttributes), [scripted_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/deprecations/scripted_fields.ts#:~:text=IndexPatternAttributes) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternSpec), [create_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/routes/create_index_pattern.ts#:~:text=IndexPatternSpec), [create_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/routes/create_index_pattern.ts#:~:text=IndexPatternSpec) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternType) | - | +| | [data_views.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_views.ts#:~:text=IndexPatternListItem), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternListItem) | - | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/utils.ts#:~:text=IFieldType), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/utils.ts#:~:text=IFieldType), [data_view_field.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.ts#:~:text=IFieldType), [data_view_field.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/types.ts#:~:text=IFieldType), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/types.ts#:~:text=IFieldType)+ 13 more | 8.1 | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IIndexPattern), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=IIndexPattern), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=IIndexPattern) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [scripted_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/deprecations/scripted_fields.ts#:~:text=IndexPatternAttributes), [scripted_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/deprecations/scripted_fields.ts#:~:text=IndexPatternAttributes) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IIndexPatternsApiClient), [index_patterns_api_client.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/index_patterns_api_client.ts#:~:text=IIndexPatternsApiClient), [index_patterns_api_client.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/index_patterns_api_client.ts#:~:text=IIndexPatternsApiClient) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternFieldMap) | - | +| | [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=intervalName), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=intervalName), [data_views.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_views.ts#:~:text=intervalName) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternSpec), [create_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/routes/create_index_pattern.ts#:~:text=IndexPatternSpec), [create_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/routes/create_index_pattern.ts#:~:text=IndexPatternSpec) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternField), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/public/index.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.test.ts#:~:text=IndexPatternField), [data_view_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.test.ts#:~:text=IndexPatternField)+ 2 more | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternType) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternsService), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/public/index.ts#:~:text=IndexPatternsService) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternsContract), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/public/index.ts#:~:text=IndexPatternsContract) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPattern), [data_view_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.test.ts#:~:text=IndexPattern), [data_view_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.test.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/public/index.ts#:~:text=IndexPattern), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPattern), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPattern), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPattern), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPattern) | - | +| | [data_views.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_views.ts#:~:text=IndexPatternListItem), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternListItem) | - | +| | [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=intervalName), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=intervalName), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=intervalName), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=intervalName), [data_views.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_views.ts#:~:text=intervalName), [update_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/routes/update_index_pattern.ts#:~:text=intervalName), [update_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/routes/update_index_pattern.ts#:~:text=intervalName) | 8.1 | +| | [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=addScriptedField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=addScriptedField) | 8.1 | +| | [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=removeScriptedField) | 8.1 | +| | [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=getNonScriptedFields) | 8.1 | +| | [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=getScriptedFields), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=getScriptedFields), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=getScriptedFields), [data_views.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_views.ts#:~:text=getScriptedFields), [register_index_pattern_usage_collection.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/register_index_pattern_usage_collection.ts#:~:text=getScriptedFields), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=getScriptedFields), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=getScriptedFields), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=getScriptedFields), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=getScriptedFields), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=getScriptedFields)+ 1 more | 8.1 | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternField), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/public/index.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.test.ts#:~:text=IndexPatternField), [data_view_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.test.ts#:~:text=IndexPatternField)+ 2 more | - | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/utils.ts#:~:text=IFieldType), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/utils.ts#:~:text=IFieldType), [data_view_field.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.ts#:~:text=IFieldType), [data_view_field.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/types.ts#:~:text=IFieldType), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/types.ts#:~:text=IFieldType)+ 13 more | 8.1 | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [scripted_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/deprecations/scripted_fields.ts#:~:text=IndexPatternAttributes), [scripted_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/deprecations/scripted_fields.ts#:~:text=IndexPatternAttributes) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPattern), [data_view_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.test.ts#:~:text=IndexPattern), [data_view_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.test.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/public/index.ts#:~:text=IndexPattern), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPattern), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPattern), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPattern), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPattern) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternsService), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/public/index.ts#:~:text=IndexPatternsService), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternsService), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/public/index.ts#:~:text=IndexPatternsService) | - | +| | [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=intervalName), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=intervalName), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=intervalName), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=intervalName), [data_views.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_views.ts#:~:text=intervalName), [update_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/routes/update_index_pattern.ts#:~:text=intervalName), [update_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/routes/update_index_pattern.ts#:~:text=intervalName) | 8.1 | +| | [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=addScriptedField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=addScriptedField) | 8.1 | +| | [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=removeScriptedField) | 8.1 | +| | [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=getNonScriptedFields) | 8.1 | +| | [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=getScriptedFields), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=getScriptedFields), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=getScriptedFields), [data_views.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_views.ts#:~:text=getScriptedFields), [register_index_pattern_usage_collection.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/register_index_pattern_usage_collection.ts#:~:text=getScriptedFields), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=getScriptedFields), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=getScriptedFields), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=getScriptedFields), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=getScriptedFields), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=getScriptedFields)+ 1 more | 8.1 | + + + ## dataVisualizer | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts#:~:text=IndexPattern), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts#:~:text=IndexPattern), [geo_point_content_with_map.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx#:~:text=IndexPattern), [geo_point_content_with_map.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx#:~:text=IndexPattern), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPattern), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPattern)+ 23 more | - | -| | [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField) | - | +| | [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts#:~:text=IndexPattern), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts#:~:text=IndexPattern), [geo_point_content_with_map.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx#:~:text=IndexPattern), [geo_point_content_with_map.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx#:~:text=IndexPattern), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPattern), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPattern)+ 60 more | - | +| | [field_data_row.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts#:~:text=IndexPatternField), [field_data_row.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPatternField), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPatternField), [search_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx#:~:text=IndexPatternField), [search_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx#:~:text=IndexPatternField), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField)+ 16 more | - | | | [file_data_visualizer.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/file_data_visualizer.tsx#:~:text=indexPatterns), [index_data_visualizer.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx#:~:text=indexPatterns) | - | -| | [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts#:~:text=IndexPattern), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts#:~:text=IndexPattern), [geo_point_content_with_map.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx#:~:text=IndexPattern), [geo_point_content_with_map.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx#:~:text=IndexPattern), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPattern), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPattern)+ 23 more | - | -| | [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField) | - | -| | [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField) | - | -| | [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts#:~:text=IndexPattern), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts#:~:text=IndexPattern), [geo_point_content_with_map.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx#:~:text=IndexPattern), [geo_point_content_with_map.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx#:~:text=IndexPattern), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPattern), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPattern)+ 23 more | - | +| | [field_data_row.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts#:~:text=IndexPatternField), [field_data_row.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPatternField), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPatternField), [search_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx#:~:text=IndexPatternField), [search_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx#:~:text=IndexPatternField), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField)+ 16 more | - | +| | [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts#:~:text=IndexPattern), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts#:~:text=IndexPattern), [geo_point_content_with_map.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx#:~:text=IndexPattern), [geo_point_content_with_map.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx#:~:text=IndexPattern), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPattern), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPattern)+ 60 more | - | +| | [field_data_row.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts#:~:text=IndexPatternField), [field_data_row.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPatternField), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPatternField), [search_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx#:~:text=IndexPatternField), [search_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx#:~:text=IndexPatternField), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField)+ 3 more | - | +| | [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts#:~:text=IndexPattern), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts#:~:text=IndexPattern), [geo_point_content_with_map.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx#:~:text=IndexPattern), [geo_point_content_with_map.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx#:~:text=IndexPattern), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPattern), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPattern)+ 25 more | - | @@ -206,10 +268,10 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService) | - | -| | [use_data_grid_columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_data_grid_columns.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_data_grid_columns.ts#:~:text=IndexPatternsContract), [use_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_index_pattern.tsx#:~:text=IndexPatternsContract), [use_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_index_pattern.tsx#:~:text=IndexPatternsContract), [resolve_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts#:~:text=IndexPatternsContract)+ 20 more | - | -| | [helpers.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx#:~:text=IndexPattern), [discover_grid_flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx#:~:text=IndexPattern), [discover_grid_flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx#:~:text=IndexPattern), [discover_grid_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx#:~:text=IndexPattern), [discover_grid_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx#:~:text=IndexPattern), [get_render_cell_value.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx#:~:text=IndexPattern), [get_render_cell_value.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx#:~:text=IndexPattern), [discover_grid_columns.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx#:~:text=IndexPattern), [discover_grid_columns.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx#:~:text=IndexPattern)+ 172 more | - | -| | [field_name.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/field_name/field_name.tsx#:~:text=IndexPatternField), [field_name.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/field_name/field_name.tsx#:~:text=IndexPatternField), [table_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table_cell_actions.tsx#:~:text=IndexPatternField), [table_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table_cell_actions.tsx#:~:text=IndexPatternField), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table.tsx#:~:text=IndexPatternField), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table.tsx#:~:text=IndexPatternField), [discover_field_bucket.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx#:~:text=IndexPatternField), [discover_field_bucket.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx#:~:text=IndexPatternField), [discover_field_bucket.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx#:~:text=IndexPatternField), [discover_field_details.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx#:~:text=IndexPatternField)+ 91 more | - | +| | [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService)+ 6 more | - | +| | [use_data_grid_columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_data_grid_columns.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_data_grid_columns.ts#:~:text=IndexPatternsContract), [use_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_index_pattern.tsx#:~:text=IndexPatternsContract), [use_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_index_pattern.tsx#:~:text=IndexPatternsContract), [resolve_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts#:~:text=IndexPatternsContract)+ 50 more | - | +| | [helpers.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx#:~:text=IndexPattern), [discover_grid_flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx#:~:text=IndexPattern), [discover_grid_flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx#:~:text=IndexPattern), [discover_grid_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx#:~:text=IndexPattern), [discover_grid_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx#:~:text=IndexPattern), [get_render_cell_value.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx#:~:text=IndexPattern), [get_render_cell_value.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx#:~:text=IndexPattern), [discover_grid_columns.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx#:~:text=IndexPattern), [discover_grid_columns.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx#:~:text=IndexPattern)+ 354 more | - | +| | [discover_grid_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx#:~:text=IndexPatternField), [discover_grid_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx#:~:text=IndexPatternField), [doc_table_wrapper.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx#:~:text=IndexPatternField), [doc_table_wrapper.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx#:~:text=IndexPatternField), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=IndexPatternField), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=IndexPatternField), [context_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/context/context_app.tsx#:~:text=IndexPatternField), [context_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/context/context_app.tsx#:~:text=IndexPatternField), [discover_field_visualize.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx#:~:text=IndexPatternField), [discover_field_visualize.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx#:~:text=IndexPatternField)+ 192 more | - | | | [discover_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx#:~:text=IndexPatternAttributes), [discover_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx#:~:text=IndexPatternAttributes), [discover_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts#:~:text=IndexPatternAttributes), [discover_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts#:~:text=IndexPatternAttributes), [discover_sidebar_responsive.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx#:~:text=IndexPatternAttributes), [discover_sidebar_responsive.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/discover_main_app.tsx#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/discover_main_app.tsx#:~:text=IndexPatternAttributes)+ 3 more | - | | | [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=create), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=create) | - | | | [anchor.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/context/services/anchor.ts#:~:text=fetch), [fetch_hits_in_interval.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/context/services/utils/fetch_hits_in_interval.ts#:~:text=fetch) | 8.1 | @@ -217,15 +279,15 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [histogram.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/chart/histogram.tsx#:~:text=fieldFormats) | - | | | [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=esFilters), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=esFilters), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=esFilters), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=esFilters), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=esFilters), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=esFilters), [get_context_url.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/get_context_url.tsx#:~:text=esFilters), [get_context_url.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/get_context_url.tsx#:~:text=esFilters), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/services/discover_state.ts#:~:text=esFilters), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/services/discover_state.ts#:~:text=esFilters)+ 17 more | 8.1 | | | [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/types.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/services/discover_state.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/services/discover_state.ts#:~:text=Filter)+ 21 more | 8.1 | -| | [discover_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx#:~:text=IndexPatternAttributes), [discover_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx#:~:text=IndexPatternAttributes), [discover_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts#:~:text=IndexPatternAttributes), [discover_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts#:~:text=IndexPatternAttributes), [discover_sidebar_responsive.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx#:~:text=IndexPatternAttributes), [discover_sidebar_responsive.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/discover_main_app.tsx#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/discover_main_app.tsx#:~:text=IndexPatternAttributes)+ 3 more | - | +| | [discover_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx#:~:text=IndexPatternAttributes), [discover_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx#:~:text=IndexPatternAttributes), [discover_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts#:~:text=IndexPatternAttributes), [discover_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts#:~:text=IndexPatternAttributes), [discover_sidebar_responsive.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx#:~:text=IndexPatternAttributes), [discover_sidebar_responsive.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/discover_main_app.tsx#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/discover_main_app.tsx#:~:text=IndexPatternAttributes)+ 16 more | - | +| | [discover_grid_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx#:~:text=IndexPatternField), [discover_grid_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx#:~:text=IndexPatternField), [doc_table_wrapper.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx#:~:text=IndexPatternField), [doc_table_wrapper.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx#:~:text=IndexPatternField), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=IndexPatternField), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=IndexPatternField), [context_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/context/context_app.tsx#:~:text=IndexPatternField), [context_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/context/context_app.tsx#:~:text=IndexPatternField), [discover_field_visualize.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx#:~:text=IndexPatternField), [discover_field_visualize.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx#:~:text=IndexPatternField)+ 192 more | - | +| | [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService)+ 6 more | - | +| | [use_data_grid_columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_data_grid_columns.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_data_grid_columns.ts#:~:text=IndexPatternsContract), [use_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_index_pattern.tsx#:~:text=IndexPatternsContract), [use_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_index_pattern.tsx#:~:text=IndexPatternsContract), [resolve_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts#:~:text=IndexPatternsContract)+ 50 more | - | +| | [helpers.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx#:~:text=IndexPattern), [discover_grid_flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx#:~:text=IndexPattern), [discover_grid_flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx#:~:text=IndexPattern), [discover_grid_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx#:~:text=IndexPattern), [discover_grid_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx#:~:text=IndexPattern), [get_render_cell_value.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx#:~:text=IndexPattern), [get_render_cell_value.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx#:~:text=IndexPattern), [discover_grid_columns.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx#:~:text=IndexPattern), [discover_grid_columns.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx#:~:text=IndexPattern)+ 354 more | - | | | [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/types.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/services/discover_state.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/services/discover_state.ts#:~:text=Filter)+ 21 more | 8.1 | -| | [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService) | - | -| | [use_data_grid_columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_data_grid_columns.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_data_grid_columns.ts#:~:text=IndexPatternsContract), [use_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_index_pattern.tsx#:~:text=IndexPatternsContract), [use_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_index_pattern.tsx#:~:text=IndexPatternsContract), [resolve_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts#:~:text=IndexPatternsContract)+ 20 more | - | -| | [helpers.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx#:~:text=IndexPattern), [discover_grid_flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx#:~:text=IndexPattern), [discover_grid_flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx#:~:text=IndexPattern), [discover_grid_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx#:~:text=IndexPattern), [discover_grid_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx#:~:text=IndexPattern), [get_render_cell_value.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx#:~:text=IndexPattern), [get_render_cell_value.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx#:~:text=IndexPattern), [discover_grid_columns.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx#:~:text=IndexPattern), [discover_grid_columns.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx#:~:text=IndexPattern)+ 172 more | - | -| | [field_name.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/field_name/field_name.tsx#:~:text=IndexPatternField), [field_name.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/field_name/field_name.tsx#:~:text=IndexPatternField), [table_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table_cell_actions.tsx#:~:text=IndexPatternField), [table_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table_cell_actions.tsx#:~:text=IndexPatternField), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table.tsx#:~:text=IndexPatternField), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table.tsx#:~:text=IndexPatternField), [discover_field_bucket.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx#:~:text=IndexPatternField), [discover_field_bucket.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx#:~:text=IndexPatternField), [discover_field_bucket.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx#:~:text=IndexPatternField), [discover_field_details.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx#:~:text=IndexPatternField)+ 91 more | - | | | [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=create), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=create) | - | | | [anchor.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/context/services/anchor.ts#:~:text=fetch), [fetch_hits_in_interval.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/context/services/utils/fetch_hits_in_interval.ts#:~:text=fetch) | 8.1 | -| | [field_name.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/field_name/field_name.tsx#:~:text=IndexPatternField), [field_name.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/field_name/field_name.tsx#:~:text=IndexPatternField), [table_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table_cell_actions.tsx#:~:text=IndexPatternField), [table_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table_cell_actions.tsx#:~:text=IndexPatternField), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table.tsx#:~:text=IndexPatternField), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table.tsx#:~:text=IndexPatternField), [discover_field_bucket.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx#:~:text=IndexPatternField), [discover_field_bucket.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx#:~:text=IndexPatternField), [discover_field_bucket.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx#:~:text=IndexPatternField), [discover_field_details.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx#:~:text=IndexPatternField)+ 91 more | - | +| | [discover_grid_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx#:~:text=IndexPatternField), [discover_grid_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx#:~:text=IndexPatternField), [doc_table_wrapper.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx#:~:text=IndexPatternField), [doc_table_wrapper.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx#:~:text=IndexPatternField), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=IndexPatternField), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=IndexPatternField), [context_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/context/context_app.tsx#:~:text=IndexPatternField), [context_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/context/context_app.tsx#:~:text=IndexPatternField), [discover_field_visualize.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx#:~:text=IndexPatternField), [discover_field_visualize.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx#:~:text=IndexPatternField)+ 91 more | - | | | [discover_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx#:~:text=IndexPatternAttributes), [discover_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx#:~:text=IndexPatternAttributes), [discover_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts#:~:text=IndexPatternAttributes), [discover_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts#:~:text=IndexPatternAttributes), [discover_sidebar_responsive.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx#:~:text=IndexPatternAttributes), [discover_sidebar_responsive.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/discover_main_app.tsx#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/discover_main_app.tsx#:~:text=IndexPatternAttributes)+ 3 more | - | | | [helpers.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx#:~:text=IndexPattern), [discover_grid_flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx#:~:text=IndexPattern), [discover_grid_flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx#:~:text=IndexPattern), [discover_grid_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx#:~:text=IndexPattern), [discover_grid_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx#:~:text=IndexPattern), [get_render_cell_value.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx#:~:text=IndexPattern), [get_render_cell_value.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx#:~:text=IndexPattern), [discover_grid_columns.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx#:~:text=IndexPattern), [discover_grid_columns.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx#:~:text=IndexPattern)+ 172 more | - | | | [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService)+ 6 more | - | @@ -294,7 +356,7 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType) | 8.1 | | | [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=indexPatterns), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=indexPatterns), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=indexPatterns), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=indexPatterns) | - | | | [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/data_stream/list_page/index.tsx#:~:text=fieldFormats) | - | -| | [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType) | 8.1 | +| | [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType)+ 2 more | 8.1 | | | [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType) | 8.1 | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/plugin.ts#:~:text=license%24) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/server/plugin.ts#:~:text=license%24) | - | @@ -307,15 +369,16 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [application.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/application.ts#:~:text=IndexPatternsContract), [application.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/application.ts#:~:text=IndexPatternsContract) | - | -| | [app_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/types/app_state.ts#:~:text=IndexPattern), [app_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/types/app_state.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [datasource.sagas.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.sagas.ts#:~:text=IndexPattern), [datasource.sagas.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.sagas.ts#:~:text=IndexPattern), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=IndexPattern), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=IndexPattern)+ 17 more | - | +| | [application.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/application.ts#:~:text=IndexPatternsContract), [application.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/application.ts#:~:text=IndexPatternsContract), [application.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/application.ts#:~:text=IndexPatternsContract), [application.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/application.ts#:~:text=IndexPatternsContract) | - | +| | [app_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/types/app_state.ts#:~:text=IndexPattern), [app_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/types/app_state.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [datasource.sagas.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.sagas.ts#:~:text=IndexPattern), [datasource.sagas.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.sagas.ts#:~:text=IndexPattern), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=IndexPattern), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=IndexPattern)+ 44 more | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/plugin.ts#:~:text=indexPatterns) | - | | | [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=esKuery), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=esKuery), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=esKuery) | 8.1 | -| | [application.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/application.ts#:~:text=IndexPatternsContract), [application.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/application.ts#:~:text=IndexPatternsContract) | - | -| | [app_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/types/app_state.ts#:~:text=IndexPattern), [app_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/types/app_state.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [datasource.sagas.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.sagas.ts#:~:text=IndexPattern), [datasource.sagas.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.sagas.ts#:~:text=IndexPattern), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=IndexPattern), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=IndexPattern)+ 17 more | - | -| | [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=getNonScriptedFields), [datasource.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.test.ts#:~:text=getNonScriptedFields), [deserialize.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts#:~:text=getNonScriptedFields), [deserialize.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts#:~:text=getNonScriptedFields) | 8.1 | +| | [application.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/application.ts#:~:text=IndexPatternsContract), [application.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/application.ts#:~:text=IndexPatternsContract), [application.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/application.ts#:~:text=IndexPatternsContract), [application.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/application.ts#:~:text=IndexPatternsContract) | - | +| | [app_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/types/app_state.ts#:~:text=IndexPattern), [app_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/types/app_state.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [datasource.sagas.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.sagas.ts#:~:text=IndexPattern), [datasource.sagas.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.sagas.ts#:~:text=IndexPattern), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=IndexPattern), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=IndexPattern)+ 44 more | - | +| | [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=getNonScriptedFields), [datasource.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.test.ts#:~:text=getNonScriptedFields), [deserialize.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts#:~:text=getNonScriptedFields), [deserialize.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts#:~:text=getNonScriptedFields), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=getNonScriptedFields), [datasource.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.test.ts#:~:text=getNonScriptedFields), [deserialize.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts#:~:text=getNonScriptedFields), [deserialize.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts#:~:text=getNonScriptedFields) | 8.1 | | | [app_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/types/app_state.ts#:~:text=IndexPattern), [app_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/types/app_state.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [datasource.sagas.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.sagas.ts#:~:text=IndexPattern), [datasource.sagas.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.sagas.ts#:~:text=IndexPattern), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=IndexPattern), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=IndexPattern)+ 17 more | - | | | [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=getNonScriptedFields), [datasource.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.test.ts#:~:text=getNonScriptedFields), [deserialize.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts#:~:text=getNonScriptedFields), [deserialize.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts#:~:text=getNonScriptedFields) | 8.1 | +| | [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=getNonScriptedFields), [datasource.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.test.ts#:~:text=getNonScriptedFields), [deserialize.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts#:~:text=getNonScriptedFields), [deserialize.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts#:~:text=getNonScriptedFields) | 8.1 | | | [save_modal.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/save_modal.tsx#:~:text=SavedObjectSaveModal), [save_modal.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/save_modal.tsx#:~:text=SavedObjectSaveModal) | - | | | [listing_route.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/apps/listing_route.tsx#:~:text=settings), [listing_route.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/apps/listing_route.tsx#:~:text=settings) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/server/plugin.ts#:~:text=license%24) | - | @@ -342,13 +405,13 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/types.ts#:~:text=IndexPattern), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/target/types/public/types.d.ts#:~:text=IndexPattern), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/target/types/public/types.d.ts#:~:text=IndexPattern) | - | -| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField) | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/types.ts#:~:text=IndexPattern), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/target/types/public/types.d.ts#:~:text=IndexPattern), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/target/types/public/types.d.ts#:~:text=IndexPattern), [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern)+ 4 more | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField)+ 2 more | - | | | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec), [index_pattern_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx#:~:text=IndexPatternSpec), [index_pattern_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx#:~:text=IndexPatternSpec) | - | | | [plugin.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/plugin.tsx#:~:text=indexPatterns), [plugin.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/plugin.tsx#:~:text=indexPatterns) | - | -| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/types.ts#:~:text=IndexPattern), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/target/types/public/types.d.ts#:~:text=IndexPattern), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/target/types/public/types.d.ts#:~:text=IndexPattern) | - | -| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField) | - | -| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec), [index_pattern_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx#:~:text=IndexPatternSpec), [index_pattern_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx#:~:text=IndexPatternSpec) | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec), [index_pattern_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx#:~:text=IndexPatternSpec), [index_pattern_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx#:~:text=IndexPatternSpec), [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec)+ 2 more | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField)+ 2 more | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/types.ts#:~:text=IndexPattern), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/target/types/public/types.d.ts#:~:text=IndexPattern), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/target/types/public/types.d.ts#:~:text=IndexPattern), [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern)+ 4 more | - | | | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField) | - | | | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/types.ts#:~:text=IndexPattern), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/target/types/public/types.d.ts#:~:text=IndexPattern), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/target/types/public/types.d.ts#:~:text=IndexPattern) | - | @@ -358,13 +421,13 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPattern), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPattern), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPattern), [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=IndexPattern), [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=IndexPattern), [remove_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts#:~:text=IndexPattern), [remove_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts#:~:text=IndexPattern), [open_delete_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx#:~:text=IndexPattern), [open_delete_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx#:~:text=IndexPattern), [delete_field_provider.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx#:~:text=IndexPattern)+ 9 more | - | -| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPatternField), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPatternField), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField) | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPattern), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPattern), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPattern), [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=IndexPattern), [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=IndexPattern), [remove_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts#:~:text=IndexPattern), [remove_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts#:~:text=IndexPattern), [open_delete_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx#:~:text=IndexPattern), [open_delete_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx#:~:text=IndexPattern), [delete_field_provider.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx#:~:text=IndexPattern)+ 28 more | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPatternField), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPatternField), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPatternField)+ 8 more | - | | | [field_format_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx#:~:text=castEsToKbnFieldTypeName), [field_format_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx#:~:text=castEsToKbnFieldTypeName) | 8.1 | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/plugin.ts#:~:text=indexPatterns), [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/plugin.ts#:~:text=indexPatterns) | - | | | [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=fieldFormats), [field_format_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx#:~:text=fieldFormats), [field_format_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx#:~:text=fieldFormats), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=fieldFormats), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=fieldFormats), [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/plugin.ts#:~:text=fieldFormats), [field_format_editor.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts#:~:text=fieldFormats), [setup_environment.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/__jest__/client_integration/helpers/setup_environment.tsx#:~:text=fieldFormats) | - | -| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPattern), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPattern), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPattern), [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=IndexPattern), [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=IndexPattern), [remove_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts#:~:text=IndexPattern), [remove_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts#:~:text=IndexPattern), [open_delete_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx#:~:text=IndexPattern), [open_delete_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx#:~:text=IndexPattern), [delete_field_provider.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx#:~:text=IndexPattern)+ 9 more | - | -| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPatternField), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPatternField), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField) | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPatternField), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPatternField), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPatternField)+ 8 more | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPattern), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPattern), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPattern), [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=IndexPattern), [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=IndexPattern), [remove_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts#:~:text=IndexPattern), [remove_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts#:~:text=IndexPattern), [open_delete_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx#:~:text=IndexPattern), [open_delete_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx#:~:text=IndexPattern), [delete_field_provider.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx#:~:text=IndexPattern)+ 28 more | - | | | [field_format_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx#:~:text=castEsToKbnFieldTypeName), [field_format_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx#:~:text=castEsToKbnFieldTypeName) | 8.1 | | | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPatternField), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPatternField), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField) | - | | | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPattern), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPattern), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPattern), [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=IndexPattern), [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=IndexPattern), [remove_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts#:~:text=IndexPattern), [remove_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts#:~:text=IndexPattern), [open_delete_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx#:~:text=IndexPattern), [open_delete_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx#:~:text=IndexPattern), [delete_field_provider.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx#:~:text=IndexPattern)+ 9 more | - | @@ -376,9 +439,9 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternsContract), [utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.test.ts#:~:text=IndexPatternsContract), [utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.test.ts#:~:text=IndexPatternsContract), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternsContract), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternsContract) | - | -| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=IndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=IndexPattern)+ 36 more | - | -| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts#:~:text=IndexPatternField), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField)+ 16 more | - | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternsContract), [utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.test.ts#:~:text=IndexPatternsContract), [utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.test.ts#:~:text=IndexPatternsContract), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternsContract), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternsContract), [utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.test.ts#:~:text=IndexPatternsContract), [utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.test.ts#:~:text=IndexPatternsContract)+ 2 more | - | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=IndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=IndexPattern)+ 82 more | - | +| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts#:~:text=IndexPatternField), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField)+ 42 more | - | | | [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [index_header.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx#:~:text=IIndexPattern), [index_header.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx#:~:text=IIndexPattern), [index_header.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts#:~:text=IIndexPattern), [index_header.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts#:~:text=IIndexPattern) | - | | | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IFieldType), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IFieldType), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IFieldType), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IFieldType) | 8.1 | | | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem) | - | @@ -386,15 +449,15 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=indexPatterns), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=indexPatterns), [edit_index_pattern_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx#:~:text=indexPatterns), [edit_index_pattern_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx#:~:text=indexPatterns), [create_edit_field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx#:~:text=indexPatterns), [create_edit_field_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx#:~:text=indexPatterns), [create_edit_field_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx#:~:text=indexPatterns) | - | | | [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=fieldFormats), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=fieldFormats), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=fieldFormats), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=fieldFormats), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=fieldFormats), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=fieldFormats) | - | | | [test_script.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx#:~:text=esQuery), [test_script.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx#:~:text=esQuery), [test_script.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx#:~:text=esQuery) | 8.1 | -| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternsContract), [utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.test.ts#:~:text=IndexPatternsContract), [utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.test.ts#:~:text=IndexPatternsContract), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternsContract), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternsContract) | - | -| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=IndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=IndexPattern)+ 36 more | - | -| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem) | - | -| | [scripted_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx#:~:text=removeScriptedField), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=removeScriptedField) | 8.1 | -| | [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields) | 8.1 | -| | [scripted_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx#:~:text=getScriptedFields) | 8.1 | -| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IFieldType), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IFieldType), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IFieldType), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IFieldType) | 8.1 | -| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts#:~:text=IndexPatternField), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField)+ 16 more | - | -| | [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [index_header.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx#:~:text=IIndexPattern), [index_header.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx#:~:text=IIndexPattern), [index_header.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts#:~:text=IIndexPattern), [index_header.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts#:~:text=IIndexPattern) | - | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IFieldType), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IFieldType), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IFieldType), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IFieldType), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IFieldType), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IFieldType), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IFieldType), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IFieldType) | 8.1 | +| | [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [index_header.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx#:~:text=IIndexPattern), [index_header.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx#:~:text=IIndexPattern), [index_header.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts#:~:text=IIndexPattern), [index_header.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts#:~:text=IIndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx#:~:text=IIndexPattern)+ 6 more | - | +| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts#:~:text=IndexPatternField), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField)+ 42 more | - | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternsContract), [utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.test.ts#:~:text=IndexPatternsContract), [utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.test.ts#:~:text=IndexPatternsContract), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternsContract), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternsContract), [utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.test.ts#:~:text=IndexPatternsContract), [utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.test.ts#:~:text=IndexPatternsContract)+ 2 more | - | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=IndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=IndexPattern)+ 82 more | - | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem)+ 6 more | - | +| | [scripted_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx#:~:text=removeScriptedField), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=removeScriptedField), [scripted_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx#:~:text=removeScriptedField), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=removeScriptedField) | 8.1 | +| | [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields) | 8.1 | +| | [scripted_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx#:~:text=getScriptedFields), [scripted_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx#:~:text=getScriptedFields) | 8.1 | | | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/constants/index.ts#:~:text=getKbnTypeNames), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/constants/index.ts#:~:text=getKbnTypeNames) | 8.1 | | | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts#:~:text=IndexPatternField), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField)+ 16 more | - | | | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IFieldType), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IFieldType), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IFieldType), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IFieldType) | 8.1 | @@ -402,6 +465,9 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [scripted_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx#:~:text=removeScriptedField), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=removeScriptedField) | 8.1 | | | [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields) | 8.1 | | | [scripted_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx#:~:text=getScriptedFields) | 8.1 | +| | [scripted_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx#:~:text=removeScriptedField), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=removeScriptedField) | 8.1 | +| | [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields) | 8.1 | +| | [scripted_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx#:~:text=getScriptedFields) | 8.1 | @@ -409,22 +475,23 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [log_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts#:~:text=IndexPatternsContract), [log_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPatternsContract)+ 1 more | - | -| | [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPattern), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPattern), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPattern), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern)+ 2 more | - | +| | [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [log_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts#:~:text=IndexPatternsContract), [log_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPatternsContract)+ 12 more | - | +| | [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPattern), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPattern), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPattern), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern)+ 14 more | - | | | [with_kuery_autocompletion.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx#:~:text=IIndexPattern), [with_kuery_autocompletion.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx#:~:text=IIndexPattern), [kuery_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx#:~:text=IIndexPattern), [kuery_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx#:~:text=IIndexPattern), [toolbar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx#:~:text=IIndexPattern), [toolbar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx#:~:text=IIndexPattern), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/kuery.ts#:~:text=IIndexPattern), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/kuery.ts#:~:text=IIndexPattern), [use_metrics_explorer_data.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts#:~:text=IIndexPattern), [use_metrics_explorer_data.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts#:~:text=IIndexPattern)+ 34 more | - | | | [custom_metric_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx#:~:text=IFieldType), [custom_metric_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx#:~:text=IFieldType), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx#:~:text=IFieldType), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx#:~:text=IFieldType), [custom_field_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx#:~:text=IFieldType), [custom_field_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx#:~:text=IFieldType), [waffle_group_by_controls.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx#:~:text=IFieldType), [waffle_group_by_controls.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx#:~:text=IFieldType), [metric.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx#:~:text=IFieldType), [metric.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx#:~:text=IFieldType)+ 46 more | 8.1 | | | [editor.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/editor.tsx#:~:text=indexPatterns), [log_stream.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/components/log_stream/log_stream.tsx#:~:text=indexPatterns), [log_stream.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/components/log_stream/log_stream.tsx#:~:text=indexPatterns), [logs_overview_fetchers.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/logs_overview_fetchers.ts#:~:text=indexPatterns), [redirect_to_node_logs.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/link_to/redirect_to_node_logs.tsx#:~:text=indexPatterns), [use_kibana_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/hooks/use_kibana_index_patterns.ts#:~:text=indexPatterns), [page_providers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/page_providers.tsx#:~:text=indexPatterns), [logs_overview_fetches.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/logs_overview_fetches.test.ts#:~:text=indexPatterns) | - | | | [kuery_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx#:~:text=esKuery), [kuery_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx#:~:text=esKuery), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/kuery.ts#:~:text=esKuery), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/kuery.ts#:~:text=esKuery), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/kuery.ts#:~:text=esKuery), [use_waffle_filters.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.ts#:~:text=esKuery), [use_waffle_filters.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.ts#:~:text=esKuery) | 8.1 | | | [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_stream/index.ts#:~:text=esQuery), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_stream/index.ts#:~:text=esQuery), [log_filter_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts#:~:text=esQuery), [log_filter_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts#:~:text=esQuery), [log_filter_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts#:~:text=esQuery) | 8.1 | | | [log_stream_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx#:~:text=Filter), [log_stream_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx#:~:text=Filter), [use_dataset_filtering.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts#:~:text=Filter), [use_dataset_filtering.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts#:~:text=Filter), [use_dataset_filtering.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts#:~:text=Filter) | 8.1 | +| | [custom_metric_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx#:~:text=IFieldType), [custom_metric_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx#:~:text=IFieldType), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx#:~:text=IFieldType), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx#:~:text=IFieldType), [custom_field_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx#:~:text=IFieldType), [custom_field_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx#:~:text=IFieldType), [waffle_group_by_controls.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx#:~:text=IFieldType), [waffle_group_by_controls.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx#:~:text=IFieldType), [metric.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx#:~:text=IFieldType), [metric.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx#:~:text=IFieldType)+ 102 more | 8.1 | +| | [with_kuery_autocompletion.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx#:~:text=IIndexPattern), [with_kuery_autocompletion.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx#:~:text=IIndexPattern), [kuery_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx#:~:text=IIndexPattern), [kuery_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx#:~:text=IIndexPattern), [toolbar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx#:~:text=IIndexPattern), [toolbar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx#:~:text=IIndexPattern), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/kuery.ts#:~:text=IIndexPattern), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/kuery.ts#:~:text=IIndexPattern), [use_metrics_explorer_data.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts#:~:text=IIndexPattern), [use_metrics_explorer_data.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts#:~:text=IIndexPattern)+ 78 more | - | +| | [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [log_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts#:~:text=IndexPatternsContract), [log_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPatternsContract)+ 12 more | - | +| | [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPattern), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPattern), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPattern), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern)+ 14 more | - | | | [log_stream_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx#:~:text=Filter), [log_stream_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx#:~:text=Filter), [use_dataset_filtering.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts#:~:text=Filter), [use_dataset_filtering.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts#:~:text=Filter), [use_dataset_filtering.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts#:~:text=Filter) | 8.1 | -| | [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [log_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts#:~:text=IndexPatternsContract), [log_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPatternsContract)+ 1 more | - | -| | [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPattern), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPattern), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPattern), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern)+ 2 more | - | -| | [custom_metric_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx#:~:text=IFieldType), [custom_metric_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx#:~:text=IFieldType), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx#:~:text=IFieldType), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx#:~:text=IFieldType), [custom_field_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx#:~:text=IFieldType), [custom_field_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx#:~:text=IFieldType), [waffle_group_by_controls.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx#:~:text=IFieldType), [waffle_group_by_controls.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx#:~:text=IFieldType), [metric.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx#:~:text=IFieldType), [metric.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx#:~:text=IFieldType)+ 46 more | 8.1 | -| | [with_kuery_autocompletion.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx#:~:text=IIndexPattern), [with_kuery_autocompletion.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx#:~:text=IIndexPattern), [kuery_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx#:~:text=IIndexPattern), [kuery_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx#:~:text=IIndexPattern), [toolbar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx#:~:text=IIndexPattern), [toolbar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx#:~:text=IIndexPattern), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/kuery.ts#:~:text=IIndexPattern), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/kuery.ts#:~:text=IIndexPattern), [use_metrics_explorer_data.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts#:~:text=IIndexPattern), [use_metrics_explorer_data.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts#:~:text=IIndexPattern)+ 34 more | - | | | [custom_metric_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx#:~:text=IFieldType), [custom_metric_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx#:~:text=IFieldType), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx#:~:text=IFieldType), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx#:~:text=IFieldType), [custom_field_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx#:~:text=IFieldType), [custom_field_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx#:~:text=IFieldType), [waffle_group_by_controls.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx#:~:text=IFieldType), [waffle_group_by_controls.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx#:~:text=IFieldType), [metric.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx#:~:text=IFieldType), [metric.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx#:~:text=IFieldType)+ 46 more | 8.1 | | | [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPattern), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPattern), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPattern), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern)+ 2 more | - | | | [log_stream_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx#:~:text=Filter), [log_stream_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx#:~:text=Filter), [use_dataset_filtering.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts#:~:text=Filter), [use_dataset_filtering.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts#:~:text=Filter), [use_dataset_filtering.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts#:~:text=Filter) | 8.1 | +| | [kibana_framework_adapter.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts#:~:text=indexPatternsServiceFactory), [log_entries_search_strategy.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/server/services/log_entries/log_entries_search_strategy.ts#:~:text=indexPatternsServiceFactory), [log_entry_search_strategy.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/server/services/log_entries/log_entry_search_strategy.ts#:~:text=indexPatternsServiceFactory) | - | | | [module_list_card.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/module_list_card.tsx#:~:text=getUrl) | - | | | [module_list_card.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/module_list_card.tsx#:~:text=getUrl) | - | | | [kibana_framework_adapter.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts#:~:text=spacesService), [kibana_framework_adapter.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts#:~:text=spacesService), [kibana_framework_adapter.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts#:~:text=spacesService), [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/server/plugin.ts#:~:text=spacesService) | 7.16 | @@ -445,16 +512,16 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPatternsContract), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts#:~:text=IndexPatternsContract), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=IndexPatternsContract), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract)+ 4 more | - | -| | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/create_search_source.ts#:~:text=IndexPattern), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/create_search_source.ts#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPattern), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPattern)+ 22 more | - | -| | [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=IndexPatternField), [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=IndexPatternField), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=IndexPatternField), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPatternField), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPatternField), [list_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx#:~:text=IndexPatternField)+ 2 more | - | +| | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPatternsContract), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts#:~:text=IndexPatternsContract), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=IndexPatternsContract), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract)+ 18 more | - | +| | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/create_search_source.ts#:~:text=IndexPattern), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/create_search_source.ts#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPattern), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPattern)+ 54 more | - | +| | [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=IndexPatternField), [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=IndexPatternField), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=IndexPatternField), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPatternField), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPatternField), [list_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx#:~:text=IndexPatternField)+ 14 more | - | | | [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=fetch), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=fetch) | 8.1 | | | [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=indexPatterns), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=indexPatterns), [controls_tab.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/controls_tab.tsx#:~:text=indexPatterns) | - | | | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=Filter), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=Filter), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=Filter), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=Filter), [control.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/control.ts#:~:text=Filter), [control.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/control.ts#:~:text=Filter), [vis_controller.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/vis_controller.tsx#:~:text=Filter), [vis_controller.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/vis_controller.tsx#:~:text=Filter), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=Filter), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=Filter)+ 4 more | 8.1 | +| | [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=IndexPatternField), [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=IndexPatternField), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=IndexPatternField), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPatternField), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPatternField), [list_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx#:~:text=IndexPatternField)+ 14 more | - | +| | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPatternsContract), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts#:~:text=IndexPatternsContract), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=IndexPatternsContract), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract)+ 18 more | - | +| | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/create_search_source.ts#:~:text=IndexPattern), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/create_search_source.ts#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPattern), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPattern)+ 54 more | - | | | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=Filter), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=Filter), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=Filter), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=Filter), [control.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/control.ts#:~:text=Filter), [control.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/control.ts#:~:text=Filter), [vis_controller.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/vis_controller.tsx#:~:text=Filter), [vis_controller.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/vis_controller.tsx#:~:text=Filter), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=Filter), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=Filter)+ 4 more | 8.1 | -| | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPatternsContract), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts#:~:text=IndexPatternsContract), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=IndexPatternsContract), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract)+ 4 more | - | -| | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/create_search_source.ts#:~:text=IndexPattern), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/create_search_source.ts#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPattern), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPattern)+ 22 more | - | -| | [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=IndexPatternField), [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=IndexPatternField), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=IndexPatternField), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPatternField), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPatternField), [list_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx#:~:text=IndexPatternField)+ 2 more | - | | | [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=fetch), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=fetch) | 8.1 | | | [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=IndexPatternField), [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=IndexPatternField), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=IndexPatternField), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPatternField), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPatternField), [list_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx#:~:text=IndexPatternField)+ 2 more | - | | | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/create_search_source.ts#:~:text=IndexPattern), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/create_search_source.ts#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPattern), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPattern)+ 22 more | - | @@ -483,25 +550,26 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService) | - | -| | [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPatternsContract), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/utils.ts#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/utils.ts#:~:text=IndexPatternsContract), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPatternsContract), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPatternsContract), [embeddable_factory.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable_factory.ts#:~:text=IndexPatternsContract), [embeddable_factory.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable_factory.ts#:~:text=IndexPatternsContract), [loader.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts#:~:text=IndexPatternsContract), [loader.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts#:~:text=IndexPatternsContract)+ 5 more | - | -| | [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPattern), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts#:~:text=IndexPattern), [existing_fields.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts#:~:text=IndexPattern), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPattern), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPattern)+ 13 more | - | -| | [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField) | - | +| | [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService) | - | +| | [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPatternsContract), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/utils.ts#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/utils.ts#:~:text=IndexPatternsContract), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPatternsContract), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPatternsContract), [embeddable_factory.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable_factory.ts#:~:text=IndexPatternsContract), [embeddable_factory.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable_factory.ts#:~:text=IndexPatternsContract), [loader.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts#:~:text=IndexPatternsContract), [loader.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts#:~:text=IndexPatternsContract)+ 20 more | - | +| | [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPattern), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts#:~:text=IndexPattern), [existing_fields.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts#:~:text=IndexPattern), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPattern), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPattern)+ 36 more | - | +| | [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField)+ 8 more | - | | | [datapanel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx#:~:text=indexPatterns), [datapanel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx#:~:text=indexPatterns), [datapanel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx#:~:text=indexPatterns), [datapanel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx#:~:text=indexPatterns), [indexpattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/indexpattern.tsx#:~:text=indexPatterns), [lens_top_nav.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx#:~:text=indexPatterns), [lens_top_nav.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx#:~:text=indexPatterns), [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/plugin.ts#:~:text=indexPatterns), [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/plugin.ts#:~:text=indexPatterns) | - | | | [ranges.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/ranges/ranges.tsx#:~:text=fieldFormats), [droppable.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/droppable/droppable.test.ts#:~:text=fieldFormats) | - | -| | [save_modal_container.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/app_plugin/save_modal_container.tsx#:~:text=esFilters), [save_modal_container.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/app_plugin/save_modal_container.tsx#:~:text=esFilters), [mocks.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/mocks.tsx#:~:text=esFilters), [mocks.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/mocks.tsx#:~:text=esFilters), [time_range_middleware.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/state_management/time_range_middleware.test.ts#:~:text=esFilters), [time_range_middleware.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/state_management/time_range_middleware.test.ts#:~:text=esFilters) | 8.1 | +| | [save_modal_container.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/app_plugin/save_modal_container.tsx#:~:text=esFilters), [save_modal_container.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/app_plugin/save_modal_container.tsx#:~:text=esFilters), [mocks.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/mocks.tsx#:~:text=esFilters), [mocks.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/mocks.tsx#:~:text=esFilters) | 8.1 | | | [validation.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/validation.ts#:~:text=esKuery), [validation.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/validation.ts#:~:text=esKuery), [validation.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/validation.ts#:~:text=esKuery) | 8.1 | | | [validation.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/validation.ts#:~:text=esQuery), [validation.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/validation.ts#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/terms/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/terms/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/terms/index.tsx#:~:text=esQuery), [field_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx#:~:text=esQuery), [field_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx#:~:text=esQuery), [field_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx#:~:text=esQuery), [datapanel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx#:~:text=esQuery), [datapanel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx#:~:text=esQuery)+ 1 more | 8.1 | | | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/types.ts#:~:text=Filter), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=Filter), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=Filter), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/state_management/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/state_management/types.ts#:~:text=Filter), [field_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx#:~:text=Filter), [field_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx#:~:text=Filter)+ 16 more | 8.1 | +| | [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField)+ 8 more | - | +| | [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService) | - | +| | [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPatternsContract), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/utils.ts#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/utils.ts#:~:text=IndexPatternsContract), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPatternsContract), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPatternsContract), [embeddable_factory.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable_factory.ts#:~:text=IndexPatternsContract), [embeddable_factory.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable_factory.ts#:~:text=IndexPatternsContract), [loader.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts#:~:text=IndexPatternsContract), [loader.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts#:~:text=IndexPatternsContract)+ 20 more | - | +| | [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPattern), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts#:~:text=IndexPattern), [existing_fields.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts#:~:text=IndexPattern), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPattern), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPattern)+ 36 more | - | | | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/types.ts#:~:text=Filter), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=Filter), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=Filter), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/state_management/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/state_management/types.ts#:~:text=Filter), [field_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx#:~:text=Filter), [field_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx#:~:text=Filter)+ 16 more | 8.1 | -| | [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService) | - | -| | [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPatternsContract), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/utils.ts#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/utils.ts#:~:text=IndexPatternsContract), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPatternsContract), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPatternsContract), [embeddable_factory.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable_factory.ts#:~:text=IndexPatternsContract), [embeddable_factory.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable_factory.ts#:~:text=IndexPatternsContract), [loader.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts#:~:text=IndexPatternsContract), [loader.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts#:~:text=IndexPatternsContract)+ 5 more | - | -| | [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPattern), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts#:~:text=IndexPattern), [existing_fields.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts#:~:text=IndexPattern), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPattern), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPattern)+ 13 more | - | -| | [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField) | - | | | [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField) | - | | | [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPattern), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts#:~:text=IndexPattern), [existing_fields.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts#:~:text=IndexPattern), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPattern), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPattern)+ 13 more | - | | | [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService) | - | | | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/types.ts#:~:text=Filter), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=Filter), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=Filter), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/state_management/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/state_management/types.ts#:~:text=Filter), [field_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx#:~:text=Filter), [field_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx#:~:text=Filter)+ 16 more | 8.1 | +| | [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=indexPatternsServiceFactory), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=indexPatternsServiceFactory) | - | | | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/app_plugin/types.ts#:~:text=onAppLeave), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/app_plugin/types.ts#:~:text=onAppLeave), [mounter.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/app_plugin/mounter.tsx#:~:text=onAppLeave) | - | | | [saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/migrations/saved_object_migrations.ts#:~:text=warning), [saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/migrations/saved_object_migrations.ts#:~:text=warning) | - | @@ -536,24 +604,25 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService) | - | -| | [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/lazy_load_bundle/index.ts#:~:text=IndexPatternsContract), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/lazy_load_bundle/index.ts#:~:text=IndexPatternsContract), [index.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts#:~:text=IndexPatternsContract), [index.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts#:~:text=IndexPatternsContract) | - | -| | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/embeddable/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/embeddable/types.ts#:~:text=IndexPattern), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPattern), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPattern), [agg_field_types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts#:~:text=IndexPattern), [agg_field_types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts#:~:text=IndexPattern), [percentile_agg_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts#:~:text=IndexPattern), [percentile_agg_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts#:~:text=IndexPattern), [es_geo_grid_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx#:~:text=IndexPattern), [es_geo_grid_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx#:~:text=IndexPattern)+ 98 more | - | -| | [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField), [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=IndexPatternField), [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField)+ 129 more | - | +| | [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService), [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/lazy_load_bundle/index.ts#:~:text=IndexPatternsContract), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/lazy_load_bundle/index.ts#:~:text=IndexPatternsContract), [index.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts#:~:text=IndexPatternsContract), [index.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts#:~:text=IndexPatternsContract), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/lazy_load_bundle/index.ts#:~:text=IndexPatternsContract), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/lazy_load_bundle/index.ts#:~:text=IndexPatternsContract), [index.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts#:~:text=IndexPatternsContract), [index.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts#:~:text=IndexPatternsContract) | - | +| | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/embeddable/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/embeddable/types.ts#:~:text=IndexPattern), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPattern), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPattern), [agg_field_types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts#:~:text=IndexPattern), [agg_field_types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts#:~:text=IndexPattern), [percentile_agg_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts#:~:text=IndexPattern), [percentile_agg_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts#:~:text=IndexPattern), [es_geo_grid_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx#:~:text=IndexPattern), [es_geo_grid_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx#:~:text=IndexPattern)+ 206 more | - | +| | [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPatternField), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPatternField), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPatternField), [es_agg_utils.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts#:~:text=IndexPatternField), [es_agg_utils.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts#:~:text=IndexPatternField), [es_agg_utils.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts#:~:text=IndexPatternField), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField)+ 268 more | - | | | [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=fetch), [es_search_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=fetch), [es_search_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=fetch) | 8.1 | | | [kibana_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/kibana_services.ts#:~:text=indexPatterns) | - | | | [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=esFilters), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=esFilters), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=esFilters), [es_search_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=esFilters), [es_search_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=esFilters), [es_geo_line_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx#:~:text=esFilters), [es_geo_line_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx#:~:text=esFilters), [es_geo_line_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx#:~:text=esFilters), [app_sync.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/routes/map_page/url_state/app_sync.ts#:~:text=esFilters), [app_sync.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/routes/map_page/url_state/app_sync.ts#:~:text=esFilters)+ 9 more | 8.1 | | | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/reducers/map/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/reducers/map/types.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [vector_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx#:~:text=Filter), [vector_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx#:~:text=Filter), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=Filter), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=Filter)+ 105 more | 8.1 | +| | [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPatternField), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPatternField), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPatternField), [es_agg_utils.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts#:~:text=IndexPatternField), [es_agg_utils.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts#:~:text=IndexPatternField), [es_agg_utils.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts#:~:text=IndexPatternField), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField)+ 268 more | - | +| | [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService), [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/lazy_load_bundle/index.ts#:~:text=IndexPatternsContract), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/lazy_load_bundle/index.ts#:~:text=IndexPatternsContract), [index.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts#:~:text=IndexPatternsContract), [index.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts#:~:text=IndexPatternsContract), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/lazy_load_bundle/index.ts#:~:text=IndexPatternsContract), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/lazy_load_bundle/index.ts#:~:text=IndexPatternsContract), [index.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts#:~:text=IndexPatternsContract), [index.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts#:~:text=IndexPatternsContract) | - | +| | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/embeddable/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/embeddable/types.ts#:~:text=IndexPattern), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPattern), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPattern), [agg_field_types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts#:~:text=IndexPattern), [agg_field_types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts#:~:text=IndexPattern), [percentile_agg_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts#:~:text=IndexPattern), [percentile_agg_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts#:~:text=IndexPattern), [es_geo_grid_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx#:~:text=IndexPattern), [es_geo_grid_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx#:~:text=IndexPattern)+ 206 more | - | | | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/reducers/map/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/reducers/map/types.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [vector_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx#:~:text=Filter), [vector_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx#:~:text=Filter), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=Filter), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=Filter)+ 105 more | 8.1 | -| | [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService) | - | -| | [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/lazy_load_bundle/index.ts#:~:text=IndexPatternsContract), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/lazy_load_bundle/index.ts#:~:text=IndexPatternsContract), [index.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts#:~:text=IndexPatternsContract), [index.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts#:~:text=IndexPatternsContract) | - | -| | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/embeddable/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/embeddable/types.ts#:~:text=IndexPattern), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPattern), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPattern), [agg_field_types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts#:~:text=IndexPattern), [agg_field_types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts#:~:text=IndexPattern), [percentile_agg_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts#:~:text=IndexPattern), [percentile_agg_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts#:~:text=IndexPattern), [es_geo_grid_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx#:~:text=IndexPattern), [es_geo_grid_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx#:~:text=IndexPattern)+ 98 more | - | -| | [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField), [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=IndexPatternField), [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField)+ 129 more | - | | | [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=fetch), [es_search_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=fetch), [es_search_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=fetch) | 8.1 | -| | [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField), [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=IndexPatternField), [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField)+ 129 more | - | +| | [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPatternField), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPatternField), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPatternField), [es_agg_utils.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts#:~:text=IndexPatternField), [es_agg_utils.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts#:~:text=IndexPatternField), [es_agg_utils.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts#:~:text=IndexPatternField), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField)+ 129 more | - | | | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/embeddable/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/embeddable/types.ts#:~:text=IndexPattern), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPattern), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPattern), [agg_field_types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts#:~:text=IndexPattern), [agg_field_types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts#:~:text=IndexPattern), [percentile_agg_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts#:~:text=IndexPattern), [percentile_agg_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts#:~:text=IndexPattern), [es_geo_grid_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx#:~:text=IndexPattern), [es_geo_grid_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx#:~:text=IndexPattern)+ 98 more | - | | | [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService), [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService) | - | | | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/reducers/map/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/reducers/map/types.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [vector_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx#:~:text=Filter), [vector_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx#:~:text=Filter), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=Filter), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=Filter)+ 105 more | 8.1 | +| | [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=indexPatternsServiceFactory), [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/plugin.ts#:~:text=indexPatternsServiceFactory), [indexing_routes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/indexing_routes.ts#:~:text=indexPatternsServiceFactory) | - | | | [maps_list_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/routes/list_page/maps_list_view.tsx#:~:text=settings), [maps_list_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/routes/list_page/maps_list_view.tsx#:~:text=settings), [maps_list_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/routes/list_page/maps_list_view.tsx#:~:text=settings) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/plugin.ts#:~:text=license%24) | - | | | [render_app.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/render_app.tsx#:~:text=onAppLeave), [map_app.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx#:~:text=onAppLeave), [map_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/routes/map_page/map_page.tsx#:~:text=onAppLeave), [render_app.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/render_app.d.ts#:~:text=onAppLeave), [map_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/routes/map_page/map_page.d.ts#:~:text=onAppLeave), [map_app.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts#:~:text=onAppLeave) | - | @@ -564,20 +633,20 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [dependency_cache.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/dependency_cache.ts#:~:text=IndexPatternsContract), [dependency_cache.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/dependency_cache.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [resolvers.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/routing/resolvers.ts#:~:text=IndexPatternsContract), [resolvers.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/routing/resolvers.ts#:~:text=IndexPatternsContract), [preconfigured_job_redirect.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts#:~:text=IndexPatternsContract), [preconfigured_job_redirect.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts#:~:text=IndexPatternsContract), [load_new_job_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts#:~:text=IndexPatternsContract)+ 11 more | - | -| | [chart_loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts#:~:text=IndexPattern), [chart_loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/types.ts#:~:text=IndexPattern), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=IndexPattern), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [field_format_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/field_format_service.ts#:~:text=IndexPattern)+ 60 more | - | +| | [dependency_cache.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/dependency_cache.ts#:~:text=IndexPatternsContract), [dependency_cache.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/dependency_cache.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [resolvers.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/routing/resolvers.ts#:~:text=IndexPatternsContract), [resolvers.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/routing/resolvers.ts#:~:text=IndexPatternsContract), [preconfigured_job_redirect.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts#:~:text=IndexPatternsContract), [preconfigured_job_redirect.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts#:~:text=IndexPatternsContract), [load_new_job_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts#:~:text=IndexPatternsContract)+ 32 more | - | +| | [chart_loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts#:~:text=IndexPattern), [chart_loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/types.ts#:~:text=IndexPattern), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=IndexPattern), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [field_format_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/field_format_service.ts#:~:text=IndexPattern)+ 130 more | - | | | [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IIndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IIndexPattern), [new_job_capabilities_service_analytics.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts#:~:text=IIndexPattern), [new_job_capabilities_service_analytics.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts#:~:text=IIndexPattern), [data_recognizer.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts#:~:text=IIndexPattern), [data_recognizer.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts#:~:text=IIndexPattern), [new_job_capabilities_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts#:~:text=IIndexPattern), [new_job_capabilities_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts#:~:text=IIndexPattern), [load_new_job_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts#:~:text=IIndexPattern), [load_new_job_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts#:~:text=IIndexPattern)+ 24 more | - | | | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_grid/common.ts#:~:text=IFieldType), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_grid/common.ts#:~:text=IFieldType), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.ts#:~:text=IFieldType), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType) | 8.1 | | | [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternAttributes), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternAttributes), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts#:~:text=IndexPatternAttributes), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [data_recognizer.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts#:~:text=IndexPatternAttributes), [data_recognizer.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts#:~:text=IndexPatternAttributes), [kibana.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/common/types/kibana.ts#:~:text=IndexPatternAttributes)+ 3 more | - | | | [index_data_visualizer.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/datavisualizer/index_based/index_data_visualizer.tsx#:~:text=indexPatterns), [file_datavisualizer.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/datavisualizer/file_based/file_datavisualizer.tsx#:~:text=indexPatterns), [app.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/app.tsx#:~:text=indexPatterns), [app.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/app.tsx#:~:text=indexPatterns), [import_jobs_flyout.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/import_export_jobs/import_jobs_flyout/import_jobs_flyout.tsx#:~:text=indexPatterns), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=indexPatterns) | - | | | [dependency_cache.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/dependency_cache.ts#:~:text=fieldFormats), [app.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/app.tsx#:~:text=fieldFormats), [dependency_cache.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/target/types/public/application/util/dependency_cache.d.ts#:~:text=fieldFormats) | - | | | [apply_influencer_filters_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx#:~:text=Filter), [apply_influencer_filters_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx#:~:text=Filter), [apply_entity_filters_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx#:~:text=Filter), [apply_entity_filters_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx#:~:text=Filter) | 8.1 | -| | [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternAttributes), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternAttributes), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts#:~:text=IndexPatternAttributes), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [data_recognizer.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts#:~:text=IndexPatternAttributes), [data_recognizer.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts#:~:text=IndexPatternAttributes), [kibana.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/common/types/kibana.ts#:~:text=IndexPatternAttributes)+ 3 more | - | +| | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_grid/common.ts#:~:text=IFieldType), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_grid/common.ts#:~:text=IFieldType), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.ts#:~:text=IFieldType), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_grid/common.ts#:~:text=IFieldType)+ 8 more | 8.1 | +| | [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IIndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IIndexPattern), [new_job_capabilities_service_analytics.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts#:~:text=IIndexPattern), [new_job_capabilities_service_analytics.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts#:~:text=IIndexPattern), [data_recognizer.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts#:~:text=IIndexPattern), [data_recognizer.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts#:~:text=IIndexPattern), [new_job_capabilities_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts#:~:text=IIndexPattern), [new_job_capabilities_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts#:~:text=IIndexPattern), [load_new_job_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts#:~:text=IIndexPattern), [load_new_job_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts#:~:text=IIndexPattern)+ 58 more | - | +| | [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternAttributes), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternAttributes), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts#:~:text=IndexPatternAttributes), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [data_recognizer.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts#:~:text=IndexPatternAttributes), [data_recognizer.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts#:~:text=IndexPatternAttributes), [kibana.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/common/types/kibana.ts#:~:text=IndexPatternAttributes)+ 16 more | - | +| | [dependency_cache.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/dependency_cache.ts#:~:text=IndexPatternsContract), [dependency_cache.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/dependency_cache.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [resolvers.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/routing/resolvers.ts#:~:text=IndexPatternsContract), [resolvers.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/routing/resolvers.ts#:~:text=IndexPatternsContract), [preconfigured_job_redirect.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts#:~:text=IndexPatternsContract), [preconfigured_job_redirect.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts#:~:text=IndexPatternsContract), [load_new_job_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts#:~:text=IndexPatternsContract)+ 32 more | - | +| | [chart_loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts#:~:text=IndexPattern), [chart_loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/types.ts#:~:text=IndexPattern), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=IndexPattern), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [field_format_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/field_format_service.ts#:~:text=IndexPattern)+ 130 more | - | | | [apply_influencer_filters_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx#:~:text=Filter), [apply_influencer_filters_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx#:~:text=Filter), [apply_entity_filters_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx#:~:text=Filter), [apply_entity_filters_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx#:~:text=Filter) | 8.1 | -| | [dependency_cache.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/dependency_cache.ts#:~:text=IndexPatternsContract), [dependency_cache.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/dependency_cache.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [resolvers.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/routing/resolvers.ts#:~:text=IndexPatternsContract), [resolvers.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/routing/resolvers.ts#:~:text=IndexPatternsContract), [preconfigured_job_redirect.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts#:~:text=IndexPatternsContract), [preconfigured_job_redirect.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts#:~:text=IndexPatternsContract), [load_new_job_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts#:~:text=IndexPatternsContract)+ 11 more | - | -| | [chart_loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts#:~:text=IndexPattern), [chart_loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/types.ts#:~:text=IndexPattern), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=IndexPattern), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [field_format_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/field_format_service.ts#:~:text=IndexPattern)+ 60 more | - | -| | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_grid/common.ts#:~:text=IFieldType), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_grid/common.ts#:~:text=IFieldType), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.ts#:~:text=IFieldType), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType) | 8.1 | -| | [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IIndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IIndexPattern), [new_job_capabilities_service_analytics.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts#:~:text=IIndexPattern), [new_job_capabilities_service_analytics.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts#:~:text=IIndexPattern), [data_recognizer.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts#:~:text=IIndexPattern), [data_recognizer.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts#:~:text=IIndexPattern), [new_job_capabilities_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts#:~:text=IIndexPattern), [new_job_capabilities_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts#:~:text=IIndexPattern), [load_new_job_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts#:~:text=IIndexPattern), [load_new_job_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts#:~:text=IIndexPattern)+ 24 more | - | | | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_grid/common.ts#:~:text=IFieldType), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_grid/common.ts#:~:text=IFieldType), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.ts#:~:text=IFieldType), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType) | 8.1 | | | [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternAttributes), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternAttributes), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts#:~:text=IndexPatternAttributes), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [data_recognizer.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts#:~:text=IndexPatternAttributes), [data_recognizer.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts#:~:text=IndexPatternAttributes), [kibana.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/common/types/kibana.ts#:~:text=IndexPatternAttributes)+ 3 more | - | | | [chart_loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts#:~:text=IndexPattern), [chart_loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/types.ts#:~:text=IndexPattern), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=IndexPattern), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [field_format_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/field_format_service.ts#:~:text=IndexPattern)+ 60 more | - | @@ -601,8 +670,8 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=IFieldType), [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=IFieldType) | 8.1 | | | [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=indexPatterns), [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=indexPatterns) | - | | | [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx#:~:text=esKuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx#:~:text=esKuery), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/lib/kuery.ts#:~:text=esKuery), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/lib/kuery.ts#:~:text=esKuery), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/lib/kuery.ts#:~:text=esKuery) | 8.1 | -| | [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=IFieldType), [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=IFieldType) | 8.1 | -| | [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=IIndexPattern), [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=IIndexPattern), [with_kuery_autocompletion.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx#:~:text=IIndexPattern), [with_kuery_autocompletion.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx#:~:text=IIndexPattern), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/lib/kuery.ts#:~:text=IIndexPattern), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/lib/kuery.ts#:~:text=IIndexPattern), [with_kuery_autocompletion.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/target/types/public/components/kuery_bar/with_kuery_autocompletion.d.ts#:~:text=IIndexPattern), [with_kuery_autocompletion.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/target/types/public/components/kuery_bar/with_kuery_autocompletion.d.ts#:~:text=IIndexPattern)+ 2 more | - | +| | [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=IFieldType), [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=IFieldType), [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=IFieldType), [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=IFieldType) | 8.1 | +| | [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=IIndexPattern), [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=IIndexPattern), [with_kuery_autocompletion.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx#:~:text=IIndexPattern), [with_kuery_autocompletion.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx#:~:text=IIndexPattern), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/lib/kuery.ts#:~:text=IIndexPattern), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/lib/kuery.ts#:~:text=IIndexPattern), [with_kuery_autocompletion.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/target/types/public/components/kuery_bar/with_kuery_autocompletion.d.ts#:~:text=IIndexPattern), [with_kuery_autocompletion.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/target/types/public/components/kuery_bar/with_kuery_autocompletion.d.ts#:~:text=IIndexPattern)+ 14 more | - | | | [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=IFieldType), [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=IFieldType) | 8.1 | | | [legacy_shims.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/legacy_shims.ts#:~:text=injectedMetadata) | - | | | [bulk_uploader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.ts#:~:text=process) | - | @@ -613,20 +682,21 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract), [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract) | - | -| | [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern)+ 14 more | - | +| | [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract), [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract), [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract), [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract) | - | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern)+ 38 more | - | | | [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=IndexPatternSpec), [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=IndexPatternSpec) | - | | | [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=indexPatterns), [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=indexPatterns), [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=indexPatterns), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/pages/alerts/index.tsx#:~:text=indexPatterns), [observability_index_patterns.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts#:~:text=indexPatterns), [observability_index_patterns.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts#:~:text=indexPatterns), [observability_index_patterns.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts#:~:text=indexPatterns), [observability_index_patterns.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts#:~:text=indexPatterns), [observability_index_patterns.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts#:~:text=indexPatterns), [observability_index_patterns.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts#:~:text=indexPatterns)+ 5 more | - | -| | [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=esFilters), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=esFilters), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=esFilters), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=esFilters), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=esFilters), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=esFilters), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=esFilters) | 8.1 | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=esFilters), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=esFilters), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=esFilters), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=esFilters), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=esFilters), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=esFilters), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=esFilters), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=esFilters) | 8.1 | | | [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=ExistsFilter), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=ExistsFilter) | 8.1 | | | [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=Filter), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=Filter) | 8.1 | +| | [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=IndexPatternSpec), [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=IndexPatternSpec), [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=IndexPatternSpec), [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=IndexPatternSpec) | - | +| | [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract), [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract), [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract), [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract) | - | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern)+ 38 more | - | | | [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=Filter), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=Filter) | 8.1 | | | [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=ExistsFilter), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=ExistsFilter) | 8.1 | -| | [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract), [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract) | - | -| | [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern)+ 14 more | - | -| | [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=IndexPatternSpec), [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=IndexPatternSpec) | - | | | [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern)+ 14 more | - | | | [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=Filter), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=Filter) | 8.1 | +| | [use_discover_link.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_discover_link.tsx#:~:text=urlGenerator) | - | @@ -634,9 +704,9 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=IndexPattern), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=IndexPattern) | - | +| | [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=IndexPattern), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=IndexPattern), [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern)+ 2 more | - | | | [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=indexPatterns), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=indexPatterns) | - | -| | [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=IndexPattern), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=IndexPattern) | - | +| | [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=IndexPattern), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=IndexPattern), [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern)+ 2 more | - | | | [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=IndexPattern), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=IndexPattern) | - | | | [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=urlGenerator), [use_discover_link.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/common/hooks/use_discover_link.tsx#:~:text=urlGenerator) | - | @@ -686,9 +756,9 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern), [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern) | - | +| | [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern), [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern), [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern), [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern) | - | | | [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=fieldsFromSource), [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=fieldsFromSource) | - | -| | [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern), [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern) | - | +| | [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern), [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern), [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern), [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern) | - | | | [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=fieldsFromSource), [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=fieldsFromSource) | - | | | [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern), [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/plugin.ts#:~:text=fieldFormats) | - | @@ -714,11 +784,11 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPatternsContract), [hydrate_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts#:~:text=IndexPatternsContract), [hydrate_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts#:~:text=IndexPatternsContract) | - | -| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern) | - | +| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPatternsContract), [hydrate_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts#:~:text=IndexPatternsContract), [hydrate_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPatternsContract), [hydrate_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts#:~:text=IndexPatternsContract), [hydrate_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts#:~:text=IndexPatternsContract) | - | +| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/plugin.ts#:~:text=indexPatterns), [saved_object.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/saved_object.test.ts#:~:text=indexPatterns), [saved_object.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/saved_object.test.ts#:~:text=indexPatterns) | - | -| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPatternsContract), [hydrate_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts#:~:text=IndexPatternsContract), [hydrate_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts#:~:text=IndexPatternsContract) | - | -| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern) | - | +| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPatternsContract), [hydrate_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts#:~:text=IndexPatternsContract), [hydrate_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPatternsContract), [hydrate_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts#:~:text=IndexPatternsContract), [hydrate_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts#:~:text=IndexPatternsContract) | - | +| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern) | - | | | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern) | - | @@ -727,14 +797,14 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPatternsContract), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPatternsContract), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPatternsContract), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPatternsContract), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPatternsContract), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPatternsContract), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPatternsContract), [saved_objects_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx#:~:text=IndexPatternsContract), [saved_objects_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx#:~:text=IndexPatternsContract), [resolve_saved_objects.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts#:~:text=IndexPatternsContract)+ 3 more | - | -| | [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPattern), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPattern), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern) | - | +| | [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPatternsContract), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPatternsContract), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPatternsContract), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPatternsContract), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPatternsContract), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPatternsContract), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPatternsContract), [saved_objects_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx#:~:text=IndexPatternsContract), [saved_objects_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx#:~:text=IndexPatternsContract), [resolve_saved_objects.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts#:~:text=IndexPatternsContract)+ 16 more | - | +| | [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPattern), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPattern), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPattern), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPattern), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern) | - | | | [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPatternSpec), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPatternSpec) | - | | | [create_field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/create_field_list.ts#:~:text=castEsToKbnFieldTypeName), [create_field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/create_field_list.ts#:~:text=castEsToKbnFieldTypeName) | 8.1 | | | [saved_objects_table_page.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/saved_objects_table_page.tsx#:~:text=indexPatterns) | - | -| | [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPatternsContract), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPatternsContract), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPatternsContract), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPatternsContract), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPatternsContract), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPatternsContract), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPatternsContract), [saved_objects_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx#:~:text=IndexPatternsContract), [saved_objects_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx#:~:text=IndexPatternsContract), [resolve_saved_objects.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts#:~:text=IndexPatternsContract)+ 3 more | - | -| | [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPattern), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPattern), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern) | - | -| | [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPatternSpec), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPatternSpec) | - | +| | [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPatternSpec), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPatternSpec), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPatternSpec), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPatternSpec) | - | +| | [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPatternsContract), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPatternsContract), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPatternsContract), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPatternsContract), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPatternsContract), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPatternsContract), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPatternsContract), [saved_objects_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx#:~:text=IndexPatternsContract), [saved_objects_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx#:~:text=IndexPatternsContract), [resolve_saved_objects.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts#:~:text=IndexPatternsContract)+ 16 more | - | +| | [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPattern), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPattern), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPattern), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPattern), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern) | - | | | [create_field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/create_field_list.ts#:~:text=castEsToKbnFieldTypeName), [create_field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/create_field_list.ts#:~:text=castEsToKbnFieldTypeName) | 8.1 | | | [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPattern), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=IndexPattern), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern) | - | | | [create_field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/create_field_list.ts#:~:text=castEsToKbnFieldTypeName), [create_field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/create_field_list.ts#:~:text=castEsToKbnFieldTypeName) | 8.1 | @@ -774,9 +844,9 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract) | - | +| | [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract) | - | | | [roles_management_app.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/roles_management_app.tsx#:~:text=indexPatterns) | - | -| | [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract) | - | +| | [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract) | - | | | [disable_ui_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/authorization/disable_ui_capabilities.ts#:~:text=requiredRoles) | - | | | [disable_ui_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/authorization/disable_ui_capabilities.ts#:~:text=requiredRoles) | - | | | [license_service.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/common/licensing/license_service.test.ts#:~:text=mode), [license_service.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/common/licensing/license_service.test.ts#:~:text=mode), [license_service.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/common/licensing/license_service.test.ts#:~:text=mode) | - | @@ -795,23 +865,23 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/overview/containers/overview_cti_links/index.tsx#:~:text=dashboardUrlGenerator), [use_risky_hosts_dashboard_button_href.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/overview/containers/overview_risky_host_links/use_risky_hosts_dashboard_button_href.ts#:~:text=dashboardUrlGenerator), [use_risky_hosts_dashboard_links.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/overview/containers/overview_risky_host_links/use_risky_hosts_dashboard_links.tsx#:~:text=dashboardUrlGenerator) | - | -| | [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [list_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx#:~:text=IndexPattern), [list_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx#:~:text=IndexPattern)+ 10 more | - | -| | [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField), [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField) | - | +| | [use_risky_hosts_dashboard_button_href.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/overview/containers/overview_risky_host_links/use_risky_hosts_dashboard_button_href.ts#:~:text=dashboardUrlGenerator), [use_risky_hosts_dashboard_links.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/overview/containers/overview_risky_host_links/use_risky_hosts_dashboard_links.tsx#:~:text=dashboardUrlGenerator), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/overview/containers/overview_cti_links/index.tsx#:~:text=dashboardUrlGenerator) | - | +| | [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [list_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx#:~:text=IndexPattern), [list_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx#:~:text=IndexPattern)+ 30 more | - | +| | [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField), [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField), [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField), [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField) | - | | | [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts#:~:text=IIndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts#:~:text=IIndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts#:~:text=IIndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts#:~:text=IIndexPattern), [action.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts#:~:text=IIndexPattern), [action.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/containers/source/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/containers/source/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/containers/source/index.tsx#:~:text=IIndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.tsx#:~:text=IIndexPattern)+ 76 more | - | | | [middleware.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts#:~:text=indexPatterns), [plugin.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/plugin.tsx#:~:text=indexPatterns), [dependencies_start_mock.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/mock/endpoint/dependencies_start_mock.ts#:~:text=indexPatterns) | - | | | [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx#:~:text=esFilters), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx#:~:text=esFilters), [epic.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts#:~:text=esFilters), [epic.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts#:~:text=esFilters), [epic.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts#:~:text=esFilters), [epic.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts#:~:text=esFilters), [epic.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts#:~:text=esFilters), [epic.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts#:~:text=esFilters), [epic.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts#:~:text=esFilters), [epic.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts#:~:text=esFilters)+ 15 more | 8.1 | | | [expandable_network.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/components/side_panel/network_details/expandable_network.tsx#:~:text=esQuery), [expandable_network.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/components/side_panel/network_details/expandable_network.tsx#:~:text=esQuery), [events_viewer.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx#:~:text=esQuery), [events_viewer.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_histogram_panel/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_histogram_panel/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_histogram_panel/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/top_n/index.tsx#:~:text=esQuery)+ 30 more | 8.1 | | | [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/types/timeline/store.ts#:~:text=Filter), [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/types/timeline/store.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/model.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/model.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/actions.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/actions.ts#:~:text=Filter), [selectors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts#:~:text=Filter), [selectors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts#:~:text=Filter)+ 163 more | 8.1 | +| | [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts#:~:text=IIndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts#:~:text=IIndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts#:~:text=IIndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts#:~:text=IIndexPattern), [action.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts#:~:text=IIndexPattern), [action.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/containers/source/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/containers/source/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/containers/source/index.tsx#:~:text=IIndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.tsx#:~:text=IIndexPattern)+ 162 more | - | +| | [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField), [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField), [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField), [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField) | - | +| | [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [list_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx#:~:text=IndexPattern), [list_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx#:~:text=IndexPattern)+ 30 more | - | | | [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/types/timeline/store.ts#:~:text=Filter), [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/types/timeline/store.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/model.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/model.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/actions.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/actions.ts#:~:text=Filter), [selectors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts#:~:text=Filter), [selectors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts#:~:text=Filter)+ 163 more | 8.1 | -| | [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [list_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx#:~:text=IndexPattern), [list_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx#:~:text=IndexPattern)+ 10 more | - | -| | [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField), [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField) | - | -| | [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts#:~:text=IIndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts#:~:text=IIndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts#:~:text=IIndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts#:~:text=IIndexPattern), [action.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts#:~:text=IIndexPattern), [action.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/containers/source/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/containers/source/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/containers/source/index.tsx#:~:text=IIndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.tsx#:~:text=IIndexPattern)+ 76 more | - | | | [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField), [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField) | - | | | [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [list_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx#:~:text=IndexPattern), [list_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx#:~:text=IndexPattern)+ 10 more | - | | | [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/types/timeline/store.ts#:~:text=Filter), [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/types/timeline/store.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/model.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/model.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/actions.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/actions.ts#:~:text=Filter), [selectors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts#:~:text=Filter), [selectors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts#:~:text=Filter)+ 163 more | 8.1 | -| | [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [fleet_integration.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts#:~:text=mode), [fleet_integration.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [isolation.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts#:~:text=mode), [isolation.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts#:~:text=mode)+ 2 more | - | -| | [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [fleet_integration.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts#:~:text=mode), [fleet_integration.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [isolation.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts#:~:text=mode), [isolation.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts#:~:text=mode)+ 2 more | - | +| | [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [fleet_integration.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts#:~:text=mode), [fleet_integration.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [isolation.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts#:~:text=mode), [isolation.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts#:~:text=mode)+ 4 more | - | +| | [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [fleet_integration.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts#:~:text=mode), [fleet_integration.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [isolation.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts#:~:text=mode), [isolation.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts#:~:text=mode)+ 4 more | - | | | [create_signals_migration_route.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/create_signals_migration_route.ts#:~:text=authc), [delete_signals_migration_route.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/delete_signals_migration_route.ts#:~:text=authc), [finalize_signals_migration_route.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/finalize_signals_migration_route.ts#:~:text=authc), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/lib/timeline/utils/common.ts#:~:text=authc) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/plugin.ts#:~:text=spacesService), [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/plugin.ts#:~:text=spacesService) | 7.16 | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/plugin.ts#:~:text=getSpaceId), [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/plugin.ts#:~:text=getSpaceId) | 7.16 | @@ -842,18 +912,18 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPatternsContract), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPatternsContract), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPatternsContract), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPatternsContract) | - | -| | [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern) | - | +| | [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPatternsContract), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPatternsContract), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPatternsContract), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPatternsContract), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPatternsContract), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPatternsContract), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPatternsContract), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPatternsContract) | - | +| | [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern) | - | | | [entity_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx#:~:text=IIndexPattern), [entity_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx#:~:text=IIndexPattern), [entity_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx#:~:text=IIndexPattern), [boundary_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx#:~:text=IIndexPattern), [boundary_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx#:~:text=IIndexPattern), [boundary_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern)+ 1 more | - | | | [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts#:~:text=IFieldType), [single_field_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts#:~:text=IFieldType)+ 16 more | 8.1 | | | [entity_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx#:~:text=indexPatterns), [boundary_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx#:~:text=indexPatterns), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=indexPatterns), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=indexPatterns), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=indexPatterns) | - | | | [expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/threshold/expression.tsx#:~:text=fieldFormats) | - | | | [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=esKuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=esKuery) | 8.1 | | | [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=esQuery) | 8.1 | -| | [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPatternsContract), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPatternsContract), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPatternsContract), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPatternsContract) | - | -| | [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern) | - | -| | [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts#:~:text=IFieldType), [single_field_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts#:~:text=IFieldType)+ 16 more | 8.1 | -| | [entity_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx#:~:text=IIndexPattern), [entity_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx#:~:text=IIndexPattern), [entity_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx#:~:text=IIndexPattern), [boundary_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx#:~:text=IIndexPattern), [boundary_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx#:~:text=IIndexPattern), [boundary_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern)+ 1 more | - | +| | [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts#:~:text=IFieldType), [single_field_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts#:~:text=IFieldType)+ 42 more | 8.1 | +| | [entity_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx#:~:text=IIndexPattern), [entity_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx#:~:text=IIndexPattern), [entity_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx#:~:text=IIndexPattern), [boundary_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx#:~:text=IIndexPattern), [boundary_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx#:~:text=IIndexPattern), [boundary_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern)+ 12 more | - | +| | [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPatternsContract), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPatternsContract), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPatternsContract), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPatternsContract), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPatternsContract), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPatternsContract), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPatternsContract), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPatternsContract) | - | +| | [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern) | - | | | [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts#:~:text=IFieldType), [single_field_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts#:~:text=IFieldType)+ 16 more | 8.1 | | | [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern) | - | @@ -878,9 +948,9 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/common/types/timeline/columns/index.tsx#:~:text=IFieldSubType), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/common/types/timeline/columns/index.tsx#:~:text=IFieldSubType) | 8.1 | | | [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx#:~:text=esQuery) | 8.1 | | | [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/common/types/timeline/store.ts#:~:text=Filter), [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/common/types/timeline/store.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/store/t_grid/model.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/store/t_grid/model.ts#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/body/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/body/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx#:~:text=Filter)+ 5 more | 8.1 | +| | [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/helpers.tsx#:~:text=IIndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/helpers.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/container/source/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/container/source/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/container/source/index.tsx#:~:text=IIndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/mock/index_pattern.ts#:~:text=IIndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/mock/index_pattern.ts#:~:text=IIndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/helpers.tsx#:~:text=IIndexPattern)+ 8 more | - | | | [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/common/types/timeline/store.ts#:~:text=Filter), [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/common/types/timeline/store.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/store/t_grid/model.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/store/t_grid/model.ts#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/body/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/body/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx#:~:text=Filter)+ 5 more | 8.1 | | | [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/common/types/timeline/columns/index.tsx#:~:text=IFieldSubType), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/common/types/timeline/columns/index.tsx#:~:text=IFieldSubType) | 8.1 | -| | [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/helpers.tsx#:~:text=IIndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/helpers.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/container/source/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/container/source/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/container/source/index.tsx#:~:text=IIndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/mock/index_pattern.ts#:~:text=IIndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/mock/index_pattern.ts#:~:text=IIndexPattern) | - | | | [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/common/types/timeline/store.ts#:~:text=Filter), [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/common/types/timeline/store.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/store/t_grid/model.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/store/t_grid/model.ts#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/body/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/body/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx#:~:text=Filter)+ 5 more | 8.1 | | | [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/common/types/timeline/columns/index.tsx#:~:text=IFieldSubType), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/common/types/timeline/columns/index.tsx#:~:text=IFieldSubType) | 8.1 | @@ -890,17 +960,17 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract) | - | -| | [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [wizard.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx#:~:text=IndexPattern), [wizard.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx#:~:text=IndexPattern), [get_pivot_dropdown_options.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts#:~:text=IndexPattern), [get_pivot_dropdown_options.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts#:~:text=IndexPattern), [filter_agg_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx#:~:text=IndexPattern), [filter_agg_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx#:~:text=IndexPattern)+ 10 more | - | +| | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract) | - | +| | [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [wizard.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx#:~:text=IndexPattern), [wizard.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx#:~:text=IndexPattern), [get_pivot_dropdown_options.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts#:~:text=IndexPattern), [get_pivot_dropdown_options.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts#:~:text=IndexPattern), [filter_agg_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx#:~:text=IndexPattern), [filter_agg_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx#:~:text=IndexPattern)+ 30 more | - | | | [es_index_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/services/es_index_service.ts#:~:text=IIndexPattern), [es_index_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/services/es_index_service.ts#:~:text=IIndexPattern), [transforms.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/server/routes/api/transforms.ts#:~:text=IIndexPattern), [transforms.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/server/routes/api/transforms.ts#:~:text=IIndexPattern) | - | | | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternAttributes), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternAttributes) | - | | | [step_create_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_create/step_create_form.tsx#:~:text=indexPatterns), [step_details_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_details/step_details_form.tsx#:~:text=indexPatterns), [use_search_items.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/use_search_items.ts#:~:text=indexPatterns), [use_clone_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/transform_management/components/action_clone/use_clone_action.tsx#:~:text=indexPatterns), [use_action_discover.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/transform_management/components/action_discover/use_action_discover.tsx#:~:text=indexPatterns), [edit_transform_flyout_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/transform_management/components/edit_transform_flyout/edit_transform_flyout_form.tsx#:~:text=indexPatterns), [use_edit_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/transform_management/components/action_edit/use_edit_action.tsx#:~:text=indexPatterns) | - | | | [use_search_bar.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts#:~:text=esKuery), [use_search_bar.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts#:~:text=esKuery), [use_search_bar.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts#:~:text=esKuery) | 8.1 | | | [use_search_bar.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts#:~:text=esQuery), [use_search_bar.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts#:~:text=esQuery), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=esQuery), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=esQuery), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=esQuery) | 8.1 | -| | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternAttributes), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternAttributes) | - | -| | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract) | - | -| | [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [wizard.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx#:~:text=IndexPattern), [wizard.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx#:~:text=IndexPattern), [get_pivot_dropdown_options.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts#:~:text=IndexPattern), [get_pivot_dropdown_options.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts#:~:text=IndexPattern), [filter_agg_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx#:~:text=IndexPattern), [filter_agg_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx#:~:text=IndexPattern)+ 10 more | - | -| | [es_index_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/services/es_index_service.ts#:~:text=IIndexPattern), [es_index_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/services/es_index_service.ts#:~:text=IIndexPattern), [transforms.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/server/routes/api/transforms.ts#:~:text=IIndexPattern), [transforms.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/server/routes/api/transforms.ts#:~:text=IIndexPattern) | - | +| | [es_index_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/services/es_index_service.ts#:~:text=IIndexPattern), [es_index_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/services/es_index_service.ts#:~:text=IIndexPattern), [transforms.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/server/routes/api/transforms.ts#:~:text=IIndexPattern), [transforms.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/server/routes/api/transforms.ts#:~:text=IIndexPattern), [es_index_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/services/es_index_service.ts#:~:text=IIndexPattern), [es_index_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/services/es_index_service.ts#:~:text=IIndexPattern), [transforms.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/server/routes/api/transforms.ts#:~:text=IIndexPattern), [transforms.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/server/routes/api/transforms.ts#:~:text=IIndexPattern) | - | +| | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternAttributes), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternAttributes), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternAttributes), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternAttributes) | - | +| | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract) | - | +| | [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [wizard.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx#:~:text=IndexPattern), [wizard.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx#:~:text=IndexPattern), [get_pivot_dropdown_options.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts#:~:text=IndexPattern), [get_pivot_dropdown_options.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts#:~:text=IndexPattern), [filter_agg_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx#:~:text=IndexPattern), [filter_agg_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx#:~:text=IndexPattern)+ 30 more | - | | | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternAttributes), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternAttributes) | - | | | [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [wizard.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx#:~:text=IndexPattern), [wizard.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx#:~:text=IndexPattern), [get_pivot_dropdown_options.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts#:~:text=IndexPattern), [get_pivot_dropdown_options.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts#:~:text=IndexPattern), [filter_agg_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx#:~:text=IndexPattern), [filter_agg_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx#:~:text=IndexPattern)+ 10 more | - | | | [license.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/server/services/license.ts#:~:text=license%24) | - | @@ -921,9 +991,9 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern) | - | +| | [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern) | - | | | [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=indexPatterns) | - | -| | [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern) | - | +| | [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern) | - | | | [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern) | - | @@ -942,11 +1012,11 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [editor_config.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/utils/editor_config.ts#:~:text=IndexPattern), [editor_config.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/utils/editor_config.ts#:~:text=IndexPattern), [agg_params_helper.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params_helper.ts#:~:text=IndexPattern), [agg_params_helper.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params_helper.ts#:~:text=IndexPattern), [agg_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_select.tsx#:~:text=IndexPattern), [agg_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_select.tsx#:~:text=IndexPattern), [agg_params.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params.tsx#:~:text=IndexPattern)+ 7 more | - | -| | [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_param_props.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_param_props.ts#:~:text=IndexPatternField), [agg_param_props.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_param_props.ts#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [top_field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/top_field.tsx#:~:text=IndexPatternField)+ 14 more | - | +| | [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [editor_config.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/utils/editor_config.ts#:~:text=IndexPattern), [editor_config.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/utils/editor_config.ts#:~:text=IndexPattern), [agg_params_helper.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params_helper.ts#:~:text=IndexPattern), [agg_params_helper.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params_helper.ts#:~:text=IndexPattern), [agg_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_select.tsx#:~:text=IndexPattern), [agg_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_select.tsx#:~:text=IndexPattern), [agg_params.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params.tsx#:~:text=IndexPattern)+ 24 more | - | +| | [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_param_props.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_param_props.ts#:~:text=IndexPatternField), [agg_param_props.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_param_props.ts#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [top_field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/top_field.tsx#:~:text=IndexPatternField)+ 38 more | - | | | [reducers.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/state/reducers.ts#:~:text=toJSON), [reducers.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/state/reducers.ts#:~:text=toJSON), [reducers.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/state/reducers.ts#:~:text=toJSON), [sidebar.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/sidebar.tsx#:~:text=toJSON) | 8.1 | -| | [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [editor_config.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/utils/editor_config.ts#:~:text=IndexPattern), [editor_config.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/utils/editor_config.ts#:~:text=IndexPattern), [agg_params_helper.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params_helper.ts#:~:text=IndexPattern), [agg_params_helper.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params_helper.ts#:~:text=IndexPattern), [agg_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_select.tsx#:~:text=IndexPattern), [agg_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_select.tsx#:~:text=IndexPattern), [agg_params.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params.tsx#:~:text=IndexPattern)+ 7 more | - | -| | [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_param_props.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_param_props.ts#:~:text=IndexPatternField), [agg_param_props.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_param_props.ts#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [top_field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/top_field.tsx#:~:text=IndexPatternField)+ 14 more | - | +| | [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_param_props.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_param_props.ts#:~:text=IndexPatternField), [agg_param_props.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_param_props.ts#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [top_field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/top_field.tsx#:~:text=IndexPatternField)+ 38 more | - | +| | [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [editor_config.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/utils/editor_config.ts#:~:text=IndexPattern), [editor_config.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/utils/editor_config.ts#:~:text=IndexPattern), [agg_params_helper.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params_helper.ts#:~:text=IndexPattern), [agg_params_helper.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params_helper.ts#:~:text=IndexPattern), [agg_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_select.tsx#:~:text=IndexPattern), [agg_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_select.tsx#:~:text=IndexPattern), [agg_params.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params.tsx#:~:text=IndexPattern)+ 24 more | - | | | [reducers.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/state/reducers.ts#:~:text=toJSON), [reducers.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/state/reducers.ts#:~:text=toJSON), [reducers.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/state/reducers.ts#:~:text=toJSON), [sidebar.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/sidebar.tsx#:~:text=toJSON) | 8.1 | | | [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_param_props.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_param_props.ts#:~:text=IndexPatternField), [agg_param_props.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_param_props.ts#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [top_field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/top_field.tsx#:~:text=IndexPatternField)+ 14 more | - | | | [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [editor_config.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/utils/editor_config.ts#:~:text=IndexPattern), [editor_config.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/utils/editor_config.ts#:~:text=IndexPattern), [agg_params_helper.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params_helper.ts#:~:text=IndexPattern), [agg_params_helper.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params_helper.ts#:~:text=IndexPattern), [agg_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_select.tsx#:~:text=IndexPattern), [agg_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_select.tsx#:~:text=IndexPattern), [agg_params.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params.tsx#:~:text=IndexPattern)+ 7 more | - | @@ -954,14 +1024,6 @@ warning: This document is auto-generated and is meant to be viewed inside our ex -## visTypeMetric - -| Deprecated API | Reference location(s) | Remove By | -| ---------------|-----------|-----------| -| | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/metric/public/plugin.ts#:~:text=fieldFormats) | - | - - - ## visTypePie | Deprecated API | Reference location(s) | Remove By | @@ -983,15 +1045,16 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [plugin_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/plugin_services.ts#:~:text=IndexPatternsContract), [plugin_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/plugin_services.ts#:~:text=IndexPatternsContract), [timelion_expression_input_helpers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts#:~:text=IndexPatternsContract), [timelion_expression_input_helpers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts#:~:text=IndexPatternsContract) | - | +| | [plugin_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/plugin_services.ts#:~:text=IndexPatternsContract), [plugin_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/plugin_services.ts#:~:text=IndexPatternsContract), [timelion_expression_input_helpers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts#:~:text=IndexPatternsContract), [timelion_expression_input_helpers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts#:~:text=IndexPatternsContract), [plugin_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/plugin_services.ts#:~:text=IndexPatternsContract), [plugin_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/plugin_services.ts#:~:text=IndexPatternsContract), [timelion_expression_input_helpers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts#:~:text=IndexPatternsContract), [timelion_expression_input_helpers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts#:~:text=IndexPatternsContract) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/plugin.ts#:~:text=indexPatterns) | - | | | [timelion_vis_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_vis_component.tsx#:~:text=RangeFilterParams), [timelion_vis_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_vis_component.tsx#:~:text=RangeFilterParams), [timelion_vis_renderer.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/timelion_vis_renderer.tsx#:~:text=RangeFilterParams), [timelion_vis_renderer.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/timelion_vis_renderer.tsx#:~:text=RangeFilterParams), [timelion_vis_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/legacy/timelion_vis_component.tsx#:~:text=RangeFilterParams), [timelion_vis_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/legacy/timelion_vis_component.tsx#:~:text=RangeFilterParams) | 8.1 | | | [timelion_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/timelion_request_handler.ts#:~:text=esQuery), [timelion_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/timelion_request_handler.ts#:~:text=esQuery), [timelion_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/timelion_request_handler.ts#:~:text=esQuery) | 8.1 | | | [timelion_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/timelion_request_handler.ts#:~:text=Filter), [timelion_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/timelion_request_handler.ts#:~:text=Filter), [timelion_vis_fn.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/timelion_vis_fn.ts#:~:text=Filter), [timelion_vis_fn.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/timelion_vis_fn.ts#:~:text=Filter) | 8.1 | +| | [plugin_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/plugin_services.ts#:~:text=IndexPatternsContract), [plugin_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/plugin_services.ts#:~:text=IndexPatternsContract), [timelion_expression_input_helpers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts#:~:text=IndexPatternsContract), [timelion_expression_input_helpers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts#:~:text=IndexPatternsContract), [plugin_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/plugin_services.ts#:~:text=IndexPatternsContract), [plugin_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/plugin_services.ts#:~:text=IndexPatternsContract), [timelion_expression_input_helpers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts#:~:text=IndexPatternsContract), [timelion_expression_input_helpers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts#:~:text=IndexPatternsContract) | - | | | [timelion_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/timelion_request_handler.ts#:~:text=Filter), [timelion_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/timelion_request_handler.ts#:~:text=Filter), [timelion_vis_fn.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/timelion_vis_fn.ts#:~:text=Filter), [timelion_vis_fn.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/timelion_vis_fn.ts#:~:text=Filter) | 8.1 | | | [timelion_vis_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_vis_component.tsx#:~:text=RangeFilterParams), [timelion_vis_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_vis_component.tsx#:~:text=RangeFilterParams), [timelion_vis_renderer.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/timelion_vis_renderer.tsx#:~:text=RangeFilterParams), [timelion_vis_renderer.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/timelion_vis_renderer.tsx#:~:text=RangeFilterParams), [timelion_vis_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/legacy/timelion_vis_component.tsx#:~:text=RangeFilterParams), [timelion_vis_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/legacy/timelion_vis_component.tsx#:~:text=RangeFilterParams) | 8.1 | -| | [plugin_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/plugin_services.ts#:~:text=IndexPatternsContract), [plugin_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/plugin_services.ts#:~:text=IndexPatternsContract), [timelion_expression_input_helpers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts#:~:text=IndexPatternsContract), [timelion_expression_input_helpers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts#:~:text=IndexPatternsContract) | - | | | [timelion_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/timelion_request_handler.ts#:~:text=Filter), [timelion_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/timelion_request_handler.ts#:~:text=Filter), [timelion_vis_fn.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/timelion_vis_fn.ts#:~:text=Filter), [timelion_vis_fn.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/timelion_vis_fn.ts#:~:text=Filter) | 8.1 | +| | [run.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/server/routes/run.ts#:~:text=indexPatternsServiceFactory) | - | @@ -999,19 +1062,19 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=IndexPatternsService), [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=IndexPatternsService), [default_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts#:~:text=IndexPatternsService), [default_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts#:~:text=IndexPatternsService), [cached_index_pattern_fetcher.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts#:~:text=IndexPatternsService), [cached_index_pattern_fetcher.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts#:~:text=IndexPatternsService), [rollup_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts#:~:text=IndexPatternsService), [rollup_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts#:~:text=IndexPatternsService), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/types.ts#:~:text=IndexPatternsService), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/types.ts#:~:text=IndexPatternsService)+ 17 more | - | -| | [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern)+ 15 more | - | -| | [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField) | - | +| | [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=IndexPatternsService), [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=IndexPatternsService), [default_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts#:~:text=IndexPatternsService), [default_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts#:~:text=IndexPatternsService), [cached_index_pattern_fetcher.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts#:~:text=IndexPatternsService), [cached_index_pattern_fetcher.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts#:~:text=IndexPatternsService), [rollup_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts#:~:text=IndexPatternsService), [rollup_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts#:~:text=IndexPatternsService), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/types.ts#:~:text=IndexPatternsService), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/types.ts#:~:text=IndexPatternsService)+ 44 more | - | +| | [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern)+ 40 more | - | +| | [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField)+ 2 more | - | | | [fetch_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/lib/fetch_fields.ts#:~:text=indexPatterns), [combo_box_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx#:~:text=indexPatterns), [query_bar_wrapper.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/query_bar_wrapper.tsx#:~:text=indexPatterns), [annotation_row.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/annotation_row.tsx#:~:text=indexPatterns), [metrics_type.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/metrics_type.ts#:~:text=indexPatterns), [convert_series_to_datatable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts#:~:text=indexPatterns), [timeseries_vis_renderer.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/timeseries_vis_renderer.tsx#:~:text=indexPatterns) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/plugin.ts#:~:text=fieldFormats) | - | | | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/types.ts#:~:text=EsQueryConfig), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/types.ts#:~:text=EsQueryConfig) | 8.1 | | | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=Filter), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=Filter) | 8.1 | +| | [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField)+ 2 more | - | +| | [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=IndexPatternsService), [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=IndexPatternsService), [default_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts#:~:text=IndexPatternsService), [default_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts#:~:text=IndexPatternsService), [cached_index_pattern_fetcher.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts#:~:text=IndexPatternsService), [cached_index_pattern_fetcher.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts#:~:text=IndexPatternsService), [rollup_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts#:~:text=IndexPatternsService), [rollup_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts#:~:text=IndexPatternsService), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/types.ts#:~:text=IndexPatternsService), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/types.ts#:~:text=IndexPatternsService)+ 44 more | - | +| | [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern)+ 40 more | - | +| | [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=getNonScriptedFields), [fetch_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/lib/fetch_fields.ts#:~:text=getNonScriptedFields), [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=getNonScriptedFields), [fetch_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/lib/fetch_fields.ts#:~:text=getNonScriptedFields) | 8.1 | | | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=Filter), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=Filter) | 8.1 | | | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/types.ts#:~:text=EsQueryConfig), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/types.ts#:~:text=EsQueryConfig) | 8.1 | -| | [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=IndexPatternsService), [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=IndexPatternsService), [default_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts#:~:text=IndexPatternsService), [default_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts#:~:text=IndexPatternsService), [cached_index_pattern_fetcher.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts#:~:text=IndexPatternsService), [cached_index_pattern_fetcher.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts#:~:text=IndexPatternsService), [rollup_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts#:~:text=IndexPatternsService), [rollup_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts#:~:text=IndexPatternsService), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/types.ts#:~:text=IndexPatternsService), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/types.ts#:~:text=IndexPatternsService)+ 17 more | - | -| | [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern)+ 15 more | - | -| | [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=getNonScriptedFields), [fetch_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/lib/fetch_fields.ts#:~:text=getNonScriptedFields) | 8.1 | -| | [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField) | - | | | [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField) | - | | | [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern)+ 15 more | - | | | [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=IndexPatternsService), [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=IndexPatternsService), [default_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts#:~:text=IndexPatternsService), [default_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts#:~:text=IndexPatternsService), [cached_index_pattern_fetcher.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts#:~:text=IndexPatternsService), [cached_index_pattern_fetcher.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts#:~:text=IndexPatternsService), [rollup_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts#:~:text=IndexPatternsService), [rollup_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts#:~:text=IndexPatternsService), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/types.ts#:~:text=IndexPatternsService), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/types.ts#:~:text=IndexPatternsService)+ 44 more | - | @@ -1019,6 +1082,8 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/plugin.ts#:~:text=fieldFormats) | - | | | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=Filter), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=Filter) | 8.1 | | | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/types.ts#:~:text=EsQueryConfig), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/types.ts#:~:text=EsQueryConfig) | 8.1 | +| | [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=getNonScriptedFields), [fetch_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/lib/fetch_fields.ts#:~:text=getNonScriptedFields) | 8.1 | +| | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/plugin.ts#:~:text=indexPatternsServiceFactory) | - | @@ -1026,12 +1091,12 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern) | - | +| | [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern) | - | | | [search_api.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/data_model/search_api.ts#:~:text=indexPatterns), [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=indexPatterns), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=indexPatterns), [search_api.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/data_model/search_api.test.ts#:~:text=indexPatterns), [search_api.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/data_model/search_api.test.ts#:~:text=indexPatterns), [search_api.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/data_model/search_api.test.ts#:~:text=indexPatterns), [view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_view/vega_map_view/view.test.ts#:~:text=indexPatterns) | - | | | [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=esQuery), [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=esQuery), [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=esQuery) | 8.1 | | | [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=Filter), [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=Filter) | 8.1 | +| | [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern) | - | | | [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=Filter), [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=Filter) | 8.1 | -| | [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern) | - | | | [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern) | - | | | [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=Filter), [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=Filter) | 8.1 | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/plugin.ts#:~:text=injectedMetadata) | - | @@ -1063,19 +1128,17 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=IndexPatternsContract), [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=IndexPatternsContract) | - | -| | [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=IndexPattern), [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [create_vis_embeddable_from_object.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts#:~:text=IndexPattern), [create_vis_embeddable_from_object.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern) | - | -| | [controls_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [controls_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [timeseries_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [timeseries_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE) | - | +| | [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=IndexPatternsContract), [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=IndexPatternsContract), [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=IndexPatternsContract), [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=IndexPatternsContract) | - | +| | [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=IndexPattern), [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [create_vis_embeddable_from_object.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts#:~:text=IndexPattern), [create_vis_embeddable_from_object.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern)+ 10 more | - | | | [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=toJSON) | 8.1 | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/plugin.ts#:~:text=indexPatterns) | - | | | [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=esFilters), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=esFilters) | 8.1 | | | [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=Filter), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=Filter), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=Filter) | 8.1 | -| | [controls_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [controls_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [timeseries_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [timeseries_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE) | - | +| | [controls_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [controls_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [timeseries_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [timeseries_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [controls_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE)+ 8 more | - | +| | [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=IndexPatternsContract), [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=IndexPatternsContract), [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=IndexPatternsContract), [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=IndexPatternsContract) | - | +| | [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=IndexPattern), [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [create_vis_embeddable_from_object.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts#:~:text=IndexPattern), [create_vis_embeddable_from_object.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern)+ 10 more | - | | | [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=Filter), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=Filter), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=Filter) | 8.1 | -| | [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=IndexPatternsContract), [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=IndexPatternsContract) | - | -| | [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=IndexPattern), [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [create_vis_embeddable_from_object.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts#:~:text=IndexPattern), [create_vis_embeddable_from_object.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern) | - | | | [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=toJSON) | 8.1 | -| | [controls_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [controls_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [timeseries_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [timeseries_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE) | - | | | [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=IndexPattern), [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [create_vis_embeddable_from_object.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts#:~:text=IndexPattern), [create_vis_embeddable_from_object.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern) | - | | | [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=Filter), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=Filter), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=Filter) | 8.1 | | | [find_list_items.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/find_list_items.ts#:~:text=SavedObjectLoader), [find_list_items.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/find_list_items.ts#:~:text=SavedObjectLoader), [saved_visualizations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualizations.ts#:~:text=SavedObjectLoader), [saved_visualizations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualizations.ts#:~:text=SavedObjectLoader), [saved_visualizations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualizations.ts#:~:text=SavedObjectLoader), [services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/services.ts#:~:text=SavedObjectLoader), [services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/services.ts#:~:text=SavedObjectLoader) | - | @@ -1088,13 +1151,13 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern) | - | +| | [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern) | - | | | [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=indexPatterns), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=indexPatterns), [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/plugin.ts#:~:text=indexPatterns), [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/plugin.ts#:~:text=indexPatterns) | - | | | [use_visualize_app_state.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_visualize_app_state.tsx#:~:text=esFilters), [use_visualize_app_state.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_visualize_app_state.tsx#:~:text=esFilters), [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/plugin.ts#:~:text=esFilters), [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/plugin.ts#:~:text=esFilters), [get_visualize_list_item_link.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/get_visualize_list_item_link.test.ts#:~:text=esFilters), [get_visualize_list_item_link.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/get_visualize_list_item_link.test.ts#:~:text=esFilters) | 8.1 | | | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/utils.ts#:~:text=Filter), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/utils.ts#:~:text=Filter), [use_linked_search_updates.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts#:~:text=Filter), [use_linked_search_updates.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts#:~:text=Filter), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=Filter), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=Filter)+ 6 more | 8.1 | +| | [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern) | - | | | [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/common/locator.ts#:~:text=isFilterPinned), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/common/locator.ts#:~:text=isFilterPinned), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/common/locator.ts#:~:text=isFilterPinned) | 8.1 | | | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/utils.ts#:~:text=Filter), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/utils.ts#:~:text=Filter), [use_linked_search_updates.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts#:~:text=Filter), [use_linked_search_updates.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts#:~:text=Filter), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=Filter), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=Filter)+ 6 more | 8.1 | -| | [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern) | - | | | [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern) | - | | | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/utils.ts#:~:text=Filter), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/utils.ts#:~:text=Filter), [use_linked_search_updates.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts#:~:text=Filter), [use_linked_search_updates.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts#:~:text=Filter), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=Filter), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=Filter)+ 6 more | 8.1 | | | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=SavedObject), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=SavedObject), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=SavedObject), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=SavedObject), [get_visualization_instance.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/get_visualization_instance.ts#:~:text=SavedObject), [get_visualization_instance.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/get_visualization_instance.ts#:~:text=SavedObject), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=SavedObject), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=SavedObject), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=SavedObject), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=SavedObject)+ 3 more | - | diff --git a/api_docs/dev_tools.mdx b/api_docs/dev_tools.mdx index 25f56d10ec220..5f44f6e6f31b0 100644 --- a/api_docs/dev_tools.mdx +++ b/api_docs/dev_tools.mdx @@ -1,7 +1,7 @@ --- id: kibDevToolsPluginApi -slug: /kibana-dev-docs/devToolsPluginApi -title: devTools +slug: /kibana-dev-docs/api/devTools +title: "devTools" image: https://source.unsplash.com/400x175/?github summary: API docs for the devTools plugin date: 2020-11-16 diff --git a/api_docs/discover.json b/api_docs/discover.json index 4daa43c322117..bab87863a903b 100644 --- a/api_docs/discover.json +++ b/api_docs/discover.json @@ -77,7 +77,13 @@ "text": "DiscoverAppLocatorParams" }, " extends ", - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/discover/public/locator.ts", "deprecated": false, @@ -153,7 +159,13 @@ "text": "RefreshInterval" }, " & ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ") | undefined" ], "path": "src/plugins/discover/public/locator.ts", @@ -169,7 +181,13 @@ "\nOptionally apply filters." ], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "src/plugins/discover/public/locator.ts", @@ -185,7 +203,13 @@ "\nOptionally set a query." ], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "src/plugins/discover/public/locator.ts", @@ -262,7 +286,13 @@ ], "signature": [ "(string[][] & ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ") | undefined" ], "path": "src/plugins/discover/public/locator.ts", @@ -380,7 +410,13 @@ "\nOptionally apply filters." ], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "src/plugins/discover/public/url_generator.ts", @@ -396,7 +432,13 @@ "\nOptionally set a query. NOTE: if given and used in conjunction with `dashboardId`, and the\nsaved dashboard has a query saved with it, this will _replace_ that query." ], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "src/plugins/discover/public/url_generator.ts", @@ -890,7 +932,13 @@ "label": "query", "description": [], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "src/plugins/discover/public/application/embeddable/types.ts", @@ -904,7 +952,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "src/plugins/discover/public/application/embeddable/types.ts", @@ -1119,6 +1173,10 @@ "path": "src/plugins/discover/public/plugin.tsx", "deprecated": true, "references": [ + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_discover_link.tsx" + }, { "plugin": "osquery", "path": "x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx" diff --git a/api_docs/discover.mdx b/api_docs/discover.mdx index ee34b0c54dccf..aee0f4b9724c6 100644 --- a/api_docs/discover.mdx +++ b/api_docs/discover.mdx @@ -1,7 +1,7 @@ --- id: kibDiscoverPluginApi -slug: /kibana-dev-docs/discoverPluginApi -title: discover +slug: /kibana-dev-docs/api/discover +title: "discover" image: https://source.unsplash.com/400x175/?github summary: API docs for the discover plugin date: 2020-11-16 diff --git a/api_docs/discover_enhanced.mdx b/api_docs/discover_enhanced.mdx index e3a5dd501c076..2b89243572ea2 100644 --- a/api_docs/discover_enhanced.mdx +++ b/api_docs/discover_enhanced.mdx @@ -1,7 +1,7 @@ --- id: kibDiscoverEnhancedPluginApi -slug: /kibana-dev-docs/discoverEnhancedPluginApi -title: discoverEnhanced +slug: /kibana-dev-docs/api/discoverEnhanced +title: "discoverEnhanced" image: https://source.unsplash.com/400x175/?github summary: API docs for the discoverEnhanced plugin date: 2020-11-16 diff --git a/api_docs/elastic_datemath.json b/api_docs/elastic_datemath.json new file mode 100644 index 0000000000000..166f816481b33 --- /dev/null +++ b/api_docs/elastic_datemath.json @@ -0,0 +1,578 @@ +{ + "id": "@elastic/datemath", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.parse", + "type": "Function", + "tags": [], + "label": "parse", + "description": [], + "signature": [ + "(input: string, options: { roundUp?: boolean | undefined; momentInstance?: typeof moment | undefined; forceNow?: Date | undefined; }) => moment.Moment | undefined" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.parse.$1", + "type": "string", + "tags": [], + "label": "input", + "description": [], + "signature": [ + "string" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.parse.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.parse.$2.roundUp", + "type": "CompoundType", + "tags": [], + "label": "roundUp", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.parse.$2.momentInstance", + "type": "Function", + "tags": [], + "label": "momentInstance", + "description": [], + "signature": [ + "typeof moment | undefined" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.parse.$2.forceNow", + "type": "Object", + "tags": [], + "label": "forceNow", + "description": [], + "signature": [ + "Date | undefined" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.Unit", + "type": "Type", + "tags": [], + "label": "Unit", + "description": [], + "signature": [ + "\"y\" | \"M\" | \"w\" | \"d\" | \"h\" | \"m\" | \"s\" | \"ms\"" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.units", + "type": "Array", + "tags": [], + "label": "units", + "description": [], + "signature": [ + { + "pluginId": "@elastic/datemath", + "scope": "server", + "docId": "kibElasticDatemathPluginApi", + "section": "def-server.Unit", + "text": "Unit" + }, + "[]" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsAsc", + "type": "Array", + "tags": [], + "label": "unitsAsc", + "description": [], + "signature": [ + { + "pluginId": "@elastic/datemath", + "scope": "server", + "docId": "kibElasticDatemathPluginApi", + "section": "def-server.Unit", + "text": "Unit" + }, + "[]" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsDesc", + "type": "Array", + "tags": [], + "label": "unitsDesc", + "description": [], + "signature": [ + { + "pluginId": "@elastic/datemath", + "scope": "server", + "docId": "kibElasticDatemathPluginApi", + "section": "def-server.Unit", + "text": "Unit" + }, + "[]" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.UnitsMap", + "type": "Type", + "tags": [], + "label": "UnitsMap", + "description": [], + "signature": [ + "{ y: { weight: number; type: \"calendar\" | \"fixed\" | \"mixed\"; base: number; }; M: { weight: number; type: \"calendar\" | \"fixed\" | \"mixed\"; base: number; }; w: { weight: number; type: \"calendar\" | \"fixed\" | \"mixed\"; base: number; }; d: { weight: number; type: \"calendar\" | \"fixed\" | \"mixed\"; base: number; }; h: { weight: number; type: \"calendar\" | \"fixed\" | \"mixed\"; base: number; }; m: { weight: number; type: \"calendar\" | \"fixed\" | \"mixed\"; base: number; }; s: { weight: number; type: \"calendar\" | \"fixed\" | \"mixed\"; base: number; }; ms: { weight: number; type: \"calendar\" | \"fixed\" | \"mixed\"; base: number; }; }" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap", + "type": "Object", + "tags": [], + "label": "unitsMap", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.ms", + "type": "Object", + "tags": [], + "label": "ms", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.ms.weight", + "type": "number", + "tags": [], + "label": "weight", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.ms.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"fixed\"" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.ms.base", + "type": "number", + "tags": [], + "label": "base", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.s", + "type": "Object", + "tags": [], + "label": "s", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.s.weight", + "type": "number", + "tags": [], + "label": "weight", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.s.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"fixed\"" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.s.base", + "type": "number", + "tags": [], + "label": "base", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.m", + "type": "Object", + "tags": [], + "label": "m", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.m.weight", + "type": "number", + "tags": [], + "label": "weight", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.m.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"mixed\"" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.m.base", + "type": "number", + "tags": [], + "label": "base", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.h", + "type": "Object", + "tags": [], + "label": "h", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.h.weight", + "type": "number", + "tags": [], + "label": "weight", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.h.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"mixed\"" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.h.base", + "type": "number", + "tags": [], + "label": "base", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.d", + "type": "Object", + "tags": [], + "label": "d", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.d.weight", + "type": "number", + "tags": [], + "label": "weight", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.d.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"mixed\"" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.d.base", + "type": "number", + "tags": [], + "label": "base", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.w", + "type": "Object", + "tags": [], + "label": "w", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.w.weight", + "type": "number", + "tags": [], + "label": "weight", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.w.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"calendar\"" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.w.base", + "type": "number", + "tags": [], + "label": "base", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.M", + "type": "Object", + "tags": [], + "label": "M", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.M.weight", + "type": "number", + "tags": [], + "label": "weight", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.M.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"calendar\"" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.M.base", + "type": "number", + "tags": [], + "label": "base", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.y", + "type": "Object", + "tags": [], + "label": "y", + "description": [ + "// q: { weight: 8, type: 'calendar' }, // TODO: moment duration does not support quarter" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.y.weight", + "type": "number", + "tags": [], + "label": "weight", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.y.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"calendar\"" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.y.base", + "type": "number", + "tags": [], + "label": "base", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + } + ] + } + ], + "initialIsOpen": false + } + ] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/elastic_datemath.mdx b/api_docs/elastic_datemath.mdx new file mode 100644 index 0000000000000..eb7c18e47b9ea --- /dev/null +++ b/api_docs/elastic_datemath.mdx @@ -0,0 +1,33 @@ +--- +id: kibElasticDatemathPluginApi +slug: /kibana-dev-docs/api/elastic-datemath +title: "@elastic/datemath" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @elastic/datemath plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@elastic/datemath'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import elasticDatemathObj from './elastic_datemath.json'; + +elasticsearch datemath parser, used in kibana + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 44 | 0 | 43 | 0 | + +## Server + +### Objects + + +### Functions + + +### Consts, variables and types + + diff --git a/api_docs/embeddable.json b/api_docs/embeddable.json index 309e684b4ce3d..31d5771a47a3e 100644 --- a/api_docs/embeddable.json +++ b/api_docs/embeddable.json @@ -268,7 +268,13 @@ "description": [], "signature": [ "((appName: string, type: ", - "UiCounterMetricType", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.UiCounterMetricType", + "text": "UiCounterMetricType" + }, ", eventNames: string | string[], count?: number | undefined) => void) | undefined" ], "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts", @@ -5026,7 +5032,13 @@ "text": "NotificationsStart" }, "; SavedObjectFinder: React.ComponentType; showCreateNewMenu?: boolean | undefined; reportUiCounter?: ((appName: string, type: ", - "UiCounterMetricType", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.UiCounterMetricType", + "text": "UiCounterMetricType" + }, ", eventNames: string | string[], count?: number | undefined) => void) | undefined; }) => ", { "pluginId": "core", @@ -5307,7 +5319,13 @@ "description": [], "signature": [ "((appName: string, type: ", - "UiCounterMetricType", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.UiCounterMetricType", + "text": "UiCounterMetricType" + }, ", eventNames: string | string[], count?: number | undefined) => void) | undefined" ], "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/open_add_panel_flyout.tsx", @@ -8312,7 +8330,13 @@ "text": "ViewMode" }, " | undefined; title?: string | undefined; id: string; lastReloadRequestTime?: number | undefined; hidePanelTitles?: boolean | undefined; enhancements?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; disabledActions?: string[] | undefined; disableTriggers?: boolean | undefined; searchSessionId?: string | undefined; syncColors?: boolean | undefined; executionContext?: ", "KibanaExecutionContext", " | undefined; }" @@ -8724,7 +8748,13 @@ "text": "EnhancementRegistryDefinition" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => void" ], "path": "src/plugins/embeddable/public/plugin.tsx", @@ -8746,7 +8776,13 @@ "text": "EnhancementRegistryDefinition" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/embeddable/public/plugin.tsx", @@ -9395,7 +9431,13 @@ "text": "EnhancementRegistryDefinition" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => void" ], "path": "src/plugins/embeddable/server/plugin.ts", @@ -9417,7 +9459,13 @@ "text": "EnhancementRegistryDefinition" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/embeddable/server/plugin.ts", @@ -10154,7 +10202,13 @@ "text": "ViewMode" }, " | undefined; title?: string | undefined; id: string; lastReloadRequestTime?: number | undefined; hidePanelTitles?: boolean | undefined; enhancements?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; disabledActions?: string[] | undefined; disableTriggers?: boolean | undefined; searchSessionId?: string | undefined; syncColors?: boolean | undefined; executionContext?: ", "KibanaExecutionContext", " | undefined; }" @@ -10222,9 +10276,21 @@ "description": [], "signature": [ "(state: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ", version: string) => ", - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/embeddable/common/lib/migrate.ts", "deprecated": false, @@ -10238,7 +10304,13 @@ "label": "state", "description": [], "signature": [ - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/embeddable/common/lib/migrate.ts", "deprecated": false diff --git a/api_docs/embeddable.mdx b/api_docs/embeddable.mdx index 60b15f305bac9..3b6afd48b7d38 100644 --- a/api_docs/embeddable.mdx +++ b/api_docs/embeddable.mdx @@ -1,7 +1,7 @@ --- id: kibEmbeddablePluginApi -slug: /kibana-dev-docs/embeddablePluginApi -title: embeddable +slug: /kibana-dev-docs/api/embeddable +title: "embeddable" image: https://source.unsplash.com/400x175/?github summary: API docs for the embeddable plugin date: 2020-11-16 diff --git a/api_docs/embeddable_enhanced.mdx b/api_docs/embeddable_enhanced.mdx index 4963a62296358..cc4881a2d6ecb 100644 --- a/api_docs/embeddable_enhanced.mdx +++ b/api_docs/embeddable_enhanced.mdx @@ -1,7 +1,7 @@ --- id: kibEmbeddableEnhancedPluginApi -slug: /kibana-dev-docs/embeddableEnhancedPluginApi -title: embeddableEnhanced +slug: /kibana-dev-docs/api/embeddableEnhanced +title: "embeddableEnhanced" image: https://source.unsplash.com/400x175/?github summary: API docs for the embeddableEnhanced plugin date: 2020-11-16 diff --git a/api_docs/encrypted_saved_objects.mdx b/api_docs/encrypted_saved_objects.mdx index c872427012c2d..45cdba9bec0c6 100644 --- a/api_docs/encrypted_saved_objects.mdx +++ b/api_docs/encrypted_saved_objects.mdx @@ -1,7 +1,7 @@ --- id: kibEncryptedSavedObjectsPluginApi -slug: /kibana-dev-docs/encryptedSavedObjectsPluginApi -title: encryptedSavedObjects +slug: /kibana-dev-docs/api/encryptedSavedObjects +title: "encryptedSavedObjects" image: https://source.unsplash.com/400x175/?github summary: API docs for the encryptedSavedObjects plugin date: 2020-11-16 diff --git a/api_docs/enterprise_search.json b/api_docs/enterprise_search.json index 970a81c330376..4de69e72b978a 100644 --- a/api_docs/enterprise_search.json +++ b/api_docs/enterprise_search.json @@ -38,21 +38,69 @@ "label": "configSchema", "description": [], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ host: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; enabled: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; accessCheckTimeout: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; accessCheckTimeoutWarning: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; ssl: ", - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ certificateAuthorities: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; verificationMode: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "<\"none\" | \"certificate\" | \"full\">; }>; }>" ], "path": "x-pack/plugins/enterprise_search/server/index.ts", diff --git a/api_docs/enterprise_search.mdx b/api_docs/enterprise_search.mdx index 1e675b571993f..dd823394e221c 100644 --- a/api_docs/enterprise_search.mdx +++ b/api_docs/enterprise_search.mdx @@ -1,7 +1,7 @@ --- id: kibEnterpriseSearchPluginApi -slug: /kibana-dev-docs/enterpriseSearchPluginApi -title: enterpriseSearch +slug: /kibana-dev-docs/api/enterpriseSearch +title: "enterpriseSearch" image: https://source.unsplash.com/400x175/?github summary: API docs for the enterpriseSearch plugin date: 2020-11-16 diff --git a/api_docs/es_ui_shared.mdx b/api_docs/es_ui_shared.mdx index 8125a7eeca8e1..977d88d0c66d9 100644 --- a/api_docs/es_ui_shared.mdx +++ b/api_docs/es_ui_shared.mdx @@ -1,7 +1,7 @@ --- id: kibEsUiSharedPluginApi -slug: /kibana-dev-docs/esUiSharedPluginApi -title: esUiShared +slug: /kibana-dev-docs/api/esUiShared +title: "esUiShared" image: https://source.unsplash.com/400x175/?github summary: API docs for the esUiShared plugin date: 2020-11-16 diff --git a/api_docs/event_log.json b/api_docs/event_log.json index f2f2f399f5468..72fa83add95c3 100644 --- a/api_docs/event_log.json +++ b/api_docs/event_log.json @@ -579,7 +579,7 @@ "label": "logEvent", "description": [], "signature": [ - "(properties: DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ id?: string | undefined; description?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined) => void" + "(properties: DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; url?: string | undefined; category?: string[] | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ id?: string | undefined; description?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined) => void" ], "path": "x-pack/plugins/event_log/server/types.ts", "deprecated": false, @@ -592,7 +592,7 @@ "label": "properties", "description": [], "signature": [ - "DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ id?: string | undefined; description?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined" + "DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; url?: string | undefined; category?: string[] | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ id?: string | undefined; description?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined" ], "path": "x-pack/plugins/event_log/server/types.ts", "deprecated": false, @@ -609,7 +609,7 @@ "label": "startTiming", "description": [], "signature": [ - "(event: DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ id?: string | undefined; description?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined) => void" + "(event: DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; url?: string | undefined; category?: string[] | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ id?: string | undefined; description?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined) => void" ], "path": "x-pack/plugins/event_log/server/types.ts", "deprecated": false, @@ -622,7 +622,7 @@ "label": "event", "description": [], "signature": [ - "DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ id?: string | undefined; description?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined" + "DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; url?: string | undefined; category?: string[] | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ id?: string | undefined; description?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined" ], "path": "x-pack/plugins/event_log/server/types.ts", "deprecated": false, @@ -639,7 +639,7 @@ "label": "stopTiming", "description": [], "signature": [ - "(event: DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ id?: string | undefined; description?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined) => void" + "(event: DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; url?: string | undefined; category?: string[] | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ id?: string | undefined; description?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined) => void" ], "path": "x-pack/plugins/event_log/server/types.ts", "deprecated": false, @@ -652,7 +652,7 @@ "label": "event", "description": [], "signature": [ - "DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ id?: string | undefined; description?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined" + "DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; url?: string | undefined; category?: string[] | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ id?: string | undefined; description?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined" ], "path": "x-pack/plugins/event_log/server/types.ts", "deprecated": false, @@ -712,7 +712,7 @@ "label": "data", "description": [], "signature": [ - "(Readonly<{ tags?: string[] | undefined; kibana?: Readonly<{ version?: string | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; type_id?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ id?: string | undefined; description?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}> | undefined)[]" + "(Readonly<{ tags?: string[] | undefined; kibana?: Readonly<{ version?: string | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; type_id?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; url?: string | undefined; category?: string[] | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ id?: string | undefined; description?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}> | undefined)[]" ], "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", "deprecated": false @@ -731,7 +731,7 @@ "label": "IEvent", "description": [], "signature": [ - "DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ id?: string | undefined; description?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined" + "DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; url?: string | undefined; category?: string[] | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ id?: string | undefined; description?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined" ], "path": "x-pack/plugins/event_log/generated/schemas.ts", "deprecated": false, @@ -745,7 +745,7 @@ "label": "IValidatedEvent", "description": [], "signature": [ - "Readonly<{ tags?: string[] | undefined; kibana?: Readonly<{ version?: string | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; type_id?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ id?: string | undefined; description?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}> | undefined" + "Readonly<{ tags?: string[] | undefined; kibana?: Readonly<{ version?: string | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; type_id?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; url?: string | undefined; category?: string[] | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ id?: string | undefined; description?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}> | undefined" ], "path": "x-pack/plugins/event_log/generated/schemas.ts", "deprecated": false, @@ -979,7 +979,7 @@ "label": "getLogger", "description": [], "signature": [ - "(properties: DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ id?: string | undefined; description?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined) => ", + "(properties: DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; url?: string | undefined; category?: string[] | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ id?: string | undefined; description?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined) => ", { "pluginId": "eventLog", "scope": "server", @@ -999,7 +999,7 @@ "label": "properties", "description": [], "signature": [ - "DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ id?: string | undefined; description?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined" + "DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; url?: string | undefined; category?: string[] | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ id?: string | undefined; description?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined" ], "path": "x-pack/plugins/event_log/server/types.ts", "deprecated": false, diff --git a/api_docs/event_log.mdx b/api_docs/event_log.mdx index 47d52f0498f87..6ddd7e013fab2 100644 --- a/api_docs/event_log.mdx +++ b/api_docs/event_log.mdx @@ -1,7 +1,7 @@ --- id: kibEventLogPluginApi -slug: /kibana-dev-docs/eventLogPluginApi -title: eventLog +slug: /kibana-dev-docs/api/eventLog +title: "eventLog" image: https://source.unsplash.com/400x175/?github summary: API docs for the eventLog plugin date: 2020-11-16 diff --git a/api_docs/expression_error.mdx b/api_docs/expression_error.mdx index b4abd70146d97..dd67f48e03025 100644 --- a/api_docs/expression_error.mdx +++ b/api_docs/expression_error.mdx @@ -1,7 +1,7 @@ --- id: kibExpressionErrorPluginApi -slug: /kibana-dev-docs/expressionErrorPluginApi -title: expressionError +slug: /kibana-dev-docs/api/expressionError +title: "expressionError" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionError plugin date: 2020-11-16 diff --git a/api_docs/expression_image.json b/api_docs/expression_image.json index d7b1e7b652d6c..f92cd0d258e1d 100644 --- a/api_docs/expression_image.json +++ b/api_docs/expression_image.json @@ -323,7 +323,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expression_image/common/types/expression_functions.ts", diff --git a/api_docs/expression_image.mdx b/api_docs/expression_image.mdx index 54d93d97c3287..bf829509f83bd 100644 --- a/api_docs/expression_image.mdx +++ b/api_docs/expression_image.mdx @@ -1,7 +1,7 @@ --- id: kibExpressionImagePluginApi -slug: /kibana-dev-docs/expressionImagePluginApi -title: expressionImage +slug: /kibana-dev-docs/api/expressionImage +title: "expressionImage" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionImage plugin date: 2020-11-16 diff --git a/api_docs/expression_metric.json b/api_docs/expression_metric.json index 3a971719e6c4e..4ffb80c5a0cec 100644 --- a/api_docs/expression_metric.json +++ b/api_docs/expression_metric.json @@ -427,7 +427,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expression_metric/common/types/expression_functions.ts", diff --git a/api_docs/expression_metric.mdx b/api_docs/expression_metric.mdx index 0ea5d24fc228b..b3b3b38228cc5 100644 --- a/api_docs/expression_metric.mdx +++ b/api_docs/expression_metric.mdx @@ -1,7 +1,7 @@ --- id: kibExpressionMetricPluginApi -slug: /kibana-dev-docs/expressionMetricPluginApi -title: expressionMetric +slug: /kibana-dev-docs/api/expressionMetric +title: "expressionMetric" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionMetric plugin date: 2020-11-16 diff --git a/api_docs/expression_metric_vis.json b/api_docs/expression_metric_vis.json new file mode 100644 index 0000000000000..251e916797e7e --- /dev/null +++ b/api_docs/expression_metric_vis.json @@ -0,0 +1,837 @@ +{ + "id": "expressionMetricVis", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.metricVisFunction", + "type": "Function", + "tags": [], + "label": "metricVisFunction", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "expressionMetricVis", + "scope": "common", + "docId": "kibExpressionMetricVisPluginApi", + "section": "def-common.MetricVisExpressionFunctionDefinition", + "text": "MetricVisExpressionFunctionDefinition" + } + ], + "path": "src/plugins/chart_expressions/expression_metric/common/expression_functions/metric_vis_function.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.DimensionsVisParam", + "type": "Interface", + "tags": [], + "label": "DimensionsVisParam", + "description": [], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_renderers.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.DimensionsVisParam.metrics", + "type": "Array", + "tags": [], + "label": "metrics", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionValueBoxed", + "text": "ExpressionValueBoxed" + }, + "<\"vis_dimension\", { accessor: number | ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.DatatableColumn", + "text": "DatatableColumn" + }, + "; format: { id?: string | undefined; params: Record; }; }>[]" + ], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.DimensionsVisParam.bucket", + "type": "CompoundType", + "tags": [], + "label": "bucket", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionValueBoxed", + "text": "ExpressionValueBoxed" + }, + "<\"vis_dimension\", { accessor: number | ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.DatatableColumn", + "text": "DatatableColumn" + }, + "; format: { id?: string | undefined; params: Record; }; }> | undefined" + ], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_renderers.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricArguments", + "type": "Interface", + "tags": [], + "label": "MetricArguments", + "description": [], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_functions.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricArguments.percentageMode", + "type": "boolean", + "tags": [], + "label": "percentageMode", + "description": [], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_functions.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricArguments.colorSchema", + "type": "Enum", + "tags": [], + "label": "colorSchema", + "description": [], + "signature": [ + { + "pluginId": "charts", + "scope": "common", + "docId": "kibChartsPluginApi", + "section": "def-common.ColorSchemas", + "text": "ColorSchemas" + } + ], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_functions.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricArguments.colorMode", + "type": "CompoundType", + "tags": [], + "label": "colorMode", + "description": [], + "signature": [ + "\"Background\" | \"Labels\" | \"None\"" + ], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_functions.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricArguments.useRanges", + "type": "boolean", + "tags": [], + "label": "useRanges", + "description": [], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_functions.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricArguments.invertColors", + "type": "boolean", + "tags": [], + "label": "invertColors", + "description": [], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_functions.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricArguments.showLabels", + "type": "boolean", + "tags": [], + "label": "showLabels", + "description": [], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_functions.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricArguments.bgFill", + "type": "string", + "tags": [], + "label": "bgFill", + "description": [], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_functions.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricArguments.subText", + "type": "string", + "tags": [], + "label": "subText", + "description": [], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_functions.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricArguments.colorRange", + "type": "Array", + "tags": [], + "label": "colorRange", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.Range", + "text": "Range" + }, + "[]" + ], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_functions.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricArguments.font", + "type": "Object", + "tags": [], + "label": "font", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionTypeStyle", + "text": "ExpressionTypeStyle" + } + ], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_functions.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricArguments.metric", + "type": "Array", + "tags": [], + "label": "metric", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionValueBoxed", + "text": "ExpressionValueBoxed" + }, + "<\"vis_dimension\", { accessor: number | ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.DatatableColumn", + "text": "DatatableColumn" + }, + "; format: { id?: string | undefined; params: Record; }; }>[]" + ], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_functions.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricArguments.bucket", + "type": "CompoundType", + "tags": [], + "label": "bucket", + "description": [], + "signature": [ + "{ type: \"vis_dimension\"; } & { accessor: number | ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.DatatableColumn", + "text": "DatatableColumn" + }, + "; format: { id?: string | undefined; params: Record; }; }" + ], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_functions.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricOptions", + "type": "Interface", + "tags": [], + "label": "MetricOptions", + "description": [], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_renderers.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricOptions.value", + "type": "string", + "tags": [], + "label": "value", + "description": [], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricOptions.label", + "type": "string", + "tags": [], + "label": "label", + "description": [], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricOptions.color", + "type": "string", + "tags": [], + "label": "color", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricOptions.bgColor", + "type": "string", + "tags": [], + "label": "bgColor", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricOptions.lightText", + "type": "boolean", + "tags": [], + "label": "lightText", + "description": [], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricOptions.rowIndex", + "type": "number", + "tags": [], + "label": "rowIndex", + "description": [], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_renderers.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricVisParam", + "type": "Interface", + "tags": [], + "label": "MetricVisParam", + "description": [], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_renderers.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricVisParam.percentageMode", + "type": "boolean", + "tags": [], + "label": "percentageMode", + "description": [], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricVisParam.percentageFormatPattern", + "type": "string", + "tags": [], + "label": "percentageFormatPattern", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricVisParam.useRanges", + "type": "boolean", + "tags": [], + "label": "useRanges", + "description": [], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricVisParam.colorSchema", + "type": "Enum", + "tags": [], + "label": "colorSchema", + "description": [], + "signature": [ + { + "pluginId": "charts", + "scope": "common", + "docId": "kibChartsPluginApi", + "section": "def-common.ColorSchemas", + "text": "ColorSchemas" + } + ], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricVisParam.metricColorMode", + "type": "CompoundType", + "tags": [], + "label": "metricColorMode", + "description": [], + "signature": [ + "\"Background\" | \"Labels\" | \"None\"" + ], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricVisParam.colorsRange", + "type": "Array", + "tags": [], + "label": "colorsRange", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.Range", + "text": "Range" + }, + "[]" + ], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricVisParam.labels", + "type": "Object", + "tags": [], + "label": "labels", + "description": [], + "signature": [ + { + "pluginId": "charts", + "scope": "common", + "docId": "kibChartsPluginApi", + "section": "def-common.Labels", + "text": "Labels" + } + ], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricVisParam.invertColors", + "type": "boolean", + "tags": [], + "label": "invertColors", + "description": [], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricVisParam.style", + "type": "Object", + "tags": [], + "label": "style", + "description": [], + "signature": [ + { + "pluginId": "charts", + "scope": "common", + "docId": "kibChartsPluginApi", + "section": "def-common.Style", + "text": "Style" + } + ], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_renderers.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricVisRenderConfig", + "type": "Interface", + "tags": [], + "label": "MetricVisRenderConfig", + "description": [], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_functions.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricVisRenderConfig.visType", + "type": "string", + "tags": [], + "label": "visType", + "description": [], + "signature": [ + "\"metric\"" + ], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_functions.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricVisRenderConfig.visData", + "type": "Object", + "tags": [], + "label": "visData", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.Datatable", + "text": "Datatable" + } + ], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_functions.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricVisRenderConfig.visConfig", + "type": "Object", + "tags": [], + "label": "visConfig", + "description": [], + "signature": [ + "{ metric: ", + { + "pluginId": "expressionMetricVis", + "scope": "common", + "docId": "kibExpressionMetricVisPluginApi", + "section": "def-common.MetricVisParam", + "text": "MetricVisParam" + }, + "; dimensions: ", + { + "pluginId": "expressionMetricVis", + "scope": "common", + "docId": "kibExpressionMetricVisPluginApi", + "section": "def-common.DimensionsVisParam", + "text": "DimensionsVisParam" + }, + "; }" + ], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_functions.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.VisParams", + "type": "Interface", + "tags": [], + "label": "VisParams", + "description": [], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_renderers.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.VisParams.addTooltip", + "type": "boolean", + "tags": [], + "label": "addTooltip", + "description": [], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.VisParams.addLegend", + "type": "boolean", + "tags": [], + "label": "addLegend", + "description": [], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.VisParams.dimensions", + "type": "Object", + "tags": [], + "label": "dimensions", + "description": [], + "signature": [ + { + "pluginId": "expressionMetricVis", + "scope": "common", + "docId": "kibExpressionMetricVisPluginApi", + "section": "def-common.DimensionsVisParam", + "text": "DimensionsVisParam" + } + ], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.VisParams.metric", + "type": "Object", + "tags": [], + "label": "metric", + "description": [], + "signature": [ + { + "pluginId": "expressionMetricVis", + "scope": "common", + "docId": "kibExpressionMetricVisPluginApi", + "section": "def-common.MetricVisParam", + "text": "MetricVisParam" + } + ], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_renderers.ts", + "deprecated": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.VisParams.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"metric\"" + ], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_renderers.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.EXPRESSION_METRIC_NAME", + "type": "string", + "tags": [], + "label": "EXPRESSION_METRIC_NAME", + "description": [], + "signature": [ + "\"metricVis\"" + ], + "path": "src/plugins/chart_expressions/expression_metric/common/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricInput", + "type": "Type", + "tags": [], + "label": "MetricInput", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.Datatable", + "text": "Datatable" + } + ], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_functions.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.MetricVisExpressionFunctionDefinition", + "type": "Type", + "tags": [], + "label": "MetricVisExpressionFunctionDefinition", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"metricVis\", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.Datatable", + "text": "Datatable" + }, + ", ", + { + "pluginId": "expressionMetricVis", + "scope": "common", + "docId": "kibExpressionMetricVisPluginApi", + "section": "def-common.MetricArguments", + "text": "MetricArguments" + }, + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionValueBoxed", + "text": "ExpressionValueBoxed" + }, + "<\"render\", { as: string; value: ", + { + "pluginId": "expressionMetricVis", + "scope": "common", + "docId": "kibExpressionMetricVisPluginApi", + "section": "def-common.MetricVisRenderConfig", + "text": "MetricVisRenderConfig" + }, + "; }>, ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, + ">>" + ], + "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_functions.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.PLUGIN_ID", + "type": "string", + "tags": [], + "label": "PLUGIN_ID", + "description": [], + "signature": [ + "\"expressionMetricVis\"" + ], + "path": "src/plugins/chart_expressions/expression_metric/common/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "expressionMetricVis", + "id": "def-common.PLUGIN_NAME", + "type": "string", + "tags": [], + "label": "PLUGIN_NAME", + "description": [], + "signature": [ + "\"expressionMetricVis\"" + ], + "path": "src/plugins/chart_expressions/expression_metric/common/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/expression_metric_vis.mdx b/api_docs/expression_metric_vis.mdx new file mode 100644 index 0000000000000..891d4d3f022d5 --- /dev/null +++ b/api_docs/expression_metric_vis.mdx @@ -0,0 +1,33 @@ +--- +id: kibExpressionMetricVisPluginApi +slug: /kibana-dev-docs/api/expressionMetricVis +title: "expressionMetricVis" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the expressionMetricVis plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionMetricVis'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import expressionMetricVisObj from './expression_metric_vis.json'; + +Expression MetricVis plugin adds a `metric` renderer and function to the expression plugin. The renderer will display the `metric` chart. + +Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 49 | 0 | 49 | 0 | + +## Common + +### Functions + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/expression_repeat_image.json b/api_docs/expression_repeat_image.json index 7cd55f2d4d664..416a827e5bafb 100644 --- a/api_docs/expression_repeat_image.json +++ b/api_docs/expression_repeat_image.json @@ -365,7 +365,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expression_repeat_image/common/types/expression_functions.ts", diff --git a/api_docs/expression_repeat_image.mdx b/api_docs/expression_repeat_image.mdx index 9205aa8a1dfa3..512b185bfb49c 100644 --- a/api_docs/expression_repeat_image.mdx +++ b/api_docs/expression_repeat_image.mdx @@ -1,7 +1,7 @@ --- id: kibExpressionRepeatImagePluginApi -slug: /kibana-dev-docs/expressionRepeatImagePluginApi -title: expressionRepeatImage +slug: /kibana-dev-docs/api/expressionRepeatImage +title: "expressionRepeatImage" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionRepeatImage plugin date: 2020-11-16 diff --git a/api_docs/expression_reveal_image.mdx b/api_docs/expression_reveal_image.mdx index 8a6ecf0c34cb1..f438a6c7cf5b8 100644 --- a/api_docs/expression_reveal_image.mdx +++ b/api_docs/expression_reveal_image.mdx @@ -1,7 +1,7 @@ --- id: kibExpressionRevealImagePluginApi -slug: /kibana-dev-docs/expressionRevealImagePluginApi -title: expressionRevealImage +slug: /kibana-dev-docs/api/expressionRevealImage +title: "expressionRevealImage" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionRevealImage plugin date: 2020-11-16 diff --git a/api_docs/expression_shape.json b/api_docs/expression_shape.json index d0ebb9b78a6e0..018c438303cb0 100644 --- a/api_docs/expression_shape.json +++ b/api_docs/expression_shape.json @@ -1320,7 +1320,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expression_shape/common/types/expression_functions.ts", @@ -1370,7 +1376,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expression_shape/common/types/expression_functions.ts", @@ -2461,7 +2473,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expression_shape/common/types/expression_functions.ts", @@ -2511,7 +2529,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expression_shape/common/types/expression_functions.ts", diff --git a/api_docs/expression_shape.mdx b/api_docs/expression_shape.mdx index 99a8a33bac1db..b7670e75f615d 100644 --- a/api_docs/expression_shape.mdx +++ b/api_docs/expression_shape.mdx @@ -1,7 +1,7 @@ --- id: kibExpressionShapePluginApi -slug: /kibana-dev-docs/expressionShapePluginApi -title: expressionShape +slug: /kibana-dev-docs/api/expressionShape +title: "expressionShape" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionShape plugin date: 2020-11-16 diff --git a/api_docs/expression_tagcloud.mdx b/api_docs/expression_tagcloud.mdx index 26b10681ff75c..662b1658caafd 100644 --- a/api_docs/expression_tagcloud.mdx +++ b/api_docs/expression_tagcloud.mdx @@ -1,7 +1,7 @@ --- id: kibExpressionTagcloudPluginApi -slug: /kibana-dev-docs/expressionTagcloudPluginApi -title: expressionTagcloud +slug: /kibana-dev-docs/api/expressionTagcloud +title: "expressionTagcloud" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionTagcloud plugin date: 2020-11-16 diff --git a/api_docs/expressions.json b/api_docs/expressions.json index 501c6c48a0a20..90432f7bd1c6b 100644 --- a/api_docs/expressions.json +++ b/api_docs/expressions.json @@ -72,7 +72,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>>>, ", { "pluginId": "expressions", @@ -106,7 +112,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>>>, {}>" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -145,7 +157,13 @@ "text": "ExecutionContext" }, "" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -187,7 +205,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>>>" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -328,7 +352,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>>>" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -373,7 +403,7 @@ "label": "invokeChain", "description": [], "signature": [ - "(chainArr: ", + "(chainArr: ", { "pluginId": "expressions", "scope": "common", @@ -383,7 +413,7 @@ }, "[], input: unknown) => ", "Observable", - "" + "" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -434,7 +464,7 @@ "label": "invokeFunction", "description": [], "signature": [ - "(fn: ", + ") => ", + ">(fn: Fn, input: unknown, args: Record) => ", "Observable", - "" + ">" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -452,18 +482,12 @@ { "parentPluginId": "expressions", "id": "def-public.Execution.invokeFunction.$1", - "type": "Object", + "type": "Uncategorized", "tags": [], "label": "fn", "description": [], "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunction", - "text": "ExpressionFunction" - } + "Fn" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -508,7 +532,7 @@ "label": "cast", "description": [], "signature": [ - "(value: any, toTypeNames?: string[] | undefined) => any" + "(value: unknown, toTypeNames?: string[] | undefined) => Type" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -516,12 +540,12 @@ { "parentPluginId": "expressions", "id": "def-public.Execution.cast.$1", - "type": "Any", + "type": "Unknown", "tags": [], "label": "value", "description": [], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -552,7 +576,7 @@ "label": "resolveArgs", "description": [], "signature": [ - "(fnDef: ", + " ", + ">(fnDef: Fn, input: unknown, argAsts: Record) => ", "Observable", - "" + ">" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -570,18 +602,12 @@ { "parentPluginId": "expressions", "id": "def-public.Execution.resolveArgs.$1", - "type": "Object", + "type": "Uncategorized", "tags": [], "label": "fnDef", "description": [], "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunction", - "text": "ExpressionFunction" - } + "Fn" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -604,12 +630,20 @@ { "parentPluginId": "expressions", "id": "def-public.Execution.resolveArgs.$3", - "type": "Any", + "type": "Object", "tags": [], "label": "argAsts", "description": [], "signature": [ - "any" + "Record" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -812,7 +846,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }> | Output>>" ], "path": "src/plugins/expressions/common/execution/execution_contract.ts", @@ -1475,7 +1515,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }> | Output>>" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -1770,7 +1816,7 @@ "section": "def-common.ExpressionAstExpression", "text": "ExpressionAstExpression" }, - ", telemetryData: Record) => Record" + ", telemetryData: Record) => Record" ], "path": "src/plugins/expressions/common/executor/executor.ts", "deprecated": false, @@ -1803,7 +1849,7 @@ "label": "telemetryData", "description": [], "signature": [ - "Record" + "Record" ], "path": "src/plugins/expressions/common/executor/executor.ts", "deprecated": false, @@ -1851,7 +1897,13 @@ "text": "VersionedState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => ", { "pluginId": "expressions", @@ -1880,7 +1932,13 @@ "text": "VersionedState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -2001,7 +2059,7 @@ "\nFunction to run function (context, args)" ], "signature": [ - "(input: any, params: Record, handlers: object) => any" + "(input: any, params: Record, handlers: object) => any" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", "deprecated": false, @@ -2028,7 +2086,7 @@ "label": "params", "description": [], "signature": [ - "{ [x: string]: any; }" + "{ [x: string]: unknown; }" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", "deprecated": false @@ -2114,7 +2172,7 @@ "section": "def-common.ExpressionAstArgument", "text": "ExpressionAstArgument" }, - "[]>, telemetryData: Record) => Record" + "[]>, telemetryData: Record) => Record" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", "deprecated": false, @@ -2149,7 +2207,7 @@ "label": "telemetryData", "description": [], "signature": [ - "{ [x: string]: any; }" + "{ [x: string]: unknown; }" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", "deprecated": false @@ -2289,9 +2347,21 @@ "description": [], "signature": [ "{ [key: string]: (state: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ") => ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "; }" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", @@ -2373,6 +2443,16 @@ "tags": [], "label": "ExpressionFunctionParameter", "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionParameter", + "text": "ExpressionFunctionParameter" + }, + "" + ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false, "children": [ @@ -2409,12 +2489,20 @@ { "parentPluginId": "expressions", "id": "def-public.ExpressionFunctionParameter.types", - "type": "Array", + "type": "CompoundType", "tags": [], "label": "types", "description": [], "signature": [ - "string[]" + "(string[] & (\"date\" | \"filter\" | ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.KnownTypeToString", + "text": "KnownTypeToString" + }, + ")[]) | (string[] & (\"date\" | \"filter\" | ArrayTypeToArgumentString)[]) | (string[] & (\"date\" | \"filter\" | UnresolvedTypeToArgumentString)[]) | (string[] & (\"date\" | \"filter\" | UnresolvedArrayTypeToArgumentString)[]) | undefined" ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false @@ -2422,12 +2510,12 @@ { "parentPluginId": "expressions", "id": "def-public.ExpressionFunctionParameter.default", - "type": "Any", + "type": "CompoundType", "tags": [], "label": "default", "description": [], "signature": [ - "any" + "string | T | undefined" ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false @@ -2473,7 +2561,7 @@ "label": "options", "description": [], "signature": [ - "any[]" + "T[]" ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false @@ -2520,7 +2608,7 @@ "section": "def-common.ArgumentType", "text": "ArgumentType" }, - "" + "" ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false, @@ -3042,7 +3130,15 @@ "label": "render", "description": [], "signature": [ - "(value: any, uiState?: any) => Promise" + "(value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, + ", uiState?: unknown) => Promise" ], "path": "src/plugins/expressions/public/render.ts", "deprecated": false, @@ -3050,12 +3146,18 @@ { "parentPluginId": "expressions", "id": "def-public.ExpressionRenderHandler.render.$1", - "type": "Any", + "type": "Object", "tags": [], "label": "value", "description": [], "signature": [ - "any" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/expressions/public/render.ts", "deprecated": false, @@ -3064,12 +3166,12 @@ { "parentPluginId": "expressions", "id": "def-public.ExpressionRenderHandler.render.$2", - "type": "Any", + "type": "Unknown", "tags": [], "label": "uiState", "description": [], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/public/render.ts", "deprecated": false, @@ -3183,7 +3285,15 @@ "label": "logAST", "description": [], "signature": [ - "(ast: any) => void" + "(ast: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstNode", + "text": "ExpressionAstNode" + }, + ") => void" ], "path": "src/plugins/expressions/common/util/expressions_inspector_adapter.ts", "deprecated": false, @@ -3191,12 +3301,18 @@ { "parentPluginId": "expressions", "id": "def-public.ExpressionsInspectorAdapter.logAST.$1", - "type": "Any", + "type": "CompoundType", "tags": [], "label": "ast", "description": [], "signature": [ - "any" + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstNode", + "text": "ExpressionAstNode" + } ], "path": "src/plugins/expressions/common/util/expressions_inspector_adapter.ts", "deprecated": false, @@ -3208,12 +3324,27 @@ { "parentPluginId": "expressions", "id": "def-public.ExpressionsInspectorAdapter.ast", - "type": "Any", + "type": "CompoundType", "tags": [], "label": "ast", "description": [], "signature": [ - "any" + "string | number | boolean | ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstExpression", + "text": "ExpressionAstExpression" + }, + " | ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstFunction", + "text": "ExpressionAstFunction" + } ], "path": "src/plugins/expressions/common/util/expressions_inspector_adapter.ts", "deprecated": false @@ -4300,7 +4431,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }> | Output>>" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -4383,7 +4520,7 @@ "section": "def-common.ExpressionAstExpression", "text": "ExpressionAstExpression" }, - ", telemetryData?: Record) => Record" + ", telemetryData?: Record) => Record" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", "deprecated": false, @@ -4418,7 +4555,7 @@ "label": "telemetryData", "description": [], "signature": [ - "Record" + "Record" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", "deprecated": false, @@ -4606,7 +4743,13 @@ "text": "VersionedState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => ", { "pluginId": "expressions", @@ -4635,7 +4778,13 @@ "text": "VersionedState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -4783,7 +4932,7 @@ "\nType validation, useful for checking function output." ], "signature": [ - "(type: any) => void | Error" + "(type: unknown) => void | Error" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", "deprecated": false, @@ -4792,12 +4941,12 @@ { "parentPluginId": "expressions", "id": "def-public.ExpressionType.validate.$1", - "type": "Any", + "type": "Unknown", "tags": [], "label": "type", "description": [], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", "deprecated": false @@ -4827,7 +4976,15 @@ "\nOptional serialization (used when passing context around client/server)." ], "signature": [ - "((value: any) => any) | undefined" + "((value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, + ") => unknown) | undefined" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", "deprecated": false @@ -4840,7 +4997,15 @@ "label": "deserialize", "description": [], "signature": [ - "((serialized: any) => any) | undefined" + "((serialized: unknown[]) => ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, + ") | undefined" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", "deprecated": false @@ -5218,7 +5383,7 @@ "section": "def-common.Executor", "text": "Executor" }, - "" + ">" ], "path": "src/plugins/expressions/common/executor/executor.ts", "deprecated": false, @@ -5541,7 +5706,7 @@ "section": "def-common.Executor", "text": "Executor" }, - "" + ">" ], "path": "src/plugins/expressions/common/executor/executor.ts", "deprecated": false, @@ -6081,7 +6246,7 @@ "\nType guard that checks whether a given value is an\n`ExpressionAstExpressionBuilder`. This is useful when working\nwith subexpressions, where you might be retrieving a function\nargument, and need to know whether it is an expression builder\ninstance which you can perform operations on.\n" ], "signature": [ - "(val: any) => boolean" + "(val: unknown) => boolean" ], "path": "src/plugins/expressions/common/ast/build_expression.ts", "deprecated": false, @@ -6089,14 +6254,14 @@ { "parentPluginId": "expressions", "id": "def-public.isExpressionAstBuilder.$1", - "type": "Any", + "type": "Unknown", "tags": [], "label": "val", "description": [ "Value you want to check." ], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/common/ast/build_expression.ts", "deprecated": false, @@ -6556,6 +6721,66 @@ "deprecated": false, "children": [], "returnComment": [] + }, + { + "parentPluginId": "expressions", + "id": "def-public.ExecutionContext.logDatatable", + "type": "Function", + "tags": [], + "label": "logDatatable", + "description": [ + "\nLogs datatable." + ], + "signature": [ + "((name: string, datatable: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.Datatable", + "text": "Datatable" + }, + ") => void) | undefined" + ], + "path": "src/plugins/expressions/common/execution/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "expressions", + "id": "def-public.ExecutionContext.logDatatable.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/expressions/common/execution/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "expressions", + "id": "def-public.ExecutionContext.logDatatable.$2", + "type": "Object", + "tags": [], + "label": "datatable", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.Datatable", + "text": "Datatable" + } + ], + "path": "src/plugins/expressions/common/execution/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] } ], "initialIsOpen": false @@ -6585,7 +6810,7 @@ "section": "def-common.Executor", "text": "Executor" }, - "" + ">" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false @@ -7467,11 +7692,29 @@ "text": "KnownTypeToString" }, " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, "> | undefined" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -7719,7 +7962,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -7740,7 +7989,15 @@ "section": "def-common.ExpressionFunctionDefinition", "text": "ExpressionFunctionDefinition" }, - "<\"font\", null, Arguments, ", + "<\"font\", null, ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.FontArguments", + "text": "FontArguments" + }, + ", ", { "pluginId": "expressions", "scope": "common", @@ -7765,7 +8022,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -7803,7 +8066,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -7841,7 +8110,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -7862,7 +8137,7 @@ "section": "def-common.ExpressionFunctionDefinition", "text": "ExpressionFunctionDefinition" }, - "<\"theme\", null, Arguments, any, ", + "<\"theme\", null, Arguments, unknown, ", { "pluginId": "expressions", "scope": "common", @@ -7879,7 +8154,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -7941,7 +8222,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -8003,7 +8290,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -8065,7 +8358,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -8127,7 +8426,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -8350,42 +8655,6 @@ ], "initialIsOpen": false }, - { - "parentPluginId": "expressions", - "id": "def-public.ExpressionRendererEvent", - "type": "Interface", - "tags": [], - "label": "ExpressionRendererEvent", - "description": [], - "path": "src/plugins/expressions/public/render.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "expressions", - "id": "def-public.ExpressionRendererEvent.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "src/plugins/expressions/public/render.ts", - "deprecated": false - }, - { - "parentPluginId": "expressions", - "id": "def-public.ExpressionRendererEvent.data", - "type": "Any", - "tags": [], - "label": "data", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/expressions/public/render.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, { "parentPluginId": "expressions", "id": "def-public.ExpressionRenderError", @@ -8695,7 +8964,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }> | Output>>" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -8904,7 +9179,7 @@ "label": "validate", "description": [], "signature": [ - "((type: any) => void | Error) | undefined" + "((type: unknown) => void | Error) | undefined" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false, @@ -8912,12 +9187,12 @@ { "parentPluginId": "expressions", "id": "def-public.ExpressionTypeDefinition.validate.$1", - "type": "Any", + "type": "Unknown", "tags": [], "label": "type", "description": [], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false, @@ -9160,7 +9435,13 @@ "label": "searchContext", "description": [], "signature": [ - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined" ], "path": "src/plugins/expressions/public/types/index.ts", @@ -9187,7 +9468,7 @@ "label": "variables", "description": [], "signature": [ - "Record | undefined" + "Record | undefined" ], "path": "src/plugins/expressions/public/types/index.ts", "deprecated": false @@ -9491,7 +9772,15 @@ "label": "update", "description": [], "signature": [ - "(params: any) => void" + "(params: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderUpdateParams", + "text": "IInterpreterRenderUpdateParams" + }, + ") => void" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -9499,12 +9788,19 @@ { "parentPluginId": "expressions", "id": "def-public.IInterpreterRenderHandlers.update.$1", - "type": "Any", + "type": "Object", "tags": [], "label": "params", "description": [], "signature": [ - "any" + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderUpdateParams", + "text": "IInterpreterRenderUpdateParams" + }, + "" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -9521,7 +9817,15 @@ "label": "event", "description": [], "signature": [ - "(event: any) => void" + "(event: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderEvent", + "text": "IInterpreterRenderEvent" + }, + ") => void" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -9529,12 +9833,19 @@ { "parentPluginId": "expressions", "id": "def-public.IInterpreterRenderHandlers.event.$1", - "type": "Any", + "type": "Object", "tags": [], "label": "event", "description": [], "signature": [ - "any" + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderEvent", + "text": "IInterpreterRenderEvent" + }, + "" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -9551,7 +9862,15 @@ "label": "hasCompatibleActions", "description": [], "signature": [ - "((event: any) => Promise) | undefined" + "((event: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderEvent", + "text": "IInterpreterRenderEvent" + }, + ") => Promise) | undefined" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -9559,12 +9878,19 @@ { "parentPluginId": "expressions", "id": "def-public.IInterpreterRenderHandlers.hasCompatibleActions.$1", - "type": "Any", + "type": "Object", "tags": [], "label": "event", "description": [], "signature": [ - "any" + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderEvent", + "text": "IInterpreterRenderEvent" + }, + "" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -10314,7 +10640,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -10336,7 +10668,7 @@ "section": "def-common.ExpressionTypeDefinition", "text": "ExpressionTypeDefinition" }, - "" + "" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false, @@ -10625,6 +10957,27 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "expressions", + "id": "def-public.ExpressionRendererEvent", + "type": "Type", + "tags": [], + "label": "ExpressionRendererEvent", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderEvent", + "text": "IInterpreterRenderEvent" + }, + "" + ], + "path": "src/plugins/expressions/public/render.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "expressions", "id": "def-public.ExpressionValue", @@ -10661,7 +11014,15 @@ "label": "ExpressionValueConverter", "description": [], "signature": [ - "(input: I, availableTypes: Record) => O" + "(input: I, availableTypes: Record) => O" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false, @@ -10688,7 +11049,15 @@ "label": "availableTypes", "description": [], "signature": [ - "{ [x: string]: any; }" + "{ [x: string]: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionType", + "text": "ExpressionType" + }, + "; }" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false @@ -10713,7 +11082,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }" ], "path": "src/plugins/expressions/common/expression_types/specs/error.ts", @@ -10855,7 +11230,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }" ], "path": "src/plugins/expressions/common/expression_types/specs/error.ts", @@ -11026,41 +11407,149 @@ ], "signature": [ "(T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends string ? \"string\" : (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends boolean ? \"boolean\" : (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends number ? \"number\" : (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends null ? \"null\" : (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends { type: string; } ? ({ type: string; } & (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, "))[\"type\"] : never" ], "path": "src/plugins/expressions/common/types/common.ts", @@ -11331,7 +11820,7 @@ "label": "render", "description": [], "signature": [ - "(element: HTMLElement, data: any, options?: ", + "(element: HTMLElement, data: unknown, options?: ", "ExpressionRenderHandlerParams", " | undefined) => ", { @@ -11362,12 +11851,12 @@ { "parentPluginId": "expressions", "id": "def-public.ExpressionsStart.render.$2", - "type": "Any", + "type": "Unknown", "tags": [], "label": "data", "description": [], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/public/render.ts", "deprecated": false @@ -11465,7 +11954,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>>>, ", { "pluginId": "expressions", @@ -11499,7 +11994,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>>>, {}>" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -11538,7 +12039,13 @@ "text": "ExecutionContext" }, "" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -11580,7 +12087,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>>>" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -11721,7 +12234,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>>>" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -11766,7 +12285,7 @@ "label": "invokeChain", "description": [], "signature": [ - "(chainArr: ", + "(chainArr: ", { "pluginId": "expressions", "scope": "common", @@ -11776,7 +12295,7 @@ }, "[], input: unknown) => ", "Observable", - "" + "" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -11827,7 +12346,7 @@ "label": "invokeFunction", "description": [], "signature": [ - "(fn: ", + ") => ", + ">(fn: Fn, input: unknown, args: Record) => ", "Observable", - "" + ">" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -11845,18 +12364,12 @@ { "parentPluginId": "expressions", "id": "def-server.Execution.invokeFunction.$1", - "type": "Object", + "type": "Uncategorized", "tags": [], "label": "fn", "description": [], "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunction", - "text": "ExpressionFunction" - } + "Fn" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -11901,7 +12414,7 @@ "label": "cast", "description": [], "signature": [ - "(value: any, toTypeNames?: string[] | undefined) => any" + "(value: unknown, toTypeNames?: string[] | undefined) => Type" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -11909,12 +12422,12 @@ { "parentPluginId": "expressions", "id": "def-server.Execution.cast.$1", - "type": "Any", + "type": "Unknown", "tags": [], "label": "value", "description": [], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -11945,7 +12458,7 @@ "label": "resolveArgs", "description": [], "signature": [ - "(fnDef: ", + " ", + ">(fnDef: Fn, input: unknown, argAsts: Record) => ", "Observable", - "" + ">" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -11963,18 +12484,12 @@ { "parentPluginId": "expressions", "id": "def-server.Execution.resolveArgs.$1", - "type": "Object", + "type": "Uncategorized", "tags": [], "label": "fnDef", "description": [], "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunction", - "text": "ExpressionFunction" - } + "Fn" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -11997,12 +12512,20 @@ { "parentPluginId": "expressions", "id": "def-server.Execution.resolveArgs.$3", - "type": "Any", + "type": "Object", "tags": [], "label": "argAsts", "description": [], "signature": [ - "any" + "Record" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -12676,7 +13199,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }> | Output>>" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -12971,7 +13500,7 @@ "section": "def-common.ExpressionAstExpression", "text": "ExpressionAstExpression" }, - ", telemetryData: Record) => Record" + ", telemetryData: Record) => Record" ], "path": "src/plugins/expressions/common/executor/executor.ts", "deprecated": false, @@ -13004,7 +13533,7 @@ "label": "telemetryData", "description": [], "signature": [ - "Record" + "Record" ], "path": "src/plugins/expressions/common/executor/executor.ts", "deprecated": false, @@ -13052,7 +13581,13 @@ "text": "VersionedState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => ", { "pluginId": "expressions", @@ -13081,7 +13616,13 @@ "text": "VersionedState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -13202,7 +13743,7 @@ "\nFunction to run function (context, args)" ], "signature": [ - "(input: any, params: Record, handlers: object) => any" + "(input: any, params: Record, handlers: object) => any" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", "deprecated": false, @@ -13229,7 +13770,7 @@ "label": "params", "description": [], "signature": [ - "{ [x: string]: any; }" + "{ [x: string]: unknown; }" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", "deprecated": false @@ -13315,7 +13856,7 @@ "section": "def-common.ExpressionAstArgument", "text": "ExpressionAstArgument" }, - "[]>, telemetryData: Record) => Record" + "[]>, telemetryData: Record) => Record" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", "deprecated": false, @@ -13350,7 +13891,7 @@ "label": "telemetryData", "description": [], "signature": [ - "{ [x: string]: any; }" + "{ [x: string]: unknown; }" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", "deprecated": false @@ -13490,9 +14031,21 @@ "description": [], "signature": [ "{ [key: string]: (state: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ") => ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "; }" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", @@ -13574,6 +14127,16 @@ "tags": [], "label": "ExpressionFunctionParameter", "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionParameter", + "text": "ExpressionFunctionParameter" + }, + "" + ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false, "children": [ @@ -13610,12 +14173,20 @@ { "parentPluginId": "expressions", "id": "def-server.ExpressionFunctionParameter.types", - "type": "Array", + "type": "CompoundType", "tags": [], "label": "types", "description": [], "signature": [ - "string[]" + "(string[] & (\"date\" | \"filter\" | ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.KnownTypeToString", + "text": "KnownTypeToString" + }, + ")[]) | (string[] & (\"date\" | \"filter\" | ArrayTypeToArgumentString)[]) | (string[] & (\"date\" | \"filter\" | UnresolvedTypeToArgumentString)[]) | (string[] & (\"date\" | \"filter\" | UnresolvedArrayTypeToArgumentString)[]) | undefined" ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false @@ -13623,12 +14194,12 @@ { "parentPluginId": "expressions", "id": "def-server.ExpressionFunctionParameter.default", - "type": "Any", + "type": "CompoundType", "tags": [], "label": "default", "description": [], "signature": [ - "any" + "string | T | undefined" ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false @@ -13674,7 +14245,7 @@ "label": "options", "description": [], "signature": [ - "any[]" + "T[]" ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false @@ -13721,7 +14292,7 @@ "section": "def-common.ArgumentType", "text": "ArgumentType" }, - "" + "" ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false, @@ -14615,7 +15186,7 @@ "\nType validation, useful for checking function output." ], "signature": [ - "(type: any) => void | Error" + "(type: unknown) => void | Error" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", "deprecated": false, @@ -14624,12 +15195,12 @@ { "parentPluginId": "expressions", "id": "def-server.ExpressionType.validate.$1", - "type": "Any", + "type": "Unknown", "tags": [], "label": "type", "description": [], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", "deprecated": false @@ -14659,7 +15230,15 @@ "\nOptional serialization (used when passing context around client/server)." ], "signature": [ - "((value: any) => any) | undefined" + "((value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, + ") => unknown) | undefined" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", "deprecated": false @@ -14672,7 +15251,15 @@ "label": "deserialize", "description": [], "signature": [ - "((serialized: any) => any) | undefined" + "((serialized: unknown[]) => ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, + ") | undefined" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", "deprecated": false @@ -15050,7 +15637,7 @@ "section": "def-common.Executor", "text": "Executor" }, - "" + ">" ], "path": "src/plugins/expressions/common/executor/executor.ts", "deprecated": false, @@ -15271,7 +15858,7 @@ "section": "def-common.Executor", "text": "Executor" }, - "" + ">" ], "path": "src/plugins/expressions/common/executor/executor.ts", "deprecated": false, @@ -15788,7 +16375,7 @@ "\nType guard that checks whether a given value is an\n`ExpressionAstExpressionBuilder`. This is useful when working\nwith subexpressions, where you might be retrieving a function\nargument, and need to know whether it is an expression builder\ninstance which you can perform operations on.\n" ], "signature": [ - "(val: any) => boolean" + "(val: unknown) => boolean" ], "path": "src/plugins/expressions/common/ast/build_expression.ts", "deprecated": false, @@ -15796,14 +16383,14 @@ { "parentPluginId": "expressions", "id": "def-server.isExpressionAstBuilder.$1", - "type": "Any", + "type": "Unknown", "tags": [], "label": "val", "description": [ "Value you want to check." ], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/common/ast/build_expression.ts", "deprecated": false, @@ -16218,6 +16805,66 @@ "deprecated": false, "children": [], "returnComment": [] + }, + { + "parentPluginId": "expressions", + "id": "def-server.ExecutionContext.logDatatable", + "type": "Function", + "tags": [], + "label": "logDatatable", + "description": [ + "\nLogs datatable." + ], + "signature": [ + "((name: string, datatable: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.Datatable", + "text": "Datatable" + }, + ") => void) | undefined" + ], + "path": "src/plugins/expressions/common/execution/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "expressions", + "id": "def-server.ExecutionContext.logDatatable.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/expressions/common/execution/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "expressions", + "id": "def-server.ExecutionContext.logDatatable.$2", + "type": "Object", + "tags": [], + "label": "datatable", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.Datatable", + "text": "Datatable" + } + ], + "path": "src/plugins/expressions/common/execution/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] } ], "initialIsOpen": false @@ -16247,7 +16894,7 @@ "section": "def-common.Executor", "text": "Executor" }, - "" + ">" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false @@ -17100,11 +17747,29 @@ "text": "KnownTypeToString" }, " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, "> | undefined" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -17352,7 +18017,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -17373,7 +18044,15 @@ "section": "def-common.ExpressionFunctionDefinition", "text": "ExpressionFunctionDefinition" }, - "<\"font\", null, Arguments, ", + "<\"font\", null, ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.FontArguments", + "text": "FontArguments" + }, + ", ", { "pluginId": "expressions", "scope": "common", @@ -17398,7 +18077,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -17436,7 +18121,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -17474,7 +18165,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -17495,7 +18192,7 @@ "section": "def-common.ExpressionFunctionDefinition", "text": "ExpressionFunctionDefinition" }, - "<\"theme\", null, Arguments, any, ", + "<\"theme\", null, Arguments, unknown, ", { "pluginId": "expressions", "scope": "common", @@ -17512,7 +18209,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -17574,7 +18277,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -17636,7 +18345,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -17698,7 +18413,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -17760,7 +18481,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -18026,7 +18753,7 @@ "label": "validate", "description": [], "signature": [ - "((type: any) => void | Error) | undefined" + "((type: unknown) => void | Error) | undefined" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false, @@ -18034,12 +18761,12 @@ { "parentPluginId": "expressions", "id": "def-server.ExpressionTypeDefinition.validate.$1", - "type": "Any", + "type": "Unknown", "tags": [], "label": "type", "description": [], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false, @@ -18344,7 +19071,15 @@ "label": "update", "description": [], "signature": [ - "(params: any) => void" + "(params: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderUpdateParams", + "text": "IInterpreterRenderUpdateParams" + }, + ") => void" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -18352,12 +19087,19 @@ { "parentPluginId": "expressions", "id": "def-server.IInterpreterRenderHandlers.update.$1", - "type": "Any", + "type": "Object", "tags": [], "label": "params", "description": [], "signature": [ - "any" + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderUpdateParams", + "text": "IInterpreterRenderUpdateParams" + }, + "" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -18374,7 +19116,15 @@ "label": "event", "description": [], "signature": [ - "(event: any) => void" + "(event: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderEvent", + "text": "IInterpreterRenderEvent" + }, + ") => void" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -18382,12 +19132,19 @@ { "parentPluginId": "expressions", "id": "def-server.IInterpreterRenderHandlers.event.$1", - "type": "Any", + "type": "Object", "tags": [], "label": "event", "description": [], "signature": [ - "any" + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderEvent", + "text": "IInterpreterRenderEvent" + }, + "" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -18404,7 +19161,15 @@ "label": "hasCompatibleActions", "description": [], "signature": [ - "((event: any) => Promise) | undefined" + "((event: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderEvent", + "text": "IInterpreterRenderEvent" + }, + ") => Promise) | undefined" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -18412,12 +19177,19 @@ { "parentPluginId": "expressions", "id": "def-server.IInterpreterRenderHandlers.hasCompatibleActions.$1", - "type": "Any", + "type": "Object", "tags": [], "label": "event", "description": [], "signature": [ - "any" + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderEvent", + "text": "IInterpreterRenderEvent" + }, + "" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -18888,7 +19660,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -18910,7 +19688,7 @@ "section": "def-common.ExpressionTypeDefinition", "text": "ExpressionTypeDefinition" }, - "" + "" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false, @@ -19184,7 +19962,15 @@ "label": "ExpressionValueConverter", "description": [], "signature": [ - "(input: I, availableTypes: Record) => O" + "(input: I, availableTypes: Record) => O" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false, @@ -19211,7 +19997,15 @@ "label": "availableTypes", "description": [], "signature": [ - "{ [x: string]: any; }" + "{ [x: string]: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionType", + "text": "ExpressionType" + }, + "; }" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false @@ -19236,7 +20030,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }" ], "path": "src/plugins/expressions/common/expression_types/specs/error.ts", @@ -19378,7 +20178,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }" ], "path": "src/plugins/expressions/common/expression_types/specs/error.ts", @@ -19519,41 +20325,149 @@ ], "signature": [ "(T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends string ? \"string\" : (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends boolean ? \"boolean\" : (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends number ? \"number\" : (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends null ? \"null\" : (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends { type: string; } ? ({ type: string; } & (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, "))[\"type\"] : never" ], "path": "src/plugins/expressions/common/types/common.ts", @@ -19717,7 +20631,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>>>, ", { "pluginId": "expressions", @@ -19751,7 +20671,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>>>, {}>" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -19790,7 +20716,13 @@ "text": "ExecutionContext" }, "" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -19832,7 +20764,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>>>" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -19973,7 +20911,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>>>" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -20018,7 +20962,7 @@ "label": "invokeChain", "description": [], "signature": [ - "(chainArr: ", + "(chainArr: ", { "pluginId": "expressions", "scope": "common", @@ -20028,7 +20972,7 @@ }, "[], input: unknown) => ", "Observable", - "" + "" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -20079,7 +21023,7 @@ "label": "invokeFunction", "description": [], "signature": [ - "(fn: ", + ") => ", + ">(fn: Fn, input: unknown, args: Record) => ", "Observable", - "" + ">" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -20097,18 +21041,12 @@ { "parentPluginId": "expressions", "id": "def-common.Execution.invokeFunction.$1", - "type": "Object", + "type": "Uncategorized", "tags": [], "label": "fn", "description": [], "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunction", - "text": "ExpressionFunction" - } + "Fn" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -20153,7 +21091,7 @@ "label": "cast", "description": [], "signature": [ - "(value: any, toTypeNames?: string[] | undefined) => any" + "(value: unknown, toTypeNames?: string[] | undefined) => Type" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -20161,12 +21099,12 @@ { "parentPluginId": "expressions", "id": "def-common.Execution.cast.$1", - "type": "Any", + "type": "Unknown", "tags": [], "label": "value", "description": [], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -20197,7 +21135,7 @@ "label": "resolveArgs", "description": [], "signature": [ - "(fnDef: ", + " ", + ">(fnDef: Fn, input: unknown, argAsts: Record) => ", "Observable", - "" + ">" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -20215,18 +21161,12 @@ { "parentPluginId": "expressions", "id": "def-common.Execution.resolveArgs.$1", - "type": "Object", + "type": "Uncategorized", "tags": [], "label": "fnDef", "description": [], "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunction", - "text": "ExpressionFunction" - } + "Fn" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -20249,12 +21189,20 @@ { "parentPluginId": "expressions", "id": "def-common.Execution.resolveArgs.$3", - "type": "Any", + "type": "Object", "tags": [], "label": "argAsts", "description": [], "signature": [ - "any" + "Record" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -20457,7 +21405,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }> | Output>>" ], "path": "src/plugins/expressions/common/execution/execution_contract.ts", @@ -21120,7 +22074,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }> | Output>>" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -21415,7 +22375,7 @@ "section": "def-common.ExpressionAstExpression", "text": "ExpressionAstExpression" }, - ", telemetryData: Record) => Record" + ", telemetryData: Record) => Record" ], "path": "src/plugins/expressions/common/executor/executor.ts", "deprecated": false, @@ -21448,7 +22408,7 @@ "label": "telemetryData", "description": [], "signature": [ - "Record" + "Record" ], "path": "src/plugins/expressions/common/executor/executor.ts", "deprecated": false, @@ -21496,7 +22456,13 @@ "text": "VersionedState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => ", { "pluginId": "expressions", @@ -21525,7 +22491,13 @@ "text": "VersionedState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -21646,7 +22618,7 @@ "\nFunction to run function (context, args)" ], "signature": [ - "(input: any, params: Record, handlers: object) => any" + "(input: any, params: Record, handlers: object) => any" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", "deprecated": false, @@ -21673,7 +22645,7 @@ "label": "params", "description": [], "signature": [ - "{ [x: string]: any; }" + "{ [x: string]: unknown; }" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", "deprecated": false @@ -21759,7 +22731,7 @@ "section": "def-common.ExpressionAstArgument", "text": "ExpressionAstArgument" }, - "[]>, telemetryData: Record) => Record" + "[]>, telemetryData: Record) => Record" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", "deprecated": false, @@ -21794,7 +22766,7 @@ "label": "telemetryData", "description": [], "signature": [ - "{ [x: string]: any; }" + "{ [x: string]: unknown; }" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", "deprecated": false @@ -21934,9 +22906,21 @@ "description": [], "signature": [ "{ [key: string]: (state: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ") => ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "; }" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", @@ -22018,6 +23002,16 @@ "tags": [], "label": "ExpressionFunctionParameter", "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionParameter", + "text": "ExpressionFunctionParameter" + }, + "" + ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false, "children": [ @@ -22054,12 +23048,20 @@ { "parentPluginId": "expressions", "id": "def-common.ExpressionFunctionParameter.types", - "type": "Array", + "type": "CompoundType", "tags": [], "label": "types", "description": [], "signature": [ - "string[]" + "(string[] & (\"date\" | \"filter\" | ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.KnownTypeToString", + "text": "KnownTypeToString" + }, + ")[]) | (string[] & (\"date\" | \"filter\" | ArrayTypeToArgumentString)[]) | (string[] & (\"date\" | \"filter\" | UnresolvedTypeToArgumentString)[]) | (string[] & (\"date\" | \"filter\" | UnresolvedArrayTypeToArgumentString)[]) | undefined" ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false @@ -22067,12 +23069,12 @@ { "parentPluginId": "expressions", "id": "def-common.ExpressionFunctionParameter.default", - "type": "Any", + "type": "CompoundType", "tags": [], "label": "default", "description": [], "signature": [ - "any" + "string | T | undefined" ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false @@ -22118,7 +23120,7 @@ "label": "options", "description": [], "signature": [ - "any[]" + "T[]" ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false @@ -22165,7 +23167,7 @@ "section": "def-common.ArgumentType", "text": "ArgumentType" }, - "" + "" ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false, @@ -22603,7 +23605,15 @@ "label": "logAST", "description": [], "signature": [ - "(ast: any) => void" + "(ast: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstNode", + "text": "ExpressionAstNode" + }, + ") => void" ], "path": "src/plugins/expressions/common/util/expressions_inspector_adapter.ts", "deprecated": false, @@ -22611,12 +23621,18 @@ { "parentPluginId": "expressions", "id": "def-common.ExpressionsInspectorAdapter.logAST.$1", - "type": "Any", + "type": "CompoundType", "tags": [], "label": "ast", "description": [], "signature": [ - "any" + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstNode", + "text": "ExpressionAstNode" + } ], "path": "src/plugins/expressions/common/util/expressions_inspector_adapter.ts", "deprecated": false, @@ -22628,12 +23644,27 @@ { "parentPluginId": "expressions", "id": "def-common.ExpressionsInspectorAdapter.ast", - "type": "Any", + "type": "CompoundType", "tags": [], "label": "ast", "description": [], "signature": [ - "any" + "string | number | boolean | ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstExpression", + "text": "ExpressionAstExpression" + }, + " | ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstFunction", + "text": "ExpressionAstFunction" + } ], "path": "src/plugins/expressions/common/util/expressions_inspector_adapter.ts", "deprecated": false @@ -23316,7 +24347,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }> | Output>>" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -23399,7 +24436,7 @@ "section": "def-common.ExpressionAstExpression", "text": "ExpressionAstExpression" }, - ", telemetryData?: Record) => Record" + ", telemetryData?: Record) => Record" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", "deprecated": false, @@ -23434,7 +24471,7 @@ "label": "telemetryData", "description": [], "signature": [ - "Record" + "Record" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", "deprecated": false, @@ -23622,7 +24659,13 @@ "text": "VersionedState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => ", { "pluginId": "expressions", @@ -23651,7 +24694,13 @@ "text": "VersionedState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -23799,7 +24848,7 @@ "\nType validation, useful for checking function output." ], "signature": [ - "(type: any) => void | Error" + "(type: unknown) => void | Error" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", "deprecated": false, @@ -23808,12 +24857,12 @@ { "parentPluginId": "expressions", "id": "def-common.ExpressionType.validate.$1", - "type": "Any", + "type": "Unknown", "tags": [], "label": "type", "description": [], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", "deprecated": false @@ -23843,7 +24892,15 @@ "\nOptional serialization (used when passing context around client/server)." ], "signature": [ - "((value: any) => any) | undefined" + "((value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, + ") => unknown) | undefined" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", "deprecated": false @@ -23856,7 +24913,15 @@ "label": "deserialize", "description": [], "signature": [ - "((serialized: any) => any) | undefined" + "((serialized: unknown[]) => ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, + ") | undefined" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", "deprecated": false @@ -24234,7 +25299,7 @@ "section": "def-common.Executor", "text": "Executor" }, - "" + ">" ], "path": "src/plugins/expressions/common/executor/executor.ts", "deprecated": false, @@ -24557,7 +25622,7 @@ "section": "def-common.Executor", "text": "Executor" }, - "" + ">" ], "path": "src/plugins/expressions/common/executor/executor.ts", "deprecated": false, @@ -25135,7 +26200,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>" ], "path": "src/plugins/expressions/common/util/create_error.ts", @@ -25299,7 +26370,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/expressions/common/util/test_utils.ts", @@ -25520,7 +26597,7 @@ "label": "getType", "description": [], "signature": [ - "(node: any) => any" + "(node: unknown) => string" ], "path": "src/plugins/expressions/common/expression_types/get_type.ts", "deprecated": false, @@ -25528,12 +26605,12 @@ { "parentPluginId": "expressions", "id": "def-common.getType.$1", - "type": "Any", + "type": "Unknown", "tags": [], "label": "node", "description": [], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/common/expression_types/get_type.ts", "deprecated": false, @@ -25633,7 +26710,7 @@ "\nType guard that checks whether a given value is an\n`ExpressionAstExpressionBuilder`. This is useful when working\nwith subexpressions, where you might be retrieving a function\nargument, and need to know whether it is an expression builder\ninstance which you can perform operations on.\n" ], "signature": [ - "(val: any) => boolean" + "(val: unknown) => boolean" ], "path": "src/plugins/expressions/common/ast/build_expression.ts", "deprecated": false, @@ -25641,14 +26718,14 @@ { "parentPluginId": "expressions", "id": "def-common.isExpressionAstBuilder.$1", - "type": "Any", + "type": "Unknown", "tags": [], "label": "val", "description": [ "Value you want to check." ], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/common/ast/build_expression.ts", "deprecated": false, @@ -25668,7 +26745,7 @@ "label": "isExpressionValueError", "description": [], "signature": [ - "(value: any) => value is ", + "(value: unknown) => value is ", { "pluginId": "expressions", "scope": "common", @@ -25685,7 +26762,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>" ], "path": "src/plugins/expressions/common/expression_types/specs/error.ts", @@ -25694,12 +26777,12 @@ { "parentPluginId": "expressions", "id": "def-common.isExpressionValueError.$1", - "type": "Any", + "type": "Unknown", "tags": [], "label": "value", "description": [], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/common/expression_types/specs/error.ts", "deprecated": false, @@ -25827,7 +26910,7 @@ "section": "def-common.ExpressionType", "text": "ExpressionType" }, - ">) => { serialize: (value: any) => any; deserialize: (value: any) => any; }" + ">) => { serialize: (value: any) => unknown; deserialize: (value: any) => any; }" ], "path": "src/plugins/expressions/common/expression_types/serialize_provider.ts", "deprecated": false, @@ -26074,7 +27157,7 @@ "label": "ids", "description": [], "signature": [ - "string[]" + "string[] | undefined" ], "path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts", "deprecated": false @@ -26087,7 +27170,7 @@ "label": "names", "description": [], "signature": [ - "string[] | null" + "string[] | null | undefined" ], "path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts", "deprecated": false @@ -26099,6 +27182,9 @@ "tags": [], "label": "rowCount", "description": [], + "signature": [ + "number | undefined" + ], "path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts", "deprecated": false } @@ -26556,7 +27642,13 @@ "\nany extra parameters for the source that produced this column" ], "signature": [ - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined" ], "path": "src/plugins/expressions/common/expression_types/specs/datatable.ts", @@ -26878,6 +27970,66 @@ "deprecated": false, "children": [], "returnComment": [] + }, + { + "parentPluginId": "expressions", + "id": "def-common.ExecutionContext.logDatatable", + "type": "Function", + "tags": [], + "label": "logDatatable", + "description": [ + "\nLogs datatable." + ], + "signature": [ + "((name: string, datatable: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.Datatable", + "text": "Datatable" + }, + ") => void) | undefined" + ], + "path": "src/plugins/expressions/common/execution/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "expressions", + "id": "def-common.ExecutionContext.logDatatable.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/expressions/common/execution/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "expressions", + "id": "def-common.ExecutionContext.logDatatable.$2", + "type": "Object", + "tags": [], + "label": "datatable", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.Datatable", + "text": "Datatable" + } + ], + "path": "src/plugins/expressions/common/execution/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] } ], "initialIsOpen": false @@ -26907,7 +28059,7 @@ "section": "def-common.Executor", "text": "Executor" }, - "" + ">" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false @@ -28305,7 +29457,13 @@ "label": "searchContext", "description": [], "signature": [ - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -28319,7 +29477,7 @@ "label": "variables", "description": [], "signature": [ - "Record | undefined" + "Record | undefined" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", "deprecated": false @@ -28420,6 +29578,19 @@ ], "path": "src/plugins/expressions/common/service/expressions_services.ts", "deprecated": false + }, + { + "parentPluginId": "expressions", + "id": "def-common.ExpressionExecutionParams.extraContext", + "type": "Uncategorized", + "tags": [], + "label": "extraContext", + "description": [], + "signature": [ + "object | undefined" + ], + "path": "src/plugins/expressions/common/service/expressions_services.ts", + "deprecated": false } ], "initialIsOpen": false @@ -28511,11 +29682,29 @@ "text": "KnownTypeToString" }, " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, "> | undefined" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -28763,7 +29952,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -28784,7 +29979,15 @@ "section": "def-common.ExpressionFunctionDefinition", "text": "ExpressionFunctionDefinition" }, - "<\"font\", null, Arguments, ", + "<\"font\", null, ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.FontArguments", + "text": "FontArguments" + }, + ", ", { "pluginId": "expressions", "scope": "common", @@ -28809,7 +30012,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -28847,7 +30056,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -28885,7 +30100,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -28906,7 +30127,7 @@ "section": "def-common.ExpressionFunctionDefinition", "text": "ExpressionFunctionDefinition" }, - "<\"theme\", null, Arguments, any, ", + "<\"theme\", null, Arguments, unknown, ", { "pluginId": "expressions", "scope": "common", @@ -28923,7 +30144,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -28985,7 +30212,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -29047,7 +30280,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -29109,7 +30348,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -29171,7 +30416,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -30086,7 +31337,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }> | Output>>" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -30295,7 +31552,7 @@ "label": "validate", "description": [], "signature": [ - "((type: any) => void | Error) | undefined" + "((type: unknown) => void | Error) | undefined" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false, @@ -30303,12 +31560,12 @@ { "parentPluginId": "expressions", "id": "def-common.ExpressionTypeDefinition.validate.$1", - "type": "Any", + "type": "Unknown", "tags": [], "label": "type", "description": [], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false, @@ -30533,6 +31790,183 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "expressions", + "id": "def-common.FontArguments", + "type": "Interface", + "tags": [], + "label": "FontArguments", + "description": [], + "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "expressions", + "id": "def-common.FontArguments.align", + "type": "CompoundType", + "tags": [], + "label": "align", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.TextAlignment", + "text": "TextAlignment" + }, + " | undefined" + ], + "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", + "deprecated": false + }, + { + "parentPluginId": "expressions", + "id": "def-common.FontArguments.color", + "type": "string", + "tags": [], + "label": "color", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", + "deprecated": false + }, + { + "parentPluginId": "expressions", + "id": "def-common.FontArguments.family", + "type": "CompoundType", + "tags": [], + "label": "family", + "description": [], + "signature": [ + "\"Open Sans\" | \"American Typewriter\" | \"Arial\" | \"Baskerville\" | \"Book Antiqua\" | \"Brush Script\" | \"Chalkboard\" | \"Didot\" | \"Futura\" | \"Gill Sans\" | \"Helvetica Neue\" | \"Hoefler Text\" | \"Lucida Grande\" | \"Myriad\" | \"Optima\" | \"Palatino\" | undefined" + ], + "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", + "deprecated": false + }, + { + "parentPluginId": "expressions", + "id": "def-common.FontArguments.italic", + "type": "CompoundType", + "tags": [], + "label": "italic", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", + "deprecated": false + }, + { + "parentPluginId": "expressions", + "id": "def-common.FontArguments.lHeight", + "type": "CompoundType", + "tags": [], + "label": "lHeight", + "description": [], + "signature": [ + "number | null | undefined" + ], + "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", + "deprecated": false + }, + { + "parentPluginId": "expressions", + "id": "def-common.FontArguments.size", + "type": "number", + "tags": [], + "label": "size", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", + "deprecated": false + }, + { + "parentPluginId": "expressions", + "id": "def-common.FontArguments.underline", + "type": "CompoundType", + "tags": [], + "label": "underline", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", + "deprecated": false + }, + { + "parentPluginId": "expressions", + "id": "def-common.FontArguments.weight", + "type": "CompoundType", + "tags": [], + "label": "weight", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.FontWeight", + "text": "FontWeight" + }, + " | undefined" + ], + "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "expressions", + "id": "def-common.IInterpreterRenderEvent", + "type": "Interface", + "tags": [], + "label": "IInterpreterRenderEvent", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderEvent", + "text": "IInterpreterRenderEvent" + }, + "" + ], + "path": "src/plugins/expressions/common/expression_renderers/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "expressions", + "id": "def-common.IInterpreterRenderEvent.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "src/plugins/expressions/common/expression_renderers/types.ts", + "deprecated": false + }, + { + "parentPluginId": "expressions", + "id": "def-common.IInterpreterRenderEvent.data", + "type": "Uncategorized", + "tags": [], + "label": "data", + "description": [], + "signature": [ + "Context | undefined" + ], + "path": "src/plugins/expressions/common/expression_renderers/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "expressions", "id": "def-common.IInterpreterRenderHandlers", @@ -30613,7 +32047,15 @@ "label": "update", "description": [], "signature": [ - "(params: any) => void" + "(params: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderUpdateParams", + "text": "IInterpreterRenderUpdateParams" + }, + ") => void" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -30621,12 +32063,19 @@ { "parentPluginId": "expressions", "id": "def-common.IInterpreterRenderHandlers.update.$1", - "type": "Any", + "type": "Object", "tags": [], "label": "params", "description": [], "signature": [ - "any" + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderUpdateParams", + "text": "IInterpreterRenderUpdateParams" + }, + "" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -30643,7 +32092,15 @@ "label": "event", "description": [], "signature": [ - "(event: any) => void" + "(event: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderEvent", + "text": "IInterpreterRenderEvent" + }, + ") => void" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -30651,12 +32108,19 @@ { "parentPluginId": "expressions", "id": "def-common.IInterpreterRenderHandlers.event.$1", - "type": "Any", + "type": "Object", "tags": [], "label": "event", "description": [], "signature": [ - "any" + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderEvent", + "text": "IInterpreterRenderEvent" + }, + "" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -30673,7 +32137,15 @@ "label": "hasCompatibleActions", "description": [], "signature": [ - "((event: any) => Promise) | undefined" + "((event: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderEvent", + "text": "IInterpreterRenderEvent" + }, + ") => Promise) | undefined" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -30681,12 +32153,19 @@ { "parentPluginId": "expressions", "id": "def-common.IInterpreterRenderHandlers.hasCompatibleActions.$1", - "type": "Any", + "type": "Object", "tags": [], "label": "event", "description": [], "signature": [ - "any" + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderEvent", + "text": "IInterpreterRenderEvent" + }, + "" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -30767,6 +32246,63 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "expressions", + "id": "def-common.IInterpreterRenderUpdateParams", + "type": "Interface", + "tags": [], + "label": "IInterpreterRenderUpdateParams", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderUpdateParams", + "text": "IInterpreterRenderUpdateParams" + }, + "" + ], + "path": "src/plugins/expressions/common/expression_renderers/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "expressions", + "id": "def-common.IInterpreterRenderUpdateParams.newExpression", + "type": "CompoundType", + "tags": [], + "label": "newExpression", + "description": [], + "signature": [ + "string | ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstExpression", + "text": "ExpressionAstExpression" + }, + " | undefined" + ], + "path": "src/plugins/expressions/common/expression_renderers/types.ts", + "deprecated": false + }, + { + "parentPluginId": "expressions", + "id": "def-common.IInterpreterRenderUpdateParams.newParams", + "type": "Uncategorized", + "tags": [], + "label": "newParams", + "description": [], + "signature": [ + "Params" + ], + "path": "src/plugins/expressions/common/expression_renderers/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "expressions", "id": "def-common.IRegistry", @@ -31455,7 +32991,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -31498,7 +33040,7 @@ "section": "def-common.ExpressionTypeDefinition", "text": "ExpressionTypeDefinition" }, - "" + "" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false, @@ -31761,7 +33303,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }> | undefined; rawError?: any; duration: number | undefined; }" ], "path": "src/plugins/expressions/common/ast/types.ts", @@ -31829,7 +33377,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/clog.ts", @@ -31892,7 +33446,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts", @@ -31955,7 +33515,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts", @@ -31977,7 +33543,15 @@ "section": "def-common.ExpressionFunctionDefinition", "text": "ExpressionFunctionDefinition" }, - "<\"font\", null, Arguments, ", + "<\"font\", null, ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.FontArguments", + "text": "FontArguments" + }, + ", ", { "pluginId": "expressions", "scope": "common", @@ -32002,7 +33576,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", @@ -32065,7 +33645,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts", @@ -32128,7 +33714,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts", @@ -32150,7 +33742,7 @@ "section": "def-common.ExpressionFunctionDefinition", "text": "ExpressionFunctionDefinition" }, - "<\"theme\", null, Arguments, any, ", + "<\"theme\", null, Arguments, unknown, ", { "pluginId": "expressions", "scope": "common", @@ -32167,7 +33759,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/theme.ts", @@ -32222,7 +33820,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/ui_setting.ts", @@ -32261,7 +33865,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/var.ts", @@ -32300,7 +33910,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts", @@ -32343,7 +33959,15 @@ "label": "ExpressionValueConverter", "description": [], "signature": [ - "(input: I, availableTypes: Record) => O" + "(input: I, availableTypes: Record) => O" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false, @@ -32370,7 +33994,15 @@ "label": "availableTypes", "description": [], "signature": [ - "{ [x: string]: any; }" + "{ [x: string]: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionType", + "text": "ExpressionType" + }, + "; }" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false @@ -32395,7 +34027,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }" ], "path": "src/plugins/expressions/common/expression_types/specs/error.ts", @@ -32559,7 +34197,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }" ], "path": "src/plugins/expressions/common/expression_types/specs/error.ts", @@ -32905,41 +34549,149 @@ ], "signature": [ "(T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends string ? \"string\" : (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends boolean ? \"boolean\" : (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends number ? \"number\" : (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends null ? \"null\" : (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends { type: string; } ? ({ type: string; } & (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, "))[\"type\"] : never" ], "path": "src/plugins/expressions/common/types/common.ts", @@ -34074,7 +35826,7 @@ "label": "validate", "description": [], "signature": [ - "(table: any) => void" + "(table: Record) => void" ], "path": "src/plugins/expressions/common/expression_types/specs/datatable.ts", "deprecated": false, @@ -34082,12 +35834,12 @@ { "parentPluginId": "expressions", "id": "def-common.datatable.validate.$1", - "type": "Any", + "type": "Object", "tags": [], "label": "table", "description": [], "signature": [ - "any" + "Record" ], "path": "src/plugins/expressions/common/expression_types/specs/datatable.ts", "deprecated": false, @@ -34893,7 +36645,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>) => ", { "pluginId": "expressions", @@ -34919,7 +36677,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>, \"error\" | \"info\">; }>" ], "path": "src/plugins/expressions/common/expression_types/specs/error.ts", @@ -34949,7 +36713,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>" ], "path": "src/plugins/expressions/common/expression_types/specs/error.ts", @@ -35768,7 +37538,15 @@ "label": "fn", "description": [], "signature": [ - "(input: null, args: Arguments) => { type: \"style\"; spec: ", + "(input: null, args: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.FontArguments", + "text": "FontArguments" + }, + ") => { type: \"style\"; spec: ", { "pluginId": "expressions", "scope": "common", @@ -35803,7 +37581,13 @@ "label": "args", "description": [], "signature": [ - "Arguments" + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.FontArguments", + "text": "FontArguments" + } ], "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", "deprecated": false, @@ -36946,7 +38730,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => ", { "pluginId": "expressions", @@ -37023,7 +38813,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts", @@ -38502,7 +40298,15 @@ "section": "def-common.PointSeriesColumns", "text": "PointSeriesColumns" }, - "; rows: Record[]; }>, types: Record) => ", + "; rows: Record[]; }>, types: Record) => ", { "pluginId": "expressions", "scope": "common", @@ -38560,7 +40364,15 @@ "label": "types", "description": [], "signature": [ - "Record" + "Record" ], "path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts", "deprecated": false, @@ -39197,7 +41009,7 @@ "section": "def-common.ExpressionValueBoxed", "text": "ExpressionValueBoxed" }, - "<\"render\", { as: string; value: any; }>) => { type: string; as: string; value: ", + "<\"render\", { as: string; value: unknown; }>) => { type: string; as: string; value: ", { "pluginId": "expressions", "scope": "common", @@ -39205,7 +41017,7 @@ "section": "def-common.ExpressionValueBoxed", "text": "ExpressionValueBoxed" }, - "<\"render\", { as: string; value: any; }>; }" + "<\"render\", { as: string; value: unknown; }>; }" ], "path": "src/plugins/expressions/common/expression_types/specs/shape.ts", "deprecated": false, @@ -39225,7 +41037,7 @@ "section": "def-common.ExpressionValueBoxed", "text": "ExpressionValueBoxed" }, - "<\"render\", { as: string; value: any; }>" + "<\"render\", { as: string; value: unknown; }>" ], "path": "src/plugins/expressions/common/expression_types/specs/shape.ts", "deprecated": false, @@ -39671,7 +41483,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => any" ], "path": "src/plugins/expressions/common/expression_functions/specs/theme.ts", @@ -39729,7 +41547,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/expressions/common/expression_functions/specs/theme.ts", @@ -40151,8 +41975,14 @@ "text": "Adapters" }, ", ", - "SerializableRecord", - ">) => any" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, + ">) => unknown" ], "path": "src/plugins/expressions/common/expression_functions/specs/var.ts", "deprecated": false, @@ -40209,7 +42039,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/expressions/common/expression_functions/specs/var.ts", @@ -40414,7 +42250,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => unknown" ], "path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts", @@ -40472,7 +42314,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts", diff --git a/api_docs/expressions.mdx b/api_docs/expressions.mdx index 75a88f308f258..82b35631ddfe1 100644 --- a/api_docs/expressions.mdx +++ b/api_docs/expressions.mdx @@ -1,7 +1,7 @@ --- id: kibExpressionsPluginApi -slug: /kibana-dev-docs/expressionsPluginApi -title: expressions +slug: /kibana-dev-docs/api/expressions +title: "expressions" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressions plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2072 | 65 | 1626 | 4 | +| 2095 | 27 | 1646 | 4 | ## Client diff --git a/api_docs/features.json b/api_docs/features.json index 14910879bdb50..c3749ffb6751c 100644 --- a/api_docs/features.json +++ b/api_docs/features.json @@ -888,11 +888,29 @@ "description": [], "signature": [ "Readonly<{ id: string; management?: Readonly<{ [x: string]: ", - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, "; }> | undefined; catalogue?: ", - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, " | undefined; privileges: ", - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, "<", { "pluginId": "features", @@ -928,7 +946,13 @@ "label": "catalogue", "description": [], "signature": [ - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, " | undefined" ], "path": "x-pack/plugins/features/common/elasticsearch_feature.ts", @@ -943,7 +967,13 @@ "description": [], "signature": [ "Readonly<{ [x: string]: ", - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, "; }> | undefined" ], "path": "x-pack/plugins/features/common/elasticsearch_feature.ts", @@ -957,7 +987,13 @@ "label": "privileges", "description": [], "signature": [ - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, "<", { "pluginId": "features", @@ -2279,11 +2315,29 @@ "description": [], "signature": [ "Readonly<{ id: string; management?: Readonly<{ [x: string]: ", - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, "; }> | undefined; catalogue?: ", - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, " | undefined; privileges: ", - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, "<", { "pluginId": "features", @@ -2319,7 +2373,13 @@ "label": "catalogue", "description": [], "signature": [ - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, " | undefined" ], "path": "x-pack/plugins/features/common/elasticsearch_feature.ts", @@ -2334,7 +2394,13 @@ "description": [], "signature": [ "Readonly<{ [x: string]: ", - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, "; }> | undefined" ], "path": "x-pack/plugins/features/common/elasticsearch_feature.ts", @@ -2348,7 +2414,13 @@ "label": "privileges", "description": [], "signature": [ - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, "<", { "pluginId": "features", diff --git a/api_docs/features.mdx b/api_docs/features.mdx index a36ed69bad728..9e1e64c0c7937 100644 --- a/api_docs/features.mdx +++ b/api_docs/features.mdx @@ -1,7 +1,7 @@ --- id: kibFeaturesPluginApi -slug: /kibana-dev-docs/featuresPluginApi -title: features +slug: /kibana-dev-docs/api/features +title: "features" image: https://source.unsplash.com/400x175/?github summary: API docs for the features plugin date: 2020-11-16 diff --git a/api_docs/field_formats.json b/api_docs/field_formats.json index 3784d5f221593..2cd5beb47d67e 100644 --- a/api_docs/field_formats.json +++ b/api_docs/field_formats.json @@ -66,7 +66,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/public/lib/converters/date.ts", "deprecated": false @@ -177,7 +183,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/converters/date_nanos_shared.ts", "deprecated": false @@ -390,7 +402,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/server/lib/converters/date_server.ts", "deprecated": false @@ -761,7 +779,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "[]" ], "path": "src/plugins/field_formats/common/converters/boolean.ts", @@ -958,7 +982,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "[]" ], "path": "src/plugins/field_formats/common/converters/color.tsx", @@ -1106,7 +1136,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/converters/duration.ts", "deprecated": false @@ -2166,9 +2202,21 @@ ], "signature": [ "(fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", { "pluginId": "fieldFormats", @@ -2191,7 +2239,13 @@ "- the field type" ], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", "deprecated": false, @@ -2207,7 +2261,13 @@ "- Array of ES data types" ], "signature": [ - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2312,9 +2372,21 @@ ], "signature": [ "(fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", { "pluginId": "fieldFormats", @@ -2336,7 +2408,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", "deprecated": false, @@ -2352,7 +2430,13 @@ "- Array of ES data types" ], "signature": [ - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2375,9 +2459,21 @@ ], "signature": [ "(esTypes: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, " | undefined" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2393,7 +2489,13 @@ "- Array of ES data types" ], "signature": [ - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2416,13 +2518,37 @@ ], "signature": [ "(fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, " | ", - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", "deprecated": false, @@ -2435,7 +2561,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", "deprecated": false, @@ -2449,7 +2581,13 @@ "label": "esTypes", "description": [], "signature": [ - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2541,9 +2679,21 @@ ], "signature": [ "(fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined, params?: ", { "pluginId": "fieldFormats", @@ -2572,7 +2722,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", "deprecated": false, @@ -2586,7 +2742,13 @@ "label": "esTypes", "description": [], "signature": [ - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2629,9 +2791,21 @@ ], "signature": [ "(fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[]) => string" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2645,7 +2819,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", "deprecated": false, @@ -2659,7 +2839,13 @@ "label": "esTypes", "description": [], "signature": [ - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[]" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2682,7 +2868,13 @@ ], "signature": [ "(fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ") => ", { "pluginId": "fieldFormats", @@ -2704,7 +2896,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", "deprecated": false, @@ -2726,9 +2924,21 @@ ], "signature": [ "(fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined, params?: ", { "pluginId": "fieldFormats", @@ -2757,7 +2967,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", "deprecated": false, @@ -2771,7 +2987,13 @@ "label": "esTypes", "description": [], "signature": [ - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2981,7 +3203,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/converters/histogram.ts", "deprecated": false @@ -3147,7 +3375,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/converters/ip.ts", "deprecated": false @@ -3478,7 +3712,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/converters/relative_date.ts", "deprecated": false @@ -3580,7 +3820,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/converters/source.tsx", "deprecated": false @@ -3741,7 +3987,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "[]" ], "path": "src/plugins/field_formats/common/converters/static_lookup.ts", @@ -3859,7 +4111,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "[]" ], "path": "src/plugins/field_formats/common/converters/string.ts", @@ -4049,7 +4307,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/converters/truncate.ts", "deprecated": false @@ -4151,7 +4415,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "[]" ], "path": "src/plugins/field_formats/common/converters/url.ts", @@ -4915,9 +5185,21 @@ "text": "FormatFactory" }, "; getDefaultConfig: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", { "pluginId": "fieldFormats", @@ -4943,9 +5225,21 @@ "text": "FieldFormatInstanceType" }, " | undefined; getDefaultType: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", { "pluginId": "fieldFormats", @@ -4955,17 +5249,53 @@ "text": "FieldFormatInstanceType" }, " | undefined; getTypeNameByEsTypes: (esTypes: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, " | undefined; getDefaultTypeName: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, " | ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "; getInstance: (formatId: string, params?: ", { "pluginId": "fieldFormats", @@ -4983,9 +5313,21 @@ "text": "FieldFormat" }, "; getDefaultInstancePlain: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined, params?: ", { "pluginId": "fieldFormats", @@ -5003,11 +5345,29 @@ "text": "FieldFormat" }, "; getDefaultInstanceCacheResolver: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[]) => string; getByFieldType: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ") => ", { "pluginId": "fieldFormats", @@ -5017,9 +5377,21 @@ "text": "FieldFormatInstanceType" }, "[]; getDefaultInstance: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined, params?: ", { "pluginId": "fieldFormats", @@ -5261,9 +5633,21 @@ "text": "FieldFormatInstanceType" }, "[]) => void; getDefaultConfig: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", { "pluginId": "fieldFormats", @@ -5289,9 +5673,21 @@ "text": "FieldFormatInstanceType" }, " | undefined; getDefaultType: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", { "pluginId": "fieldFormats", @@ -5301,17 +5697,53 @@ "text": "FieldFormatInstanceType" }, " | undefined; getTypeNameByEsTypes: (esTypes: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, " | undefined; getDefaultTypeName: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, " | ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "; getInstance: (formatId: string, params?: ", { "pluginId": "fieldFormats", @@ -5329,9 +5761,21 @@ "text": "FieldFormat" }, "; getDefaultInstancePlain: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined, params?: ", { "pluginId": "fieldFormats", @@ -5349,11 +5793,29 @@ "text": "FieldFormat" }, "; getDefaultInstanceCacheResolver: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[]) => string; getByFieldType: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ") => ", { "pluginId": "fieldFormats", @@ -5363,9 +5825,21 @@ "text": "FieldFormatInstanceType" }, "[]; getDefaultInstance: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined, params?: ", { "pluginId": "fieldFormats", diff --git a/api_docs/field_formats.mdx b/api_docs/field_formats.mdx index 55a11cf593a9f..047e31418a17c 100644 --- a/api_docs/field_formats.mdx +++ b/api_docs/field_formats.mdx @@ -1,7 +1,7 @@ --- id: kibFieldFormatsPluginApi -slug: /kibana-dev-docs/fieldFormatsPluginApi -title: fieldFormats +slug: /kibana-dev-docs/api/fieldFormats +title: "fieldFormats" image: https://source.unsplash.com/400x175/?github summary: API docs for the fieldFormats plugin date: 2020-11-16 diff --git a/api_docs/file_upload.json b/api_docs/file_upload.json index 7eff1049957ad..783237a5a618c 100644 --- a/api_docs/file_upload.json +++ b/api_docs/file_upload.json @@ -293,9 +293,21 @@ "label": "geoFieldType", "description": [], "signature": [ - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".GEO_POINT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".GEO_SHAPE" ], "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", @@ -1101,67 +1113,253 @@ "description": [], "signature": [ "{ properties: { [fieldName: string]: { type: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".STRING | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".TEXT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".KEYWORD | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".VERSION | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".BOOLEAN | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".OBJECT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".DATE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".DATE_NANOS | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".DATE_RANGE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".GEO_POINT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".GEO_SHAPE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".FLOAT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".HALF_FLOAT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".SCALED_FLOAT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".DOUBLE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".INTEGER | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".LONG | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".SHORT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".UNSIGNED_LONG | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".FLOAT_RANGE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".DOUBLE_RANGE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".INTEGER_RANGE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".LONG_RANGE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".NESTED | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".BYTE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".IP | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".IP_RANGE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".ATTACHMENT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".TOKEN_COUNT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".MURMUR3 | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".HISTOGRAM; format?: string | undefined; }; }; }" ], "path": "x-pack/plugins/file_upload/common/types.ts", diff --git a/api_docs/file_upload.mdx b/api_docs/file_upload.mdx index b1a6955d7cba7..25770622a25e4 100644 --- a/api_docs/file_upload.mdx +++ b/api_docs/file_upload.mdx @@ -1,7 +1,7 @@ --- id: kibFileUploadPluginApi -slug: /kibana-dev-docs/fileUploadPluginApi -title: fileUpload +slug: /kibana-dev-docs/api/fileUpload +title: "fileUpload" image: https://source.unsplash.com/400x175/?github summary: API docs for the fileUpload plugin date: 2020-11-16 diff --git a/api_docs/fleet.json b/api_docs/fleet.json index 8383d52d433b7..40562c8d06e9e 100644 --- a/api_docs/fleet.json +++ b/api_docs/fleet.json @@ -731,6 +731,30 @@ "text": "EpmPackageAdditions" }, ">> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.Installing", + "text": "Installing" + }, + "> | ", { "pluginId": "fleet", "scope": "common", @@ -755,6 +779,30 @@ "text": "EpmPackageAdditions" }, ">> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.InstallFailed", + "text": "InstallFailed" + }, + "> | ", { "pluginId": "fleet", "scope": "common", @@ -779,6 +827,30 @@ "text": "EpmPackageAdditions" }, ">> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.Installing", + "text": "Installing" + }, + "> | ", { "pluginId": "fleet", "scope": "common", @@ -802,6 +874,30 @@ "section": "def-common.EpmPackageAdditions", "text": "EpmPackageAdditions" }, + ">> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.InstallFailed", + "text": "InstallFailed" + }, + ">" ], "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", @@ -2064,40 +2160,6 @@ ], "returnComment": [] }, - { - "parentPluginId": "fleet", - "id": "def-public.pagePathGetters.add_integration_from_policy", - "type": "Function", - "tags": [], - "label": "add_integration_from_policy", - "description": [ - "// TODO: This might need to be removed because we do not have a way to pick an integration in line anymore" - ], - "signature": [ - "({ policyId }: ", - "DynamicPagePathValues", - ") => [string, string]" - ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "fleet", - "id": "def-public.pagePathGetters.add_integration_from_policy.$1", - "type": "Object", - "tags": [], - "label": "{ policyId }", - "description": [], - "signature": [ - "DynamicPagePathValues" - ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, { "parentPluginId": "fleet", "id": "def-public.pagePathGetters.add_integration_to_policy", @@ -6342,6 +6404,30 @@ "text": "EpmPackageAdditions" }, ">> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.Installing", + "text": "Installing" + }, + "> | ", { "pluginId": "fleet", "scope": "common", @@ -6366,6 +6452,30 @@ "text": "EpmPackageAdditions" }, ">> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.InstallFailed", + "text": "InstallFailed" + }, + "> | ", { "pluginId": "fleet", "scope": "common", @@ -6390,6 +6500,30 @@ "text": "EpmPackageAdditions" }, ">> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.Installing", + "text": "Installing" + }, + "> | ", { "pluginId": "fleet", "scope": "common", @@ -6413,6 +6547,30 @@ "section": "def-common.EpmPackageAdditions", "text": "EpmPackageAdditions" }, + ">> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.InstallFailed", + "text": "InstallFailed" + }, + "> | (Pick<", { "pluginId": "fleet", @@ -6439,7 +6597,33 @@ "section": "def-common.RegistryPackage", "text": "RegistryPackage" }, - ", \"type\" | \"title\" | \"description\" | \"icons\" | \"name\" | \"version\" | \"path\" | \"download\" | \"internal\" | \"data_streams\" | \"release\" | \"policy_templates\"> & { status: \"not_installed\"; } & { integration?: string | undefined; id: string; })) => boolean" + ", \"type\" | \"title\" | \"description\" | \"icons\" | \"name\" | \"version\" | \"path\" | \"download\" | \"internal\" | \"data_streams\" | \"release\" | \"policy_templates\"> & { status: \"installing\"; savedObject: ", + "SavedObject", + "<", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.Installation", + "text": "Installation" + }, + ">; } & { integration?: string | undefined; id: string; }) | (Pick<", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.RegistryPackage", + "text": "RegistryPackage" + }, + ", \"type\" | \"title\" | \"description\" | \"icons\" | \"name\" | \"version\" | \"path\" | \"download\" | \"internal\" | \"data_streams\" | \"release\" | \"policy_templates\"> & { status: \"not_installed\"; } & { integration?: string | undefined; id: string; }) | (Pick<", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.RegistryPackage", + "text": "RegistryPackage" + }, + ", \"type\" | \"title\" | \"description\" | \"icons\" | \"name\" | \"version\" | \"path\" | \"download\" | \"internal\" | \"data_streams\" | \"release\" | \"policy_templates\"> & { status: \"install_failed\"; } & { integration?: string | undefined; id: string; })) => boolean" ], "path": "x-pack/plugins/fleet/common/services/packages_with_integrations.ts", "deprecated": false, @@ -6480,8 +6664,8 @@ "pluginId": "fleet", "scope": "common", "docId": "kibFleetPluginApi", - "section": "def-common.NotInstalled", - "text": "NotInstalled" + "section": "def-common.Installing", + "text": "Installing" }, "> | (Pick<", + ">> | ", { "pluginId": "fleet", "scope": "common", "docId": "kibFleetPluginApi", - "section": "def-common.RegistryPackage", - "text": "RegistryPackage" + "section": "def-common.Installed", + "text": "Installed" }, - ", \"type\" | \"title\" | \"description\" | \"icons\" | \"name\" | \"version\" | \"path\" | \"download\" | \"internal\" | \"data_streams\" | \"release\" | \"policy_templates\"> & { status: \"installed\"; savedObject: ", - "SavedObject", - "<", + "> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.Installing", + "text": "Installing" + }, + "> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.NotInstalled", + "text": "NotInstalled" + }, + "> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.InstallFailed", + "text": "InstallFailed" + }, + "> | (Pick<", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.RegistryPackage", + "text": "RegistryPackage" + }, + ", \"type\" | \"title\" | \"description\" | \"icons\" | \"name\" | \"version\" | \"path\" | \"download\" | \"internal\" | \"data_streams\" | \"release\" | \"policy_templates\"> & { status: \"installed\"; savedObject: ", + "SavedObject", + "<", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.Installation", + "text": "Installation" }, ">; } & { integration?: string | undefined; id: string; }) | (Pick<", { @@ -6573,7 +6853,33 @@ "section": "def-common.RegistryPackage", "text": "RegistryPackage" }, - ", \"type\" | \"title\" | \"description\" | \"icons\" | \"name\" | \"version\" | \"path\" | \"download\" | \"internal\" | \"data_streams\" | \"release\" | \"policy_templates\"> & { status: \"not_installed\"; } & { integration?: string | undefined; id: string; })" + ", \"type\" | \"title\" | \"description\" | \"icons\" | \"name\" | \"version\" | \"path\" | \"download\" | \"internal\" | \"data_streams\" | \"release\" | \"policy_templates\"> & { status: \"installing\"; savedObject: ", + "SavedObject", + "<", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.Installation", + "text": "Installation" + }, + ">; } & { integration?: string | undefined; id: string; }) | (Pick<", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.RegistryPackage", + "text": "RegistryPackage" + }, + ", \"type\" | \"title\" | \"description\" | \"icons\" | \"name\" | \"version\" | \"path\" | \"download\" | \"internal\" | \"data_streams\" | \"release\" | \"policy_templates\"> & { status: \"not_installed\"; } & { integration?: string | undefined; id: string; }) | (Pick<", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.RegistryPackage", + "text": "RegistryPackage" + }, + ", \"type\" | \"title\" | \"description\" | \"icons\" | \"name\" | \"version\" | \"path\" | \"download\" | \"internal\" | \"data_streams\" | \"release\" | \"policy_templates\"> & { status: \"install_failed\"; } & { integration?: string | undefined; id: string; })" ], "path": "x-pack/plugins/fleet/common/services/packages_with_integrations.ts", "deprecated": false, @@ -9051,6 +9357,19 @@ ], "path": "x-pack/plugins/fleet/common/types/models/epm.ts", "deprecated": false + }, + { + "parentPluginId": "fleet", + "id": "def-common.EpmPackageAdditions.keepPoliciesUpToDate", + "type": "CompoundType", + "tags": [], + "label": "keepPoliciesUpToDate", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "deprecated": false } ], "initialIsOpen": false @@ -11056,6 +11375,30 @@ "text": "EpmPackageAdditions" }, ">> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.Installing", + "text": "Installing" + }, + "> | ", { "pluginId": "fleet", "scope": "common", @@ -11080,6 +11423,30 @@ "text": "EpmPackageAdditions" }, ">> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.InstallFailed", + "text": "InstallFailed" + }, + "> | ", { "pluginId": "fleet", "scope": "common", @@ -11104,6 +11471,30 @@ "text": "EpmPackageAdditions" }, ">> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.Installing", + "text": "Installing" + }, + "> | ", { "pluginId": "fleet", "scope": "common", @@ -11127,6 +11518,30 @@ "section": "def-common.EpmPackageAdditions", "text": "EpmPackageAdditions" }, + ">> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.InstallFailed", + "text": "InstallFailed" + }, + ">" ], "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", @@ -12077,7 +12492,7 @@ "label": "install_status", "description": [], "signature": [ - "\"installed\" | \"installing\"" + "\"installed\" | \"installing\" | \"install_failed\"" ], "path": "x-pack/plugins/fleet/common/types/models/epm.ts", "deprecated": false @@ -12114,6 +12529,16 @@ ], "path": "x-pack/plugins/fleet/common/types/models/epm.ts", "deprecated": false + }, + { + "parentPluginId": "fleet", + "id": "def-common.Installation.keep_policies_up_to_date", + "type": "boolean", + "tags": [], + "label": "keep_policies_up_to_date", + "description": [], + "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "deprecated": false } ], "initialIsOpen": false @@ -12261,10 +12686,10 @@ "children": [ { "parentPluginId": "fleet", - "id": "def-common.IntegrationCardItem.uiInternalPathUrl", + "id": "def-common.IntegrationCardItem.url", "type": "string", "tags": [], - "label": "uiInternalPathUrl", + "label": "url", "description": [], "path": "x-pack/plugins/fleet/common/types/models/epm.ts", "deprecated": false @@ -15669,25 +16094,38 @@ }, { "parentPluginId": "fleet", - "id": "def-common.UpgradePackagePolicyBaseResponse", + "id": "def-common.UpdatePackageRequest", "type": "Interface", "tags": [], - "label": "UpgradePackagePolicyBaseResponse", + "label": "UpdatePackageRequest", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "children": [ { "parentPluginId": "fleet", - "id": "def-common.UpgradePackagePolicyBaseResponse.name", - "type": "string", + "id": "def-common.UpdatePackageRequest.params", + "type": "Object", "tags": [], - "label": "name", + "label": "params", "description": [], "signature": [ - "string | undefined" + "{ pkgkey: string; }" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "deprecated": false + }, + { + "parentPluginId": "fleet", + "id": "def-common.UpdatePackageRequest.body", + "type": "Object", + "tags": [], + "label": "body", + "description": [], + "signature": [ + "{ keepPoliciesUpToDate?: boolean | undefined; }" + ], + "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", "deprecated": false } ], @@ -15695,14 +16133,257 @@ }, { "parentPluginId": "fleet", - "id": "def-common.UpgradePackagePolicyDryRunResponseItem", + "id": "def-common.UpdatePackageResponse", "type": "Interface", "tags": [], - "label": "UpgradePackagePolicyDryRunResponseItem", + "label": "UpdatePackageResponse", "description": [], - "signature": [ - { - "pluginId": "fleet", + "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "fleet", + "id": "def-common.UpdatePackageResponse.response", + "type": "CompoundType", + "tags": [], + "label": "response", + "description": [], + "signature": [ + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.Installed", + "text": "Installed" + }, + "> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.Installing", + "text": "Installing" + }, + "> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.NotInstalled", + "text": "NotInstalled" + }, + "> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.InstallFailed", + "text": "InstallFailed" + }, + "> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.Installed", + "text": "Installed" + }, + "> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.Installing", + "text": "Installing" + }, + "> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.NotInstalled", + "text": "NotInstalled" + }, + "> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.InstallFailed", + "text": "InstallFailed" + }, + ">" + ], + "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "fleet", + "id": "def-common.UpgradePackagePolicyBaseResponse", + "type": "Interface", + "tags": [], + "label": "UpgradePackagePolicyBaseResponse", + "description": [], + "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "fleet", + "id": "def-common.UpgradePackagePolicyBaseResponse.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "fleet", + "id": "def-common.UpgradePackagePolicyDryRunResponseItem", + "type": "Interface", + "tags": [], + "label": "UpgradePackagePolicyDryRunResponseItem", + "description": [], + "signature": [ + { + "pluginId": "fleet", "scope": "common", "docId": "kibFleetPluginApi", "section": "def-common.UpgradePackagePolicyDryRunResponseItem", @@ -15968,6 +16649,20 @@ "deprecated": false, "initialIsOpen": false }, + { + "parentPluginId": "fleet", + "id": "def-common.AGENT_POLICY_DEFAULT_MONITORING_DATASETS", + "type": "Array", + "tags": [], + "label": "AGENT_POLICY_DEFAULT_MONITORING_DATASETS", + "description": [], + "signature": [ + "string[]" + ], + "path": "x-pack/plugins/fleet/common/constants/agent_policy.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "fleet", "id": "def-common.AGENT_POLICY_INDEX", @@ -16923,7 +17618,7 @@ "label": "EpmPackageInstallStatus", "description": [], "signature": [ - "\"installed\" | \"installing\"" + "\"installed\" | \"installing\" | \"install_failed\"" ], "path": "x-pack/plugins/fleet/common/types/models/epm.ts", "deprecated": false, @@ -17193,6 +17888,14 @@ "text": "Installed" }, " | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.Installing", + "text": "Installing" + }, + " | ", { "pluginId": "fleet", "scope": "common", @@ -17200,6 +17903,14 @@ "section": "def-common.NotInstalled", "text": "NotInstalled" }, + " | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.InstallFailed", + "text": "InstallFailed" + }, "" ], "path": "x-pack/plugins/fleet/common/types/models/epm.ts", @@ -17242,7 +17953,7 @@ "label": "InstallationStatus", "description": [], "signature": [ - "{ readonly Installed: \"installed\"; readonly NotInstalled: \"not_installed\"; }" + "{ readonly Installed: \"installed\"; readonly Installing: \"installing\"; readonly InstallFailed: \"install_failed\"; readonly NotInstalled: \"not_installed\"; }" ], "path": "x-pack/plugins/fleet/common/types/models/epm.ts", "deprecated": false, @@ -17272,6 +17983,44 @@ "deprecated": false, "initialIsOpen": false }, + { + "parentPluginId": "fleet", + "id": "def-common.InstallFailed", + "type": "Type", + "tags": [], + "label": "InstallFailed", + "description": [], + "signature": [ + "T & { status: \"install_failed\"; }" + ], + "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "fleet", + "id": "def-common.Installing", + "type": "Type", + "tags": [], + "label": "Installing", + "description": [], + "signature": [ + "T & { status: \"installing\"; savedObject: ", + "SavedObject", + "<", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.Installation", + "text": "Installation" + }, + ">; }" + ], + "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "fleet", "id": "def-common.InstallSource", @@ -17672,6 +18421,30 @@ "text": "EpmPackageAdditions" }, ">> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.Installing", + "text": "Installing" + }, + "> | ", { "pluginId": "fleet", "scope": "common", @@ -17696,6 +18469,30 @@ "text": "EpmPackageAdditions" }, ">> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.InstallFailed", + "text": "InstallFailed" + }, + "> | ", { "pluginId": "fleet", "scope": "common", @@ -17720,6 +18517,30 @@ "text": "EpmPackageAdditions" }, ">> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.Installing", + "text": "Installing" + }, + "> | ", { "pluginId": "fleet", "scope": "common", @@ -17743,6 +18564,30 @@ "section": "def-common.EpmPackageAdditions", "text": "EpmPackageAdditions" }, + ">> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.InstallFailed", + "text": "InstallFailed" + }, + ">" ], "path": "x-pack/plugins/fleet/common/types/models/epm.ts", @@ -17804,7 +18649,33 @@ "section": "def-common.RegistryPackage", "text": "RegistryPackage" }, - ", \"type\" | \"title\" | \"description\" | \"icons\" | \"name\" | \"version\" | \"path\" | \"download\" | \"internal\" | \"data_streams\" | \"release\" | \"policy_templates\"> & { status: \"not_installed\"; } & { integration?: string | undefined; id: string; })" + ", \"type\" | \"title\" | \"description\" | \"icons\" | \"name\" | \"version\" | \"path\" | \"download\" | \"internal\" | \"data_streams\" | \"release\" | \"policy_templates\"> & { status: \"installing\"; savedObject: ", + "SavedObject", + "<", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.Installation", + "text": "Installation" + }, + ">; } & { integration?: string | undefined; id: string; }) | (Pick<", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.RegistryPackage", + "text": "RegistryPackage" + }, + ", \"type\" | \"title\" | \"description\" | \"icons\" | \"name\" | \"version\" | \"path\" | \"download\" | \"internal\" | \"data_streams\" | \"release\" | \"policy_templates\"> & { status: \"not_installed\"; } & { integration?: string | undefined; id: string; }) | (Pick<", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.RegistryPackage", + "text": "RegistryPackage" + }, + ", \"type\" | \"title\" | \"description\" | \"icons\" | \"name\" | \"version\" | \"path\" | \"download\" | \"internal\" | \"data_streams\" | \"release\" | \"policy_templates\"> & { status: \"install_failed\"; } & { integration?: string | undefined; id: string; })" ], "path": "x-pack/plugins/fleet/common/types/models/epm.ts", "deprecated": false, @@ -17958,6 +18829,22 @@ "section": "def-common.PackageList", "text": "PackageList" }, + "; installing: ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.PackageList", + "text": "PackageList" + }, + "; install_failed: ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.PackageList", + "text": "PackageList" + }, "; not_installed: ", { "pluginId": "fleet", @@ -20214,6 +21101,36 @@ } ], "returnComment": [] + }, + { + "parentPluginId": "fleet", + "id": "def-common.epmRouteService.getUpdatePath", + "type": "Function", + "tags": [], + "label": "getUpdatePath", + "description": [], + "signature": [ + "(pkgkey: string) => string" + ], + "path": "x-pack/plugins/fleet/common/services/routes.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "fleet", + "id": "def-common.epmRouteService.getUpdatePath.$1", + "type": "string", + "tags": [], + "label": "pkgkey", + "description": [], + "signature": [ + "string" + ], + "path": "x-pack/plugins/fleet/common/services/routes.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] } ], "initialIsOpen": false @@ -20269,7 +21186,7 @@ "label": "installationStatuses", "description": [], "signature": [ - "{ readonly Installed: \"installed\"; readonly NotInstalled: \"not_installed\"; }" + "{ readonly Installed: \"installed\"; readonly Installing: \"installing\"; readonly InstallFailed: \"install_failed\"; readonly NotInstalled: \"not_installed\"; }" ], "path": "x-pack/plugins/fleet/common/constants/epm.ts", "deprecated": false, diff --git a/api_docs/fleet.mdx b/api_docs/fleet.mdx index a4a9ea4b2f10d..88d006982d0f0 100644 --- a/api_docs/fleet.mdx +++ b/api_docs/fleet.mdx @@ -1,7 +1,7 @@ --- id: kibFleetPluginApi -slug: /kibana-dev-docs/fleetPluginApi -title: fleet +slug: /kibana-dev-docs/api/fleet +title: "fleet" image: https://source.unsplash.com/400x175/?github summary: API docs for the fleet plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Fleet](https://github.com/orgs/elastic/teams/fleet) for questions regar | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 1197 | 15 | 1096 | 10 | +| 1207 | 15 | 1107 | 10 | ## Client diff --git a/api_docs/global_search.json b/api_docs/global_search.json index afe4ecbe30a08..a8b5ca35c634e 100644 --- a/api_docs/global_search.json +++ b/api_docs/global_search.json @@ -297,7 +297,13 @@ ], "signature": [ "Record | undefined" ], "path": "x-pack/plugins/global_search/common/types.ts", @@ -803,7 +809,13 @@ ], "signature": [ "Record | undefined" ], "path": "x-pack/plugins/global_search/common/types.ts", diff --git a/api_docs/global_search.mdx b/api_docs/global_search.mdx index 2f779837a77b7..99b8ed63a80e8 100644 --- a/api_docs/global_search.mdx +++ b/api_docs/global_search.mdx @@ -1,7 +1,7 @@ --- id: kibGlobalSearchPluginApi -slug: /kibana-dev-docs/globalSearchPluginApi -title: globalSearch +slug: /kibana-dev-docs/api/globalSearch +title: "globalSearch" image: https://source.unsplash.com/400x175/?github summary: API docs for the globalSearch plugin date: 2020-11-16 diff --git a/api_docs/home.json b/api_docs/home.json index 6443d8081b92d..585bd6b18d07b 100644 --- a/api_docs/home.json +++ b/api_docs/home.json @@ -974,7 +974,13 @@ "description": [], "signature": [ "{ getSampleDatasets: () => ", - "Writable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Writable", + "text": "Writable" + }, "[]; defaultIndex: string; previewImagePath: string; overviewDashboard: string; appLinks: Readonly<{} & { label: string; path: string; icon: string; }>[]; dataIndices: Readonly<{} & { id: string; fields: Record; timeFields: string[]; dataPath: string; currentTimeMarker: string; preserveDayOfWeekTimeOfDay: boolean; }>[]; }>>[]; addSavedObjectsToSampleDataset: (id: string, savedObjects: ", "SavedObject", "[]) => void; addAppLinksToSampleDataset: (id: string, appLinks: Readonly<{} & { label: string; path: string; icon: string; }>[]) => void; replacePanelInSampleDatasetDashboard: ({ sampleDataId, dashboardId, oldEmbeddableId, embeddableId, embeddableType, embeddableConfig, }: ", @@ -994,7 +1000,13 @@ "description": [], "signature": [ "() => ", - "Writable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Writable", + "text": "Writable" + }, "[]; defaultIndex: string; previewImagePath: string; overviewDashboard: string; appLinks: Readonly<{} & { label: string; path: string; icon: string; }>[]; dataIndices: Readonly<{} & { id: string; fields: Record; timeFields: string[]; dataPath: string; currentTimeMarker: string; preserveDayOfWeekTimeOfDay: boolean; }>[]; }>>" ], "path": "src/plugins/home/server/services/sample_data/lib/sample_dataset_registry_types.ts", @@ -1013,7 +1025,7 @@ "signature": [ "(context: ", "TutorialContext", - ") => Readonly<{ isBeta?: boolean | undefined; savedObjects?: any[] | undefined; euiIconType?: string | undefined; previewImagePath?: string | undefined; moduleName?: string | undefined; completionTimeMinutes?: number | undefined; elasticCloud?: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { type: \"string\" | \"number\"; label: string; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ iconType?: string | undefined; message?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; text?: string | undefined; error?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{} & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }> | undefined; onPremElasticCloud?: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { type: \"string\" | \"number\"; label: string; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ iconType?: string | undefined; message?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; text?: string | undefined; error?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{} & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }> | undefined; artifacts?: Readonly<{ application?: Readonly<{} & { label: string; path: string; }> | undefined; exportedFields?: Readonly<{} & { documentationUrl: string; }> | undefined; } & { dashboards: Readonly<{ linkLabel?: string | undefined; } & { id: string; isOverview: boolean; }>[]; }> | undefined; savedObjectsInstallMsg?: string | undefined; customStatusCheckName?: string | undefined; integrationBrowserCategories?: string[] | undefined; } & { id: string; name: string; category: \"security\" | \"metrics\" | \"other\" | \"logging\"; shortDescription: string; longDescription: string; onPrem: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { type: \"string\" | \"number\"; label: string; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ iconType?: string | undefined; message?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; text?: string | undefined; error?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{} & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }>; }>" + ") => Readonly<{ isBeta?: boolean | undefined; savedObjects?: any[] | undefined; euiIconType?: string | undefined; previewImagePath?: string | undefined; moduleName?: string | undefined; completionTimeMinutes?: number | undefined; elasticCloud?: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { type: \"string\" | \"number\"; label: string; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ iconType?: string | undefined; message?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; text?: string | undefined; error?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{} & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }> | undefined; onPremElasticCloud?: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { type: \"string\" | \"number\"; label: string; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ iconType?: string | undefined; message?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; text?: string | undefined; error?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{} & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }> | undefined; artifacts?: Readonly<{ application?: Readonly<{} & { label: string; path: string; }> | undefined; exportedFields?: Readonly<{} & { documentationUrl: string; }> | undefined; } & { dashboards: Readonly<{ linkLabel?: string | undefined; } & { id: string; isOverview: boolean; }>[]; }> | undefined; savedObjectsInstallMsg?: string | undefined; customStatusCheckName?: string | undefined; integrationBrowserCategories?: string[] | undefined; eprPackageOverlap?: string | undefined; } & { id: string; name: string; category: \"security\" | \"metrics\" | \"other\" | \"logging\"; shortDescription: string; longDescription: string; onPrem: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { type: \"string\" | \"number\"; label: string; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ iconType?: string | undefined; message?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; text?: string | undefined; error?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{} & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }>; }>" ], "path": "src/plugins/home/server/services/tutorials/lib/tutorials_registry_types.ts", "deprecated": false, @@ -1043,7 +1055,7 @@ "label": "TutorialSchema", "description": [], "signature": [ - "{ readonly isBeta?: boolean | undefined; readonly savedObjects?: any[] | undefined; readonly euiIconType?: string | undefined; readonly previewImagePath?: string | undefined; readonly moduleName?: string | undefined; readonly completionTimeMinutes?: number | undefined; readonly elasticCloud?: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { type: \"string\" | \"number\"; label: string; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ iconType?: string | undefined; message?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; text?: string | undefined; error?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{} & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }> | undefined; readonly onPremElasticCloud?: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { type: \"string\" | \"number\"; label: string; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ iconType?: string | undefined; message?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; text?: string | undefined; error?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{} & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }> | undefined; readonly artifacts?: Readonly<{ application?: Readonly<{} & { label: string; path: string; }> | undefined; exportedFields?: Readonly<{} & { documentationUrl: string; }> | undefined; } & { dashboards: Readonly<{ linkLabel?: string | undefined; } & { id: string; isOverview: boolean; }>[]; }> | undefined; readonly savedObjectsInstallMsg?: string | undefined; readonly customStatusCheckName?: string | undefined; readonly integrationBrowserCategories?: string[] | undefined; readonly id: string; readonly name: string; readonly category: \"security\" | \"metrics\" | \"other\" | \"logging\"; readonly shortDescription: string; readonly longDescription: string; readonly onPrem: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { type: \"string\" | \"number\"; label: string; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ iconType?: string | undefined; message?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; text?: string | undefined; error?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{} & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }>; }" + "{ readonly isBeta?: boolean | undefined; readonly savedObjects?: any[] | undefined; readonly euiIconType?: string | undefined; readonly previewImagePath?: string | undefined; readonly moduleName?: string | undefined; readonly completionTimeMinutes?: number | undefined; readonly elasticCloud?: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { type: \"string\" | \"number\"; label: string; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ iconType?: string | undefined; message?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; text?: string | undefined; error?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{} & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }> | undefined; readonly onPremElasticCloud?: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { type: \"string\" | \"number\"; label: string; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ iconType?: string | undefined; message?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; text?: string | undefined; error?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{} & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }> | undefined; readonly artifacts?: Readonly<{ application?: Readonly<{} & { label: string; path: string; }> | undefined; exportedFields?: Readonly<{} & { documentationUrl: string; }> | undefined; } & { dashboards: Readonly<{ linkLabel?: string | undefined; } & { id: string; isOverview: boolean; }>[]; }> | undefined; readonly savedObjectsInstallMsg?: string | undefined; readonly customStatusCheckName?: string | undefined; readonly integrationBrowserCategories?: string[] | undefined; readonly eprPackageOverlap?: string | undefined; readonly id: string; readonly name: string; readonly category: \"security\" | \"metrics\" | \"other\" | \"logging\"; readonly shortDescription: string; readonly longDescription: string; readonly onPrem: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { type: \"string\" | \"number\"; label: string; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ iconType?: string | undefined; message?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; text?: string | undefined; error?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{} & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }>; }" ], "path": "src/plugins/home/server/services/tutorials/lib/tutorial_schema.ts", "deprecated": false, @@ -1295,7 +1307,13 @@ "description": [], "signature": [ "{ getSampleDatasets: () => ", - "Writable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Writable", + "text": "Writable" + }, "[]; defaultIndex: string; previewImagePath: string; overviewDashboard: string; appLinks: Readonly<{} & { label: string; path: string; icon: string; }>[]; dataIndices: Readonly<{} & { id: string; fields: Record; timeFields: string[]; dataPath: string; currentTimeMarker: string; preserveDayOfWeekTimeOfDay: boolean; }>[]; }>>[]; addSavedObjectsToSampleDataset: (id: string, savedObjects: ", "SavedObject", "[]) => void; addAppLinksToSampleDataset: (id: string, appLinks: Readonly<{} & { label: string; path: string; icon: string; }>[]) => void; replacePanelInSampleDatasetDashboard: ({ sampleDataId, dashboardId, oldEmbeddableId, embeddableId, embeddableType, embeddableConfig, }: ", diff --git a/api_docs/home.mdx b/api_docs/home.mdx index a32912283f83f..025374fc8dc34 100644 --- a/api_docs/home.mdx +++ b/api_docs/home.mdx @@ -1,7 +1,7 @@ --- id: kibHomePluginApi -slug: /kibana-dev-docs/homePluginApi -title: home +slug: /kibana-dev-docs/api/home +title: "home" image: https://source.unsplash.com/400x175/?github summary: API docs for the home plugin date: 2020-11-16 diff --git a/api_docs/index_lifecycle_management.json b/api_docs/index_lifecycle_management.json index cf986a92aaaae..a9ba03331707a 100644 --- a/api_docs/index_lifecycle_management.json +++ b/api_docs/index_lifecycle_management.json @@ -20,7 +20,13 @@ "text": "IlmLocatorParams" }, " extends ", - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "x-pack/plugins/index_lifecycle_management/public/locator.ts", "deprecated": false, diff --git a/api_docs/index_lifecycle_management.mdx b/api_docs/index_lifecycle_management.mdx index 76a706f6df35e..ebcd0818faf04 100644 --- a/api_docs/index_lifecycle_management.mdx +++ b/api_docs/index_lifecycle_management.mdx @@ -1,7 +1,7 @@ --- id: kibIndexLifecycleManagementPluginApi -slug: /kibana-dev-docs/indexLifecycleManagementPluginApi -title: indexLifecycleManagement +slug: /kibana-dev-docs/api/indexLifecycleManagement +title: "indexLifecycleManagement" image: https://source.unsplash.com/400x175/?github summary: API docs for the indexLifecycleManagement plugin date: 2020-11-16 diff --git a/api_docs/index_management.mdx b/api_docs/index_management.mdx index 61ee094a30675..cd543449aa7cb 100644 --- a/api_docs/index_management.mdx +++ b/api_docs/index_management.mdx @@ -1,7 +1,7 @@ --- id: kibIndexManagementPluginApi -slug: /kibana-dev-docs/indexManagementPluginApi -title: indexManagement +slug: /kibana-dev-docs/api/indexManagement +title: "indexManagement" image: https://source.unsplash.com/400x175/?github summary: API docs for the indexManagement plugin date: 2020-11-16 diff --git a/api_docs/index_pattern_editor.json b/api_docs/index_pattern_editor.json index 728e17eb7af66..dd20a2907338f 100644 --- a/api_docs/index_pattern_editor.json +++ b/api_docs/index_pattern_editor.json @@ -26,9 +26,9 @@ "signature": [ "(indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -48,9 +48,9 @@ ], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" } diff --git a/api_docs/index_pattern_editor.mdx b/api_docs/index_pattern_editor.mdx index 941f27d6ee837..1be236e05e2c7 100644 --- a/api_docs/index_pattern_editor.mdx +++ b/api_docs/index_pattern_editor.mdx @@ -1,7 +1,7 @@ --- id: kibIndexPatternEditorPluginApi -slug: /kibana-dev-docs/indexPatternEditorPluginApi -title: indexPatternEditor +slug: /kibana-dev-docs/api/indexPatternEditor +title: "indexPatternEditor" image: https://source.unsplash.com/400x175/?github summary: API docs for the indexPatternEditor plugin date: 2020-11-16 diff --git a/api_docs/index_pattern_field_editor.json b/api_docs/index_pattern_field_editor.json index 4eee3d8d89e39..e95d84e832fe9 100644 --- a/api_docs/index_pattern_field_editor.json +++ b/api_docs/index_pattern_field_editor.json @@ -327,9 +327,9 @@ "signature": [ "{ indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -404,9 +404,9 @@ "signature": [ "{ indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -425,9 +425,9 @@ "signature": [ "((field: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPatternField", "text": "IndexPatternField" }, @@ -445,9 +445,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPatternField", "text": "IndexPatternField" } diff --git a/api_docs/index_pattern_field_editor.mdx b/api_docs/index_pattern_field_editor.mdx index 7a3cfd0e66bbe..fa38c1fe47d03 100644 --- a/api_docs/index_pattern_field_editor.mdx +++ b/api_docs/index_pattern_field_editor.mdx @@ -1,7 +1,7 @@ --- id: kibIndexPatternFieldEditorPluginApi -slug: /kibana-dev-docs/indexPatternFieldEditorPluginApi -title: indexPatternFieldEditor +slug: /kibana-dev-docs/api/indexPatternFieldEditor +title: "indexPatternFieldEditor" image: https://source.unsplash.com/400x175/?github summary: API docs for the indexPatternFieldEditor plugin date: 2020-11-16 diff --git a/api_docs/index_pattern_management.mdx b/api_docs/index_pattern_management.mdx index 59b5ebe0c1af9..68ff44c1143c7 100644 --- a/api_docs/index_pattern_management.mdx +++ b/api_docs/index_pattern_management.mdx @@ -1,7 +1,7 @@ --- id: kibIndexPatternManagementPluginApi -slug: /kibana-dev-docs/indexPatternManagementPluginApi -title: indexPatternManagement +slug: /kibana-dev-docs/api/indexPatternManagement +title: "indexPatternManagement" image: https://source.unsplash.com/400x175/?github summary: API docs for the indexPatternManagement plugin date: 2020-11-16 diff --git a/api_docs/infra.mdx b/api_docs/infra.mdx index b5ad793aa368f..5ac3690f67400 100644 --- a/api_docs/infra.mdx +++ b/api_docs/infra.mdx @@ -1,7 +1,7 @@ --- id: kibInfraPluginApi -slug: /kibana-dev-docs/infraPluginApi -title: infra +slug: /kibana-dev-docs/api/infra +title: "infra" image: https://source.unsplash.com/400x175/?github summary: API docs for the infra plugin date: 2020-11-16 diff --git a/api_docs/inspector.mdx b/api_docs/inspector.mdx index 2b1be2406e618..24931ecbaa639 100644 --- a/api_docs/inspector.mdx +++ b/api_docs/inspector.mdx @@ -1,7 +1,7 @@ --- id: kibInspectorPluginApi -slug: /kibana-dev-docs/inspectorPluginApi -title: inspector +slug: /kibana-dev-docs/api/inspector +title: "inspector" image: https://source.unsplash.com/400x175/?github summary: API docs for the inspector plugin date: 2020-11-16 diff --git a/api_docs/kbn_ace.json b/api_docs/kbn_ace.json new file mode 100644 index 0000000000000..074835365da89 --- /dev/null +++ b/api_docs/kbn_ace.json @@ -0,0 +1,199 @@ +{ + "id": "@kbn/ace", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/ace", + "id": "def-server.addToRules", + "type": "Function", + "tags": [], + "label": "addToRules", + "description": [], + "signature": [ + "(otherRules: any, embedUnder: any) => void" + ], + "path": "packages/kbn-ace/src/ace/modes/lexer_rules/x_json_highlight_rules.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/ace", + "id": "def-server.addToRules.$1", + "type": "Any", + "tags": [], + "label": "otherRules", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-ace/src/ace/modes/lexer_rules/x_json_highlight_rules.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/ace", + "id": "def-server.addToRules.$2", + "type": "Any", + "tags": [], + "label": "embedUnder", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-ace/src/ace/modes/lexer_rules/x_json_highlight_rules.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/ace", + "id": "def-server.ElasticsearchSqlHighlightRules", + "type": "Function", + "tags": [], + "label": "ElasticsearchSqlHighlightRules", + "description": [], + "signature": [ + "(this: any) => void" + ], + "path": "packages/kbn-ace/src/ace/modes/lexer_rules/elasticsearch_sql_highlight_rules.ts", + "deprecated": false, + "returnComment": [], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/ace", + "id": "def-server.installXJsonMode", + "type": "Function", + "tags": [], + "label": "installXJsonMode", + "description": [], + "signature": [ + "(editor: ", + "Editor", + ") => void" + ], + "path": "packages/kbn-ace/src/ace/modes/x_json/x_json.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/ace", + "id": "def-server.installXJsonMode.$1", + "type": "Object", + "tags": [], + "label": "editor", + "description": [], + "signature": [ + "Editor" + ], + "path": "packages/kbn-ace/src/ace/modes/x_json/x_json.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/ace", + "id": "def-server.ScriptHighlightRules", + "type": "Function", + "tags": [], + "label": "ScriptHighlightRules", + "description": [], + "signature": [ + "(this: any) => void" + ], + "path": "packages/kbn-ace/src/ace/modes/lexer_rules/script_highlight_rules.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/ace", + "id": "def-server.ScriptHighlightRules.$1", + "type": "Any", + "tags": [], + "label": "this", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-ace/src/ace/modes/lexer_rules/script_highlight_rules.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/ace", + "id": "def-server.XJsonHighlightRules", + "type": "Function", + "tags": [], + "label": "XJsonHighlightRules", + "description": [], + "signature": [ + "(this: any) => void" + ], + "path": "packages/kbn-ace/src/ace/modes/lexer_rules/x_json_highlight_rules.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/ace", + "id": "def-server.XJsonHighlightRules.$1", + "type": "Any", + "tags": [], + "label": "this", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-ace/src/ace/modes/lexer_rules/x_json_highlight_rules.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/ace", + "id": "def-server.XJsonMode", + "type": "Any", + "tags": [], + "label": "XJsonMode", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-ace/src/ace/modes/x_json/x_json.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_ace.mdx b/api_docs/kbn_ace.mdx new file mode 100644 index 0000000000000..dca62be25e191 --- /dev/null +++ b/api_docs/kbn_ace.mdx @@ -0,0 +1,30 @@ +--- +id: kibKbnAcePluginApi +slug: /kibana-dev-docs/api/kbn-ace +title: "@kbn/ace" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/ace plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ace'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnAceObj from './kbn_ace.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 11 | 5 | 11 | 0 | + +## Server + +### Functions + + +### Consts, variables and types + + diff --git a/api_docs/kbn_alerts.json b/api_docs/kbn_alerts.json new file mode 100644 index 0000000000000..c5b3ff62837f2 --- /dev/null +++ b/api_docs/kbn_alerts.json @@ -0,0 +1,155 @@ +{ + "id": "@kbn/alerts", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/alerts", + "id": "def-common.AlertsFeatureNoPermissions", + "type": "Function", + "tags": [], + "label": "AlertsFeatureNoPermissions", + "description": [], + "signature": [ + "{ ({ documentationUrl, iconType, }: React.PropsWithChildren): JSX.Element; displayName: string | undefined; }" + ], + "path": "packages/kbn-alerts/src/features_no_permissions/index.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/alerts", + "id": "def-common.AlertsFeatureNoPermissions.$1", + "type": "CompoundType", + "tags": [], + "label": "{\n documentationUrl,\n iconType,\n}", + "description": [], + "signature": [ + "React.PropsWithChildren" + ], + "path": "packages/kbn-alerts/src/features_no_permissions/index.tsx", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/alerts", + "id": "def-common.useGetUserAlertsPermissions", + "type": "Function", + "tags": [], + "label": "useGetUserAlertsPermissions", + "description": [], + "signature": [ + "(uiCapabilities: any, featureId: string) => ", + { + "pluginId": "@kbn/alerts", + "scope": "common", + "docId": "kibKbnAlertsPluginApi", + "section": "def-common.UseGetUserAlertsPermissionsProps", + "text": "UseGetUserAlertsPermissionsProps" + } + ], + "path": "packages/kbn-alerts/src/hooks/use_get_alerts_permissions/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/alerts", + "id": "def-common.useGetUserAlertsPermissions.$1", + "type": "Any", + "tags": [], + "label": "uiCapabilities", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-alerts/src/hooks/use_get_alerts_permissions/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/alerts", + "id": "def-common.useGetUserAlertsPermissions.$2", + "type": "string", + "tags": [], + "label": "featureId", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-alerts/src/hooks/use_get_alerts_permissions/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/alerts", + "id": "def-common.UseGetUserAlertsPermissionsProps", + "type": "Interface", + "tags": [], + "label": "UseGetUserAlertsPermissionsProps", + "description": [], + "path": "packages/kbn-alerts/src/hooks/use_get_alerts_permissions/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/alerts", + "id": "def-common.UseGetUserAlertsPermissionsProps.crud", + "type": "boolean", + "tags": [], + "label": "crud", + "description": [], + "path": "packages/kbn-alerts/src/hooks/use_get_alerts_permissions/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/alerts", + "id": "def-common.UseGetUserAlertsPermissionsProps.read", + "type": "boolean", + "tags": [], + "label": "read", + "description": [], + "path": "packages/kbn-alerts/src/hooks/use_get_alerts_permissions/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/alerts", + "id": "def-common.UseGetUserAlertsPermissionsProps.loading", + "type": "boolean", + "tags": [], + "label": "loading", + "description": [], + "path": "packages/kbn-alerts/src/hooks/use_get_alerts_permissions/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_alerts.mdx b/api_docs/kbn_alerts.mdx new file mode 100644 index 0000000000000..ceeb2b8d27e4d --- /dev/null +++ b/api_docs/kbn_alerts.mdx @@ -0,0 +1,30 @@ +--- +id: kibKbnAlertsPluginApi +slug: /kibana-dev-docs/api/kbn-alerts +title: "@kbn/alerts" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/alerts plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerts'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnAlertsObj from './kbn_alerts.json'; + +Alerts components and hooks + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 9 | 1 | 9 | 0 | + +## Common + +### Functions + + +### Interfaces + + diff --git a/api_docs/kbn_analytics.json b/api_docs/kbn_analytics.json new file mode 100644 index 0000000000000..a514d2a73da72 --- /dev/null +++ b/api_docs/kbn_analytics.json @@ -0,0 +1,1181 @@ +{ + "id": "@kbn/analytics", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker", + "type": "Class", + "tags": [], + "label": "ApplicationUsageTracker", + "description": [], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "reporter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.Reporter", + "text": "Reporter" + } + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.serializeKey", + "type": "Function", + "tags": [], + "label": "serializeKey", + "description": [], + "signature": [ + "({ appId, viewId }: ApplicationKey) => string" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.serializeKey.$1", + "type": "Object", + "tags": [], + "label": "{ appId, viewId }", + "description": [], + "signature": [ + "ApplicationKey" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.updateViewClickCounter", + "type": "Function", + "tags": [], + "label": "updateViewClickCounter", + "description": [], + "signature": [ + "(viewId: string) => void" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.updateViewClickCounter.$1", + "type": "string", + "tags": [], + "label": "viewId", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.start", + "type": "Function", + "tags": [], + "label": "start", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.stop", + "type": "Function", + "tags": [], + "label": "stop", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.setCurrentAppId", + "type": "Function", + "tags": [], + "label": "setCurrentAppId", + "description": [], + "signature": [ + "(appId: string) => void" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.setCurrentAppId.$1", + "type": "string", + "tags": [], + "label": "appId", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.trackApplicationViewUsage", + "type": "Function", + "tags": [], + "label": "trackApplicationViewUsage", + "description": [], + "signature": [ + "(viewId: string) => void" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.trackApplicationViewUsage.$1", + "type": "string", + "tags": [], + "label": "viewId", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.pauseTrackingAll", + "type": "Function", + "tags": [], + "label": "pauseTrackingAll", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.resumeTrackingAll", + "type": "Function", + "tags": [], + "label": "resumeTrackingAll", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.flushTrackedView", + "type": "Function", + "tags": [], + "label": "flushTrackedView", + "description": [], + "signature": [ + "(viewId: string) => void" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.flushTrackedView.$1", + "type": "string", + "tags": [], + "label": "viewId", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter", + "type": "Class", + "tags": [], + "label": "Reporter", + "description": [], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter.checkInterval", + "type": "number", + "tags": [], + "label": "checkInterval", + "description": [], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.ReporterConfig", + "text": "ReporterConfig" + } + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter.start", + "type": "Function", + "tags": [], + "label": "start", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter.reportUiCounter", + "type": "Function", + "tags": [], + "label": "reportUiCounter", + "description": [], + "signature": [ + "(appName: string, type: ", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.UiCounterMetricType", + "text": "UiCounterMetricType" + }, + ", eventNames: string | string[], count?: number | undefined) => void" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter.reportUiCounter.$1", + "type": "string", + "tags": [], + "label": "appName", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter.reportUiCounter.$2", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.UiCounterMetricType", + "text": "UiCounterMetricType" + } + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter.reportUiCounter.$3", + "type": "CompoundType", + "tags": [], + "label": "eventNames", + "description": [], + "signature": [ + "string | string[]" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter.reportUiCounter.$4", + "type": "number", + "tags": [], + "label": "count", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter.reportUserAgent", + "type": "Function", + "tags": [], + "label": "reportUserAgent", + "description": [], + "signature": [ + "(appName: string) => void" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter.reportUserAgent.$1", + "type": "string", + "tags": [], + "label": "appName", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter.reportApplicationUsage", + "type": "Function", + "tags": [], + "label": "reportApplicationUsage", + "description": [], + "signature": [ + "(appUsageReport: ", + "ApplicationUsageMetric", + ") => void" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter.reportApplicationUsage.$1", + "type": "Object", + "tags": [], + "label": "appUsageReport", + "description": [], + "signature": [ + "ApplicationUsageMetric" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter.sendReports", + "type": "Function", + "tags": [], + "label": "sendReports", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReportManager", + "type": "Class", + "tags": [], + "label": "ReportManager", + "description": [], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReportManager.REPORT_VERSION", + "type": "number", + "tags": [], + "label": "REPORT_VERSION", + "description": [], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReportManager.report", + "type": "Object", + "tags": [], + "label": "report", + "description": [], + "signature": [ + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.Report", + "text": "Report" + } + ], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReportManager.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReportManager.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "report", + "description": [], + "signature": [ + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.Report", + "text": "Report" + }, + " | undefined" + ], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReportManager.createReport", + "type": "Function", + "tags": [], + "label": "createReport", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.Report", + "text": "Report" + } + ], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReportManager.clearReport", + "type": "Function", + "tags": [], + "label": "clearReport", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReportManager.isReportEmpty", + "type": "Function", + "tags": [], + "label": "isReportEmpty", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReportManager.assignReports", + "type": "Function", + "tags": [], + "label": "assignReports", + "description": [], + "signature": [ + "(newMetrics: ", + "ApplicationUsageMetric", + " | ", + "UiCounterMetric", + " | ", + "UserAgentMetric", + " | ", + "Metric", + "[]) => { report: ", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.Report", + "text": "Report" + }, + "; }" + ], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReportManager.assignReports.$1", + "type": "CompoundType", + "tags": [], + "label": "newMetrics", + "description": [], + "signature": [ + "ApplicationUsageMetric", + " | ", + "UiCounterMetric", + " | ", + "UserAgentMetric", + " | ", + "Metric", + "[]" + ], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReportManager.createMetricKey", + "type": "Function", + "tags": [], + "label": "createMetricKey", + "description": [], + "signature": [ + "(metric: ", + "Metric", + ") => string" + ], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReportManager.createMetricKey.$1", + "type": "CompoundType", + "tags": [], + "label": "metric", + "description": [], + "signature": [ + "Metric" + ], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [], + "interfaces": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Report", + "type": "Interface", + "tags": [], + "label": "Report", + "description": [], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Report.reportVersion", + "type": "number", + "tags": [], + "label": "reportVersion", + "description": [], + "signature": [ + "3" + ], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Report.uiCounter", + "type": "Object", + "tags": [], + "label": "uiCounter", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Report.userAgent", + "type": "Object", + "tags": [], + "label": "userAgent", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Report.application_usage", + "type": "Object", + "tags": [], + "label": "application_usage", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReporterConfig", + "type": "Interface", + "tags": [], + "label": "ReporterConfig", + "description": [], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReporterConfig.http", + "type": "Function", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "(report: ", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.Report", + "text": "Report" + }, + ") => Promise" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReporterConfig.http.$1", + "type": "Object", + "tags": [], + "label": "report", + "description": [], + "signature": [ + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.Report", + "text": "Report" + } + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReporterConfig.storage", + "type": "Object", + "tags": [], + "label": "storage", + "description": [], + "signature": [ + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.Storage", + "text": "Storage" + }, + "<", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.Report", + "text": "Report" + }, + ", void> | undefined" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReporterConfig.checkInterval", + "type": "number", + "tags": [], + "label": "checkInterval", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReporterConfig.debug", + "type": "CompoundType", + "tags": [], + "label": "debug", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReporterConfig.storageKey", + "type": "string", + "tags": [], + "label": "storageKey", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Storage", + "type": "Interface", + "tags": [], + "label": "Storage", + "description": [], + "signature": [ + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.Storage", + "text": "Storage" + }, + "" + ], + "path": "packages/kbn-analytics/src/storage.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Storage.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(key: string) => T | undefined" + ], + "path": "packages/kbn-analytics/src/storage.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Storage.get.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-analytics/src/storage.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Storage.set", + "type": "Function", + "tags": [], + "label": "set", + "description": [], + "signature": [ + "(key: string, value: T) => S" + ], + "path": "packages/kbn-analytics/src/storage.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Storage.set.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-analytics/src/storage.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Storage.set.$2", + "type": "Uncategorized", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-analytics/src/storage.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Storage.remove", + "type": "Function", + "tags": [], + "label": "remove", + "description": [], + "signature": [ + "(key: string) => T | undefined" + ], + "path": "packages/kbn-analytics/src/storage.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Storage.remove.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-analytics/src/storage.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Storage.clear", + "type": "Function", + "tags": [], + "label": "clear", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-analytics/src/storage.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "enums": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.METRIC_TYPE", + "type": "Enum", + "tags": [], + "label": "METRIC_TYPE", + "description": [], + "path": "packages/kbn-analytics/src/metrics/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "misc": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReportHTTP", + "type": "Type", + "tags": [], + "label": "ReportHTTP", + "description": [], + "signature": [ + "(report: ", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.Report", + "text": "Report" + }, + ") => Promise" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReportHTTP.$1", + "type": "Object", + "tags": [], + "label": "report", + "description": [], + "signature": [ + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.Report", + "text": "Report" + } + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.UiCounterMetricType", + "type": "Type", + "tags": [], + "label": "UiCounterMetricType", + "description": [], + "signature": [ + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.METRIC_TYPE", + "text": "METRIC_TYPE" + }, + ".COUNT | ", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.METRIC_TYPE", + "text": "METRIC_TYPE" + }, + ".LOADED | ", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.METRIC_TYPE", + "text": "METRIC_TYPE" + }, + ".CLICK" + ], + "path": "packages/kbn-analytics/src/metrics/ui_counter.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_analytics.mdx b/api_docs/kbn_analytics.mdx new file mode 100644 index 0000000000000..08202a64e17b1 --- /dev/null +++ b/api_docs/kbn_analytics.mdx @@ -0,0 +1,36 @@ +--- +id: kibKbnAnalyticsPluginApi +slug: /kibana-dev-docs/api/kbn-analytics +title: "@kbn/analytics" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/analytics plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnAnalyticsObj from './kbn_analytics.json'; + +Kibana Analytics tool + +Contact Ahmad Bamieh ahmadbamieh@gmail.com for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 69 | 0 | 69 | 4 | + +## Common + +### Classes + + +### Interfaces + + +### Enums + + +### Consts, variables and types + + diff --git a/api_docs/kbn_apm_config_loader.json b/api_docs/kbn_apm_config_loader.json new file mode 100644 index 0000000000000..11ddc8679c815 --- /dev/null +++ b/api_docs/kbn_apm_config_loader.json @@ -0,0 +1,237 @@ +{ + "id": "@kbn/apm-config-loader", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [ + { + "parentPluginId": "@kbn/apm-config-loader", + "id": "def-server.ApmConfiguration", + "type": "Class", + "tags": [], + "label": "ApmConfiguration", + "description": [], + "path": "packages/kbn-apm-config-loader/src/config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/apm-config-loader", + "id": "def-server.ApmConfiguration.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-apm-config-loader/src/config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/apm-config-loader", + "id": "def-server.ApmConfiguration.Unnamed.$1", + "type": "string", + "tags": [], + "label": "rootDir", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-apm-config-loader/src/config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/apm-config-loader", + "id": "def-server.ApmConfiguration.Unnamed.$2", + "type": "Object", + "tags": [], + "label": "rawKibanaConfig", + "description": [], + "signature": [ + "Record" + ], + "path": "packages/kbn-apm-config-loader/src/config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/apm-config-loader", + "id": "def-server.ApmConfiguration.Unnamed.$3", + "type": "boolean", + "tags": [], + "label": "isDistributable", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-apm-config-loader/src/config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/apm-config-loader", + "id": "def-server.ApmConfiguration.getConfig", + "type": "Function", + "tags": [], + "label": "getConfig", + "description": [], + "signature": [ + "(serviceName: string) => ", + "AgentConfigOptions" + ], + "path": "packages/kbn-apm-config-loader/src/config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/apm-config-loader", + "id": "def-server.ApmConfiguration.getConfig.$1", + "type": "string", + "tags": [], + "label": "serviceName", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-apm-config-loader/src/config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "@kbn/apm-config-loader", + "id": "def-server.getConfiguration", + "type": "Function", + "tags": [], + "label": "getConfiguration", + "description": [], + "signature": [ + "(serviceName: string) => ", + "AgentConfigOptions", + " | undefined" + ], + "path": "packages/kbn-apm-config-loader/src/config_loader.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/apm-config-loader", + "id": "def-server.getConfiguration.$1", + "type": "string", + "tags": [], + "label": "serviceName", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-apm-config-loader/src/config_loader.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/apm-config-loader", + "id": "def-server.initApm", + "type": "Function", + "tags": [], + "label": "initApm", + "description": [], + "signature": [ + "(argv: string[], rootDir: string, isDistributable: boolean, serviceName: string) => void" + ], + "path": "packages/kbn-apm-config-loader/src/init_apm.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/apm-config-loader", + "id": "def-server.initApm.$1", + "type": "Array", + "tags": [], + "label": "argv", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-apm-config-loader/src/init_apm.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/apm-config-loader", + "id": "def-server.initApm.$2", + "type": "string", + "tags": [], + "label": "rootDir", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-apm-config-loader/src/init_apm.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/apm-config-loader", + "id": "def-server.initApm.$3", + "type": "boolean", + "tags": [], + "label": "isDistributable", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-apm-config-loader/src/init_apm.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/apm-config-loader", + "id": "def-server.initApm.$4", + "type": "string", + "tags": [], + "label": "serviceName", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-apm-config-loader/src/init_apm.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_apm_config_loader.mdx b/api_docs/kbn_apm_config_loader.mdx new file mode 100644 index 0000000000000..abc95dbeff0b3 --- /dev/null +++ b/api_docs/kbn_apm_config_loader.mdx @@ -0,0 +1,30 @@ +--- +id: kibKbnApmConfigLoaderPluginApi +slug: /kibana-dev-docs/api/kbn-apm-config-loader +title: "@kbn/apm-config-loader" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/apm-config-loader plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-config-loader'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnApmConfigLoaderObj from './kbn_apm_config_loader.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 14 | 0 | 14 | 0 | + +## Server + +### Functions + + +### Classes + + diff --git a/api_docs/kbn_apm_utils.json b/api_docs/kbn_apm_utils.json new file mode 100644 index 0000000000000..d84543659268b --- /dev/null +++ b/api_docs/kbn_apm_utils.json @@ -0,0 +1,221 @@ +{ + "id": "@kbn/apm-utils", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/apm-utils", + "id": "def-server.parseSpanOptions", + "type": "Function", + "tags": [], + "label": "parseSpanOptions", + "description": [], + "signature": [ + "(optionsOrName: string | ", + { + "pluginId": "@kbn/apm-utils", + "scope": "server", + "docId": "kibKbnApmUtilsPluginApi", + "section": "def-server.SpanOptions", + "text": "SpanOptions" + }, + ") => ", + { + "pluginId": "@kbn/apm-utils", + "scope": "server", + "docId": "kibKbnApmUtilsPluginApi", + "section": "def-server.SpanOptions", + "text": "SpanOptions" + } + ], + "path": "packages/kbn-apm-utils/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/apm-utils", + "id": "def-server.parseSpanOptions.$1", + "type": "CompoundType", + "tags": [], + "label": "optionsOrName", + "description": [], + "signature": [ + "string | ", + { + "pluginId": "@kbn/apm-utils", + "scope": "server", + "docId": "kibKbnApmUtilsPluginApi", + "section": "def-server.SpanOptions", + "text": "SpanOptions" + } + ], + "path": "packages/kbn-apm-utils/src/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/apm-utils", + "id": "def-server.withSpan", + "type": "Function", + "tags": [], + "label": "withSpan", + "description": [], + "signature": [ + "(optionsOrName: string | ", + { + "pluginId": "@kbn/apm-utils", + "scope": "server", + "docId": "kibKbnApmUtilsPluginApi", + "section": "def-server.SpanOptions", + "text": "SpanOptions" + }, + ", cb: (span?: ", + "Span", + " | undefined) => Promise) => Promise" + ], + "path": "packages/kbn-apm-utils/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/apm-utils", + "id": "def-server.withSpan.$1", + "type": "CompoundType", + "tags": [], + "label": "optionsOrName", + "description": [], + "signature": [ + "string | ", + { + "pluginId": "@kbn/apm-utils", + "scope": "server", + "docId": "kibKbnApmUtilsPluginApi", + "section": "def-server.SpanOptions", + "text": "SpanOptions" + } + ], + "path": "packages/kbn-apm-utils/src/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/apm-utils", + "id": "def-server.withSpan.$2", + "type": "Function", + "tags": [], + "label": "cb", + "description": [], + "signature": [ + "(span?: ", + "Span", + " | undefined) => Promise" + ], + "path": "packages/kbn-apm-utils/src/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/apm-utils", + "id": "def-server.SpanOptions", + "type": "Interface", + "tags": [], + "label": "SpanOptions", + "description": [], + "path": "packages/kbn-apm-utils/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/apm-utils", + "id": "def-server.SpanOptions.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "packages/kbn-apm-utils/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/apm-utils", + "id": "def-server.SpanOptions.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-apm-utils/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/apm-utils", + "id": "def-server.SpanOptions.subtype", + "type": "string", + "tags": [], + "label": "subtype", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-apm-utils/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/apm-utils", + "id": "def-server.SpanOptions.labels", + "type": "Object", + "tags": [], + "label": "labels", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "packages/kbn-apm-utils/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/apm-utils", + "id": "def-server.SpanOptions.intercept", + "type": "CompoundType", + "tags": [], + "label": "intercept", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-apm-utils/src/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_apm_utils.mdx b/api_docs/kbn_apm_utils.mdx new file mode 100644 index 0000000000000..b44198dfcbcfc --- /dev/null +++ b/api_docs/kbn_apm_utils.mdx @@ -0,0 +1,30 @@ +--- +id: kibKbnApmUtilsPluginApi +slug: /kibana-dev-docs/api/kbn-apm-utils +title: "@kbn/apm-utils" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/apm-utils plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-utils'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnApmUtilsObj from './kbn_apm_utils.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 11 | 0 | 11 | 0 | + +## Server + +### Functions + + +### Interfaces + + diff --git a/api_docs/kbn_cli_dev_mode.json b/api_docs/kbn_cli_dev_mode.json new file mode 100644 index 0000000000000..8c46a55b9e382 --- /dev/null +++ b/api_docs/kbn_cli_dev_mode.json @@ -0,0 +1,59 @@ +{ + "id": "@kbn/cli-dev-mode", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/cli-dev-mode", + "id": "def-server.bootstrapDevMode", + "type": "Function", + "tags": [], + "label": "bootstrapDevMode", + "description": [], + "signature": [ + "({ configs, cliArgs, applyConfigOverrides }: BootstrapArgs) => Promise" + ], + "path": "packages/kbn-cli-dev-mode/src/bootstrap.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/cli-dev-mode", + "id": "def-server.bootstrapDevMode.$1", + "type": "Object", + "tags": [], + "label": "{ configs, cliArgs, applyConfigOverrides }", + "description": [], + "signature": [ + "BootstrapArgs" + ], + "path": "packages/kbn-cli-dev-mode/src/bootstrap.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_cli_dev_mode.mdx b/api_docs/kbn_cli_dev_mode.mdx new file mode 100644 index 0000000000000..ac89dc46c1900 --- /dev/null +++ b/api_docs/kbn_cli_dev_mode.mdx @@ -0,0 +1,27 @@ +--- +id: kibKbnCliDevModePluginApi +slug: /kibana-dev-docs/api/kbn-cli-dev-mode +title: "@kbn/cli-dev-mode" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/cli-dev-mode plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cli-dev-mode'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnCliDevModeObj from './kbn_cli_dev_mode.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 2 | 0 | 2 | 0 | + +## Server + +### Functions + + diff --git a/api_docs/kbn_config.json b/api_docs/kbn_config.json new file mode 100644 index 0000000000000..49a691ba67168 --- /dev/null +++ b/api_docs/kbn_config.json @@ -0,0 +1,1186 @@ +{ + "id": "@kbn/config", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.Env", + "type": "Class", + "tags": [], + "label": "Env", + "description": [], + "path": "packages/kbn-config/src/env.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.Env.packageInfo", + "type": "Object", + "tags": [], + "label": "packageInfo", + "description": [ + "\nInformation about Kibana package (version, build number etc.)." + ], + "signature": [ + "{ readonly version: string; readonly branch: string; readonly buildNum: number; readonly buildSha: string; readonly dist: boolean; }" + ], + "path": "packages/kbn-config/src/env.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.Env.mode", + "type": "Object", + "tags": [], + "label": "mode", + "description": [ + "\nMode Kibana currently run in (development or production)." + ], + "signature": [ + "{ readonly name: \"production\" | \"development\"; readonly dev: boolean; readonly prod: boolean; }" + ], + "path": "packages/kbn-config/src/env.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.getPluginSearchPaths", + "type": "Function", + "tags": [], + "label": "getPluginSearchPaths", + "description": [], + "signature": [ + "({ rootDir, oss, examples }: SearchOptions) => string[]" + ], + "path": "packages/kbn-config/src/plugins/plugin_search_paths.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.getPluginSearchPaths.$1", + "type": "Object", + "tags": [], + "label": "{ rootDir, oss, examples }", + "description": [], + "signature": [ + "SearchOptions" + ], + "path": "packages/kbn-config/src/plugins/plugin_search_paths.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.hasConfigPathIntersection", + "type": "Function", + "tags": [], + "label": "hasConfigPathIntersection", + "description": [], + "signature": [ + "(leafPath: string, rootPath: string) => boolean" + ], + "path": "packages/kbn-config/src/config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.hasConfigPathIntersection.$1", + "type": "string", + "tags": [], + "label": "leafPath", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.hasConfigPathIntersection.$2", + "type": "string", + "tags": [], + "label": "rootPath", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.isConfigPath", + "type": "Function", + "tags": [], + "label": "isConfigPath", + "description": [ + "\nChecks whether specified value can be considered as config path." + ], + "signature": [ + "(value: unknown) => boolean" + ], + "path": "packages/kbn-config/src/config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.isConfigPath.$1", + "type": "Unknown", + "tags": [], + "label": "value", + "description": [ + "Value to check." + ], + "signature": [ + "unknown" + ], + "path": "packages/kbn-config/src/config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.ChangedDeprecatedPaths", + "type": "Interface", + "tags": [], + "label": "ChangedDeprecatedPaths", + "description": [ + "\nList of config paths changed during deprecation.\n" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.ChangedDeprecatedPaths.set", + "type": "Array", + "tags": [], + "label": "set", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ChangedDeprecatedPaths.unset", + "type": "Array", + "tags": [], + "label": "unset", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationCommand", + "type": "Interface", + "tags": [], + "label": "ConfigDeprecationCommand", + "description": [ + "\nOutcome of deprecation operation. Allows mutating config values in a declarative way.\n" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationCommand.set", + "type": "Array", + "tags": [], + "label": "set", + "description": [], + "signature": [ + "{ path: string; value: any; }[] | undefined" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationCommand.unset", + "type": "Array", + "tags": [], + "label": "unset", + "description": [], + "signature": [ + "{ path: string; }[] | undefined" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationContext", + "type": "Interface", + "tags": [], + "label": "ConfigDeprecationContext", + "description": [ + "\nDeprecation context provided to {@link ConfigDeprecation | config deprecations}\n" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationContext.version", + "type": "string", + "tags": [], + "label": "version", + "description": [ + "The current Kibana version, e.g `7.16.1`, `8.0.0`" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationContext.branch", + "type": "string", + "tags": [], + "label": "branch", + "description": [ + "The current Kibana branch, e.g `7.x`, `7.16`, `master`" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory", + "type": "Interface", + "tags": [], + "label": "ConfigDeprecationFactory", + "description": [ + "\nProvides helpers to generates the most commonly used {@link ConfigDeprecation}\nwhen invoking a {@link ConfigDeprecationProvider}.\n\nSee methods documentation for more detailed examples.\n" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.deprecate", + "type": "Function", + "tags": [], + "label": "deprecate", + "description": [ + "\nDeprecate a configuration property from inside a plugin's configuration path.\nWill log a deprecation warning if the deprecatedKey was found.\n" + ], + "signature": [ + "(deprecatedKey: string, removeBy: string, details?: Partial<", + "DeprecatedConfigDetails", + "> | undefined) => ", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecation", + "text": "ConfigDeprecation" + } + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.deprecate.$1", + "type": "string", + "tags": [], + "label": "deprecatedKey", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.deprecate.$2", + "type": "string", + "tags": [], + "label": "removeBy", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.deprecate.$3", + "type": "Object", + "tags": [], + "label": "details", + "description": [], + "signature": [ + "Partial<", + "DeprecatedConfigDetails", + "> | undefined" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.deprecateFromRoot", + "type": "Function", + "tags": [], + "label": "deprecateFromRoot", + "description": [ + "\nDeprecate a configuration property from the root configuration.\nWill log a deprecation warning if the deprecatedKey was found.\n\nThis should be only used when deprecating properties from different configuration's path.\nTo deprecate properties from inside a plugin's configuration, use 'deprecate' instead.\n" + ], + "signature": [ + "(deprecatedKey: string, removeBy: string, details?: Partial<", + "DeprecatedConfigDetails", + "> | undefined) => ", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecation", + "text": "ConfigDeprecation" + } + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.deprecateFromRoot.$1", + "type": "string", + "tags": [], + "label": "deprecatedKey", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.deprecateFromRoot.$2", + "type": "string", + "tags": [], + "label": "removeBy", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.deprecateFromRoot.$3", + "type": "Object", + "tags": [], + "label": "details", + "description": [], + "signature": [ + "Partial<", + "DeprecatedConfigDetails", + "> | undefined" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.rename", + "type": "Function", + "tags": [], + "label": "rename", + "description": [ + "\nRename a configuration property from inside a plugin's configuration path.\nWill log a deprecation warning if the oldKey was found and deprecation applied.\n" + ], + "signature": [ + "(oldKey: string, newKey: string, details?: Partial<", + "DeprecatedConfigDetails", + "> | undefined) => ", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecation", + "text": "ConfigDeprecation" + } + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.rename.$1", + "type": "string", + "tags": [], + "label": "oldKey", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.rename.$2", + "type": "string", + "tags": [], + "label": "newKey", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.rename.$3", + "type": "Object", + "tags": [], + "label": "details", + "description": [], + "signature": [ + "Partial<", + "DeprecatedConfigDetails", + "> | undefined" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.renameFromRoot", + "type": "Function", + "tags": [], + "label": "renameFromRoot", + "description": [ + "\nRename a configuration property from the root configuration.\nWill log a deprecation warning if the oldKey was found and deprecation applied.\n\nThis should be only used when renaming properties from different configuration's path.\nTo rename properties from inside a plugin's configuration, use 'rename' instead.\n" + ], + "signature": [ + "(oldKey: string, newKey: string, details?: Partial<", + "DeprecatedConfigDetails", + "> | undefined) => ", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecation", + "text": "ConfigDeprecation" + } + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.renameFromRoot.$1", + "type": "string", + "tags": [], + "label": "oldKey", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.renameFromRoot.$2", + "type": "string", + "tags": [], + "label": "newKey", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.renameFromRoot.$3", + "type": "Object", + "tags": [], + "label": "details", + "description": [], + "signature": [ + "Partial<", + "DeprecatedConfigDetails", + "> | undefined" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.unused", + "type": "Function", + "tags": [], + "label": "unused", + "description": [ + "\nRemove a configuration property from inside a plugin's configuration path.\nWill log a deprecation warning if the unused key was found and deprecation applied.\n" + ], + "signature": [ + "(unusedKey: string, details?: Partial<", + "DeprecatedConfigDetails", + "> | undefined) => ", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecation", + "text": "ConfigDeprecation" + } + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.unused.$1", + "type": "string", + "tags": [], + "label": "unusedKey", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.unused.$2", + "type": "Object", + "tags": [], + "label": "details", + "description": [], + "signature": [ + "Partial<", + "DeprecatedConfigDetails", + "> | undefined" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.unusedFromRoot", + "type": "Function", + "tags": [], + "label": "unusedFromRoot", + "description": [ + "\nRemove a configuration property from the root configuration.\nWill log a deprecation warning if the unused key was found and deprecation applied.\n\nThis should be only used when removing properties from outside of a plugin's configuration.\nTo remove properties from inside a plugin's configuration, use 'unused' instead.\n" + ], + "signature": [ + "(unusedKey: string, details?: Partial<", + "DeprecatedConfigDetails", + "> | undefined) => ", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecation", + "text": "ConfigDeprecation" + } + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.unusedFromRoot.$1", + "type": "string", + "tags": [], + "label": "unusedKey", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.unusedFromRoot.$2", + "type": "Object", + "tags": [], + "label": "details", + "description": [], + "signature": [ + "Partial<", + "DeprecatedConfigDetails", + "> | undefined" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.EnvironmentMode", + "type": "Interface", + "tags": [], + "label": "EnvironmentMode", + "description": [], + "path": "packages/kbn-config/src/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.EnvironmentMode.name", + "type": "CompoundType", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "\"production\" | \"development\"" + ], + "path": "packages/kbn-config/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.EnvironmentMode.dev", + "type": "boolean", + "tags": [], + "label": "dev", + "description": [], + "path": "packages/kbn-config/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.EnvironmentMode.prod", + "type": "boolean", + "tags": [], + "label": "prod", + "description": [], + "path": "packages/kbn-config/src/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.LegacyLoggingConfig", + "type": "Interface", + "tags": [], + "label": "LegacyLoggingConfig", + "description": [ + "\nRepresents logging config supported by the legacy platform." + ], + "path": "packages/kbn-config/src/legacy/legacy_object_to_config_adapter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.LegacyLoggingConfig.silent", + "type": "CompoundType", + "tags": [], + "label": "silent", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-config/src/legacy/legacy_object_to_config_adapter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.LegacyLoggingConfig.verbose", + "type": "CompoundType", + "tags": [], + "label": "verbose", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-config/src/legacy/legacy_object_to_config_adapter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.LegacyLoggingConfig.quiet", + "type": "CompoundType", + "tags": [], + "label": "quiet", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-config/src/legacy/legacy_object_to_config_adapter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.LegacyLoggingConfig.dest", + "type": "string", + "tags": [], + "label": "dest", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-config/src/legacy/legacy_object_to_config_adapter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.LegacyLoggingConfig.json", + "type": "CompoundType", + "tags": [], + "label": "json", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-config/src/legacy/legacy_object_to_config_adapter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.LegacyLoggingConfig.events", + "type": "Object", + "tags": [], + "label": "events", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "packages/kbn-config/src/legacy/legacy_object_to_config_adapter.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.PackageInfo", + "type": "Interface", + "tags": [], + "label": "PackageInfo", + "description": [], + "path": "packages/kbn-config/src/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.PackageInfo.version", + "type": "string", + "tags": [], + "label": "version", + "description": [], + "path": "packages/kbn-config/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.PackageInfo.branch", + "type": "string", + "tags": [], + "label": "branch", + "description": [], + "path": "packages/kbn-config/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.PackageInfo.buildNum", + "type": "number", + "tags": [], + "label": "buildNum", + "description": [], + "path": "packages/kbn-config/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.PackageInfo.buildSha", + "type": "string", + "tags": [], + "label": "buildSha", + "description": [], + "path": "packages/kbn-config/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.PackageInfo.dist", + "type": "boolean", + "tags": [], + "label": "dist", + "description": [], + "path": "packages/kbn-config/src/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.AddConfigDeprecation", + "type": "Type", + "tags": [], + "label": "AddConfigDeprecation", + "description": [ + "\nConfig deprecation hook used when invoking a {@link ConfigDeprecation}\n" + ], + "signature": [ + "(details: ", + "DeprecatedConfigDetails", + ") => void" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.AddConfigDeprecation.$1", + "type": "Object", + "tags": [], + "label": "details", + "description": [], + "signature": [ + "DeprecatedConfigDetails" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecation", + "type": "Type", + "tags": [], + "label": "ConfigDeprecation", + "description": [ + "\nConfiguration deprecation returned from {@link ConfigDeprecationProvider} that handles a single deprecation from the configuration.\n" + ], + "signature": [ + "(config: Readonly<{ [x: string]: any; }>, fromPath: string, addDeprecation: ", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.AddConfigDeprecation", + "text": "AddConfigDeprecation" + }, + ", context: ", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationContext", + "text": "ConfigDeprecationContext" + }, + ") => void | ", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationCommand", + "text": "ConfigDeprecationCommand" + } + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecation.$1", + "type": "Object", + "tags": [], + "label": "config", + "description": [ + "must not be mutated, return {@link ConfigDeprecationCommand} to change config shape." + ], + "signature": [ + "{ readonly [x: string]: any; }" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecation.$2", + "type": "string", + "tags": [], + "label": "fromPath", + "description": [], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecation.$3", + "type": "Function", + "tags": [], + "label": "addDeprecation", + "description": [], + "signature": [ + "(details: ", + "DeprecatedConfigDetails", + ") => void" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecation.$3.$1", + "type": "Object", + "tags": [], + "label": "details", + "description": [], + "signature": [ + "DeprecatedConfigDetails" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecation.$4", + "type": "Object", + "tags": [], + "label": "context", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationContext", + "text": "ConfigDeprecationContext" + } + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationProvider", + "type": "Type", + "tags": [], + "label": "ConfigDeprecationProvider", + "description": [ + "\nA provider that should returns a list of {@link ConfigDeprecation}.\n\nSee {@link ConfigDeprecationFactory} for more usage examples.\n" + ], + "signature": [ + "(factory: ", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationFactory", + "text": "ConfigDeprecationFactory" + }, + ") => ", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecation", + "text": "ConfigDeprecation" + }, + "[]" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationProvider.$1", + "type": "Object", + "tags": [], + "label": "factory", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationFactory", + "text": "ConfigDeprecationFactory" + } + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigPath", + "type": "Type", + "tags": [], + "label": "ConfigPath", + "description": [], + "signature": [ + "string | string[]" + ], + "path": "packages/kbn-config/src/config.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.RawConfigAdapter", + "type": "Type", + "tags": [], + "label": "RawConfigAdapter", + "description": [], + "signature": [ + "(rawConfig: Record) => Record" + ], + "path": "packages/kbn-config/src/raw/raw_config_service.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.RawConfigAdapter.$1", + "type": "Object", + "tags": [], + "label": "rawConfig", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "packages/kbn-config/src/raw/raw_config_service.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.RawConfigurationProvider", + "type": "Type", + "tags": [], + "label": "RawConfigurationProvider", + "description": [], + "signature": [ + "{ getConfig$: () => ", + "Observable", + ">; }" + ], + "path": "packages/kbn-config/src/raw/raw_config_service.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_config.mdx b/api_docs/kbn_config.mdx new file mode 100644 index 0000000000000..bdd7a3d20fd51 --- /dev/null +++ b/api_docs/kbn_config.mdx @@ -0,0 +1,36 @@ +--- +id: kibKbnConfigPluginApi +slug: /kibana-dev-docs/api/kbn-config +title: "@kbn/config" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/config plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnConfigObj from './kbn_config.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 73 | 0 | 52 | 1 | + +## Server + +### Functions + + +### Classes + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_config_schema.json b/api_docs/kbn_config_schema.json new file mode 100644 index 0000000000000..1860c719840b6 --- /dev/null +++ b/api_docs/kbn_config_schema.json @@ -0,0 +1,3495 @@ +{ + "id": "@kbn/config-schema", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ByteSizeValue", + "type": "Class", + "tags": [], + "label": "ByteSizeValue", + "description": [], + "path": "packages/kbn-config-schema/src/byte_size_value/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ByteSizeValue.parse", + "type": "Function", + "tags": [], + "label": "parse", + "description": [], + "signature": [ + "(text: string) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + } + ], + "path": "packages/kbn-config-schema/src/byte_size_value/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ByteSizeValue.parse.$1", + "type": "string", + "tags": [], + "label": "text", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config-schema/src/byte_size_value/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ByteSizeValue.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-config-schema/src/byte_size_value/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ByteSizeValue.Unnamed.$1", + "type": "number", + "tags": [], + "label": "valueInBytes", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-config-schema/src/byte_size_value/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ByteSizeValue.isGreaterThan", + "type": "Function", + "tags": [], + "label": "isGreaterThan", + "description": [], + "signature": [ + "(other: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, + ") => boolean" + ], + "path": "packages/kbn-config-schema/src/byte_size_value/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ByteSizeValue.isGreaterThan.$1", + "type": "Object", + "tags": [], + "label": "other", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + } + ], + "path": "packages/kbn-config-schema/src/byte_size_value/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ByteSizeValue.isLessThan", + "type": "Function", + "tags": [], + "label": "isLessThan", + "description": [], + "signature": [ + "(other: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, + ") => boolean" + ], + "path": "packages/kbn-config-schema/src/byte_size_value/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ByteSizeValue.isLessThan.$1", + "type": "Object", + "tags": [], + "label": "other", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + } + ], + "path": "packages/kbn-config-schema/src/byte_size_value/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ByteSizeValue.isEqualTo", + "type": "Function", + "tags": [], + "label": "isEqualTo", + "description": [], + "signature": [ + "(other: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, + ") => boolean" + ], + "path": "packages/kbn-config-schema/src/byte_size_value/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ByteSizeValue.isEqualTo.$1", + "type": "Object", + "tags": [], + "label": "other", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + } + ], + "path": "packages/kbn-config-schema/src/byte_size_value/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ByteSizeValue.getValueInBytes", + "type": "Function", + "tags": [], + "label": "getValueInBytes", + "description": [], + "signature": [ + "() => number" + ], + "path": "packages/kbn-config-schema/src/byte_size_value/index.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ByteSizeValue.toString", + "type": "Function", + "tags": [], + "label": "toString", + "description": [], + "signature": [ + "(returnUnit?: \"b\" | \"kb\" | \"mb\" | \"gb\" | undefined) => string" + ], + "path": "packages/kbn-config-schema/src/byte_size_value/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ByteSizeValue.toString.$1", + "type": "CompoundType", + "tags": [], + "label": "returnUnit", + "description": [], + "signature": [ + "\"b\" | \"kb\" | \"mb\" | \"gb\" | undefined" + ], + "path": "packages/kbn-config-schema/src/byte_size_value/index.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ObjectType", + "type": "Class", + "tags": [], + "label": "ObjectType", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, + "

extends ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + " ? Key : never; }[keyof P]>]?: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.TypeOf", + "text": "TypeOf" + }, + " | undefined; } & { [K in keyof Pick ? never : Key; }[keyof P]>]: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.TypeOf", + "text": "TypeOf" + }, + "; }>>" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ObjectType.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ObjectType.Unnamed.$1", + "type": "Uncategorized", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "P" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ObjectType.Unnamed.$2", + "type": "CompoundType", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "ObjectTypeOptions", + "

" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ObjectType.extends", + "type": "Function", + "tags": [], + "label": "extends", + "description": [ + "\nReturn a new `ObjectType` instance extended with given `newProps` properties.\nOriginal properties can be deleted from the copy by passing a `null` or `undefined` value for the key.\n" + ], + "signature": [ + " | null | undefined>>(newProps: NP, newOptions?: ", + "ObjectTypeOptions", + "> | undefined) => ExtendedObjectType" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ObjectType.extends.$1", + "type": "Uncategorized", + "tags": [], + "label": "newProps", + "description": [], + "signature": [ + "NP" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ObjectType.extends.$2", + "type": "CompoundType", + "tags": [], + "label": "newOptions", + "description": [], + "signature": [ + "ObjectTypeOptions", + "> | undefined" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ObjectType.handleError", + "type": "Function", + "tags": [], + "label": "handleError", + "description": [], + "signature": [ + "(type: string, { reason, value }: Record) => any" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ObjectType.handleError.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ObjectType.handleError.$2", + "type": "Object", + "tags": [], + "label": "{ reason, value }", + "description": [], + "signature": [ + "Record" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ObjectType.validateKey", + "type": "Function", + "tags": [], + "label": "validateKey", + "description": [], + "signature": [ + "(key: string, value: any) => any" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ObjectType.validateKey.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ObjectType.validateKey.$2", + "type": "Any", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.SchemaTypeError", + "type": "Class", + "tags": [], + "label": "SchemaTypeError", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.SchemaTypeError", + "text": "SchemaTypeError" + }, + " extends ", + "SchemaError" + ], + "path": "packages/kbn-config-schema/src/errors/schema_type_error.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.SchemaTypeError.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-config-schema/src/errors/schema_type_error.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.SchemaTypeError.Unnamed.$1", + "type": "CompoundType", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "string | Error" + ], + "path": "packages/kbn-config-schema/src/errors/schema_type_error.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.SchemaTypeError.Unnamed.$2", + "type": "Array", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-config-schema/src/errors/schema_type_error.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type", + "type": "Class", + "tags": [], + "label": "Type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type.type", + "type": "Uncategorized", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "V" + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type.__isKbnConfigSchemaType", + "type": "boolean", + "tags": [], + "label": "__isKbnConfigSchemaType", + "description": [], + "signature": [ + "true" + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type.internalSchema", + "type": "Object", + "tags": [ + "type" + ], + "label": "internalSchema", + "description": [ + "\nInternal \"schema\" backed by Joi." + ], + "signature": [ + "AnySchema" + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "schema", + "description": [], + "signature": [ + "AnySchema" + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type.Unnamed.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "TypeOptions", + "" + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type.validate", + "type": "Function", + "tags": [], + "label": "validate", + "description": [], + "signature": [ + "(value: any, context?: Record, namespace?: string | undefined) => V" + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type.validate.$1", + "type": "Any", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type.validate.$2", + "type": "Object", + "tags": [], + "label": "context", + "description": [], + "signature": [ + "Record" + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type.validate.$3", + "type": "string", + "tags": [], + "label": "namespace", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type.handleError", + "type": "Function", + "tags": [], + "label": "handleError", + "description": [], + "signature": [ + "(type: string, context: Record, path: string[]) => string | void | ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.SchemaTypeError", + "text": "SchemaTypeError" + } + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type.handleError.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type.handleError.$2", + "type": "Object", + "tags": [], + "label": "context", + "description": [], + "signature": [ + "Record" + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type.handleError.$3", + "type": "Array", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ValidationError", + "type": "Class", + "tags": [], + "label": "ValidationError", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ValidationError", + "text": "ValidationError" + }, + " extends ", + "SchemaError" + ], + "path": "packages/kbn-config-schema/src/errors/validation_error.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ValidationError.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-config-schema/src/errors/validation_error.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ValidationError.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "error", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.SchemaTypeError", + "text": "SchemaTypeError" + } + ], + "path": "packages/kbn-config-schema/src/errors/validation_error.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ValidationError.Unnamed.$2", + "type": "string", + "tags": [], + "label": "namespace", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-config-schema/src/errors/validation_error.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.isConfigSchema", + "type": "Function", + "tags": [], + "label": "isConfigSchema", + "description": [], + "signature": [ + "(obj: any) => boolean" + ], + "path": "packages/kbn-config-schema/src/typeguards/is_config_schema.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.isConfigSchema.$1", + "type": "Any", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-config-schema/src/typeguards/is_config_schema.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.NullableProps", + "type": "Type", + "tags": [], + "label": "NullableProps", + "description": [], + "signature": [ + "{ [x: string]: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + " | null | undefined; }" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Props", + "type": "Type", + "tags": [], + "label": "Props", + "description": [], + "signature": [ + "{ [x: string]: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; }" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Schema", + "type": "Type", + "tags": [], + "label": "Schema", + "description": [], + "signature": [ + "{ any: (options?: ", + "TypeOptions", + " | undefined) => ", + "AnyType", + "; arrayOf: (itemType: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", options?: ", + "ArrayOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; boolean: (options?: ", + "TypeOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; buffer: (options?: ", + "TypeOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; byteSize: (options?: ", + "ByteSizeOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "<", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, + ">; conditional: (leftOperand: ", + "Reference", + ", rightOperand: A | ", + "Reference", + " | ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", equalType: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", notEqualType: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", options?: ", + "TypeOptions", + " | undefined) => ", + "ConditionalType", + "; contextRef: (key: string) => ", + "ContextReference", + "; duration: (options?: ", + "DurationOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; ip: (options?: ", + "IpOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; literal: (value: T) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; mapOf: (keyType: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", valueType: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", options?: ", + "MapOfOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ">; maybe: (type: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ") => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; nullable: (type: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ") => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; never: () => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; number: (options?: ", + "NumberOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; object:

>>(props: P, options?: ", + "ObjectTypeOptions", + "

| undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, + "

; oneOf: { (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; }; recordOf: (keyType: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", valueType: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", options?: ", + "RecordOfOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ">; stream: (options?: ", + "TypeOptions", + "<", + "Stream", + "> | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "<", + "Stream", + ">; siblingRef: (key: string) => ", + "SiblingReference", + "; string: (options?: ", + "StringOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; uri: (options?: ", + "URIOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; }" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.TypeOf", + "type": "Type", + "tags": [], + "label": "TypeOf", + "description": [], + "signature": [ + "RT[\"type\"]" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema", + "type": "Object", + "tags": [], + "label": "schema", + "description": [], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.any", + "type": "Function", + "tags": [], + "label": "any", + "description": [], + "signature": [ + "(options?: ", + "TypeOptions", + " | undefined) => ", + "AnyType" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.any.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "TypeOptions", + " | undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.arrayOf", + "type": "Function", + "tags": [], + "label": "arrayOf", + "description": [], + "signature": [ + "(itemType: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", options?: ", + "ArrayOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.arrayOf.$1", + "type": "Object", + "tags": [], + "label": "itemType", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.arrayOf.$2", + "type": "CompoundType", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "ArrayOptions", + " | undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.boolean", + "type": "Function", + "tags": [], + "label": "boolean", + "description": [], + "signature": [ + "(options?: ", + "TypeOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.boolean.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "TypeOptions", + " | undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.buffer", + "type": "Function", + "tags": [], + "label": "buffer", + "description": [], + "signature": [ + "(options?: ", + "TypeOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.buffer.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "TypeOptions", + " | undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.byteSize", + "type": "Function", + "tags": [], + "label": "byteSize", + "description": [], + "signature": [ + "(options?: ", + "ByteSizeOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "<", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, + ">" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.byteSize.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "ByteSizeOptions", + " | undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.conditional", + "type": "Function", + "tags": [], + "label": "conditional", + "description": [], + "signature": [ + "(leftOperand: ", + "Reference", + ", rightOperand: A | ", + "Reference", + " | ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", equalType: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", notEqualType: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", options?: ", + "TypeOptions", + " | undefined) => ", + "ConditionalType", + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.conditional.$1", + "type": "Object", + "tags": [], + "label": "leftOperand", + "description": [], + "signature": [ + "Reference", + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.conditional.$2", + "type": "CompoundType", + "tags": [], + "label": "rightOperand", + "description": [], + "signature": [ + "A | ", + "Reference", + " | ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.conditional.$3", + "type": "Object", + "tags": [], + "label": "equalType", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.conditional.$4", + "type": "Object", + "tags": [], + "label": "notEqualType", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.conditional.$5", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "TypeOptions", + " | undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.contextRef", + "type": "Function", + "tags": [], + "label": "contextRef", + "description": [], + "signature": [ + "(key: string) => ", + "ContextReference", + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.contextRef.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.duration", + "type": "Function", + "tags": [], + "label": "duration", + "description": [], + "signature": [ + "(options?: ", + "DurationOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.duration.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "DurationOptions", + " | undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.ip", + "type": "Function", + "tags": [], + "label": "ip", + "description": [], + "signature": [ + "(options?: ", + "IpOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.ip.$1", + "type": "CompoundType", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "IpOptions", + " | undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.literal", + "type": "Function", + "tags": [], + "label": "literal", + "description": [], + "signature": [ + "(value: T) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.literal.$1", + "type": "Uncategorized", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.mapOf", + "type": "Function", + "tags": [], + "label": "mapOf", + "description": [], + "signature": [ + "(keyType: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", valueType: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", options?: ", + "MapOfOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ">" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.mapOf.$1", + "type": "Object", + "tags": [], + "label": "keyType", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.mapOf.$2", + "type": "Object", + "tags": [], + "label": "valueType", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.mapOf.$3", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "MapOfOptions", + " | undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.maybe", + "type": "Function", + "tags": [], + "label": "maybe", + "description": [], + "signature": [ + "(type: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ") => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.maybe.$1", + "type": "Object", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.nullable", + "type": "Function", + "tags": [], + "label": "nullable", + "description": [], + "signature": [ + "(type: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ") => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.nullable.$1", + "type": "Object", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.never", + "type": "Function", + "tags": [], + "label": "never", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.number", + "type": "Function", + "tags": [], + "label": "number", + "description": [], + "signature": [ + "(options?: ", + "NumberOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.number.$1", + "type": "CompoundType", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "NumberOptions", + " | undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.object", + "type": "Function", + "tags": [], + "label": "object", + "description": [], + "signature": [ + "

>>(props: P, options?: ", + "ObjectTypeOptions", + "

| undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, + "

" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.object.$1", + "type": "Uncategorized", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "P" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.object.$2", + "type": "CompoundType", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "ObjectTypeOptions", + "

| undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.oneOf", + "type": "Function", + "tags": [], + "label": "oneOf", + "description": [], + "signature": [ + "{ (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; }" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.recordOf", + "type": "Function", + "tags": [], + "label": "recordOf", + "description": [], + "signature": [ + "(keyType: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", valueType: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", options?: ", + "RecordOfOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ">" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.recordOf.$1", + "type": "Object", + "tags": [], + "label": "keyType", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.recordOf.$2", + "type": "Object", + "tags": [], + "label": "valueType", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.recordOf.$3", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "RecordOfOptions", + " | undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.stream", + "type": "Function", + "tags": [], + "label": "stream", + "description": [], + "signature": [ + "(options?: ", + "TypeOptions", + "<", + "Stream", + "> | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "<", + "Stream", + ">" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.stream.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "TypeOptions", + "<", + "Stream", + "> | undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.siblingRef", + "type": "Function", + "tags": [], + "label": "siblingRef", + "description": [], + "signature": [ + "(key: string) => ", + "SiblingReference", + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.siblingRef.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.string", + "type": "Function", + "tags": [], + "label": "string", + "description": [], + "signature": [ + "(options?: ", + "StringOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.string.$1", + "type": "CompoundType", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "StringOptions", + " | undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.uri", + "type": "Function", + "tags": [], + "label": "uri", + "description": [], + "signature": [ + "(options?: ", + "URIOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.uri.$1", + "type": "CompoundType", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "URIOptions", + " | undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + } + ], + "initialIsOpen": false + } + ] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_config_schema.mdx b/api_docs/kbn_config_schema.mdx new file mode 100644 index 0000000000000..41b143e7f2601 --- /dev/null +++ b/api_docs/kbn_config_schema.mdx @@ -0,0 +1,36 @@ +--- +id: kibKbnConfigSchemaPluginApi +slug: /kibana-dev-docs/api/kbn-config-schema +title: "@kbn/config-schema" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/config-schema plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config-schema'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnConfigSchemaObj from './kbn_config_schema.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 109 | 3 | 107 | 18 | + +## Server + +### Objects + + +### Functions + + +### Classes + + +### Consts, variables and types + + diff --git a/api_docs/kbn_crypto.json b/api_docs/kbn_crypto.json new file mode 100644 index 0000000000000..06ba197514855 --- /dev/null +++ b/api_docs/kbn_crypto.json @@ -0,0 +1,243 @@ +{ + "id": "@kbn/crypto", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/crypto", + "id": "def-server.createSHA256Hash", + "type": "Function", + "tags": [], + "label": "createSHA256Hash", + "description": [], + "signature": [ + "(input: string | Buffer, outputEncoding?: ", + "BinaryToTextEncoding", + ") => string" + ], + "path": "packages/kbn-crypto/src/sha256.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/crypto", + "id": "def-server.createSHA256Hash.$1", + "type": "CompoundType", + "tags": [], + "label": "input", + "description": [], + "signature": [ + "string | Buffer" + ], + "path": "packages/kbn-crypto/src/sha256.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/crypto", + "id": "def-server.createSHA256Hash.$2", + "type": "CompoundType", + "tags": [], + "label": "outputEncoding", + "description": [], + "signature": [ + "BinaryToTextEncoding" + ], + "path": "packages/kbn-crypto/src/sha256.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/crypto", + "id": "def-server.readPkcs12Keystore", + "type": "Function", + "tags": [ + "privateRemarks" + ], + "label": "readPkcs12Keystore", + "description": [ + "\nReads a private key and certificate chain from a PKCS12 key store.\n" + ], + "signature": [ + "(path: string, password?: string | undefined) => ", + { + "pluginId": "@kbn/crypto", + "scope": "server", + "docId": "kibKbnCryptoPluginApi", + "section": "def-server.Pkcs12ReadResult", + "text": "Pkcs12ReadResult" + } + ], + "path": "packages/kbn-crypto/src/pkcs12.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/crypto", + "id": "def-server.readPkcs12Keystore.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [ + "The file path of the PKCS12 key store" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-crypto/src/pkcs12.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/crypto", + "id": "def-server.readPkcs12Keystore.$2", + "type": "string", + "tags": [], + "label": "password", + "description": [ + "The optional password of the key store and private key;\nif there is no password, this may be an empty string or `undefined`,\ndepending on how the key store was generated." + ], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-crypto/src/pkcs12.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "the parsed private key and certificate(s) in PEM format" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/crypto", + "id": "def-server.readPkcs12Truststore", + "type": "Function", + "tags": [], + "label": "readPkcs12Truststore", + "description": [ + "\nReads a certificate chain from a PKCS12 trust store.\n" + ], + "signature": [ + "(path: string, password?: string | undefined) => string[] | undefined" + ], + "path": "packages/kbn-crypto/src/pkcs12.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/crypto", + "id": "def-server.readPkcs12Truststore.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [ + "The file path of the PKCS12 trust store" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-crypto/src/pkcs12.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/crypto", + "id": "def-server.readPkcs12Truststore.$2", + "type": "string", + "tags": [], + "label": "password", + "description": [ + "The optional password of the trust store; if there is\nno password, this may be an empty string or `undefined`, depending on\nhow the trust store was generated." + ], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-crypto/src/pkcs12.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "the parsed certificate(s) in PEM format" + ], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/crypto", + "id": "def-server.Pkcs12ReadResult", + "type": "Interface", + "tags": [], + "label": "Pkcs12ReadResult", + "description": [], + "path": "packages/kbn-crypto/src/pkcs12.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/crypto", + "id": "def-server.Pkcs12ReadResult.ca", + "type": "Array", + "tags": [], + "label": "ca", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "packages/kbn-crypto/src/pkcs12.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/crypto", + "id": "def-server.Pkcs12ReadResult.cert", + "type": "string", + "tags": [], + "label": "cert", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-crypto/src/pkcs12.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/crypto", + "id": "def-server.Pkcs12ReadResult.key", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-crypto/src/pkcs12.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_crypto.mdx b/api_docs/kbn_crypto.mdx new file mode 100644 index 0000000000000..287eac10434df --- /dev/null +++ b/api_docs/kbn_crypto.mdx @@ -0,0 +1,30 @@ +--- +id: kibKbnCryptoPluginApi +slug: /kibana-dev-docs/api/kbn-crypto +title: "@kbn/crypto" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/crypto plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnCryptoObj from './kbn_crypto.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 13 | 0 | 7 | 0 | + +## Server + +### Functions + + +### Interfaces + + diff --git a/api_docs/kbn_dev_utils.json b/api_docs/kbn_dev_utils.json new file mode 100644 index 0000000000000..04ce7aebc51e6 --- /dev/null +++ b/api_docs/kbn_dev_utils.json @@ -0,0 +1,4264 @@ +{ + "id": "@kbn/dev-utils", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsReporter", + "type": "Class", + "tags": [], + "label": "CiStatsReporter", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsReporter.fromEnv", + "type": "Function", + "tags": [], + "label": "fromEnv", + "description": [], + "signature": [ + "(log: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, + ") => ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.CiStatsReporter", + "text": "CiStatsReporter" + } + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsReporter.fromEnv.$1", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsReporter.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsReporter.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + "Config", + " | undefined" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsReporter.Unnamed.$2", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsReporter.isEnabled", + "type": "Function", + "tags": [], + "label": "isEnabled", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsReporter.hasBuildConfig", + "type": "Function", + "tags": [], + "label": "hasBuildConfig", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsReporter.timings", + "type": "Function", + "tags": [], + "label": "timings", + "description": [ + "\nReport timings data to the ci-stats service. If running in CI then the reporter\nwill include the buildId in the report with the access token, otherwise the timings\ndata will be recorded as anonymous timing data." + ], + "signature": [ + "(options: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.TimingsOptions", + "text": "TimingsOptions" + }, + ") => Promise" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsReporter.timings.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.TimingsOptions", + "text": "TimingsOptions" + } + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsReporter.metrics", + "type": "Function", + "tags": [], + "label": "metrics", + "description": [ + "\nReport metrics data to the ci-stats service. If running outside of CI this method\ndoes nothing as metrics can only be reported when associated with a specific CI build." + ], + "signature": [ + "(metrics: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.CiStatsMetric", + "text": "CiStatsMetric" + }, + "[]) => Promise" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsReporter.metrics.$1", + "type": "Array", + "tags": [], + "label": "metrics", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.CiStatsMetric", + "text": "CiStatsMetric" + }, + "[]" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ProcRunner", + "type": "Class", + "tags": [ + "class" + ], + "label": "ProcRunner", + "description": [ + "\n Helper for starting and managing processes. In many ways it resembles the\n API from `grunt_run`, processes are named and can be started, waited for,\n backgrounded once they log something matching a RegExp...\n" + ], + "path": "packages/kbn-dev-utils/src/proc_runner/proc_runner.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ProcRunner.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-dev-utils/src/proc_runner/proc_runner.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ProcRunner.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-dev-utils/src/proc_runner/proc_runner.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ProcRunner.run", + "type": "Function", + "tags": [ + "property", + "property", + "property", + "property", + "return" + ], + "label": "run", + "description": [ + "\n Start a process, tracking it by `name`" + ], + "signature": [ + "(name: string, options: RunOptions) => Promise" + ], + "path": "packages/kbn-dev-utils/src/proc_runner/proc_runner.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ProcRunner.run.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-dev-utils/src/proc_runner/proc_runner.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ProcRunner.run.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "RunOptions" + ], + "path": "packages/kbn-dev-utils/src/proc_runner/proc_runner.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ProcRunner.stop", + "type": "Function", + "tags": [], + "label": "stop", + "description": [ + "\n Stop a named proc" + ], + "signature": [ + "(name: string, signal?: NodeJS.Signals) => Promise" + ], + "path": "packages/kbn-dev-utils/src/proc_runner/proc_runner.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ProcRunner.stop.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-dev-utils/src/proc_runner/proc_runner.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ProcRunner.stop.$2", + "type": "CompoundType", + "tags": [], + "label": "signal", + "description": [], + "signature": [ + "NodeJS.Signals" + ], + "path": "packages/kbn-dev-utils/src/proc_runner/proc_runner.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ProcRunner.waitForAllToStop", + "type": "Function", + "tags": [ + "return" + ], + "label": "waitForAllToStop", + "description": [ + "\n Wait for all running processes to stop naturally" + ], + "signature": [ + "() => Promise" + ], + "path": "packages/kbn-dev-utils/src/proc_runner/proc_runner.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ProcRunner.teardown", + "type": "Function", + "tags": [ + "return" + ], + "label": "teardown", + "description": [ + "\n Close the ProcRunner and stop all running\n processes with `signal`\n" + ], + "signature": [ + "(signal?: \"exit\" | \"SIGABRT\" | \"SIGALRM\" | \"SIGBUS\" | \"SIGCHLD\" | \"SIGCONT\" | \"SIGFPE\" | \"SIGHUP\" | \"SIGILL\" | \"SIGINT\" | \"SIGIO\" | \"SIGIOT\" | \"SIGKILL\" | \"SIGPIPE\" | \"SIGPOLL\" | \"SIGPROF\" | \"SIGPWR\" | \"SIGQUIT\" | \"SIGSEGV\" | \"SIGSTKFLT\" | \"SIGSTOP\" | \"SIGSYS\" | \"SIGTERM\" | \"SIGTRAP\" | \"SIGTSTP\" | \"SIGTTIN\" | \"SIGTTOU\" | \"SIGUNUSED\" | \"SIGURG\" | \"SIGUSR1\" | \"SIGUSR2\" | \"SIGVTALRM\" | \"SIGWINCH\" | \"SIGXCPU\" | \"SIGXFSZ\" | \"SIGBREAK\" | \"SIGLOST\" | \"SIGINFO\") => Promise" + ], + "path": "packages/kbn-dev-utils/src/proc_runner/proc_runner.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ProcRunner.teardown.$1", + "type": "CompoundType", + "tags": [], + "label": "signal", + "description": [], + "signature": [ + "\"exit\" | \"SIGABRT\" | \"SIGALRM\" | \"SIGBUS\" | \"SIGCHLD\" | \"SIGCONT\" | \"SIGFPE\" | \"SIGHUP\" | \"SIGILL\" | \"SIGINT\" | \"SIGIO\" | \"SIGIOT\" | \"SIGKILL\" | \"SIGPIPE\" | \"SIGPOLL\" | \"SIGPROF\" | \"SIGPWR\" | \"SIGQUIT\" | \"SIGSEGV\" | \"SIGSTKFLT\" | \"SIGSTOP\" | \"SIGSYS\" | \"SIGTERM\" | \"SIGTRAP\" | \"SIGTSTP\" | \"SIGTTIN\" | \"SIGTTOU\" | \"SIGUNUSED\" | \"SIGURG\" | \"SIGUSR1\" | \"SIGUSR2\" | \"SIGVTALRM\" | \"SIGWINCH\" | \"SIGXCPU\" | \"SIGXFSZ\" | \"SIGBREAK\" | \"SIGLOST\" | \"SIGINFO\"" + ], + "path": "packages/kbn-dev-utils/src/proc_runner/proc_runner.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunWithCommands", + "type": "Class", + "tags": [], + "label": "RunWithCommands", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunWithCommands", + "text": "RunWithCommands" + }, + "" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunWithCommands.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunWithCommands.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunWithCommandsOptions", + "text": "RunWithCommandsOptions" + }, + "" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunWithCommands.Unnamed.$2", + "type": "Array", + "tags": [], + "label": "commands", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.Command", + "text": "Command" + }, + "[]" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunWithCommands.command", + "type": "Function", + "tags": [], + "label": "command", + "description": [], + "signature": [ + "(options: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.Command", + "text": "Command" + }, + ") => ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunWithCommands", + "text": "RunWithCommands" + }, + "" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunWithCommands.command.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.Command", + "text": "Command" + }, + "" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunWithCommands.execute", + "type": "Function", + "tags": [], + "label": "execute", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog", + "type": "Class", + "tags": [], + "label": "ToolingLog", + "description": [], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "writerConfig", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLogTextWriterConfig", + "text": "ToolingLogTextWriterConfig" + }, + " | undefined" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.indent", + "type": "Function", + "tags": [], + "label": "indent", + "description": [], + "signature": [ + "(delta?: number) => number" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.indent.$1", + "type": "number", + "tags": [], + "label": "delta", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.verbose", + "type": "Function", + "tags": [], + "label": "verbose", + "description": [], + "signature": [ + "(...args: any[]) => void" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.verbose.$1", + "type": "Array", + "tags": [], + "label": "args", + "description": [], + "signature": [ + "any[]" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.debug", + "type": "Function", + "tags": [], + "label": "debug", + "description": [], + "signature": [ + "(...args: any[]) => void" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.debug.$1", + "type": "Array", + "tags": [], + "label": "args", + "description": [], + "signature": [ + "any[]" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.info", + "type": "Function", + "tags": [], + "label": "info", + "description": [], + "signature": [ + "(...args: any[]) => void" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.info.$1", + "type": "Array", + "tags": [], + "label": "args", + "description": [], + "signature": [ + "any[]" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.success", + "type": "Function", + "tags": [], + "label": "success", + "description": [], + "signature": [ + "(...args: any[]) => void" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.success.$1", + "type": "Array", + "tags": [], + "label": "args", + "description": [], + "signature": [ + "any[]" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.warning", + "type": "Function", + "tags": [], + "label": "warning", + "description": [], + "signature": [ + "(...args: any[]) => void" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.warning.$1", + "type": "Array", + "tags": [], + "label": "args", + "description": [], + "signature": [ + "any[]" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.error", + "type": "Function", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "(error: string | Error) => void" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.error.$1", + "type": "CompoundType", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "string | Error" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.write", + "type": "Function", + "tags": [], + "label": "write", + "description": [], + "signature": [ + "(...args: any[]) => void" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.write.$1", + "type": "Array", + "tags": [], + "label": "args", + "description": [], + "signature": [ + "any[]" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.getWriters", + "type": "Function", + "tags": [], + "label": "getWriters", + "description": [], + "signature": [ + "() => ", + "Writer", + "[]" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.setWriters", + "type": "Function", + "tags": [], + "label": "setWriters", + "description": [], + "signature": [ + "(writers: ", + "Writer", + "[]) => void" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.setWriters.$1", + "type": "Array", + "tags": [], + "label": "writers", + "description": [], + "signature": [ + "Writer", + "[]" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.getWritten$", + "type": "Function", + "tags": [], + "label": "getWritten$", + "description": [], + "signature": [ + "() => ", + "Observable", + "<", + "Message", + ">" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogCollectingWriter", + "type": "Class", + "tags": [], + "label": "ToolingLogCollectingWriter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLogCollectingWriter", + "text": "ToolingLogCollectingWriter" + }, + " extends ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLogTextWriter", + "text": "ToolingLogTextWriter" + } + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_collecting_writer.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogCollectingWriter.messages", + "type": "Array", + "tags": [], + "label": "messages", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_collecting_writer.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogCollectingWriter.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_collecting_writer.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogCollectingWriter.Unnamed.$1", + "type": "CompoundType", + "tags": [], + "label": "level", + "description": [], + "signature": [ + "\"warning\" | \"error\" | \"info\" | \"success\" | \"debug\" | \"silent\" | \"verbose\"" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_collecting_writer.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogTextWriter", + "type": "Class", + "tags": [], + "label": "ToolingLogTextWriter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLogTextWriter", + "text": "ToolingLogTextWriter" + }, + " implements ", + "Writer" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_text_writer.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogTextWriter.level", + "type": "Object", + "tags": [], + "label": "level", + "description": [], + "signature": [ + "{ name: \"warning\" | \"error\" | \"info\" | \"success\" | \"debug\" | \"silent\" | \"verbose\"; flags: { warning: boolean; error: boolean; info: boolean; success: boolean; debug: boolean; silent: boolean; verbose: boolean; }; }" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_text_writer.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogTextWriter.writeTo", + "type": "Object", + "tags": [], + "label": "writeTo", + "description": [], + "signature": [ + "{ write(msg: string): void; }" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_text_writer.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogTextWriter.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_text_writer.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogTextWriter.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLogTextWriterConfig", + "text": "ToolingLogTextWriterConfig" + } + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_text_writer.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogTextWriter.write", + "type": "Function", + "tags": [], + "label": "write", + "description": [], + "signature": [ + "(msg: ", + "Message", + ") => boolean" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_text_writer.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogTextWriter.write.$1", + "type": "Object", + "tags": [], + "label": "msg", + "description": [], + "signature": [ + "Message" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_text_writer.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogTextWriter.write", + "type": "Function", + "tags": [], + "label": "write", + "description": [], + "signature": [ + "(writeTo: { write(msg: string): void; }, prefix: string, msg: ", + "Message", + ") => void" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_text_writer.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogTextWriter.write.$1", + "type": "Object", + "tags": [], + "label": "writeTo", + "description": [], + "signature": [ + "{ write(msg: string): void; }" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_text_writer.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogTextWriter.write.$2", + "type": "string", + "tags": [], + "label": "prefix", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_text_writer.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogTextWriter.write.$3", + "type": "Object", + "tags": [], + "label": "msg", + "description": [], + "signature": [ + "Message" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_text_writer.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.combineErrors", + "type": "Function", + "tags": [], + "label": "combineErrors", + "description": [], + "signature": [ + "(errors: (Error | FailError)[]) => Error" + ], + "path": "packages/kbn-dev-utils/src/run/fail.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.combineErrors.$1", + "type": "Array", + "tags": [], + "label": "errors", + "description": [], + "signature": [ + "(Error | FailError)[]" + ], + "path": "packages/kbn-dev-utils/src/run/fail.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.concatStreamProviders", + "type": "Function", + "tags": [ + "return" + ], + "label": "concatStreamProviders", + "description": [ + "\n Write the data and errors from a list of stream providers\n to a single stream in order. Stream providers are only\n called right before they will be consumed, and only one\n provider will be active at a time.\n" + ], + "signature": [ + "(sourceProviders: (() => ", + "Readable", + ")[], options: ", + "TransformOptions", + " | undefined) => ", + "PassThrough" + ], + "path": "node_modules/@kbn/utils/target_types/streams/concat_stream_providers.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.concatStreamProviders.$1", + "type": "Array", + "tags": [], + "label": "sourceProviders", + "description": [], + "signature": [ + "(() => ", + "Readable", + ")[]" + ], + "path": "node_modules/@kbn/utils/target_types/streams/concat_stream_providers.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.concatStreamProviders.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [ + "options passed to the PassThrough constructor" + ], + "signature": [ + "TransformOptions", + " | undefined" + ], + "path": "node_modules/@kbn/utils/target_types/streams/concat_stream_providers.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "combined stream" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createAbsolutePathSerializer", + "type": "Function", + "tags": [], + "label": "createAbsolutePathSerializer", + "description": [], + "signature": [ + "(rootPath: string, replacement: string) => { test: (value: any) => boolean; serialize: (value: string) => string; }" + ], + "path": "packages/kbn-dev-utils/src/serializers/absolute_path_serializer.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createAbsolutePathSerializer.$1", + "type": "string", + "tags": [], + "label": "rootPath", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-dev-utils/src/serializers/absolute_path_serializer.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createAbsolutePathSerializer.$2", + "type": "string", + "tags": [], + "label": "replacement", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-dev-utils/src/serializers/absolute_path_serializer.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createAnyInstanceSerializer", + "type": "Function", + "tags": [], + "label": "createAnyInstanceSerializer", + "description": [], + "signature": [ + "(Class: Function, name: string | ((instance: any) => string) | undefined) => { test: (v: any) => boolean; serialize: (v: any) => string; }" + ], + "path": "packages/kbn-dev-utils/src/serializers/any_instance_serizlizer.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createAnyInstanceSerializer.$1", + "type": "Object", + "tags": [], + "label": "Class", + "description": [], + "signature": [ + "Function" + ], + "path": "packages/kbn-dev-utils/src/serializers/any_instance_serizlizer.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createAnyInstanceSerializer.$2", + "type": "CompoundType", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string | ((instance: any) => string) | undefined" + ], + "path": "packages/kbn-dev-utils/src/serializers/any_instance_serizlizer.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createConcatStream", + "type": "Function", + "tags": [ + "return" + ], + "label": "createConcatStream", + "description": [ + "\n Creates a Transform stream that consumes all provided\n values and concatenates them using each values `concat`\n method.\n\n Concatenate strings:\n createListStream(['f', 'o', 'o'])\n .pipe(createConcatStream())\n .on('data', console.log)\n // logs \"foo\"\n\n Concatenate values into an array:\n createListStream([1,2,3])\n .pipe(createConcatStream([]))\n .on('data', console.log)\n // logs \"[1,2,3]\"\n\n" + ], + "signature": [ + "(initial: T | undefined) => ", + "Transform" + ], + "path": "node_modules/@kbn/utils/target_types/streams/concat_stream.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createConcatStream.$1", + "type": "Uncategorized", + "tags": [], + "label": "initial", + "description": [ + "The initial value that subsequent\nitems will concat with" + ], + "signature": [ + "T | undefined" + ], + "path": "node_modules/@kbn/utils/target_types/streams/concat_stream.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createFailError", + "type": "Function", + "tags": [], + "label": "createFailError", + "description": [], + "signature": [ + "(reason: string, options: FailErrorOptions) => FailError" + ], + "path": "packages/kbn-dev-utils/src/run/fail.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createFailError.$1", + "type": "string", + "tags": [], + "label": "reason", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-dev-utils/src/run/fail.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createFailError.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "FailErrorOptions" + ], + "path": "packages/kbn-dev-utils/src/run/fail.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createFilterStream", + "type": "Function", + "tags": [], + "label": "createFilterStream", + "description": [], + "signature": [ + "(fn: (obj: T) => boolean) => ", + "Transform" + ], + "path": "node_modules/@kbn/utils/target_types/streams/filter_stream.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createFilterStream.$1", + "type": "Function", + "tags": [], + "label": "fn", + "description": [], + "signature": [ + "(obj: T) => boolean" + ], + "path": "node_modules/@kbn/utils/target_types/streams/filter_stream.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createFlagError", + "type": "Function", + "tags": [], + "label": "createFlagError", + "description": [], + "signature": [ + "(reason: string) => FailError" + ], + "path": "packages/kbn-dev-utils/src/run/fail.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createFlagError.$1", + "type": "string", + "tags": [], + "label": "reason", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-dev-utils/src/run/fail.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createIntersperseStream", + "type": "Function", + "tags": [ + "return" + ], + "label": "createIntersperseStream", + "description": [ + "\n Create a Transform stream that receives values in object mode,\n and intersperses a chunk between each object received.\n\n This is useful for writing lists:\n\n createListStream(['foo', 'bar'])\n .pipe(createIntersperseStream('\\n'))\n .pipe(process.stdout) // outputs \"foo\\nbar\"\n\n Combine with a concat stream to get \"join\" like functionality:\n\n await createPromiseFromStreams([\n createListStream(['foo', 'bar']),\n createIntersperseStream(' '),\n createConcatStream()\n ]) // produces a single value \"foo bar\"\n" + ], + "signature": [ + "(intersperseChunk: string | Buffer) => ", + "Transform" + ], + "path": "node_modules/@kbn/utils/target_types/streams/intersperse_stream.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createIntersperseStream.$1", + "type": "CompoundType", + "tags": [], + "label": "intersperseChunk", + "description": [], + "signature": [ + "string | Buffer" + ], + "path": "node_modules/@kbn/utils/target_types/streams/intersperse_stream.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createListStream", + "type": "Function", + "tags": [ + "return" + ], + "label": "createListStream", + "description": [ + "\n Create a Readable stream that provides the items\n from a list as objects to subscribers\n" + ], + "signature": [ + "(items: T | T[] | undefined) => ", + "Readable" + ], + "path": "node_modules/@kbn/utils/target_types/streams/list_stream.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createListStream.$1", + "type": "CompoundType", + "tags": [], + "label": "items", + "description": [ + "- the list of items to provide" + ], + "signature": [ + "T | T[] | undefined" + ], + "path": "node_modules/@kbn/utils/target_types/streams/list_stream.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createMapStream", + "type": "Function", + "tags": [], + "label": "createMapStream", + "description": [], + "signature": [ + "(fn: (value: T, i: number) => void) => ", + "Transform" + ], + "path": "node_modules/@kbn/utils/target_types/streams/map_stream.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createMapStream.$1", + "type": "Function", + "tags": [], + "label": "fn", + "description": [], + "signature": [ + "(value: T, i: number) => void" + ], + "path": "node_modules/@kbn/utils/target_types/streams/map_stream.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createPromiseFromStreams", + "type": "Function", + "tags": [], + "label": "createPromiseFromStreams", + "description": [], + "signature": [ + "(streams: [", + "Readable", + ", ...", + "Writable", + "[]]) => Promise" + ], + "path": "node_modules/@kbn/utils/target_types/streams/promise_from_streams.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createPromiseFromStreams.$1", + "type": "Object", + "tags": [], + "label": "streams", + "description": [], + "signature": [ + "[", + "Readable", + ", ...", + "Writable", + "[]]" + ], + "path": "node_modules/@kbn/utils/target_types/streams/promise_from_streams.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createRecursiveSerializer", + "type": "Function", + "tags": [], + "label": "createRecursiveSerializer", + "description": [], + "signature": [ + "(test: (v: any) => boolean, print: (v: any) => string) => { test: (v: any) => boolean; serialize: (v: any, ...rest: any[]) => any; }" + ], + "path": "packages/kbn-dev-utils/src/serializers/recursive_serializer.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createRecursiveSerializer.$1", + "type": "Function", + "tags": [], + "label": "test", + "description": [], + "signature": [ + "(v: any) => boolean" + ], + "path": "packages/kbn-dev-utils/src/serializers/recursive_serializer.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createRecursiveSerializer.$2", + "type": "Function", + "tags": [], + "label": "print", + "description": [], + "signature": [ + "(v: any) => string" + ], + "path": "packages/kbn-dev-utils/src/serializers/recursive_serializer.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createReduceStream", + "type": "Function", + "tags": [ + "return" + ], + "label": "createReduceStream", + "description": [ + "\n Create a transform stream that consumes each chunk it receives\n and passes it to the reducer, which will return the new value\n for the stream. Once all chunks have been received the reduce\n stream provides the result of final call to the reducer to\n subscribers.\n" + ], + "signature": [ + "(reducer: (value: any, chunk: T, enc: string) => T, initial: T | undefined) => ", + "Transform" + ], + "path": "node_modules/@kbn/utils/target_types/streams/reduce_stream.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createReduceStream.$1", + "type": "Function", + "tags": [], + "label": "reducer", + "description": [], + "signature": [ + "(value: any, chunk: T, enc: string) => T" + ], + "path": "node_modules/@kbn/utils/target_types/streams/reduce_stream.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createReduceStream.$2", + "type": "Uncategorized", + "tags": [], + "label": "initial", + "description": [ + "Initial value for the stream, if undefined\nthen the first chunk provided is used as the\ninitial value." + ], + "signature": [ + "T | undefined" + ], + "path": "node_modules/@kbn/utils/target_types/streams/reduce_stream.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createReplaceSerializer", + "type": "Function", + "tags": [], + "label": "createReplaceSerializer", + "description": [], + "signature": [ + "(toReplace: string | RegExp, replaceWith: string | Replacer) => { test: (v: any) => boolean; serialize: (v: any, ...rest: any[]) => any; }" + ], + "path": "packages/kbn-dev-utils/src/serializers/replace_serializer.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createReplaceSerializer.$1", + "type": "CompoundType", + "tags": [], + "label": "toReplace", + "description": [], + "signature": [ + "string | RegExp" + ], + "path": "packages/kbn-dev-utils/src/serializers/replace_serializer.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createReplaceSerializer.$2", + "type": "CompoundType", + "tags": [], + "label": "replaceWith", + "description": [], + "signature": [ + "string | Replacer" + ], + "path": "packages/kbn-dev-utils/src/serializers/replace_serializer.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createReplaceStream", + "type": "Function", + "tags": [], + "label": "createReplaceStream", + "description": [], + "signature": [ + "(toReplace: string, replacement: string | Buffer) => ", + "Transform" + ], + "path": "node_modules/@kbn/utils/target_types/streams/replace_stream.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createReplaceStream.$1", + "type": "string", + "tags": [], + "label": "toReplace", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/@kbn/utils/target_types/streams/replace_stream.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createReplaceStream.$2", + "type": "CompoundType", + "tags": [], + "label": "replacement", + "description": [], + "signature": [ + "string | Buffer" + ], + "path": "node_modules/@kbn/utils/target_types/streams/replace_stream.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createSplitStream", + "type": "Function", + "tags": [ + "return" + ], + "label": "createSplitStream", + "description": [ + "\n Creates a Transform stream that consumes a stream of Buffers\n and produces a stream of strings (in object mode) by splitting\n the received bytes using the splitChunk.\n\n Ways this is behaves like String#split:\n - instances of splitChunk are removed from the input\n - splitChunk can be on any size\n - if there are no bytes found after the last splitChunk\n a final empty chunk is emitted\n\n Ways this deviates from String#split:\n - splitChunk cannot be a regexp\n - an empty string or Buffer will not produce a stream of individual\n bytes like `string.split('')` would\n" + ], + "signature": [ + "(splitChunk: string | Uint8Array) => ", + "Transform" + ], + "path": "node_modules/@kbn/utils/target_types/streams/split_stream.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createSplitStream.$1", + "type": "CompoundType", + "tags": [], + "label": "splitChunk", + "description": [], + "signature": [ + "string | Uint8Array" + ], + "path": "node_modules/@kbn/utils/target_types/streams/split_stream.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createStripAnsiSerializer", + "type": "Function", + "tags": [], + "label": "createStripAnsiSerializer", + "description": [], + "signature": [ + "() => { test: (v: any) => boolean; serialize: (v: any, ...rest: any[]) => any; }" + ], + "path": "packages/kbn-dev-utils/src/serializers/strip_ansi_serializer.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.extract", + "type": "Function", + "tags": [], + "label": "extract", + "description": [ + "\nExtract tar and zip archives using a single function, supporting stripComponents\nfor both archive types, only tested with familiar archives we create so might not\nsupport some weird exotic zip features we don't use in our own snapshot/build tooling" + ], + "signature": [ + "({\n archivePath,\n targetDir,\n stripComponents = 0,\n setModifiedTimes,\n}: Options) => Promise" + ], + "path": "packages/kbn-dev-utils/src/extract.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.extract.$1", + "type": "Object", + "tags": [], + "label": "{\n archivePath,\n targetDir,\n stripComponents = 0,\n setModifiedTimes,\n}", + "description": [], + "signature": [ + "Options" + ], + "path": "packages/kbn-dev-utils/src/extract.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.fromRoot", + "type": "Function", + "tags": [], + "label": "fromRoot", + "description": [], + "signature": [ + "(...paths: string[]) => string" + ], + "path": "node_modules/@kbn/utils/target_types/repo_root.d.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.fromRoot.$1", + "type": "Array", + "tags": [], + "label": "paths", + "description": [], + "signature": [ + "string[]" + ], + "path": "node_modules/@kbn/utils/target_types/repo_root.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.getFlags", + "type": "Function", + "tags": [], + "label": "getFlags", + "description": [], + "signature": [ + "(argv: string[], flagOptions: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.FlagOptions", + "text": "FlagOptions" + }, + " | undefined, defaultLogLevel: string) => ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.Flags", + "text": "Flags" + } + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.getFlags.$1", + "type": "Array", + "tags": [], + "label": "argv", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.getFlags.$2", + "type": "Object", + "tags": [], + "label": "flagOptions", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.FlagOptions", + "text": "FlagOptions" + }, + " | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.getFlags.$3", + "type": "string", + "tags": [], + "label": "defaultLogLevel", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.getTimeReporter", + "type": "Function", + "tags": [], + "label": "getTimeReporter", + "description": [], + "signature": [ + "(log: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, + ", group: string) => (startTime: number, id: string, meta: Record) => Promise" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/report_time.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.getTimeReporter.$1", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/report_time.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.getTimeReporter.$2", + "type": "string", + "tags": [], + "label": "group", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/report_time.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.isAxiosRequestError", + "type": "Function", + "tags": [], + "label": "isAxiosRequestError", + "description": [], + "signature": [ + "(error: any) => error is ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.AxiosRequestError", + "text": "AxiosRequestError" + } + ], + "path": "packages/kbn-dev-utils/src/axios/errors.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.isAxiosRequestError.$1", + "type": "Any", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-dev-utils/src/axios/errors.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.isAxiosResponseError", + "type": "Function", + "tags": [], + "label": "isAxiosResponseError", + "description": [], + "signature": [ + "(error: any) => error is ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.AxiosResponseError", + "text": "AxiosResponseError" + }, + "" + ], + "path": "packages/kbn-dev-utils/src/axios/errors.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.isAxiosResponseError.$1", + "type": "Any", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-dev-utils/src/axios/errors.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.isFailError", + "type": "Function", + "tags": [], + "label": "isFailError", + "description": [], + "signature": [ + "(error: any) => boolean" + ], + "path": "packages/kbn-dev-utils/src/run/fail.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.isFailError.$1", + "type": "Any", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-dev-utils/src/run/fail.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.isKibanaDistributable", + "type": "Function", + "tags": [], + "label": "isKibanaDistributable", + "description": [], + "signature": [ + "() => any" + ], + "path": "node_modules/@kbn/utils/target_types/package_json/index.d.ts", + "deprecated": false, + "returnComment": [], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.mergeFlagOptions", + "type": "Function", + "tags": [], + "label": "mergeFlagOptions", + "description": [], + "signature": [ + "(global: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.FlagOptions", + "text": "FlagOptions" + }, + ", local: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.FlagOptions", + "text": "FlagOptions" + }, + ") => ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.FlagOptions", + "text": "FlagOptions" + } + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.mergeFlagOptions.$1", + "type": "Object", + "tags": [], + "label": "global", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.FlagOptions", + "text": "FlagOptions" + } + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.mergeFlagOptions.$2", + "type": "Object", + "tags": [], + "label": "local", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.FlagOptions", + "text": "FlagOptions" + } + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.observeLines", + "type": "Function", + "tags": [ + "return" + ], + "label": "observeLines", + "description": [ + "\n Creates an Observable from a Readable Stream that:\n - splits data from `readable` into lines\n - completes when `readable` emits \"end\"\n - fails if `readable` emits \"errors\"\n" + ], + "signature": [ + "(readable: ", + "Readable", + ") => ", + "Observable", + "" + ], + "path": "packages/kbn-dev-utils/src/stdio/observe_lines.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.observeLines.$1", + "type": "Object", + "tags": [], + "label": "readable", + "description": [], + "signature": [ + "Readable" + ], + "path": "packages/kbn-dev-utils/src/stdio/observe_lines.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.observeReadable", + "type": "Function", + "tags": [], + "label": "observeReadable", + "description": [ + "\n Produces an Observable from a ReadableSteam that:\n - completes on the first \"end\" event\n - fails on the first \"error\" event" + ], + "signature": [ + "(readable: ", + "Readable", + ") => ", + "Observable", + "" + ], + "path": "packages/kbn-dev-utils/src/stdio/observe_readable.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.observeReadable.$1", + "type": "Object", + "tags": [], + "label": "readable", + "description": [], + "signature": [ + "Readable" + ], + "path": "packages/kbn-dev-utils/src/stdio/observe_readable.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.parseKibanaPlatformPlugin", + "type": "Function", + "tags": [], + "label": "parseKibanaPlatformPlugin", + "description": [], + "signature": [ + "(manifestPath: string) => ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.KibanaPlatformPlugin", + "text": "KibanaPlatformPlugin" + } + ], + "path": "packages/kbn-dev-utils/src/plugins/parse_kibana_platform_plugin.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.parseKibanaPlatformPlugin.$1", + "type": "string", + "tags": [], + "label": "manifestPath", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-dev-utils/src/plugins/parse_kibana_platform_plugin.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.parseLogLevel", + "type": "Function", + "tags": [], + "label": "parseLogLevel", + "description": [], + "signature": [ + "(name: \"warning\" | \"error\" | \"info\" | \"success\" | \"debug\" | \"silent\" | \"verbose\") => { name: \"warning\" | \"error\" | \"info\" | \"success\" | \"debug\" | \"silent\" | \"verbose\"; flags: { warning: boolean; error: boolean; info: boolean; success: boolean; debug: boolean; silent: boolean; verbose: boolean; }; }" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/log_levels.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.parseLogLevel.$1", + "type": "CompoundType", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "\"warning\" | \"error\" | \"info\" | \"success\" | \"debug\" | \"silent\" | \"verbose\"" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/log_levels.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.pickLevelFromFlags", + "type": "Function", + "tags": [], + "label": "pickLevelFromFlags", + "description": [], + "signature": [ + "(flags: Record, options: { default?: \"warning\" | \"error\" | \"info\" | \"success\" | \"debug\" | \"silent\" | \"verbose\" | undefined; }) => \"warning\" | \"error\" | \"info\" | \"success\" | \"debug\" | \"silent\" | \"verbose\"" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/log_levels.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.pickLevelFromFlags.$1", + "type": "Object", + "tags": [], + "label": "flags", + "description": [], + "signature": [ + "Record" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/log_levels.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.pickLevelFromFlags.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "packages/kbn-dev-utils/src/tooling_log/log_levels.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.pickLevelFromFlags.$2.default", + "type": "CompoundType", + "tags": [], + "label": "default", + "description": [], + "signature": [ + "\"warning\" | \"error\" | \"info\" | \"success\" | \"debug\" | \"silent\" | \"verbose\" | undefined" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/log_levels.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.run", + "type": "Function", + "tags": [], + "label": "run", + "description": [], + "signature": [ + "(fn: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunFn", + "text": "RunFn" + }, + ", options: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunOptions", + "text": "RunOptions" + }, + ") => Promise" + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.run.$1", + "type": "Function", + "tags": [], + "label": "fn", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunFn", + "text": "RunFn" + } + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.run.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunOptions", + "text": "RunOptions" + } + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.runPluginListCli", + "type": "Function", + "tags": [], + "label": "runPluginListCli", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-dev-utils/src/plugin_list/run_plugin_list_cli.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.runUpdateVscodeConfigCli", + "type": "Function", + "tags": [], + "label": "runUpdateVscodeConfigCli", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-dev-utils/src/vscode_config/update_vscode_config_cli.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.shipCiStatsCli", + "type": "Function", + "tags": [], + "label": "shipCiStatsCli", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ship_ci_stats_cli.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.simpleKibanaPlatformPluginDiscovery", + "type": "Function", + "tags": [], + "label": "simpleKibanaPlatformPluginDiscovery", + "description": [ + "\nHelper to find the new platform plugins." + ], + "signature": [ + "(scanDirs: string[], pluginPaths: string[]) => ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.KibanaPlatformPlugin", + "text": "KibanaPlatformPlugin" + }, + "[]" + ], + "path": "packages/kbn-dev-utils/src/plugins/simple_kibana_platform_plugin_discovery.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.simpleKibanaPlatformPluginDiscovery.$1", + "type": "Array", + "tags": [], + "label": "scanDirs", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-dev-utils/src/plugins/simple_kibana_platform_plugin_discovery.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.simpleKibanaPlatformPluginDiscovery.$2", + "type": "Array", + "tags": [], + "label": "pluginPaths", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-dev-utils/src/plugins/simple_kibana_platform_plugin_discovery.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.transformFileStream", + "type": "Function", + "tags": [], + "label": "transformFileStream", + "description": [ + "\nCreate a transform stream that processes Vinyl fs streams and\ncalls a function for each file, allowing the function to either\nmutate the file, replace it with another file (return a new File\nobject), or drop it from the stream (return null)" + ], + "signature": [ + "(fn: (file: BufferedFile) => void | ", + "node_modules/@types/vinyl/index", + " | Promise | null) => ", + "Transform" + ], + "path": "packages/kbn-dev-utils/src/streams.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.transformFileStream.$1", + "type": "Function", + "tags": [], + "label": "fn", + "description": [], + "signature": [ + "(file: BufferedFile) => void | ", + "node_modules/@types/vinyl/index", + " | Promise | null" + ], + "path": "packages/kbn-dev-utils/src/streams.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.transformFileWithBabel", + "type": "Function", + "tags": [], + "label": "transformFileWithBabel", + "description": [ + "\nReturns a promise that resolves when the file has been\nmutated so the contents of the file are tranformed with\nbabel, include inline sourcemaps, and the filename has\nbeen updated to use .js.\n\nIf the file was previously transformed with this function\nthe promise will just resolve immediately." + ], + "signature": [ + "(file: ", + "node_modules/@types/vinyl/index", + ") => Promise" + ], + "path": "packages/kbn-dev-utils/src/babel.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.transformFileWithBabel.$1", + "type": "Object", + "tags": [], + "label": "file", + "description": [], + "signature": [ + "node_modules/@types/vinyl/index" + ], + "path": "packages/kbn-dev-utils/src/babel.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.withProcRunner", + "type": "Function", + "tags": [ + "return" + ], + "label": "withProcRunner", + "description": [ + "\n Create a ProcRunner and pass it to an async function. When\n the async function finishes the ProcRunner is torn-down\n automatically\n" + ], + "signature": [ + "(log: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, + ", fn: (procs: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ProcRunner", + "text": "ProcRunner" + }, + ") => Promise) => Promise" + ], + "path": "packages/kbn-dev-utils/src/proc_runner/with_proc_runner.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.withProcRunner.$1", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-dev-utils/src/proc_runner/with_proc_runner.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.withProcRunner.$2", + "type": "Function", + "tags": [], + "label": "fn", + "description": [], + "signature": [ + "(procs: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ProcRunner", + "text": "ProcRunner" + }, + ") => Promise" + ], + "path": "packages/kbn-dev-utils/src/proc_runner/with_proc_runner.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.AxiosRequestError", + "type": "Interface", + "tags": [], + "label": "AxiosRequestError", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.AxiosRequestError", + "text": "AxiosRequestError" + }, + " extends ", + "AxiosError", + "" + ], + "path": "packages/kbn-dev-utils/src/axios/errors.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.AxiosRequestError.response", + "type": "Uncategorized", + "tags": [], + "label": "response", + "description": [], + "signature": [ + "undefined" + ], + "path": "packages/kbn-dev-utils/src/axios/errors.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.AxiosResponseError", + "type": "Interface", + "tags": [], + "label": "AxiosResponseError", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.AxiosResponseError", + "text": "AxiosResponseError" + }, + " extends ", + "AxiosError", + "" + ], + "path": "packages/kbn-dev-utils/src/axios/errors.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.AxiosResponseError.response", + "type": "Object", + "tags": [], + "label": "response", + "description": [], + "signature": [ + "AxiosResponse", + "" + ], + "path": "packages/kbn-dev-utils/src/axios/errors.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsMetric", + "type": "Interface", + "tags": [], + "label": "CiStatsMetric", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsMetric.group", + "type": "string", + "tags": [], + "label": "group", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsMetric.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsMetric.value", + "type": "number", + "tags": [], + "label": "value", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsMetric.limit", + "type": "number", + "tags": [], + "label": "limit", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsMetric.limitConfigPath", + "type": "string", + "tags": [], + "label": "limitConfigPath", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsTiming", + "type": "Interface", + "tags": [], + "label": "CiStatsTiming", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsTiming.group", + "type": "string", + "tags": [], + "label": "group", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsTiming.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsTiming.ms", + "type": "number", + "tags": [], + "label": "ms", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsTiming.meta", + "type": "Object", + "tags": [], + "label": "meta", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.CiStatsTimingMetadata", + "text": "CiStatsTimingMetadata" + }, + " | undefined" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsTimingMetadata", + "type": "Interface", + "tags": [], + "label": "CiStatsTimingMetadata", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsTimingMetadata.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Command", + "type": "Interface", + "tags": [], + "label": "Command", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.Command", + "text": "Command" + }, + "" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Command.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Command.run", + "type": "Function", + "tags": [], + "label": "run", + "description": [], + "signature": [ + "(context: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunContext", + "text": "RunContext" + }, + " & T) => void | Promise" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Command.run.$1", + "type": "CompoundType", + "tags": [], + "label": "context", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunContext", + "text": "RunContext" + }, + " & T" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Command.description", + "type": "string", + "tags": [], + "label": "description", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Command.usage", + "type": "string", + "tags": [], + "label": "usage", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Command.flags", + "type": "Object", + "tags": [], + "label": "flags", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.FlagOptions", + "text": "FlagOptions" + }, + " | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.FlagOptions", + "type": "Interface", + "tags": [], + "label": "FlagOptions", + "description": [], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.FlagOptions.allowUnexpected", + "type": "CompoundType", + "tags": [], + "label": "allowUnexpected", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.FlagOptions.guessTypesForUnexpectedFlags", + "type": "CompoundType", + "tags": [], + "label": "guessTypesForUnexpectedFlags", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.FlagOptions.help", + "type": "string", + "tags": [], + "label": "help", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.FlagOptions.alias", + "type": "Object", + "tags": [], + "label": "alias", + "description": [], + "signature": [ + "{ [key: string]: string | string[]; } | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.FlagOptions.boolean", + "type": "Array", + "tags": [], + "label": "boolean", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.FlagOptions.string", + "type": "Array", + "tags": [], + "label": "string", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.FlagOptions.default", + "type": "Object", + "tags": [], + "label": "default", + "description": [], + "signature": [ + "{ [key: string]: any; } | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Flags", + "type": "Interface", + "tags": [], + "label": "Flags", + "description": [], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Flags.verbose", + "type": "boolean", + "tags": [], + "label": "verbose", + "description": [], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Flags.quiet", + "type": "boolean", + "tags": [], + "label": "quiet", + "description": [], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Flags.silent", + "type": "boolean", + "tags": [], + "label": "silent", + "description": [], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Flags.debug", + "type": "boolean", + "tags": [], + "label": "debug", + "description": [], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Flags.help", + "type": "boolean", + "tags": [], + "label": "help", + "description": [], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Flags._", + "type": "Array", + "tags": [], + "label": "_", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Flags.unexpected", + "type": "Array", + "tags": [], + "label": "unexpected", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Flags.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.KibanaPlatformPlugin", + "type": "Interface", + "tags": [], + "label": "KibanaPlatformPlugin", + "description": [], + "path": "packages/kbn-dev-utils/src/plugins/parse_kibana_platform_plugin.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.KibanaPlatformPlugin.directory", + "type": "string", + "tags": [], + "label": "directory", + "description": [], + "path": "packages/kbn-dev-utils/src/plugins/parse_kibana_platform_plugin.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.KibanaPlatformPlugin.manifestPath", + "type": "string", + "tags": [], + "label": "manifestPath", + "description": [], + "path": "packages/kbn-dev-utils/src/plugins/parse_kibana_platform_plugin.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.KibanaPlatformPlugin.manifest", + "type": "Object", + "tags": [], + "label": "manifest", + "description": [], + "signature": [ + "Manifest" + ], + "path": "packages/kbn-dev-utils/src/plugins/parse_kibana_platform_plugin.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ReqOptions", + "type": "Interface", + "tags": [], + "label": "ReqOptions", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ReqOptions.auth", + "type": "boolean", + "tags": [], + "label": "auth", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ReqOptions.path", + "type": "string", + "tags": [], + "label": "path", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ReqOptions.body", + "type": "Any", + "tags": [], + "label": "body", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ReqOptions.bodyDesc", + "type": "string", + "tags": [], + "label": "bodyDesc", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunContext", + "type": "Interface", + "tags": [], + "label": "RunContext", + "description": [], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunContext.log", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunContext.flags", + "type": "Object", + "tags": [], + "label": "flags", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.Flags", + "text": "Flags" + } + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunContext.procRunner", + "type": "Object", + "tags": [], + "label": "procRunner", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ProcRunner", + "text": "ProcRunner" + } + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunContext.statsMeta", + "type": "Object", + "tags": [], + "label": "statsMeta", + "description": [], + "signature": [ + "Map" + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunContext.addCleanupTask", + "type": "Function", + "tags": [], + "label": "addCleanupTask", + "description": [], + "signature": [ + "(task: ", + "CleanupTask", + ") => void" + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunContext.addCleanupTask.$1", + "type": "Function", + "tags": [], + "label": "task", + "description": [], + "signature": [ + "CleanupTask" + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunOptions", + "type": "Interface", + "tags": [], + "label": "RunOptions", + "description": [], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunOptions.usage", + "type": "string", + "tags": [], + "label": "usage", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunOptions.description", + "type": "string", + "tags": [], + "label": "description", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunOptions.log", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + "{ defaultLevel?: \"warning\" | \"error\" | \"info\" | \"success\" | \"debug\" | \"silent\" | \"verbose\" | undefined; } | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunOptions.flags", + "type": "Object", + "tags": [], + "label": "flags", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.FlagOptions", + "text": "FlagOptions" + }, + " | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunWithCommandsOptions", + "type": "Interface", + "tags": [], + "label": "RunWithCommandsOptions", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunWithCommandsOptions", + "text": "RunWithCommandsOptions" + }, + "" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunWithCommandsOptions.log", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + "{ defaultLevel?: \"warning\" | \"error\" | \"info\" | \"success\" | \"debug\" | \"silent\" | \"verbose\" | undefined; } | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunWithCommandsOptions.description", + "type": "string", + "tags": [], + "label": "description", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunWithCommandsOptions.usage", + "type": "string", + "tags": [], + "label": "usage", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunWithCommandsOptions.globalFlags", + "type": "Object", + "tags": [], + "label": "globalFlags", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.FlagOptions", + "text": "FlagOptions" + }, + " | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunWithCommandsOptions.extendContext", + "type": "Function", + "tags": [], + "label": "extendContext", + "description": [], + "signature": [ + "((context: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunContext", + "text": "RunContext" + }, + ") => T | Promise) | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunWithCommandsOptions.extendContext.$1", + "type": "Object", + "tags": [], + "label": "context", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunContext", + "text": "RunContext" + } + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.TimingsOptions", + "type": "Interface", + "tags": [], + "label": "TimingsOptions", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.TimingsOptions.timings", + "type": "Array", + "tags": [], + "label": "timings", + "description": [ + "list of timings to record" + ], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.CiStatsTiming", + "text": "CiStatsTiming" + }, + "[]" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.TimingsOptions.upstreamBranch", + "type": "string", + "tags": [], + "label": "upstreamBranch", + "description": [ + "master, 7.x, etc, automatically detected from package.json if not specified" + ], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.TimingsOptions.kibanaUuid", + "type": "CompoundType", + "tags": [], + "label": "kibanaUuid", + "description": [ + "value of data/uuid, automatically loaded if not specified" + ], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogTextWriterConfig", + "type": "Interface", + "tags": [], + "label": "ToolingLogTextWriterConfig", + "description": [], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_text_writer.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogTextWriterConfig.level", + "type": "CompoundType", + "tags": [], + "label": "level", + "description": [], + "signature": [ + "\"warning\" | \"error\" | \"info\" | \"success\" | \"debug\" | \"silent\" | \"verbose\"" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_text_writer.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogTextWriterConfig.writeTo", + "type": "Object", + "tags": [], + "label": "writeTo", + "description": [], + "signature": [ + "{ write(s: string): void; }" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_text_writer.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CA_CERT_PATH", + "type": "string", + "tags": [], + "label": "CA_CERT_PATH", + "description": [], + "path": "packages/kbn-dev-utils/src/certs.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CommandRunFn", + "type": "Type", + "tags": [], + "label": "CommandRunFn", + "description": [], + "signature": [ + "(context: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunContext", + "text": "RunContext" + }, + " & T) => void | Promise" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CommandRunFn.$1", + "type": "CompoundType", + "tags": [], + "label": "context", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunContext", + "text": "RunContext" + }, + " & T" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ES_CERT_PATH", + "type": "string", + "tags": [], + "label": "ES_CERT_PATH", + "description": [], + "path": "packages/kbn-dev-utils/src/certs.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ES_EMPTYPASSWORD_P12_PATH", + "type": "string", + "tags": [], + "label": "ES_EMPTYPASSWORD_P12_PATH", + "description": [], + "path": "packages/kbn-dev-utils/src/certs.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ES_KEY_PATH", + "type": "string", + "tags": [], + "label": "ES_KEY_PATH", + "description": [], + "path": "packages/kbn-dev-utils/src/certs.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ES_NOPASSWORD_P12_PATH", + "type": "string", + "tags": [], + "label": "ES_NOPASSWORD_P12_PATH", + "description": [], + "path": "packages/kbn-dev-utils/src/certs.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ES_P12_PASSWORD", + "type": "string", + "tags": [], + "label": "ES_P12_PASSWORD", + "description": [], + "signature": [ + "\"storepass\"" + ], + "path": "packages/kbn-dev-utils/src/certs.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ES_P12_PATH", + "type": "string", + "tags": [], + "label": "ES_P12_PATH", + "description": [], + "path": "packages/kbn-dev-utils/src/certs.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.KBN_CERT_PATH", + "type": "string", + "tags": [], + "label": "KBN_CERT_PATH", + "description": [], + "path": "packages/kbn-dev-utils/src/certs.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.KBN_KEY_PATH", + "type": "string", + "tags": [], + "label": "KBN_KEY_PATH", + "description": [], + "path": "packages/kbn-dev-utils/src/certs.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.KBN_P12_PASSWORD", + "type": "string", + "tags": [], + "label": "KBN_P12_PASSWORD", + "description": [], + "signature": [ + "\"storepass\"" + ], + "path": "packages/kbn-dev-utils/src/certs.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.KBN_P12_PATH", + "type": "string", + "tags": [], + "label": "KBN_P12_PATH", + "description": [], + "path": "packages/kbn-dev-utils/src/certs.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.kibanaPackageJson", + "type": "Any", + "tags": [], + "label": "kibanaPackageJson", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/@kbn/utils/target_types/package_json/index.d.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.LogLevel", + "type": "Type", + "tags": [], + "label": "LogLevel", + "description": [], + "signature": [ + "\"warning\" | \"error\" | \"info\" | \"success\" | \"debug\" | \"silent\" | \"verbose\"" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/log_levels.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ParsedLogLevel", + "type": "Type", + "tags": [], + "label": "ParsedLogLevel", + "description": [], + "signature": [ + "{ name: \"warning\" | \"error\" | \"info\" | \"success\" | \"debug\" | \"silent\" | \"verbose\"; flags: { warning: boolean; error: boolean; info: boolean; success: boolean; debug: boolean; silent: boolean; verbose: boolean; }; }" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/log_levels.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.PathConfigType", + "type": "Type", + "tags": [], + "label": "PathConfigType", + "description": [], + "signature": [ + "{ readonly data: string; }" + ], + "path": "node_modules/@kbn/utils/target_types/path/index.d.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.REPO_ROOT", + "type": "string", + "tags": [], + "label": "REPO_ROOT", + "description": [], + "path": "node_modules/@kbn/utils/target_types/repo_root.d.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunFn", + "type": "Type", + "tags": [], + "label": "RunFn", + "description": [], + "signature": [ + "(context: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunContext", + "text": "RunContext" + }, + ") => void | Promise" + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunFn.$1", + "type": "Object", + "tags": [], + "label": "context", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunContext", + "text": "RunContext" + } + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.UPSTREAM_BRANCH", + "type": "string", + "tags": [], + "label": "UPSTREAM_BRANCH", + "description": [], + "path": "node_modules/@kbn/utils/target_types/repo_root.d.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_dev_utils.mdx b/api_docs/kbn_dev_utils.mdx new file mode 100644 index 0000000000000..c959baa6fda56 --- /dev/null +++ b/api_docs/kbn_dev_utils.mdx @@ -0,0 +1,36 @@ +--- +id: kibKbnDevUtilsPluginApi +slug: /kibana-dev-docs/api/kbn-dev-utils +title: "@kbn/dev-utils" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/dev-utils plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-utils'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnDevUtilsObj from './kbn_dev_utils.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 258 | 7 | 231 | 4 | + +## Server + +### Functions + + +### Classes + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_docs_utils.json b/api_docs/kbn_docs_utils.json new file mode 100644 index 0000000000000..3f8dbac226940 --- /dev/null +++ b/api_docs/kbn_docs_utils.json @@ -0,0 +1,44 @@ +{ + "id": "@kbn/docs-utils", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/docs-utils", + "id": "def-server.runBuildApiDocsCli", + "type": "Function", + "tags": [], + "label": "runBuildApiDocsCli", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-docs-utils/src/api_docs/build_api_docs_cli.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_docs_utils.mdx b/api_docs/kbn_docs_utils.mdx new file mode 100644 index 0000000000000..0c9103fe3a2cd --- /dev/null +++ b/api_docs/kbn_docs_utils.mdx @@ -0,0 +1,27 @@ +--- +id: kibKbnDocsUtilsPluginApi +slug: /kibana-dev-docs/api/kbn-docs-utils +title: "@kbn/docs-utils" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/docs-utils plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/docs-utils'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnDocsUtilsObj from './kbn_docs_utils.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 1 | 0 | 1 | 0 | + +## Server + +### Functions + + diff --git a/api_docs/kbn_es_archiver.json b/api_docs/kbn_es_archiver.json new file mode 100644 index 0000000000000..543a46deb3c4f --- /dev/null +++ b/api_docs/kbn_es_archiver.json @@ -0,0 +1,428 @@ +{ + "id": "@kbn/es-archiver", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [ + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver", + "type": "Class", + "tags": [], + "label": "EsArchiver", + "description": [], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Options" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.save", + "type": "Function", + "tags": [ + "property" + ], + "label": "save", + "description": [ + "\nExtract data and mappings from an elasticsearch index and store\nit in the baseDir so it can be used later to recreate the index.\n" + ], + "signature": [ + "(path: string, indices: string | string[], { raw, query }?: { raw?: boolean | undefined; query?: Record | undefined; }) => Promise>" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.save.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [ + "- relative path to the archive, resolved relative to this.baseDir which defaults to REPO_ROOT" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.save.$2", + "type": "CompoundType", + "tags": [], + "label": "indices", + "description": [ + "- the indices to archive" + ], + "signature": [ + "string | string[]" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.save.$3", + "type": "Object", + "tags": [], + "label": "{ raw = false, query }", + "description": [], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.save.$3.raw", + "type": "CompoundType", + "tags": [], + "label": "raw", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.save.$3.query", + "type": "Object", + "tags": [], + "label": "query", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.load", + "type": "Function", + "tags": [ + "property", + "property" + ], + "label": "load", + "description": [ + "\nLoad an index from an archive\n" + ], + "signature": [ + "(path: string, { skipExisting, useCreate, }?: { skipExisting?: boolean | undefined; useCreate?: boolean | undefined; }) => Promise>" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.load.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [ + "- relative path to the archive to load, resolved relative to this.baseDir which defaults to REPO_ROOT" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.load.$2", + "type": "Object", + "tags": [], + "label": "{\n skipExisting = false,\n useCreate = false,\n }", + "description": [], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.load.$2.skipExisting", + "type": "CompoundType", + "tags": [], + "label": "skipExisting", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.load.$2.useCreate", + "type": "CompoundType", + "tags": [], + "label": "useCreate", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.unload", + "type": "Function", + "tags": [], + "label": "unload", + "description": [ + "\nRemove the indexes in elasticsearch that have data in an archive.\n" + ], + "signature": [ + "(path: string) => Promise>" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.unload.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [ + "- relative path to the archive to unload, resolved relative to this.baseDir which defaults to REPO_ROOT" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.rebuildAll", + "type": "Function", + "tags": [], + "label": "rebuildAll", + "description": [ + "\nParse and reformat all of the archives. This is primarily helpful\nfor working on the esArchiver.\n" + ], + "signature": [ + "(dir: string) => Promise" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.rebuildAll.$1", + "type": "string", + "tags": [], + "label": "dir", + "description": [ + "- relative path to a directory which contains archives, resolved relative to this.baseDir which defaults to REPO_ROOT" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.edit", + "type": "Function", + "tags": [], + "label": "edit", + "description": [ + "\nExtract the gzipped files in an archive, then call the handler. When it\nresolves re-archive the gzipped files.\n" + ], + "signature": [ + "(path: string, handler: () => Promise) => Promise" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.edit.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [ + "optional prefix to limit archives that are extracted" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.edit.$2", + "type": "Function", + "tags": [], + "label": "handler", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.loadIfNeeded", + "type": "Function", + "tags": [], + "label": "loadIfNeeded", + "description": [ + "\nJust like load, but skips any existing index\n" + ], + "signature": [ + "(name: string) => Promise>" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.loadIfNeeded.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.emptyKibanaIndex", + "type": "Function", + "tags": [], + "label": "emptyKibanaIndex", + "description": [ + "\nDelete any Kibana indices, and initialize the Kibana index as Kibana would do\non startup." + ], + "signature": [ + "() => Promise>" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.runCli", + "type": "Function", + "tags": [], + "label": "runCli", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-es-archiver/src/cli.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_es_archiver.mdx b/api_docs/kbn_es_archiver.mdx new file mode 100644 index 0000000000000..a2c90c35d0489 --- /dev/null +++ b/api_docs/kbn_es_archiver.mdx @@ -0,0 +1,30 @@ +--- +id: kibKbnEsArchiverPluginApi +slug: /kibana-dev-docs/api/kbn-es-archiver +title: "@kbn/es-archiver" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/es-archiver plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-archiver'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnEsArchiverObj from './kbn_es_archiver.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 25 | 0 | 12 | 1 | + +## Server + +### Functions + + +### Classes + + diff --git a/api_docs/kbn_es_query.json b/api_docs/kbn_es_query.json new file mode 100644 index 0000000000000..2b76b7c39c63c --- /dev/null +++ b/api_docs/kbn_es_query.json @@ -0,0 +1,4658 @@ +{ + "id": "@kbn/es-query", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.KQLSyntaxError", + "type": "Class", + "tags": [], + "label": "KQLSyntaxError", + "description": [ + "\nA type of error indicating KQL syntax errors" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KQLSyntaxError", + "text": "KQLSyntaxError" + }, + " extends Error" + ], + "path": "packages/kbn-es-query/src/kuery/kuery_syntax_error.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.KQLSyntaxError.shortMessage", + "type": "string", + "tags": [], + "label": "shortMessage", + "description": [], + "path": "packages/kbn-es-query/src/kuery/kuery_syntax_error.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.KQLSyntaxError.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-es-query/src/kuery/kuery_syntax_error.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.KQLSyntaxError.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "KQLSyntaxErrorData" + ], + "path": "packages/kbn-es-query/src/kuery/kuery_syntax_error.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.KQLSyntaxError.Unnamed.$2", + "type": "Any", + "tags": [], + "label": "expression", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-es-query/src/kuery/kuery_syntax_error.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildCustomFilter", + "type": "Function", + "tags": [], + "label": "buildCustomFilter", + "description": [ + "\n" + ], + "signature": [ + "(indexPatternString: string, queryDsl: ", + "QueryDslQueryContainer", + ", disabled: boolean, negate: boolean, alias: string | null, store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/custom_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildCustomFilter.$1", + "type": "string", + "tags": [], + "label": "indexPatternString", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/custom_filter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildCustomFilter.$2", + "type": "Object", + "tags": [], + "label": "queryDsl", + "description": [], + "signature": [ + "QueryDslQueryContainer" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/custom_filter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildCustomFilter.$3", + "type": "boolean", + "tags": [], + "label": "disabled", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/custom_filter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildCustomFilter.$4", + "type": "boolean", + "tags": [], + "label": "negate", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/custom_filter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildCustomFilter.$5", + "type": "CompoundType", + "tags": [], + "label": "alias", + "description": [], + "signature": [ + "string | null" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/custom_filter.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildCustomFilter.$6", + "type": "Enum", + "tags": [], + "label": "store", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/custom_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildEmptyFilter", + "type": "Function", + "tags": [], + "label": "buildEmptyFilter", + "description": [], + "signature": [ + "(isPinned: boolean, index?: string | undefined) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/build_empty_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildEmptyFilter.$1", + "type": "boolean", + "tags": [], + "label": "isPinned", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/build_empty_filter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildEmptyFilter.$2", + "type": "string", + "tags": [], + "label": "index", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/build_empty_filter.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildEsQuery", + "type": "Function", + "tags": [], + "label": "buildEsQuery", + "description": [], + "signature": [ + "(indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + " | undefined, queries: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, + "[], filters: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[], config: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + }, + ") => { bool: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + }, + "; }" + ], + "path": "packages/kbn-es-query/src/es_query/build_es_query.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildEsQuery.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + " | undefined" + ], + "path": "packages/kbn-es-query/src/es_query/build_es_query.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildEsQuery.$2", + "type": "CompoundType", + "tags": [], + "label": "queries", + "description": [ + "- a query object or array of query objects. Each query has a language property and a query property." + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, + "[]" + ], + "path": "packages/kbn-es-query/src/es_query/build_es_query.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildEsQuery.$3", + "type": "CompoundType", + "tags": [], + "label": "filters", + "description": [ + "- a filter object or array of filter objects" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "packages/kbn-es-query/src/es_query/build_es_query.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildEsQuery.$4", + "type": "CompoundType", + "tags": [], + "label": "config", + "description": [ + "- an objects with query:allowLeadingWildcards and query:queryString:options UI\nsettings in form of { allowLeadingWildcards, queryStringOptions }\nconfig contains dateformat:tz" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + } + ], + "path": "packages/kbn-es-query/src/es_query/build_es_query.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildExistsFilter", + "type": "Function", + "tags": [], + "label": "buildExistsFilter", + "description": [ + "\nBuilds an `ExistsFilter`" + ], + "signature": [ + "(field: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ExistsFilter", + "text": "ExistsFilter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/exists_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildExistsFilter.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [ + "field to validate the existence of" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/exists_filter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildExistsFilter.$2", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [ + "index pattern to look for the field in" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/exists_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "An `ExistsFilter`" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildFilter", + "type": "Function", + "tags": [], + "label": "buildFilter", + "description": [ + "\n" + ], + "signature": [ + "(indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ", field: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", type: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FILTERS", + "text": "FILTERS" + }, + ", negate: boolean, disabled: boolean, params: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, + ", alias: string | null, store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + " | undefined) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/build_filters.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildFilter.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/build_filters.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildFilter.$2", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/build_filters.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildFilter.$3", + "type": "Enum", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FILTERS", + "text": "FILTERS" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/build_filters.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildFilter.$4", + "type": "boolean", + "tags": [], + "label": "negate", + "description": [ + "whether the filter is negated (NOT filter)" + ], + "signature": [ + "boolean" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/build_filters.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildFilter.$5", + "type": "boolean", + "tags": [], + "label": "disabled", + "description": [ + "whether the filter is disabled andwon't be applied to searches" + ], + "signature": [ + "boolean" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/build_filters.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildFilter.$6", + "type": "CompoundType", + "tags": [], + "label": "params", + "description": [], + "signature": [ + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/build_filters.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildFilter.$7", + "type": "CompoundType", + "tags": [], + "label": "alias", + "description": [ + "a display name for the filter" + ], + "signature": [ + "string | null" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/build_filters.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildFilter.$8", + "type": "CompoundType", + "tags": [], + "label": "store", + "description": [ + "whether the filter applies to the current application or should be applied to global context" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + " | undefined" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/build_filters.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildPhraseFilter", + "type": "Function", + "tags": [], + "label": "buildPhraseFilter", + "description": [ + "\nCreates a filter where the given field matches a given value" + ], + "signature": [ + "(field: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", value: ", + "PhraseFilterValue", + ", indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedPhraseFilter", + "text": "ScriptedPhraseFilter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildPhraseFilter.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildPhraseFilter.$2", + "type": "CompoundType", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "PhraseFilterValue" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildPhraseFilter.$3", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "`PhraseFilter`" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildPhrasesFilter", + "type": "Function", + "tags": [], + "label": "buildPhrasesFilter", + "description": [ + "\nCreates a filter where the given field matches one or more of the given values\nparams should be an array of values" + ], + "signature": [ + "(field: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", params: ", + "PhraseFilterValue", + "[], indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhrasesFilter", + "text": "PhrasesFilter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrases_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildPhrasesFilter.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrases_filter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildPhrasesFilter.$2", + "type": "Array", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "PhraseFilterValue", + "[]" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrases_filter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildPhrasesFilter.$3", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrases_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildQueryFilter", + "type": "Function", + "tags": [], + "label": "buildQueryFilter", + "description": [ + "\nCreates a filter corresponding to a raw Elasticsearch query DSL object" + ], + "signature": [ + "(query: (Record & { query_string?: { query: string; } | undefined; }) | undefined, index: string, alias: string) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.QueryStringFilter", + "text": "QueryStringFilter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/query_string_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildQueryFilter.$1", + "type": "CompoundType", + "tags": [], + "label": "query", + "description": [], + "signature": [ + "(Record & { query_string?: { query: string; } | undefined; }) | undefined" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/query_string_filter.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildQueryFilter.$2", + "type": "string", + "tags": [], + "label": "index", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/query_string_filter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildQueryFilter.$3", + "type": "string", + "tags": [], + "label": "alias", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/query_string_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "`QueryStringFilter`" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildQueryFromFilters", + "type": "Function", + "tags": [], + "label": "buildQueryFromFilters", + "description": [], + "signature": [ + "(filters: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[] | undefined, indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + " | undefined, ignoreFilterIfFieldNotInIndex?: boolean) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + } + ], + "path": "packages/kbn-es-query/src/es_query/from_filters.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildQueryFromFilters.$1", + "type": "Array", + "tags": [], + "label": "filters", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "packages/kbn-es-query/src/es_query/from_filters.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildQueryFromFilters.$2", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + " | undefined" + ], + "path": "packages/kbn-es-query/src/es_query/from_filters.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildQueryFromFilters.$3", + "type": "boolean", + "tags": [], + "label": "ignoreFilterIfFieldNotInIndex", + "description": [ + "by default filters that use fields that can't be found in the specified index pattern are not applied. Set this to true if you want to apply them anyway." + ], + "signature": [ + "boolean" + ], + "path": "packages/kbn-es-query/src/es_query/from_filters.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "An EQL query" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildRangeFilter", + "type": "Function", + "tags": [], + "label": "buildRangeFilter", + "description": [ + "\nCreates a filter where the value for the given field is in the given range\nparams should be an object containing `lt`, `lte`, `gt`, and/or `gte`\n" + ], + "signature": [ + "(field: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", params: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterParams", + "text": "RangeFilterParams" + }, + ", indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ", formattedValue?: string | undefined) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, + " | ", + "MatchAllRangeFilter" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildRangeFilter.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildRangeFilter.$2", + "type": "Object", + "tags": [], + "label": "params", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterParams", + "text": "RangeFilterParams" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildRangeFilter.$3", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildRangeFilter.$4", + "type": "string", + "tags": [], + "label": "formattedValue", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.cleanFilter", + "type": "Function", + "tags": [], + "label": "cleanFilter", + "description": [ + "\nClean out decorators from the filters" + ], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => Partial<", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ">" + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.cleanFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [ + "The filter to clean" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.compareFilters", + "type": "Function", + "tags": [], + "label": "compareFilters", + "description": [ + "\nCompare two filters or filter arrays to see if they match.\nFor filter arrays, the assumption is they are sorted.\n" + ], + "signature": [ + "(first: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[], second: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[], comparatorOptions?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterCompareOptions", + "text": "FilterCompareOptions" + }, + ") => boolean" + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.compareFilters.$1", + "type": "CompoundType", + "tags": [], + "label": "first", + "description": [ + "The first filter or filter array to compare" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.compareFilters.$2", + "type": "CompoundType", + "tags": [], + "label": "second", + "description": [ + "The second filter or filter array to compare" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.compareFilters.$3", + "type": "Object", + "tags": [], + "label": "comparatorOptions", + "description": [ + "Parameters to use for comparison" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterCompareOptions", + "text": "FilterCompareOptions" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "Filters are the same" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.decorateQuery", + "type": "Function", + "tags": [], + "label": "decorateQuery", + "description": [ + "\nDecorate queries with default parameters" + ], + "signature": [ + "(query: ", + "QueryDslQueryContainer", + ", queryStringOptions: string | ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, + ", dateFormatTZ: string | undefined) => ", + "QueryDslQueryContainer" + ], + "path": "packages/kbn-es-query/src/es_query/decorate_query.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.decorateQuery.$1", + "type": "Object", + "tags": [], + "label": "query", + "description": [ + "object" + ], + "signature": [ + "QueryDslQueryContainer" + ], + "path": "packages/kbn-es-query/src/es_query/decorate_query.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.decorateQuery.$2", + "type": "CompoundType", + "tags": [], + "label": "queryStringOptions", + "description": [ + "query:queryString:options from UI settings" + ], + "signature": [ + "string | ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } + ], + "path": "packages/kbn-es-query/src/es_query/decorate_query.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.decorateQuery.$3", + "type": "string", + "tags": [], + "label": "dateFormatTZ", + "description": [ + "dateFormat:tz from UI settings" + ], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-es-query/src/es_query/decorate_query.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.disableFilter", + "type": "Function", + "tags": [], + "label": "disableFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.disableFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "A disabled copy of the filter" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.enableFilter", + "type": "Function", + "tags": [], + "label": "enableFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.enableFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "An enabled copy of the filter" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.fromKueryExpression", + "type": "Function", + "tags": [], + "label": "fromKueryExpression", + "description": [], + "signature": [ + "(expression: string | ", + "QueryDslQueryContainer", + ", parseOptions?: Partial<", + "KueryParseOptions", + ">) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + } + ], + "path": "packages/kbn-es-query/src/kuery/ast/ast.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.fromKueryExpression.$1", + "type": "CompoundType", + "tags": [], + "label": "expression", + "description": [], + "signature": [ + "string | ", + "QueryDslQueryContainer" + ], + "path": "packages/kbn-es-query/src/kuery/ast/ast.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.fromKueryExpression.$2", + "type": "Object", + "tags": [], + "label": "parseOptions", + "description": [], + "signature": [ + "Partial<", + "KueryParseOptions", + ">" + ], + "path": "packages/kbn-es-query/src/kuery/ast/ast.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.getDataViewFieldSubtypeMulti", + "type": "Function", + "tags": [], + "label": "getDataViewFieldSubtypeMulti", + "description": [], + "signature": [ + "(field: Pick<", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", \"subType\">) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubTypeMulti", + "text": "IFieldSubTypeMulti" + }, + " | undefined" + ], + "path": "packages/kbn-es-query/src/utils.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.getDataViewFieldSubtypeMulti.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + "Pick<", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", \"subType\">" + ], + "path": "packages/kbn-es-query/src/utils.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.getDataViewFieldSubtypeNested", + "type": "Function", + "tags": [], + "label": "getDataViewFieldSubtypeNested", + "description": [], + "signature": [ + "(field: Pick<", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", \"subType\">) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubTypeNested", + "text": "IFieldSubTypeNested" + }, + " | undefined" + ], + "path": "packages/kbn-es-query/src/utils.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.getDataViewFieldSubtypeNested.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + "Pick<", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", \"subType\">" + ], + "path": "packages/kbn-es-query/src/utils.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isDataViewFieldSubtypeMulti", + "type": "Function", + "tags": [], + "label": "isDataViewFieldSubtypeMulti", + "description": [], + "signature": [ + "(field: Pick<", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", \"subType\">) => boolean" + ], + "path": "packages/kbn-es-query/src/utils.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isDataViewFieldSubtypeMulti.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + "Pick<", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", \"subType\">" + ], + "path": "packages/kbn-es-query/src/utils.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isDataViewFieldSubtypeNested", + "type": "Function", + "tags": [], + "label": "isDataViewFieldSubtypeNested", + "description": [], + "signature": [ + "(field: Pick<", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", \"subType\">) => boolean" + ], + "path": "packages/kbn-es-query/src/utils.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isDataViewFieldSubtypeNested.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + "Pick<", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", \"subType\">" + ], + "path": "packages/kbn-es-query/src/utils.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isExistsFilter", + "type": "Function", + "tags": [], + "label": "isExistsFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ExistsFilter", + "text": "ExistsFilter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/exists_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isExistsFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/exists_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "`true` if a filter is an `ExistsFilter`" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isFilter", + "type": "Function", + "tags": [], + "label": "isFilter", + "description": [], + "signature": [ + "(x: unknown) => x is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isFilter.$1", + "type": "Unknown", + "tags": [], + "label": "x", + "description": [], + "signature": [ + "unknown" + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "`true` if the given object is a filter" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isFilterDisabled", + "type": "Function", + "tags": [], + "label": "isFilterDisabled", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => boolean" + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isFilterDisabled.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "`true` if the filter is disabled" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isFilterPinned", + "type": "Function", + "tags": [], + "label": "isFilterPinned", + "description": [ + "\n" + ], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => boolean | undefined" + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isFilterPinned.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "`true` if the filter should be applied to global scope" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isFilters", + "type": "Function", + "tags": [], + "label": "isFilters", + "description": [], + "signature": [ + "(x: unknown) => x is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isFilters.$1", + "type": "Unknown", + "tags": [], + "label": "x", + "description": [], + "signature": [ + "unknown" + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "`true` if the given object is an array of filters" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isMatchAllFilter", + "type": "Function", + "tags": [], + "label": "isMatchAllFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.MatchAllFilter", + "text": "MatchAllFilter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/match_all_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isMatchAllFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/match_all_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "`true` if a filter is an `MatchAllFilter`" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isMissingFilter", + "type": "Function", + "tags": [], + "label": "isMissingFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.MissingFilter", + "text": "MissingFilter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/missing_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isMissingFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/missing_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "`true` if a filter is an `MissingFilter`" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isPhraseFilter", + "type": "Function", + "tags": [], + "label": "isPhraseFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isPhraseFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "`true` if a filter is a `PhraseFilter`" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isPhrasesFilter", + "type": "Function", + "tags": [], + "label": "isPhrasesFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhrasesFilter", + "text": "PhrasesFilter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrases_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isPhrasesFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrases_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "`true` if a filter is a `PhrasesFilter`" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isQueryStringFilter", + "type": "Function", + "tags": [], + "label": "isQueryStringFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.QueryStringFilter", + "text": "QueryStringFilter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/query_string_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isQueryStringFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/query_string_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "`true` if a filter is a `QueryStringFilter`" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isRangeFilter", + "type": "Function", + "tags": [], + "label": "isRangeFilter", + "description": [], + "signature": [ + "(filter?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | undefined) => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isRangeFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | undefined" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "`true` if a filter is an `RangeFilter`" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isScriptedPhraseFilter", + "type": "Function", + "tags": [], + "label": "isScriptedPhraseFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedPhraseFilter", + "text": "ScriptedPhraseFilter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isScriptedPhraseFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "`true` if a filter is a scripted `PhrasesFilter`" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isScriptedRangeFilter", + "type": "Function", + "tags": [], + "label": "isScriptedRangeFilter", + "description": [ + "\n" + ], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isScriptedRangeFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "`true` if a filter is a scripted `RangeFilter`" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.luceneStringToDsl", + "type": "Function", + "tags": [], + "label": "luceneStringToDsl", + "description": [ + "\n" + ], + "signature": [ + "(query: string | ", + "QueryDslQueryContainer", + ") => ", + "QueryDslQueryContainer" + ], + "path": "packages/kbn-es-query/src/es_query/lucene_string_to_dsl.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.luceneStringToDsl.$1", + "type": "CompoundType", + "tags": [], + "label": "query", + "description": [], + "signature": [ + "string | ", + "QueryDslQueryContainer" + ], + "path": "packages/kbn-es-query/src/es_query/lucene_string_to_dsl.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.onlyDisabledFiltersChanged", + "type": "Function", + "tags": [], + "label": "onlyDisabledFiltersChanged", + "description": [ + "\nChecks to see if only disabled filters have been changed" + ], + "signature": [ + "(newFilters?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[] | undefined, oldFilters?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[] | undefined) => boolean" + ], + "path": "packages/kbn-es-query/src/filters/helpers/only_disabled.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.onlyDisabledFiltersChanged.$1", + "type": "Array", + "tags": [], + "label": "newFilters", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[] | undefined" + ], + "path": "packages/kbn-es-query/src/filters/helpers/only_disabled.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.onlyDisabledFiltersChanged.$2", + "type": "Array", + "tags": [], + "label": "oldFilters", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[] | undefined" + ], + "path": "packages/kbn-es-query/src/filters/helpers/only_disabled.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "Only disabled filters" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.pinFilter", + "type": "Function", + "tags": [], + "label": "pinFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.pinFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "A pinned (global) copy of the filter" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.toElasticsearchQuery", + "type": "Function", + "tags": [ + "params", + "params" + ], + "label": "toElasticsearchQuery", + "description": [], + "signature": [ + "(node: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, + ", indexPattern?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + " | undefined, config?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryQueryOptions", + "text": "KueryQueryOptions" + }, + " | undefined, context?: Record | undefined) => ", + "QueryDslQueryContainer" + ], + "path": "packages/kbn-es-query/src/kuery/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.toElasticsearchQuery.$1", + "type": "Object", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "[node: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, + ", indexPattern?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + " | undefined, config?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryQueryOptions", + "text": "KueryQueryOptions" + }, + " | undefined, context?: Record | undefined]" + ], + "path": "packages/kbn-es-query/src/kuery/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.toggleFilterDisabled", + "type": "Function", + "tags": [], + "label": "toggleFilterDisabled", + "description": [ + "\n" + ], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => { meta: { disabled: boolean; alias?: string | null | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; query?: Record | undefined; }" + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.toggleFilterDisabled.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "A copy of the filter with a toggled disabled state" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.toggleFilterNegated", + "type": "Function", + "tags": [], + "label": "toggleFilterNegated", + "description": [ + "\n" + ], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => { meta: { negate: boolean; alias?: string | null | undefined; disabled?: boolean | undefined; controlledBy?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; query?: Record | undefined; }" + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.toggleFilterNegated.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "A copy of the filter with a toggled negated state" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.toggleFilterPinned", + "type": "Function", + "tags": [], + "label": "toggleFilterPinned", + "description": [ + "\n" + ], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => { $state: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; }; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.toggleFilterPinned.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "A copy of the filter with a toggled pinned state (toggles store from app to global and vice versa)" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.uniqFilters", + "type": "Function", + "tags": [], + "label": "uniqFilters", + "description": [ + "\nRemove duplicate filters from an array of filters\n" + ], + "signature": [ + "(filters: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[], comparatorOptions?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterCompareOptions", + "text": "FilterCompareOptions" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "packages/kbn-es-query/src/filters/helpers/uniq_filters.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.uniqFilters.$1", + "type": "Array", + "tags": [], + "label": "filters", + "description": [ + "The filters to remove duplicates from" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "packages/kbn-es-query/src/filters/helpers/uniq_filters.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.uniqFilters.$2", + "type": "Object", + "tags": [], + "label": "comparatorOptions", + "description": [ + "- Parameters to use for comparison" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterCompareOptions", + "text": "FilterCompareOptions" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/uniq_filters.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "The original filters array with duplicates removed" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.unpinFilter", + "type": "Function", + "tags": [], + "label": "unpinFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.unpinFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "An unpinned (app scoped) copy of the filter" + ], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.BoolQuery", + "type": "Interface", + "tags": [], + "label": "BoolQuery", + "description": [], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.BoolQuery.must", + "type": "Array", + "tags": [], + "label": "must", + "description": [], + "signature": [ + "QueryDslQueryContainer", + "[]" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.BoolQuery.must_not", + "type": "Array", + "tags": [], + "label": "must_not", + "description": [], + "signature": [ + "QueryDslQueryContainer", + "[]" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.BoolQuery.filter", + "type": "Array", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "QueryDslQueryContainer", + "[]" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.BoolQuery.should", + "type": "Array", + "tags": [], + "label": "should", + "description": [], + "signature": [ + "QueryDslQueryContainer", + "[]" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.DataViewBase", + "type": "Interface", + "tags": [], + "label": "DataViewBase", + "description": [ + "\nA base interface for an index pattern" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.DataViewBase.fields", + "type": "Array", + "tags": [], + "label": "fields", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + "[]" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.DataViewBase.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.DataViewBase.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.DataViewFieldBase", + "type": "Interface", + "tags": [], + "label": "DataViewFieldBase", + "description": [ + "\nA base interface for an index pattern field" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.DataViewFieldBase.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.DataViewFieldBase.type", + "type": "string", + "tags": [], + "label": "type", + "description": [ + "\nKibana field type" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.DataViewFieldBase.subType", + "type": "CompoundType", + "tags": [], + "label": "subType", + "description": [], + "signature": [ + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional", + " | undefined" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.DataViewFieldBase.script", + "type": "string", + "tags": [], + "label": "script", + "description": [ + "\nScripted field painless script" + ], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.DataViewFieldBase.lang", + "type": "CompoundType", + "tags": [], + "label": "lang", + "description": [ + "\nScripted field langauge\nPainless is the only valid scripted field language" + ], + "signature": [ + "\"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.DataViewFieldBase.scripted", + "type": "CompoundType", + "tags": [], + "label": "scripted", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.FilterCompareOptions", + "type": "Interface", + "tags": [], + "label": "FilterCompareOptions", + "description": [], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.FilterCompareOptions.index", + "type": "CompoundType", + "tags": [], + "label": "index", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.FilterCompareOptions.disabled", + "type": "CompoundType", + "tags": [], + "label": "disabled", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.FilterCompareOptions.negate", + "type": "CompoundType", + "tags": [], + "label": "negate", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.FilterCompareOptions.state", + "type": "CompoundType", + "tags": [], + "label": "state", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.FilterCompareOptions.alias", + "type": "CompoundType", + "tags": [], + "label": "alias", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.IFieldSubTypeMulti", + "type": "Interface", + "tags": [], + "label": "IFieldSubTypeMulti", + "description": [], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.IFieldSubTypeMulti.multi", + "type": "Object", + "tags": [], + "label": "multi", + "description": [], + "signature": [ + "{ parent: string; }" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.IFieldSubTypeNested", + "type": "Interface", + "tags": [], + "label": "IFieldSubTypeNested", + "description": [], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.IFieldSubTypeNested.nested", + "type": "Object", + "tags": [], + "label": "nested", + "description": [], + "signature": [ + "{ path: string; }" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.KueryNode", + "type": "Interface", + "tags": [], + "label": "KueryNode", + "description": [], + "path": "packages/kbn-es-query/src/kuery/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.KueryNode.type", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"function\" | \"wildcard\" | \"literal\" | \"namedArg\"" + ], + "path": "packages/kbn-es-query/src/kuery/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.KueryNode.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-es-query/src/kuery/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.KueryQueryOptions", + "type": "Interface", + "tags": [], + "label": "KueryQueryOptions", + "description": [], + "path": "packages/kbn-es-query/src/kuery/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.KueryQueryOptions.filtersInMustClause", + "type": "CompoundType", + "tags": [], + "label": "filtersInMustClause", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-es-query/src/kuery/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.KueryQueryOptions.dateFormatTZ", + "type": "string", + "tags": [], + "label": "dateFormatTZ", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-es-query/src/kuery/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.LatLon", + "type": "Interface", + "tags": [], + "label": "LatLon", + "description": [ + "\nAn interface for a latitude-longitude pair" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.LatLon.lat", + "type": "number", + "tags": [], + "label": "lat", + "description": [], + "path": "packages/kbn-es-query/src/filters/build_filters/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.LatLon.lon", + "type": "number", + "tags": [], + "label": "lon", + "description": [], + "path": "packages/kbn-es-query/src/filters/build_filters/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.RangeFilterParams", + "type": "Interface", + "tags": [], + "label": "RangeFilterParams", + "description": [ + "\nAn interface for all possible range filter params\nIt is similar, but not identical to estypes.QueryDslRangeQuery" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.RangeFilterParams.from", + "type": "CompoundType", + "tags": [], + "label": "from", + "description": [], + "signature": [ + "string | number | undefined" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.RangeFilterParams.to", + "type": "CompoundType", + "tags": [], + "label": "to", + "description": [], + "signature": [ + "string | number | undefined" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.RangeFilterParams.gt", + "type": "CompoundType", + "tags": [], + "label": "gt", + "description": [], + "signature": [ + "string | number | undefined" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.RangeFilterParams.lt", + "type": "CompoundType", + "tags": [], + "label": "lt", + "description": [], + "signature": [ + "string | number | undefined" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.RangeFilterParams.gte", + "type": "CompoundType", + "tags": [], + "label": "gte", + "description": [], + "signature": [ + "string | number | undefined" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.RangeFilterParams.lte", + "type": "CompoundType", + "tags": [], + "label": "lte", + "description": [], + "signature": [ + "string | number | undefined" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.RangeFilterParams.format", + "type": "string", + "tags": [], + "label": "format", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.FILTERS", + "type": "Enum", + "tags": [], + "label": "FILTERS", + "description": [ + "\nAn enum of all types of filters supported by this package" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.FilterStateStore", + "type": "Enum", + "tags": [], + "label": "FilterStateStore", + "description": [ + "\n Filter,\nAn enum to denote whether a filter is specific to an application's context or whether it should be applied globally." + ], + "path": "packages/kbn-es-query/src/filters/build_filters/types.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "misc": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.CustomFilter", + "type": "Type", + "tags": [], + "label": "CustomFilter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/custom_filter.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.DslQuery", + "type": "Type", + "tags": [], + "label": "DslQuery", + "description": [], + "signature": [ + "QueryDslQueryContainer" + ], + "path": "packages/kbn-es-query/src/kuery/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.EsQueryConfig", + "type": "Type", + "tags": [], + "label": "EsQueryConfig", + "description": [ + "\nConfigurations to be used while constructing an ES query." + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryQueryOptions", + "text": "KueryQueryOptions" + }, + " & { allowLeadingWildcards: boolean; queryStringOptions: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, + "; ignoreFilterIfFieldNotInIndex: boolean; }" + ], + "path": "packages/kbn-es-query/src/es_query/build_es_query.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.ExistsFilter", + "type": "Type", + "tags": [], + "label": "ExistsFilter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " & { meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; exists?: { field: string; } | undefined; }" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/exists_filter.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.FieldFilter", + "type": "Type", + "tags": [], + "label": "FieldFilter", + "description": [ + "\nA common type for filters supported by this package" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ExistsFilter", + "text": "ExistsFilter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.MatchAllFilter", + "text": "MatchAllFilter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.MissingFilter", + "text": "MissingFilter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhrasesFilter", + "text": "PhrasesFilter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.Filter", + "type": "Type", + "tags": [], + "label": "Filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.FilterMeta", + "type": "Type", + "tags": [], + "label": "FilterMeta", + "description": [], + "signature": [ + "{ alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.IFieldSubType", + "type": "Type", + "tags": [], + "label": "IFieldSubType", + "description": [ + "\nA field's sub type" + ], + "signature": [ + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.IndexPatternBase", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternBase", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": true, + "references": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.IndexPatternFieldBase", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternFieldBase", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": true, + "references": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.MatchAllFilter", + "type": "Type", + "tags": [], + "label": "MatchAllFilter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " & { meta: ", + "MatchAllFilterMeta", + "; match_all: ", + "QueryDslMatchAllQuery", + "; }" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/match_all_filter.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.MissingFilter", + "type": "Type", + "tags": [], + "label": "MissingFilter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " & { meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; missing: { field: string; }; }" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/missing_filter.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.PhraseFilter", + "type": "Type", + "tags": [], + "label": "PhraseFilter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " & { meta: ", + "PhraseFilterMeta", + "; query: { match_phrase?: Record | undefined; match?: Record | undefined; }; }" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.PhrasesFilter", + "type": "Type", + "tags": [], + "label": "PhrasesFilter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " & { meta: ", + "PhrasesFilterMeta", + "; query: ", + "QueryDslQueryContainer", + "; }" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrases_filter.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.Query", + "type": "Type", + "tags": [], + "label": "Query", + "description": [], + "signature": [ + "{ query: string | { [key: string]: any; }; language: string; }" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.QueryStringFilter", + "type": "Type", + "tags": [], + "label": "QueryStringFilter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " & { meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: { query_string?: { query: string; } | undefined; } | undefined; }" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/query_string_filter.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.RangeFilter", + "type": "Type", + "tags": [], + "label": "RangeFilter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " & { meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterMeta", + "text": "RangeFilterMeta" + }, + "; range: { [key: string]: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterParams", + "text": "RangeFilterParams" + }, + "; }; }" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.RangeFilterMeta", + "type": "Type", + "tags": [], + "label": "RangeFilterMeta", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + " & { params: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterParams", + "text": "RangeFilterParams" + }, + "; field?: string | undefined; formattedValue?: string | undefined; }" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.ScriptedPhraseFilter", + "type": "Type", + "tags": [], + "label": "ScriptedPhraseFilter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " & { meta: ", + "PhraseFilterMeta", + "; script: { script: ", + "InlineScript", + "; }; }" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.ScriptedRangeFilter", + "type": "Type", + "tags": [], + "label": "ScriptedRangeFilter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " & { meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterMeta", + "text": "RangeFilterMeta" + }, + "; script: { script: ", + "InlineScript", + "; }; }" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.COMPARE_ALL_OPTIONS", + "type": "Object", + "tags": [], + "label": "COMPARE_ALL_OPTIONS", + "description": [ + "\nInclude disabled, negate and store when comparing filters" + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.COMPARE_ALL_OPTIONS.index", + "type": "boolean", + "tags": [], + "label": "index", + "description": [], + "signature": [ + "true" + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.COMPARE_ALL_OPTIONS.disabled", + "type": "boolean", + "tags": [], + "label": "disabled", + "description": [], + "signature": [ + "true" + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.COMPARE_ALL_OPTIONS.negate", + "type": "boolean", + "tags": [], + "label": "negate", + "description": [], + "signature": [ + "true" + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.COMPARE_ALL_OPTIONS.state", + "type": "boolean", + "tags": [], + "label": "state", + "description": [], + "signature": [ + "true" + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.COMPARE_ALL_OPTIONS.alias", + "type": "boolean", + "tags": [], + "label": "alias", + "description": [], + "signature": [ + "true" + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.nodeBuilder", + "type": "Object", + "tags": [], + "label": "nodeBuilder", + "description": [], + "path": "packages/kbn-es-query/src/kuery/node_types/node_builder.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.nodeBuilder.is", + "type": "Function", + "tags": [], + "label": "is", + "description": [], + "signature": [ + "(fieldName: string, value: string | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, + ") => ", + "FunctionTypeBuildNode" + ], + "path": "packages/kbn-es-query/src/kuery/node_types/node_builder.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.nodeBuilder.is.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-es-query/src/kuery/node_types/node_builder.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.nodeBuilder.is.$2", + "type": "CompoundType", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "string | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + } + ], + "path": "packages/kbn-es-query/src/kuery/node_types/node_builder.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.nodeBuilder.or", + "type": "Function", + "tags": [], + "label": "or", + "description": [], + "signature": [ + "(nodes: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, + "[]) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + } + ], + "path": "packages/kbn-es-query/src/kuery/node_types/node_builder.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.nodeBuilder.or.$1", + "type": "Array", + "tags": [], + "label": "nodes", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, + "[]" + ], + "path": "packages/kbn-es-query/src/kuery/node_types/node_builder.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.nodeBuilder.and", + "type": "Function", + "tags": [], + "label": "and", + "description": [], + "signature": [ + "(nodes: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, + "[]) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + } + ], + "path": "packages/kbn-es-query/src/kuery/node_types/node_builder.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.nodeBuilder.and.$1", + "type": "Array", + "tags": [], + "label": "nodes", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, + "[]" + ], + "path": "packages/kbn-es-query/src/kuery/node_types/node_builder.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.nodeTypes", + "type": "Object", + "tags": [], + "label": "nodeTypes", + "description": [], + "path": "packages/kbn-es-query/src/kuery/node_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.nodeTypes.function", + "type": "Object", + "tags": [], + "label": "function", + "description": [ + "// This requires better typing of the different typings and their return types.\n// @ts-ignore" + ], + "signature": [ + "typeof ", + "packages/kbn-es-query/src/kuery/node_types/function" + ], + "path": "packages/kbn-es-query/src/kuery/node_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.nodeTypes.literal", + "type": "Object", + "tags": [], + "label": "literal", + "description": [], + "signature": [ + "typeof ", + "packages/kbn-es-query/src/kuery/node_types/literal" + ], + "path": "packages/kbn-es-query/src/kuery/node_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.nodeTypes.namedArg", + "type": "Object", + "tags": [], + "label": "namedArg", + "description": [], + "signature": [ + "typeof ", + "packages/kbn-es-query/src/kuery/node_types/named_arg" + ], + "path": "packages/kbn-es-query/src/kuery/node_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.nodeTypes.wildcard", + "type": "Object", + "tags": [], + "label": "wildcard", + "description": [], + "signature": [ + "typeof ", + "packages/kbn-es-query/src/kuery/node_types/wildcard" + ], + "path": "packages/kbn-es-query/src/kuery/node_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ] + } +} \ No newline at end of file diff --git a/api_docs/kbn_es_query.mdx b/api_docs/kbn_es_query.mdx new file mode 100644 index 0000000000000..471c5e8b2687a --- /dev/null +++ b/api_docs/kbn_es_query.mdx @@ -0,0 +1,42 @@ +--- +id: kibKbnEsQueryPluginApi +slug: /kibana-dev-docs/api/kbn-es-query +title: "@kbn/es-query" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/es-query plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-query'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnEsQueryObj from './kbn_es_query.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 208 | 2 | 156 | 14 | + +## Common + +### Objects + + +### Functions + + +### Classes + + +### Interfaces + + +### Enums + + +### Consts, variables and types + + diff --git a/api_docs/kbn_field_types.json b/api_docs/kbn_field_types.json new file mode 100644 index 0000000000000..a0c3de8a3d807 --- /dev/null +++ b/api_docs/kbn_field_types.json @@ -0,0 +1,342 @@ +{ + "id": "@kbn/field-types", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [ + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.KbnFieldType", + "type": "Class", + "tags": [], + "label": "KbnFieldType", + "description": [], + "path": "packages/kbn-field-types/src/kbn_field_type.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.KbnFieldType.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "packages/kbn-field-types/src/kbn_field_type.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.KbnFieldType.sortable", + "type": "boolean", + "tags": [], + "label": "sortable", + "description": [], + "path": "packages/kbn-field-types/src/kbn_field_type.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.KbnFieldType.filterable", + "type": "boolean", + "tags": [], + "label": "filterable", + "description": [], + "path": "packages/kbn-field-types/src/kbn_field_type.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.KbnFieldType.esTypes", + "type": "Object", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + "readonly ", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, + "[]" + ], + "path": "packages/kbn-field-types/src/kbn_field_type.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.KbnFieldType.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-field-types/src/kbn_field_type.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.KbnFieldType.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Partial<", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KbnFieldTypeOptions", + "text": "KbnFieldTypeOptions" + }, + ">" + ], + "path": "packages/kbn-field-types/src/kbn_field_type.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.castEsToKbnFieldTypeName", + "type": "Function", + "tags": [ + "return" + ], + "label": "castEsToKbnFieldTypeName", + "description": [ + "\n Get the KbnFieldType name for an esType string\n" + ], + "signature": [ + "(esType: string) => ", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } + ], + "path": "packages/kbn-field-types/src/kbn_field_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.castEsToKbnFieldTypeName.$1", + "type": "string", + "tags": [], + "label": "esType", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-field-types/src/kbn_field_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.getFilterableKbnTypeNames", + "type": "Function", + "tags": [ + "return" + ], + "label": "getFilterableKbnTypeNames", + "description": [ + "\n Get filterable KbnFieldTypes\n" + ], + "signature": [ + "() => string[]" + ], + "path": "packages/kbn-field-types/src/kbn_field_types.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.getKbnFieldType", + "type": "Function", + "tags": [ + "return" + ], + "label": "getKbnFieldType", + "description": [ + "\n Get a type object by name\n" + ], + "signature": [ + "(typeName: string) => ", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KbnFieldType", + "text": "KbnFieldType" + } + ], + "path": "packages/kbn-field-types/src/kbn_field_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.getKbnFieldType.$1", + "type": "string", + "tags": [], + "label": "typeName", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-field-types/src/kbn_field_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.getKbnTypeNames", + "type": "Function", + "tags": [ + "return" + ], + "label": "getKbnTypeNames", + "description": [ + "\n Get the esTypes known by all kbnFieldTypes\n" + ], + "signature": [ + "() => string[]" + ], + "path": "packages/kbn-field-types/src/kbn_field_types.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.KbnFieldTypeOptions", + "type": "Interface", + "tags": [], + "label": "KbnFieldTypeOptions", + "description": [], + "path": "packages/kbn-field-types/src/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.KbnFieldTypeOptions.sortable", + "type": "boolean", + "tags": [], + "label": "sortable", + "description": [], + "path": "packages/kbn-field-types/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.KbnFieldTypeOptions.filterable", + "type": "boolean", + "tags": [], + "label": "filterable", + "description": [], + "path": "packages/kbn-field-types/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.KbnFieldTypeOptions.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "packages/kbn-field-types/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.KbnFieldTypeOptions.esTypes", + "type": "Array", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, + "[]" + ], + "path": "packages/kbn-field-types/src/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [ + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.ES_FIELD_TYPES", + "type": "Enum", + "tags": [], + "label": "ES_FIELD_TYPES", + "description": [], + "path": "packages/kbn-field-types/src/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.KBN_FIELD_TYPES", + "type": "Enum", + "tags": [], + "label": "KBN_FIELD_TYPES", + "description": [], + "path": "packages/kbn-field-types/src/types.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_field_types.mdx b/api_docs/kbn_field_types.mdx new file mode 100644 index 0000000000000..b172967b36da7 --- /dev/null +++ b/api_docs/kbn_field_types.mdx @@ -0,0 +1,36 @@ +--- +id: kibKbnFieldTypesPluginApi +slug: /kibana-dev-docs/api/kbn-field-types +title: "@kbn/field-types" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/field-types plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/field-types'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnFieldTypesObj from './kbn_field_types.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 20 | 0 | 16 | 0 | + +## Server + +### Functions + + +### Classes + + +### Interfaces + + +### Enums + + diff --git a/api_docs/kbn_i18n.json b/api_docs/kbn_i18n.json new file mode 100644 index 0000000000000..7dfd6ff5cdf6f --- /dev/null +++ b/api_docs/kbn_i18n.json @@ -0,0 +1,58 @@ +{ + "id": "@kbn/i18n", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [ + { + "parentPluginId": "@kbn/i18n", + "id": "def-common.i18n", + "type": "Object", + "tags": [], + "label": "i18n", + "description": [], + "signature": [ + "typeof ", + "packages/kbn-i18n/src/core/index" + ], + "path": "packages/kbn-i18n/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/i18n", + "id": "def-common.i18nLoader", + "type": "Object", + "tags": [], + "label": "i18nLoader", + "description": [], + "signature": [ + "typeof ", + "packages/kbn-i18n/src/loader" + ], + "path": "packages/kbn-i18n/src/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ] + } +} \ No newline at end of file diff --git a/api_docs/kbn_i18n.mdx b/api_docs/kbn_i18n.mdx new file mode 100644 index 0000000000000..3e63ac31bf7da --- /dev/null +++ b/api_docs/kbn_i18n.mdx @@ -0,0 +1,27 @@ +--- +id: kibKbnI18nPluginApi +slug: /kibana-dev-docs/api/kbn-i18n +title: "@kbn/i18n" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/i18n plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/i18n'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnI18nObj from './kbn_i18n.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 2 | 0 | 2 | 2 | + +## Common + +### Objects + + diff --git a/api_docs/kbn_io_ts_utils.json b/api_docs/kbn_io_ts_utils.json new file mode 100644 index 0000000000000..e4bb841efe9e5 --- /dev/null +++ b/api_docs/kbn_io_ts_utils.json @@ -0,0 +1,446 @@ +{ + "id": "@kbn/io-ts-utils", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.deepExactRt", + "type": "Function", + "tags": [], + "label": "deepExactRt", + "description": [], + "signature": [ + "(type: T) => T" + ], + "path": "packages/kbn-io-ts-utils/src/deep_exact_rt/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.deepExactRt.$1", + "type": "Uncategorized", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-io-ts-utils/src/deep_exact_rt/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.deepExactRt", + "type": "Function", + "tags": [], + "label": "deepExactRt", + "description": [], + "signature": [ + "(type: ", + "Type", + " | ", + "StringType", + " | ", + "BooleanType", + " | ", + "NumberType", + " | ", + "ArrayType", + "<", + "Mixed", + ", any, any, unknown> | ", + "RecordC", + "<", + "Mixed", + ", ", + "Mixed", + "> | ", + "DictionaryType", + "<", + "Mixed", + ", ", + "Mixed", + ", any, any, unknown> | ", + "InterfaceType", + "<", + "Props", + ", any, any, unknown> | ", + "PartialType", + "<", + "Props", + ", any, any, unknown> | ", + "UnionType", + "<", + "Mixed", + "[], any, any, unknown> | ", + "IntersectionType", + "<", + "Mixed", + "[], any, any, unknown> | ", + "MergeType", + "<", + "Mixed", + ", ", + "Mixed", + ">) => ", + "Type", + " | ", + "StringType", + " | ", + "BooleanType", + " | ", + "NumberType", + " | ", + "RecordC", + "<", + "Mixed", + ", ", + "Mixed", + "> | ", + "ArrayC", + "<", + "Mixed", + "> | ", + "ExactC", + "<", + "TypeC", + "<{ [x: string]: ", + "Mixed", + "; }>> | ", + "ExactC", + "<", + "PartialC", + "<{ [x: string]: ", + "Mixed", + "; }>>" + ], + "path": "packages/kbn-io-ts-utils/src/deep_exact_rt/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.deepExactRt.$1", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "Type", + " | ", + "StringType", + " | ", + "BooleanType", + " | ", + "NumberType", + " | ", + "ArrayType", + "<", + "Mixed", + ", any, any, unknown> | ", + "RecordC", + "<", + "Mixed", + ", ", + "Mixed", + "> | ", + "DictionaryType", + "<", + "Mixed", + ", ", + "Mixed", + ", any, any, unknown> | ", + "InterfaceType", + "<", + "Props", + ", any, any, unknown> | ", + "PartialType", + "<", + "Props", + ", any, any, unknown> | ", + "UnionType", + "<", + "Mixed", + "[], any, any, unknown> | ", + "IntersectionType", + "<", + "Mixed", + "[], any, any, unknown> | ", + "MergeType", + "<", + "Mixed", + ", ", + "Mixed", + ">" + ], + "path": "packages/kbn-io-ts-utils/src/deep_exact_rt/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.mergeRt", + "type": "Function", + "tags": [], + "label": "mergeRt", + "description": [], + "signature": [ + "(a: T1, b: T2) => ", + "MergeType", + "" + ], + "path": "packages/kbn-io-ts-utils/src/merge_rt/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.mergeRt.$1", + "type": "Uncategorized", + "tags": [], + "label": "a", + "description": [], + "signature": [ + "T1" + ], + "path": "packages/kbn-io-ts-utils/src/merge_rt/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.mergeRt.$2", + "type": "Uncategorized", + "tags": [], + "label": "b", + "description": [], + "signature": [ + "T2" + ], + "path": "packages/kbn-io-ts-utils/src/merge_rt/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.mergeRt", + "type": "Function", + "tags": [], + "label": "mergeRt", + "description": [], + "signature": [ + "(types: ", + "Any", + "[]) => { _tag: string; types: ", + "Any", + "[]; name: string; is: ", + "Is", + "; validate: ", + "Validate", + "; encode: ", + "Encode", + "; _A: any; _O: any; _I: unknown; }" + ], + "path": "packages/kbn-io-ts-utils/src/merge_rt/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.mergeRt.$1", + "type": "Array", + "tags": [], + "label": "types", + "description": [], + "signature": [ + "Any", + "[]" + ], + "path": "packages/kbn-io-ts-utils/src/merge_rt/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.strictKeysRt", + "type": "Function", + "tags": [], + "label": "strictKeysRt", + "description": [], + "signature": [ + "(type: T) => ", + "Type", + "" + ], + "path": "packages/kbn-io-ts-utils/src/strict_keys_rt/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.strictKeysRt.$1", + "type": "Uncategorized", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-io-ts-utils/src/strict_keys_rt/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.toJsonSchema", + "type": "Function", + "tags": [], + "label": "toJsonSchema", + "description": [], + "signature": [ + "(type: ", + "Mixed", + ") => JSONSchema" + ], + "path": "packages/kbn-io-ts-utils/src/to_json_schema/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.toJsonSchema.$1", + "type": "Object", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "Mixed" + ], + "path": "packages/kbn-io-ts-utils/src/to_json_schema/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [ + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.isoToEpochRt", + "type": "Object", + "tags": [], + "label": "isoToEpochRt", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-io-ts-utils/src/iso_to_epoch_rt/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.jsonRt", + "type": "Object", + "tags": [], + "label": "jsonRt", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-io-ts-utils/src/json_rt/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.nonEmptyStringRt", + "type": "Object", + "tags": [], + "label": "nonEmptyStringRt", + "description": [], + "signature": [ + "BrandC", + "<", + "StringC", + ", ", + "NonEmptyStringBrand", + ">" + ], + "path": "packages/kbn-io-ts-utils/src/non_empty_string_rt/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.toBooleanRt", + "type": "Object", + "tags": [], + "label": "toBooleanRt", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-io-ts-utils/src/to_boolean_rt/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.toNumberRt", + "type": "Object", + "tags": [], + "label": "toNumberRt", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-io-ts-utils/src/to_number_rt/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_io_ts_utils.mdx b/api_docs/kbn_io_ts_utils.mdx new file mode 100644 index 0000000000000..445586d8426ff --- /dev/null +++ b/api_docs/kbn_io_ts_utils.mdx @@ -0,0 +1,30 @@ +--- +id: kibKbnIoTsUtilsPluginApi +slug: /kibana-dev-docs/api/kbn-io-ts-utils +title: "@kbn/io-ts-utils" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/io-ts-utils plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/io-ts-utils'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnIoTsUtilsObj from './kbn_io_ts_utils.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 18 | 0 | 18 | 2 | + +## Server + +### Objects + + +### Functions + + diff --git a/api_docs/kbn_legacy_logging.json b/api_docs/kbn_legacy_logging.json new file mode 100644 index 0000000000000..987f6ad1c14e5 --- /dev/null +++ b/api_docs/kbn_legacy_logging.json @@ -0,0 +1,584 @@ +{ + "id": "@kbn/legacy-logging", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/legacy-logging", + "id": "def-server.attachMetaData", + "type": "Function", + "tags": [], + "label": "attachMetaData", + "description": [], + "signature": [ + "(message: string, metadata?: Record) => { [metadataSymbol]: { message: string; metadata: Record; }; }" + ], + "path": "packages/kbn-legacy-logging/src/metadata.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/legacy-logging", + "id": "def-server.attachMetaData.$1", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-legacy-logging/src/metadata.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/legacy-logging", + "id": "def-server.attachMetaData.$2", + "type": "Object", + "tags": [], + "label": "metadata", + "description": [], + "signature": [ + "Record" + ], + "path": "packages/kbn-legacy-logging/src/metadata.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/legacy-logging", + "id": "def-server.getLoggingConfiguration", + "type": "Function", + "tags": [], + "label": "getLoggingConfiguration", + "description": [ + "\nReturns the `@hapi/good` plugin configuration to be used for the legacy logging" + ], + "signature": [ + "(config: ", + { + "pluginId": "@kbn/legacy-logging", + "scope": "server", + "docId": "kibKbnLegacyLoggingPluginApi", + "section": "def-server.LegacyLoggingConfig", + "text": "LegacyLoggingConfig" + }, + ", opsInterval: number) => { ops: { interval: number; }; includes: { request: string[]; response: string[]; }; reporters: { logReporter: ", + "LogInterceptor", + "[]; }; }" + ], + "path": "packages/kbn-legacy-logging/src/get_logging_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/legacy-logging", + "id": "def-server.getLoggingConfiguration.$1", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + { + "pluginId": "@kbn/legacy-logging", + "scope": "server", + "docId": "kibKbnLegacyLoggingPluginApi", + "section": "def-server.LegacyLoggingConfig", + "text": "LegacyLoggingConfig" + } + ], + "path": "packages/kbn-legacy-logging/src/get_logging_config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/legacy-logging", + "id": "def-server.getLoggingConfiguration.$2", + "type": "number", + "tags": [], + "label": "opsInterval", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-legacy-logging/src/get_logging_config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/legacy-logging", + "id": "def-server.reconfigureLogging", + "type": "Function", + "tags": [], + "label": "reconfigureLogging", + "description": [], + "signature": [ + "(server: ", + "Server", + ", config: ", + { + "pluginId": "@kbn/legacy-logging", + "scope": "server", + "docId": "kibKbnLegacyLoggingPluginApi", + "section": "def-server.LegacyLoggingConfig", + "text": "LegacyLoggingConfig" + }, + ", opsInterval: number) => void" + ], + "path": "packages/kbn-legacy-logging/src/setup_logging.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/legacy-logging", + "id": "def-server.reconfigureLogging.$1", + "type": "Object", + "tags": [], + "label": "server", + "description": [], + "signature": [ + "Server" + ], + "path": "packages/kbn-legacy-logging/src/setup_logging.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/legacy-logging", + "id": "def-server.reconfigureLogging.$2", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + { + "pluginId": "@kbn/legacy-logging", + "scope": "server", + "docId": "kibKbnLegacyLoggingPluginApi", + "section": "def-server.LegacyLoggingConfig", + "text": "LegacyLoggingConfig" + } + ], + "path": "packages/kbn-legacy-logging/src/setup_logging.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/legacy-logging", + "id": "def-server.reconfigureLogging.$3", + "type": "number", + "tags": [], + "label": "opsInterval", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-legacy-logging/src/setup_logging.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/legacy-logging", + "id": "def-server.setupLogging", + "type": "Function", + "tags": [], + "label": "setupLogging", + "description": [], + "signature": [ + "(server: ", + "Server", + ", config: ", + { + "pluginId": "@kbn/legacy-logging", + "scope": "server", + "docId": "kibKbnLegacyLoggingPluginApi", + "section": "def-server.LegacyLoggingConfig", + "text": "LegacyLoggingConfig" + }, + ", opsInterval: number) => Promise" + ], + "path": "packages/kbn-legacy-logging/src/setup_logging.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/legacy-logging", + "id": "def-server.setupLogging.$1", + "type": "Object", + "tags": [], + "label": "server", + "description": [], + "signature": [ + "Server" + ], + "path": "packages/kbn-legacy-logging/src/setup_logging.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/legacy-logging", + "id": "def-server.setupLogging.$2", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + { + "pluginId": "@kbn/legacy-logging", + "scope": "server", + "docId": "kibKbnLegacyLoggingPluginApi", + "section": "def-server.LegacyLoggingConfig", + "text": "LegacyLoggingConfig" + } + ], + "path": "packages/kbn-legacy-logging/src/setup_logging.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/legacy-logging", + "id": "def-server.setupLogging.$3", + "type": "number", + "tags": [], + "label": "opsInterval", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-legacy-logging/src/setup_logging.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/legacy-logging", + "id": "def-server.setupLoggingRotate", + "type": "Function", + "tags": [], + "label": "setupLoggingRotate", + "description": [], + "signature": [ + "(server: ", + "Server", + ", config: ", + { + "pluginId": "@kbn/legacy-logging", + "scope": "server", + "docId": "kibKbnLegacyLoggingPluginApi", + "section": "def-server.LegacyLoggingConfig", + "text": "LegacyLoggingConfig" + }, + ") => Promise<", + "LogRotator", + " | undefined>" + ], + "path": "packages/kbn-legacy-logging/src/rotate/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/legacy-logging", + "id": "def-server.setupLoggingRotate.$1", + "type": "Object", + "tags": [], + "label": "server", + "description": [], + "signature": [ + "Server" + ], + "path": "packages/kbn-legacy-logging/src/rotate/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/legacy-logging", + "id": "def-server.setupLoggingRotate.$2", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + { + "pluginId": "@kbn/legacy-logging", + "scope": "server", + "docId": "kibKbnLegacyLoggingPluginApi", + "section": "def-server.LegacyLoggingConfig", + "text": "LegacyLoggingConfig" + } + ], + "path": "packages/kbn-legacy-logging/src/rotate/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/legacy-logging", + "id": "def-server.LegacyLoggingConfig", + "type": "Interface", + "tags": [ + "deprecated" + ], + "label": "LegacyLoggingConfig", + "description": [], + "path": "packages/kbn-legacy-logging/src/schema.ts", + "deprecated": true, + "references": [], + "children": [ + { + "parentPluginId": "@kbn/legacy-logging", + "id": "def-server.LegacyLoggingConfig.silent", + "type": "boolean", + "tags": [], + "label": "silent", + "description": [], + "path": "packages/kbn-legacy-logging/src/schema.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/legacy-logging", + "id": "def-server.LegacyLoggingConfig.quiet", + "type": "boolean", + "tags": [], + "label": "quiet", + "description": [], + "path": "packages/kbn-legacy-logging/src/schema.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/legacy-logging", + "id": "def-server.LegacyLoggingConfig.verbose", + "type": "boolean", + "tags": [], + "label": "verbose", + "description": [], + "path": "packages/kbn-legacy-logging/src/schema.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/legacy-logging", + "id": "def-server.LegacyLoggingConfig.events", + "type": "Object", + "tags": [], + "label": "events", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "packages/kbn-legacy-logging/src/schema.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/legacy-logging", + "id": "def-server.LegacyLoggingConfig.dest", + "type": "string", + "tags": [], + "label": "dest", + "description": [], + "path": "packages/kbn-legacy-logging/src/schema.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/legacy-logging", + "id": "def-server.LegacyLoggingConfig.filter", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "packages/kbn-legacy-logging/src/schema.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/legacy-logging", + "id": "def-server.LegacyLoggingConfig.json", + "type": "boolean", + "tags": [], + "label": "json", + "description": [], + "path": "packages/kbn-legacy-logging/src/schema.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/legacy-logging", + "id": "def-server.LegacyLoggingConfig.timezone", + "type": "string", + "tags": [], + "label": "timezone", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-legacy-logging/src/schema.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/legacy-logging", + "id": "def-server.LegacyLoggingConfig.rotate", + "type": "Object", + "tags": [], + "label": "rotate", + "description": [], + "signature": [ + "{ enabled: boolean; everyBytes: number; keepFiles: number; pollingInterval: number; usePolling: boolean; pollingPolicyTestTimeout?: number | undefined; }" + ], + "path": "packages/kbn-legacy-logging/src/schema.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [], + "objects": [ + { + "parentPluginId": "@kbn/legacy-logging", + "id": "def-server.legacyLoggingConfigSchema", + "type": "Object", + "tags": [], + "label": "legacyLoggingConfigSchema", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, + "<{ silent: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; quiet: ", + "ConditionalType", + "; verbose: ", + "ConditionalType", + "; events: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ">; dest: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; filter: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ">; json: ", + "ConditionalType", + "<\"stdout\", boolean, boolean>; timezone: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; rotate: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, + "<{ enabled: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; everyBytes: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; keepFiles: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; pollingInterval: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; usePolling: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; }>; }>" + ], + "path": "packages/kbn-legacy-logging/src/schema.ts", + "deprecated": false, + "initialIsOpen": false + } + ] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_legacy_logging.mdx b/api_docs/kbn_legacy_logging.mdx new file mode 100644 index 0000000000000..17ca9318cebd0 --- /dev/null +++ b/api_docs/kbn_legacy_logging.mdx @@ -0,0 +1,33 @@ +--- +id: kibKbnLegacyLoggingPluginApi +slug: /kibana-dev-docs/api/kbn-legacy-logging +title: "@kbn/legacy-logging" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/legacy-logging plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/legacy-logging'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnLegacyLoggingObj from './kbn_legacy_logging.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 28 | 0 | 27 | 2 | + +## Server + +### Objects + + +### Functions + + +### Interfaces + + diff --git a/api_docs/kbn_logging.json b/api_docs/kbn_logging.json new file mode 100644 index 0000000000000..32ab4bac1ffac --- /dev/null +++ b/api_docs/kbn_logging.json @@ -0,0 +1,760 @@ +{ + "id": "@kbn/logging", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [ + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger", + "type": "Interface", + "tags": [], + "label": "Logger", + "description": [ + "\nLogger exposes all the necessary methods to log any type of information and\nthis is the interface used by the logging consumers including plugins.\n" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.trace", + "type": "Function", + "tags": [], + "label": "trace", + "description": [ + "\nLog messages at the most detailed log level\n" + ], + "signature": [ + "(message: string, meta?: Meta | undefined) => void" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.trace.$1", + "type": "string", + "tags": [], + "label": "message", + "description": [ + "- The log message" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.trace.$2", + "type": "Uncategorized", + "tags": [], + "label": "meta", + "description": [ + "-" + ], + "signature": [ + "Meta | undefined" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.debug", + "type": "Function", + "tags": [], + "label": "debug", + "description": [ + "\nLog messages useful for debugging and interactive investigation" + ], + "signature": [ + "(message: string, meta?: Meta | undefined) => void" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.debug.$1", + "type": "string", + "tags": [], + "label": "message", + "description": [ + "- The log message" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.debug.$2", + "type": "Uncategorized", + "tags": [], + "label": "meta", + "description": [ + "-" + ], + "signature": [ + "Meta | undefined" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.info", + "type": "Function", + "tags": [], + "label": "info", + "description": [ + "\nLogs messages related to general application flow" + ], + "signature": [ + "(message: string, meta?: Meta | undefined) => void" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.info.$1", + "type": "string", + "tags": [], + "label": "message", + "description": [ + "- The log message" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.info.$2", + "type": "Uncategorized", + "tags": [], + "label": "meta", + "description": [ + "-" + ], + "signature": [ + "Meta | undefined" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.warn", + "type": "Function", + "tags": [], + "label": "warn", + "description": [ + "\nLogs abnormal or unexpected errors or messages" + ], + "signature": [ + "(errorOrMessage: string | Error, meta?: Meta | undefined) => void" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.warn.$1", + "type": "CompoundType", + "tags": [], + "label": "errorOrMessage", + "description": [ + "- An Error object or message string to log" + ], + "signature": [ + "string | Error" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.warn.$2", + "type": "Uncategorized", + "tags": [], + "label": "meta", + "description": [ + "-" + ], + "signature": [ + "Meta | undefined" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.error", + "type": "Function", + "tags": [], + "label": "error", + "description": [ + "\nLogs abnormal or unexpected errors or messages that caused a failure in the application flow\n" + ], + "signature": [ + "(errorOrMessage: string | Error, meta?: Meta | undefined) => void" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.error.$1", + "type": "CompoundType", + "tags": [], + "label": "errorOrMessage", + "description": [ + "- An Error object or message string to log" + ], + "signature": [ + "string | Error" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.error.$2", + "type": "Uncategorized", + "tags": [], + "label": "meta", + "description": [ + "-" + ], + "signature": [ + "Meta | undefined" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.fatal", + "type": "Function", + "tags": [], + "label": "fatal", + "description": [ + "\nLogs abnormal or unexpected errors or messages that caused an unrecoverable failure\n" + ], + "signature": [ + "(errorOrMessage: string | Error, meta?: Meta | undefined) => void" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.fatal.$1", + "type": "CompoundType", + "tags": [], + "label": "errorOrMessage", + "description": [ + "- An Error object or message string to log" + ], + "signature": [ + "string | Error" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.fatal.$2", + "type": "Uncategorized", + "tags": [], + "label": "meta", + "description": [ + "-" + ], + "signature": [ + "Meta | undefined" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [ + "\nReturns a new {@link Logger} instance extending the current logger context.\n" + ], + "signature": [ + "(...childContextPaths: string[]) => ", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.get.$1", + "type": "Array", + "tags": [], + "label": "childContextPaths", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.LoggerFactory", + "type": "Interface", + "tags": [], + "label": "LoggerFactory", + "description": [ + "\nThe single purpose of `LoggerFactory` interface is to define a way to\nretrieve a context-based logger instance.\n" + ], + "path": "packages/kbn-logging/src/logger_factory.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/logging", + "id": "def-server.LoggerFactory.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [ + "\nReturns a `Logger` instance for the specified context.\n" + ], + "signature": [ + "(...contextParts: string[]) => ", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } + ], + "path": "packages/kbn-logging/src/logger_factory.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/logging", + "id": "def-server.LoggerFactory.get.$1", + "type": "Array", + "tags": [], + "label": "contextParts", + "description": [ + "- Parts of the context to return logger for. For example\nget('plugins', 'pid') will return a logger for the `plugins.pid` context." + ], + "signature": [ + "string[]" + ], + "path": "packages/kbn-logging/src/logger_factory.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Ecs", + "type": "Type", + "tags": [], + "label": "Ecs", + "description": [ + "\nRepresents the full ECS schema.\n" + ], + "signature": [ + "EcsBase", + " & ", + "EcsTracing", + " & { ecs: EcsField; agent?: ", + "EcsAgent", + " | undefined; as?: ", + "EcsAutonomousSystem", + " | undefined; client?: ", + "EcsClient", + " | undefined; cloud?: ", + "EcsCloud", + " | undefined; container?: ", + "EcsContainer", + " | undefined; data_stream?: ", + "EcsDataStream", + " | undefined; destination?: ", + "EcsDestination", + " | undefined; dns?: ", + "EcsDns", + " | undefined; email?: ", + "EcsEmail", + " | undefined; error?: ", + "EcsError", + " | undefined; event?: ", + "EcsEvent", + " | undefined; file?: ", + "EcsFile", + " | undefined; group?: ", + "EcsGroup", + " | undefined; host?: ", + "EcsHost", + " | undefined; http?: ", + "EcsHttp", + " | undefined; log?: ", + "EcsLog", + " | undefined; network?: ", + "EcsNetwork", + " | undefined; observer?: ", + "EcsObserver", + " | undefined; orchestrator?: ", + "EcsOrchestrator", + " | undefined; organization?: ", + "EcsOrganization", + " | undefined; package?: ", + "EcsPackage", + " | undefined; process?: ", + "EcsProcess", + " | undefined; registry?: ", + "EcsRegistry", + " | undefined; related?: ", + "EcsRelated", + " | undefined; rule?: ", + "EcsRule", + " | undefined; server?: ", + "EcsServer", + " | undefined; service?: ", + "EcsService", + " | undefined; source?: ", + "EcsSource", + " | undefined; threat?: ", + "EcsThreat", + " | undefined; tls?: ", + "EcsTls", + " | undefined; url?: ", + "EcsUrl", + " | undefined; user?: ", + "EcsUser", + " | undefined; user_agent?: ", + "EcsUserAgent", + " | undefined; vulnerability?: ", + "EcsVulnerability", + " | undefined; }" + ], + "path": "packages/kbn-logging/src/ecs/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.EcsEventCategory", + "type": "Type", + "tags": [], + "label": "EcsEventCategory", + "description": [], + "signature": [ + "\"host\" | \"network\" | \"web\" | \"database\" | \"package\" | \"session\" | \"file\" | \"registry\" | \"process\" | \"authentication\" | \"configuration\" | \"driver\" | \"iam\" | \"intrusion_detection\" | \"malware\"" + ], + "path": "packages/kbn-logging/src/ecs/event.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.EcsEventKind", + "type": "Type", + "tags": [], + "label": "EcsEventKind", + "description": [], + "signature": [ + "\"alert\" | \"metric\" | \"event\" | \"state\" | \"signal\" | \"pipeline_error\"" + ], + "path": "packages/kbn-logging/src/ecs/event.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.EcsEventOutcome", + "type": "Type", + "tags": [], + "label": "EcsEventOutcome", + "description": [], + "signature": [ + "\"unknown\" | \"success\" | \"failure\"" + ], + "path": "packages/kbn-logging/src/ecs/event.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.EcsEventType", + "type": "Type", + "tags": [], + "label": "EcsEventType", + "description": [], + "signature": [ + "\"start\" | \"connection\" | \"end\" | \"user\" | \"error\" | \"info\" | \"group\" | \"protocol\" | \"access\" | \"admin\" | \"allowed\" | \"change\" | \"creation\" | \"deletion\" | \"denied\" | \"installation\"" + ], + "path": "packages/kbn-logging/src/ecs/event.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.LogMeta", + "type": "Type", + "tags": [], + "label": "LogMeta", + "description": [ + "\nRepresents the ECS schema with the following reserved keys excluded:\n- `ecs`\n- `@timestamp`\n- `message`\n- `log.level`\n- `log.logger`\n" + ], + "signature": [ + "Pick<", + "EcsBase", + ", \"tags\" | \"labels\"> & ", + "EcsTracing", + " & { agent?: ", + "EcsAgent", + " | undefined; as?: ", + "EcsAutonomousSystem", + " | undefined; client?: ", + "EcsClient", + " | undefined; cloud?: ", + "EcsCloud", + " | undefined; container?: ", + "EcsContainer", + " | undefined; destination?: ", + "EcsDestination", + " | undefined; dns?: ", + "EcsDns", + " | undefined; error?: ", + "EcsError", + " | undefined; event?: ", + "EcsEvent", + " | undefined; file?: ", + "EcsFile", + " | undefined; group?: ", + "EcsGroup", + " | undefined; host?: ", + "EcsHost", + " | undefined; http?: ", + "EcsHttp", + " | undefined; log?: Pick<", + "EcsLog", + ", \"origin\" | \"original\" | \"file\" | \"syslog\"> | undefined; network?: ", + "EcsNetwork", + " | undefined; observer?: ", + "EcsObserver", + " | undefined; organization?: ", + "EcsOrganization", + " | undefined; package?: ", + "EcsPackage", + " | undefined; process?: ", + "EcsProcess", + " | undefined; registry?: ", + "EcsRegistry", + " | undefined; related?: ", + "EcsRelated", + " | undefined; rule?: ", + "EcsRule", + " | undefined; server?: ", + "EcsServer", + " | undefined; service?: ", + "EcsService", + " | undefined; source?: ", + "EcsSource", + " | undefined; threat?: ", + "EcsThreat", + " | undefined; tls?: ", + "EcsTls", + " | undefined; url?: ", + "EcsUrl", + " | undefined; user?: ", + "EcsUser", + " | undefined; user_agent?: ", + "EcsUserAgent", + " | undefined; vulnerability?: ", + "EcsVulnerability", + " | undefined; }" + ], + "path": "packages/kbn-logging/src/log_meta.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_logging.mdx b/api_docs/kbn_logging.mdx new file mode 100644 index 0000000000000..692a4b47fa5c5 --- /dev/null +++ b/api_docs/kbn_logging.mdx @@ -0,0 +1,30 @@ +--- +id: kibKbnLoggingPluginApi +slug: /kibana-dev-docs/api/kbn-logging +title: "@kbn/logging" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/logging plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/logging'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnLoggingObj from './kbn_logging.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 30 | 0 | 5 | 37 | + +## Server + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_mapbox_gl.json b/api_docs/kbn_mapbox_gl.json new file mode 100644 index 0000000000000..ee5b4c6dadc7d --- /dev/null +++ b/api_docs/kbn_mapbox_gl.json @@ -0,0 +1,6897 @@ +{ + "id": "@kbn/mapbox-gl", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat", + "type": "Class", + "tags": [], + "label": "LngLat", + "description": [ + "\nLngLat" + ], + "signature": [ + "maplibregl.LngLat" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat.lng", + "type": "number", + "tags": [], + "label": "lng", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat.lat", + "type": "number", + "tags": [], + "label": "lat", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat.Unnamed.$1", + "type": "number", + "tags": [], + "label": "lng", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat.Unnamed.$2", + "type": "number", + "tags": [], + "label": "lat", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat.wrap", + "type": "Function", + "tags": [], + "label": "wrap", + "description": [ + "Return a new LngLat object whose longitude is wrapped to the range (-180, 180)." + ], + "signature": [ + "() => maplibregl.LngLat" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat.toArray", + "type": "Function", + "tags": [], + "label": "toArray", + "description": [ + "Return a LngLat as an array" + ], + "signature": [ + "() => number[]" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat.toString", + "type": "Function", + "tags": [], + "label": "toString", + "description": [ + "Return a LngLat as a string" + ], + "signature": [ + "() => string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat.distanceTo", + "type": "Function", + "tags": [], + "label": "distanceTo", + "description": [ + "Returns the approximate distance between a pair of coordinates in meters\nUses the Haversine Formula (from R.W. Sinnott, \"Virtues of the Haversine\", Sky and Telescope, vol. 68, no. 2, 1984, p. 159)" + ], + "signature": [ + "(lngLat: maplibregl.LngLat) => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat.distanceTo.$1", + "type": "Object", + "tags": [], + "label": "lngLat", + "description": [], + "signature": [ + "maplibregl.LngLat" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat.toBounds", + "type": "Function", + "tags": [], + "label": "toBounds", + "description": [], + "signature": [ + "(radius: number) => maplibregl.LngLatBounds" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat.toBounds.$1", + "type": "number", + "tags": [], + "label": "radius", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat.convert", + "type": "Function", + "tags": [], + "label": "convert", + "description": [], + "signature": [ + "(input: maplibregl.LngLatLike) => maplibregl.LngLat" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat.convert.$1", + "type": "CompoundType", + "tags": [], + "label": "input", + "description": [], + "signature": [ + "maplibregl.LngLatLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds", + "type": "Class", + "tags": [], + "label": "LngLatBounds", + "description": [ + "\nLngLatBounds" + ], + "signature": [ + "maplibregl.LngLatBounds" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.sw", + "type": "CompoundType", + "tags": [], + "label": "sw", + "description": [], + "signature": [ + "[number, number] | maplibregl.LngLat | { lng: number; lat: number; } | { lon: number; lat: number; }" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.ne", + "type": "CompoundType", + "tags": [], + "label": "ne", + "description": [], + "signature": [ + "[number, number] | maplibregl.LngLat | { lng: number; lat: number; } | { lon: number; lat: number; }" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.Unnamed.$1", + "type": "CompoundType", + "tags": [], + "label": "boundsLike", + "description": [], + "signature": [ + "[number, number, number, number] | [maplibregl.LngLatLike, maplibregl.LngLatLike] | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.Unnamed.$1", + "type": "CompoundType", + "tags": [], + "label": "sw", + "description": [], + "signature": [ + "maplibregl.LngLatLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.Unnamed.$2", + "type": "CompoundType", + "tags": [], + "label": "ne", + "description": [], + "signature": [ + "maplibregl.LngLatLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.setNorthEast", + "type": "Function", + "tags": [], + "label": "setNorthEast", + "description": [], + "signature": [ + "(ne: maplibregl.LngLatLike) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.setNorthEast.$1", + "type": "CompoundType", + "tags": [], + "label": "ne", + "description": [], + "signature": [ + "maplibregl.LngLatLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.setSouthWest", + "type": "Function", + "tags": [], + "label": "setSouthWest", + "description": [], + "signature": [ + "(sw: maplibregl.LngLatLike) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.setSouthWest.$1", + "type": "CompoundType", + "tags": [], + "label": "sw", + "description": [], + "signature": [ + "maplibregl.LngLatLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.contains", + "type": "Function", + "tags": [], + "label": "contains", + "description": [ + "Check if the point is within the bounding box." + ], + "signature": [ + "(lnglat: maplibregl.LngLatLike) => boolean" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.contains.$1", + "type": "CompoundType", + "tags": [], + "label": "lnglat", + "description": [], + "signature": [ + "maplibregl.LngLatLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.extend", + "type": "Function", + "tags": [], + "label": "extend", + "description": [ + "Extend the bounds to include a given LngLat or LngLatBounds." + ], + "signature": [ + "(obj: maplibregl.LngLatBoundsLike) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.extend.$1", + "type": "CompoundType", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "maplibregl.LngLatBoundsLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.getCenter", + "type": "Function", + "tags": [], + "label": "getCenter", + "description": [ + "Get the point equidistant from this box's corners" + ], + "signature": [ + "() => maplibregl.LngLat" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.getSouthWest", + "type": "Function", + "tags": [], + "label": "getSouthWest", + "description": [ + "Get southwest corner" + ], + "signature": [ + "() => maplibregl.LngLat" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.getNorthEast", + "type": "Function", + "tags": [], + "label": "getNorthEast", + "description": [ + "Get northeast corner" + ], + "signature": [ + "() => maplibregl.LngLat" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.getNorthWest", + "type": "Function", + "tags": [], + "label": "getNorthWest", + "description": [ + "Get northwest corner" + ], + "signature": [ + "() => maplibregl.LngLat" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.getSouthEast", + "type": "Function", + "tags": [], + "label": "getSouthEast", + "description": [ + "Get southeast corner" + ], + "signature": [ + "() => maplibregl.LngLat" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.getWest", + "type": "Function", + "tags": [], + "label": "getWest", + "description": [ + "Get west edge longitude" + ], + "signature": [ + "() => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.getSouth", + "type": "Function", + "tags": [], + "label": "getSouth", + "description": [ + "Get south edge latitude" + ], + "signature": [ + "() => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.getEast", + "type": "Function", + "tags": [], + "label": "getEast", + "description": [ + "Get east edge longitude" + ], + "signature": [ + "() => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.getNorth", + "type": "Function", + "tags": [], + "label": "getNorth", + "description": [ + "Get north edge latitude" + ], + "signature": [ + "() => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.toArray", + "type": "Function", + "tags": [], + "label": "toArray", + "description": [ + "Returns a LngLatBounds as an array" + ], + "signature": [ + "() => number[][]" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.toString", + "type": "Function", + "tags": [], + "label": "toString", + "description": [ + "Return a LngLatBounds as a string" + ], + "signature": [ + "() => string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.isEmpty", + "type": "Function", + "tags": [], + "label": "isEmpty", + "description": [ + "Returns a boolean" + ], + "signature": [ + "() => boolean" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.convert", + "type": "Function", + "tags": [], + "label": "convert", + "description": [ + "Convert an array to a LngLatBounds object, or return an existing LngLatBounds object unchanged." + ], + "signature": [ + "(input: maplibregl.LngLatBoundsLike) => maplibregl.LngLatBounds" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.convert.$1", + "type": "CompoundType", + "tags": [], + "label": "input", + "description": [], + "signature": [ + "maplibregl.LngLatBoundsLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map", + "type": "Class", + "tags": [], + "label": "Map", + "description": [ + "\nMap" + ], + "signature": [ + "maplibregl.Map extends maplibregl.Evented" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.MapboxOptions | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addControl", + "type": "Function", + "tags": [], + "label": "addControl", + "description": [], + "signature": [ + "(control: maplibregl.Control | maplibregl.IControl, position?: \"top-right\" | \"top-left\" | \"bottom-right\" | \"bottom-left\" | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addControl.$1", + "type": "CompoundType", + "tags": [], + "label": "control", + "description": [], + "signature": [ + "maplibregl.Control | maplibregl.IControl" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addControl.$2", + "type": "CompoundType", + "tags": [], + "label": "position", + "description": [], + "signature": [ + "\"top-right\" | \"top-left\" | \"bottom-right\" | \"bottom-left\" | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.removeControl", + "type": "Function", + "tags": [], + "label": "removeControl", + "description": [], + "signature": [ + "(control: maplibregl.Control | maplibregl.IControl) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.removeControl.$1", + "type": "CompoundType", + "tags": [], + "label": "control", + "description": [], + "signature": [ + "maplibregl.Control | maplibregl.IControl" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.hasControl", + "type": "Function", + "tags": [], + "label": "hasControl", + "description": [ + "\nChecks if a control exists on the map.\n" + ], + "signature": [ + "(control: maplibregl.IControl) => boolean" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.hasControl.$1", + "type": "Object", + "tags": [], + "label": "control", + "description": [ + "The {@link IControl} to check." + ], + "signature": [ + "maplibregl.IControl" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "True if map contains control." + ] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.resize", + "type": "Function", + "tags": [], + "label": "resize", + "description": [], + "signature": [ + "(eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.resize.$1", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getBounds", + "type": "Function", + "tags": [], + "label": "getBounds", + "description": [], + "signature": [ + "() => maplibregl.LngLatBounds" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getMaxBounds", + "type": "Function", + "tags": [], + "label": "getMaxBounds", + "description": [], + "signature": [ + "() => maplibregl.LngLatBounds | null" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setMaxBounds", + "type": "Function", + "tags": [], + "label": "setMaxBounds", + "description": [], + "signature": [ + "(lnglatbounds?: [number, number] | [number, number, number, number] | maplibregl.LngLatBounds | [maplibregl.LngLatLike, maplibregl.LngLatLike] | maplibregl.LngLat | { lng: number; lat: number; } | { lon: number; lat: number; } | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setMaxBounds.$1", + "type": "CompoundType", + "tags": [], + "label": "lnglatbounds", + "description": [], + "signature": [ + "[number, number] | [number, number, number, number] | maplibregl.LngLatBounds | [maplibregl.LngLatLike, maplibregl.LngLatLike] | maplibregl.LngLat | { lng: number; lat: number; } | { lon: number; lat: number; } | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setMinZoom", + "type": "Function", + "tags": [], + "label": "setMinZoom", + "description": [], + "signature": [ + "(minZoom?: number | null | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setMinZoom.$1", + "type": "CompoundType", + "tags": [], + "label": "minZoom", + "description": [], + "signature": [ + "number | null | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getMinZoom", + "type": "Function", + "tags": [], + "label": "getMinZoom", + "description": [], + "signature": [ + "() => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setMaxZoom", + "type": "Function", + "tags": [], + "label": "setMaxZoom", + "description": [], + "signature": [ + "(maxZoom?: number | null | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setMaxZoom.$1", + "type": "CompoundType", + "tags": [], + "label": "maxZoom", + "description": [], + "signature": [ + "number | null | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getMaxZoom", + "type": "Function", + "tags": [], + "label": "getMaxZoom", + "description": [], + "signature": [ + "() => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setMinPitch", + "type": "Function", + "tags": [], + "label": "setMinPitch", + "description": [], + "signature": [ + "(minPitch?: number | null | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setMinPitch.$1", + "type": "CompoundType", + "tags": [], + "label": "minPitch", + "description": [], + "signature": [ + "number | null | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getMinPitch", + "type": "Function", + "tags": [], + "label": "getMinPitch", + "description": [], + "signature": [ + "() => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setMaxPitch", + "type": "Function", + "tags": [], + "label": "setMaxPitch", + "description": [], + "signature": [ + "(maxPitch?: number | null | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setMaxPitch.$1", + "type": "CompoundType", + "tags": [], + "label": "maxPitch", + "description": [], + "signature": [ + "number | null | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getMaxPitch", + "type": "Function", + "tags": [], + "label": "getMaxPitch", + "description": [], + "signature": [ + "() => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getRenderWorldCopies", + "type": "Function", + "tags": [], + "label": "getRenderWorldCopies", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setRenderWorldCopies", + "type": "Function", + "tags": [], + "label": "setRenderWorldCopies", + "description": [], + "signature": [ + "(renderWorldCopies?: boolean | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setRenderWorldCopies.$1", + "type": "CompoundType", + "tags": [], + "label": "renderWorldCopies", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.project", + "type": "Function", + "tags": [], + "label": "project", + "description": [], + "signature": [ + "(lnglat: maplibregl.LngLatLike) => maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.project.$1", + "type": "CompoundType", + "tags": [], + "label": "lnglat", + "description": [], + "signature": [ + "maplibregl.LngLatLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.unproject", + "type": "Function", + "tags": [], + "label": "unproject", + "description": [], + "signature": [ + "(point: maplibregl.PointLike) => maplibregl.LngLat" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.unproject.$1", + "type": "CompoundType", + "tags": [], + "label": "point", + "description": [], + "signature": [ + "maplibregl.PointLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.isMoving", + "type": "Function", + "tags": [], + "label": "isMoving", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.isZooming", + "type": "Function", + "tags": [], + "label": "isZooming", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.isRotating", + "type": "Function", + "tags": [], + "label": "isRotating", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.queryRenderedFeatures", + "type": "Function", + "tags": [], + "label": "queryRenderedFeatures", + "description": [ + "\nReturns an array of GeoJSON Feature objects representing visible features that satisfy the query parameters.\n\nThe properties value of each returned feature object contains the properties of its source feature. For GeoJSON sources, only string and numeric property values are supported (i.e. null, Array, and Object values are not supported).\n\nEach feature includes top-level layer, source, and sourceLayer properties. The layer property is an object representing the style layer to which the feature belongs. Layout and paint properties in this object contain values which are fully evaluated for the given zoom level and feature.\n\nOnly features that are currently rendered are included. Some features will not be included, like:\n\n- Features from layers whose visibility property is \"none\".\n- Features from layers whose zoom range excludes the current zoom level.\n- Symbol features that have been hidden due to text or icon collision.\n\nFeatures from all other layers are included, including features that may have no visible contribution to the rendered result; for example, because the layer's opacity or color alpha component is set to 0.\n\nThe topmost rendered feature appears first in the returned array, and subsequent features are sorted by descending z-order. Features that are rendered multiple times (due to wrapping across the antimeridian at low zoom levels) are returned only once (though subject to the following caveat).\n\nBecause features come from tiled vector data or GeoJSON data that is converted to tiles internally, feature geometries may be split or duplicated across tile boundaries and, as a result, features may appear multiple times in query results. For example, suppose there is a highway running through the bounding rectangle of a query. The results of the query will be those parts of the highway that lie within the map tiles covering the bounding rectangle, even if the highway extends into other tiles, and the portion of the highway within each map tile will be returned as a separate feature. Similarly, a point feature near a tile boundary may appear in multiple tiles due to tile buffering.\n" + ], + "signature": [ + "(pointOrBox?: [number, number] | maplibregl.Point | [maplibregl.PointLike, maplibregl.PointLike] | undefined, options?: ({ layers?: string[] | undefined; filter?: any[] | undefined; } & maplibregl.FilterOptions) | undefined) => maplibregl.MapboxGeoJSONFeature[]" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.queryRenderedFeatures.$1", + "type": "CompoundType", + "tags": [], + "label": "pointOrBox", + "description": [ + "The geometry of the query region: either a single point or southwest and northeast points describing a bounding box. Omitting this parameter (i.e. calling Map#queryRenderedFeatures with zero arguments, or with only a options argument) is equivalent to passing a bounding box encompassing the entire map viewport." + ], + "signature": [ + "[number, number] | maplibregl.Point | [maplibregl.PointLike, maplibregl.PointLike] | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.queryRenderedFeatures.$2", + "type": "CompoundType", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "({ layers?: string[] | undefined; filter?: any[] | undefined; } & maplibregl.FilterOptions) | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.querySourceFeatures", + "type": "Function", + "tags": [], + "label": "querySourceFeatures", + "description": [ + "\nReturns an array of GeoJSON Feature objects representing features within the specified vector tile or GeoJSON source that satisfy the query parameters.\n\nIn contrast to Map#queryRenderedFeatures, this function returns all features matching the query parameters, whether or not they are rendered by the current style (i.e. visible). The domain of the query includes all currently-loaded vector tiles and GeoJSON source tiles: this function does not check tiles outside the currently visible viewport.\n\nBecause features come from tiled vector data or GeoJSON data that is converted to tiles internally, feature geometries may be split or duplicated across tile boundaries and, as a result, features may appear multiple times in query results. For example, suppose there is a highway running through the bounding rectangle of a query. The results of the query will be those parts of the highway that lie within the map tiles covering the bounding rectangle, even if the highway extends into other tiles, and the portion of the highway within each map tile will be returned as a separate feature. Similarly, a point feature near a tile boundary may appear in multiple tiles due to tile buffering.\n" + ], + "signature": [ + "(sourceID: string, parameters?: ({ sourceLayer?: string | undefined; filter?: any[] | undefined; } & maplibregl.FilterOptions) | undefined) => maplibregl.MapboxGeoJSONFeature[]" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.querySourceFeatures.$1", + "type": "string", + "tags": [], + "label": "sourceID", + "description": [ + "The ID of the vector tile or GeoJSON source to query." + ], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.querySourceFeatures.$2", + "type": "CompoundType", + "tags": [], + "label": "parameters", + "description": [], + "signature": [ + "({ sourceLayer?: string | undefined; filter?: any[] | undefined; } & maplibregl.FilterOptions) | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setStyle", + "type": "Function", + "tags": [], + "label": "setStyle", + "description": [], + "signature": [ + "(style: string | maplibregl.Style, options?: { diff?: boolean | undefined; localIdeographFontFamily?: string | undefined; } | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setStyle.$1", + "type": "CompoundType", + "tags": [], + "label": "style", + "description": [], + "signature": [ + "string | maplibregl.Style" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setStyle.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setStyle.$2.diff", + "type": "CompoundType", + "tags": [], + "label": "diff", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setStyle.$2.localIdeographFontFamily", + "type": "string", + "tags": [], + "label": "localIdeographFontFamily", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setTransformRequest", + "type": "Function", + "tags": [], + "label": "setTransformRequest", + "description": [], + "signature": [ + "(transformRequest: maplibregl.TransformRequestFunction) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setTransformRequest.$1", + "type": "Function", + "tags": [], + "label": "transformRequest", + "description": [], + "signature": [ + "maplibregl.TransformRequestFunction" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getStyle", + "type": "Function", + "tags": [], + "label": "getStyle", + "description": [], + "signature": [ + "() => maplibregl.Style" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.isStyleLoaded", + "type": "Function", + "tags": [], + "label": "isStyleLoaded", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addSource", + "type": "Function", + "tags": [], + "label": "addSource", + "description": [], + "signature": [ + "(id: string, source: maplibregl.AnySourceData) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addSource.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addSource.$2", + "type": "CompoundType", + "tags": [], + "label": "source", + "description": [], + "signature": [ + "maplibregl.AnySourceData" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.isSourceLoaded", + "type": "Function", + "tags": [], + "label": "isSourceLoaded", + "description": [], + "signature": [ + "(id: string) => boolean" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.isSourceLoaded.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.areTilesLoaded", + "type": "Function", + "tags": [], + "label": "areTilesLoaded", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.removeSource", + "type": "Function", + "tags": [], + "label": "removeSource", + "description": [], + "signature": [ + "(id: string) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.removeSource.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getSource", + "type": "Function", + "tags": [], + "label": "getSource", + "description": [], + "signature": [ + "(id: string) => maplibregl.AnySourceImpl" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getSource.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addImage", + "type": "Function", + "tags": [], + "label": "addImage", + "description": [], + "signature": [ + "(name: string, image: ArrayBufferView | HTMLImageElement | { width: number; height: number; data: Uint8Array | Uint8ClampedArray; } | ImageData | ImageBitmap, options?: { pixelRatio?: number | undefined; sdf?: boolean | undefined; } | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addImage.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addImage.$2", + "type": "CompoundType", + "tags": [], + "label": "image", + "description": [], + "signature": [ + "ArrayBufferView | HTMLImageElement | { width: number; height: number; data: Uint8Array | Uint8ClampedArray; } | ImageData | ImageBitmap" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addImage.$3", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addImage.$3.pixelRatio", + "type": "number", + "tags": [], + "label": "pixelRatio", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addImage.$3.sdf", + "type": "CompoundType", + "tags": [], + "label": "sdf", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.hasImage", + "type": "Function", + "tags": [], + "label": "hasImage", + "description": [], + "signature": [ + "(name: string) => boolean" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.hasImage.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.removeImage", + "type": "Function", + "tags": [], + "label": "removeImage", + "description": [], + "signature": [ + "(name: string) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.removeImage.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.loadImage", + "type": "Function", + "tags": [], + "label": "loadImage", + "description": [], + "signature": [ + "(url: string, callback: Function) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.loadImage.$1", + "type": "string", + "tags": [], + "label": "url", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.loadImage.$2", + "type": "Object", + "tags": [], + "label": "callback", + "description": [], + "signature": [ + "Function" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.listImages", + "type": "Function", + "tags": [], + "label": "listImages", + "description": [], + "signature": [ + "() => string[]" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addLayer", + "type": "Function", + "tags": [], + "label": "addLayer", + "description": [], + "signature": [ + "(layer: maplibregl.AnyLayer, before?: string | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addLayer.$1", + "type": "CompoundType", + "tags": [], + "label": "layer", + "description": [], + "signature": [ + "maplibregl.AnyLayer" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addLayer.$2", + "type": "string", + "tags": [], + "label": "before", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.moveLayer", + "type": "Function", + "tags": [], + "label": "moveLayer", + "description": [], + "signature": [ + "(id: string, beforeId?: string | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.moveLayer.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.moveLayer.$2", + "type": "string", + "tags": [], + "label": "beforeId", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.removeLayer", + "type": "Function", + "tags": [], + "label": "removeLayer", + "description": [], + "signature": [ + "(id: string) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.removeLayer.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getLayer", + "type": "Function", + "tags": [], + "label": "getLayer", + "description": [], + "signature": [ + "(id: string) => maplibregl.AnyLayer" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getLayer.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setFilter", + "type": "Function", + "tags": [], + "label": "setFilter", + "description": [], + "signature": [ + "(layer: string, filter?: boolean | any[] | null | undefined, options?: maplibregl.FilterOptions | null | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setFilter.$1", + "type": "string", + "tags": [], + "label": "layer", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setFilter.$2", + "type": "CompoundType", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "boolean | any[] | null | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setFilter.$3", + "type": "CompoundType", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.FilterOptions | null | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setLayerZoomRange", + "type": "Function", + "tags": [], + "label": "setLayerZoomRange", + "description": [], + "signature": [ + "(layerId: string, minzoom: number, maxzoom: number) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setLayerZoomRange.$1", + "type": "string", + "tags": [], + "label": "layerId", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setLayerZoomRange.$2", + "type": "number", + "tags": [], + "label": "minzoom", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setLayerZoomRange.$3", + "type": "number", + "tags": [], + "label": "maxzoom", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getFilter", + "type": "Function", + "tags": [], + "label": "getFilter", + "description": [], + "signature": [ + "(layer: string) => any[]" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getFilter.$1", + "type": "string", + "tags": [], + "label": "layer", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setPaintProperty", + "type": "Function", + "tags": [], + "label": "setPaintProperty", + "description": [], + "signature": [ + "(layer: string, name: string, value: any, klass?: string | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setPaintProperty.$1", + "type": "string", + "tags": [], + "label": "layer", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setPaintProperty.$2", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setPaintProperty.$3", + "type": "Any", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setPaintProperty.$4", + "type": "string", + "tags": [], + "label": "klass", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getPaintProperty", + "type": "Function", + "tags": [], + "label": "getPaintProperty", + "description": [], + "signature": [ + "(layer: string, name: string) => any" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getPaintProperty.$1", + "type": "string", + "tags": [], + "label": "layer", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getPaintProperty.$2", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setLayoutProperty", + "type": "Function", + "tags": [], + "label": "setLayoutProperty", + "description": [], + "signature": [ + "(layer: string, name: string, value: any) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setLayoutProperty.$1", + "type": "string", + "tags": [], + "label": "layer", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setLayoutProperty.$2", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setLayoutProperty.$3", + "type": "Any", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getLayoutProperty", + "type": "Function", + "tags": [], + "label": "getLayoutProperty", + "description": [], + "signature": [ + "(layer: string, name: string) => any" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getLayoutProperty.$1", + "type": "string", + "tags": [], + "label": "layer", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getLayoutProperty.$2", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setLight", + "type": "Function", + "tags": [], + "label": "setLight", + "description": [], + "signature": [ + "(options: maplibregl.Light, lightOptions?: any) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setLight.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.Light" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setLight.$2", + "type": "Any", + "tags": [], + "label": "lightOptions", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getLight", + "type": "Function", + "tags": [], + "label": "getLight", + "description": [], + "signature": [ + "() => maplibregl.Light" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setFeatureState", + "type": "Function", + "tags": [], + "label": "setFeatureState", + "description": [], + "signature": [ + "(feature: maplibregl.MapboxGeoJSONFeature | maplibregl.FeatureIdentifier, state: { [key: string]: any; }) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setFeatureState.$1", + "type": "CompoundType", + "tags": [], + "label": "feature", + "description": [], + "signature": [ + "maplibregl.MapboxGeoJSONFeature | maplibregl.FeatureIdentifier" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setFeatureState.$2", + "type": "Object", + "tags": [], + "label": "state", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setFeatureState.$2.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getFeatureState", + "type": "Function", + "tags": [], + "label": "getFeatureState", + "description": [], + "signature": [ + "(feature: maplibregl.MapboxGeoJSONFeature | maplibregl.FeatureIdentifier) => { [key: string]: any; }" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getFeatureState.$1", + "type": "CompoundType", + "tags": [], + "label": "feature", + "description": [], + "signature": [ + "maplibregl.MapboxGeoJSONFeature | maplibregl.FeatureIdentifier" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.removeFeatureState", + "type": "Function", + "tags": [], + "label": "removeFeatureState", + "description": [], + "signature": [ + "(target: maplibregl.MapboxGeoJSONFeature | maplibregl.FeatureIdentifier, key?: string | undefined) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.removeFeatureState.$1", + "type": "CompoundType", + "tags": [], + "label": "target", + "description": [], + "signature": [ + "maplibregl.MapboxGeoJSONFeature | maplibregl.FeatureIdentifier" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.removeFeatureState.$2", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getContainer", + "type": "Function", + "tags": [], + "label": "getContainer", + "description": [], + "signature": [ + "() => HTMLElement" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getCanvasContainer", + "type": "Function", + "tags": [], + "label": "getCanvasContainer", + "description": [], + "signature": [ + "() => HTMLElement" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getCanvas", + "type": "Function", + "tags": [], + "label": "getCanvas", + "description": [], + "signature": [ + "() => HTMLCanvasElement" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.loaded", + "type": "Function", + "tags": [], + "label": "loaded", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.remove", + "type": "Function", + "tags": [], + "label": "remove", + "description": [], + "signature": [ + "() => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.triggerRepaint", + "type": "Function", + "tags": [], + "label": "triggerRepaint", + "description": [], + "signature": [ + "() => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.showTileBoundaries", + "type": "boolean", + "tags": [], + "label": "showTileBoundaries", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.showCollisionBoxes", + "type": "boolean", + "tags": [], + "label": "showCollisionBoxes", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.showPadding", + "type": "boolean", + "tags": [ + "name", + "type", + "instance", + "memberof" + ], + "label": "showPadding", + "description": [ + "\nGets and sets a Boolean indicating whether the map will visualize\nthe padding offsets.\n" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.repaint", + "type": "boolean", + "tags": [], + "label": "repaint", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getCenter", + "type": "Function", + "tags": [], + "label": "getCenter", + "description": [], + "signature": [ + "() => maplibregl.LngLat" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setCenter", + "type": "Function", + "tags": [], + "label": "setCenter", + "description": [], + "signature": [ + "(center: maplibregl.LngLatLike, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setCenter.$1", + "type": "CompoundType", + "tags": [], + "label": "center", + "description": [], + "signature": [ + "maplibregl.LngLatLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setCenter.$2", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.panBy", + "type": "Function", + "tags": [], + "label": "panBy", + "description": [], + "signature": [ + "(offset: maplibregl.PointLike, options?: maplibregl.AnimationOptions | undefined, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.panBy.$1", + "type": "CompoundType", + "tags": [], + "label": "offset", + "description": [], + "signature": [ + "maplibregl.PointLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.panBy.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.AnimationOptions | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.panBy.$3", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.panTo", + "type": "Function", + "tags": [], + "label": "panTo", + "description": [], + "signature": [ + "(lnglat: maplibregl.LngLatLike, options?: maplibregl.AnimationOptions | undefined, eventdata?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.panTo.$1", + "type": "CompoundType", + "tags": [], + "label": "lnglat", + "description": [], + "signature": [ + "maplibregl.LngLatLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.panTo.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.AnimationOptions | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.panTo.$3", + "type": "Object", + "tags": [], + "label": "eventdata", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getZoom", + "type": "Function", + "tags": [], + "label": "getZoom", + "description": [], + "signature": [ + "() => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setZoom", + "type": "Function", + "tags": [], + "label": "setZoom", + "description": [], + "signature": [ + "(zoom: number, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setZoom.$1", + "type": "number", + "tags": [], + "label": "zoom", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setZoom.$2", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.zoomTo", + "type": "Function", + "tags": [], + "label": "zoomTo", + "description": [], + "signature": [ + "(zoom: number, options?: maplibregl.AnimationOptions | undefined, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.zoomTo.$1", + "type": "number", + "tags": [], + "label": "zoom", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.zoomTo.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.AnimationOptions | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.zoomTo.$3", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.zoomIn", + "type": "Function", + "tags": [], + "label": "zoomIn", + "description": [], + "signature": [ + "(options?: maplibregl.AnimationOptions | undefined, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.zoomIn.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.AnimationOptions | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.zoomIn.$2", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.zoomOut", + "type": "Function", + "tags": [], + "label": "zoomOut", + "description": [], + "signature": [ + "(options?: maplibregl.AnimationOptions | undefined, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.zoomOut.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.AnimationOptions | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.zoomOut.$2", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getBearing", + "type": "Function", + "tags": [], + "label": "getBearing", + "description": [], + "signature": [ + "() => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setBearing", + "type": "Function", + "tags": [], + "label": "setBearing", + "description": [], + "signature": [ + "(bearing: number, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setBearing.$1", + "type": "number", + "tags": [], + "label": "bearing", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setBearing.$2", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getPadding", + "type": "Function", + "tags": [ + "memberof" + ], + "label": "getPadding", + "description": [ + "\nReturns the current padding applied around the map viewport.\n" + ], + "signature": [ + "() => maplibregl.PaddingOptions" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [ + "The current padding around the map viewport." + ] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setPadding", + "type": "Function", + "tags": [ + "memberof", + "fires", + "fires" + ], + "label": "setPadding", + "description": [ + "\nSets the padding in pixels around the viewport.\n\nEquivalent to `jumpTo({padding: padding})`.\n" + ], + "signature": [ + "(padding: maplibregl.RequireAtLeastOne, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setPadding.$1", + "type": "CompoundType", + "tags": [], + "label": "padding", + "description": [ + "The desired padding. Format: { left: number, right: number, top: number, bottom: number }" + ], + "signature": [ + "maplibregl.RequireAtLeastOne" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setPadding.$2", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [ + "Additional properties to be added to event objects of events triggered by this method." + ], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "`this`" + ] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.rotateTo", + "type": "Function", + "tags": [], + "label": "rotateTo", + "description": [], + "signature": [ + "(bearing: number, options?: maplibregl.AnimationOptions | undefined, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.rotateTo.$1", + "type": "number", + "tags": [], + "label": "bearing", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.rotateTo.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.AnimationOptions | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.rotateTo.$3", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.resetNorth", + "type": "Function", + "tags": [], + "label": "resetNorth", + "description": [], + "signature": [ + "(options?: maplibregl.AnimationOptions | undefined, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.resetNorth.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.AnimationOptions | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.resetNorth.$2", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.resetNorthPitch", + "type": "Function", + "tags": [], + "label": "resetNorthPitch", + "description": [], + "signature": [ + "(options?: maplibregl.AnimationOptions | null | undefined, eventData?: maplibregl.EventData | null | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.resetNorthPitch.$1", + "type": "CompoundType", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.AnimationOptions | null | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.resetNorthPitch.$2", + "type": "CompoundType", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | null | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.snapToNorth", + "type": "Function", + "tags": [], + "label": "snapToNorth", + "description": [], + "signature": [ + "(options?: maplibregl.AnimationOptions | undefined, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.snapToNorth.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.AnimationOptions | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.snapToNorth.$2", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getPitch", + "type": "Function", + "tags": [], + "label": "getPitch", + "description": [], + "signature": [ + "() => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setPitch", + "type": "Function", + "tags": [], + "label": "setPitch", + "description": [], + "signature": [ + "(pitch: number, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setPitch.$1", + "type": "number", + "tags": [], + "label": "pitch", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setPitch.$2", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.cameraForBounds", + "type": "Function", + "tags": [], + "label": "cameraForBounds", + "description": [], + "signature": [ + "(bounds: maplibregl.LngLatBoundsLike, options?: maplibregl.CameraForBoundsOptions | undefined) => maplibregl.CameraForBoundsResult | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.cameraForBounds.$1", + "type": "CompoundType", + "tags": [], + "label": "bounds", + "description": [], + "signature": [ + "maplibregl.LngLatBoundsLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.cameraForBounds.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.CameraForBoundsOptions | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.fitBounds", + "type": "Function", + "tags": [], + "label": "fitBounds", + "description": [], + "signature": [ + "(bounds: maplibregl.LngLatBoundsLike, options?: maplibregl.FitBoundsOptions | undefined, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.fitBounds.$1", + "type": "CompoundType", + "tags": [], + "label": "bounds", + "description": [], + "signature": [ + "maplibregl.LngLatBoundsLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.fitBounds.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.FitBoundsOptions | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.fitBounds.$3", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.fitScreenCoordinates", + "type": "Function", + "tags": [], + "label": "fitScreenCoordinates", + "description": [], + "signature": [ + "(p0: maplibregl.PointLike, p1: maplibregl.PointLike, bearing: number, options?: (maplibregl.AnimationOptions & maplibregl.CameraOptions) | undefined, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.fitScreenCoordinates.$1", + "type": "CompoundType", + "tags": [], + "label": "p0", + "description": [], + "signature": [ + "maplibregl.PointLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.fitScreenCoordinates.$2", + "type": "CompoundType", + "tags": [], + "label": "p1", + "description": [], + "signature": [ + "maplibregl.PointLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.fitScreenCoordinates.$3", + "type": "number", + "tags": [], + "label": "bearing", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.fitScreenCoordinates.$4", + "type": "CompoundType", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "(maplibregl.AnimationOptions & maplibregl.CameraOptions) | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.fitScreenCoordinates.$5", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.jumpTo", + "type": "Function", + "tags": [], + "label": "jumpTo", + "description": [], + "signature": [ + "(options: maplibregl.CameraOptions, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.jumpTo.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.CameraOptions" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.jumpTo.$2", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.easeTo", + "type": "Function", + "tags": [], + "label": "easeTo", + "description": [], + "signature": [ + "(options: maplibregl.EaseToOptions, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.easeTo.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.EaseToOptions" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.easeTo.$2", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.flyTo", + "type": "Function", + "tags": [], + "label": "flyTo", + "description": [], + "signature": [ + "(options: maplibregl.FlyToOptions, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.flyTo.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.FlyToOptions" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.flyTo.$2", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.isEasing", + "type": "Function", + "tags": [], + "label": "isEasing", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.stop", + "type": "Function", + "tags": [], + "label": "stop", + "description": [], + "signature": [ + "() => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.on", + "type": "Function", + "tags": [], + "label": "on", + "description": [], + "signature": [ + "{ (type: T, layer: string, listener: (ev: maplibregl.MapLayerEventType[T] & maplibregl.EventData) => void): this; (type: T, listener: (ev: maplibregl.MapEventType[T] & maplibregl.EventData) => void): this; (type: string, listener: (ev: any) => void): this; }" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.on.$1", + "type": "Uncategorized", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "T" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.on.$2", + "type": "string", + "tags": [], + "label": "layer", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.on.$3", + "type": "Function", + "tags": [], + "label": "listener", + "description": [], + "signature": [ + "(ev: maplibregl.MapLayerEventType[T] & maplibregl.EventData) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.on", + "type": "Function", + "tags": [], + "label": "on", + "description": [], + "signature": [ + "{ (type: T, layer: string, listener: (ev: maplibregl.MapLayerEventType[T] & maplibregl.EventData) => void): this; (type: T, listener: (ev: maplibregl.MapEventType[T] & maplibregl.EventData) => void): this; (type: string, listener: (ev: any) => void): this; }" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.on.$1", + "type": "Uncategorized", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "T" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.on.$2", + "type": "Function", + "tags": [], + "label": "listener", + "description": [], + "signature": [ + "(ev: maplibregl.MapEventType[T] & maplibregl.EventData) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.on", + "type": "Function", + "tags": [], + "label": "on", + "description": [], + "signature": [ + "{ (type: T, layer: string, listener: (ev: maplibregl.MapLayerEventType[T] & maplibregl.EventData) => void): this; (type: T, listener: (ev: maplibregl.MapEventType[T] & maplibregl.EventData) => void): this; (type: string, listener: (ev: any) => void): this; }" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.on.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.on.$2", + "type": "Function", + "tags": [], + "label": "listener", + "description": [], + "signature": [ + "(ev: any) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.once", + "type": "Function", + "tags": [], + "label": "once", + "description": [], + "signature": [ + "{ (type: T, layer: string, listener: (ev: maplibregl.MapLayerEventType[T] & maplibregl.EventData) => void): this; (type: T, listener: (ev: maplibregl.MapEventType[T] & maplibregl.EventData) => void): this; (type: string, listener: (ev: any) => void): this; }" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.once.$1", + "type": "Uncategorized", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "T" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.once.$2", + "type": "string", + "tags": [], + "label": "layer", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.once.$3", + "type": "Function", + "tags": [], + "label": "listener", + "description": [], + "signature": [ + "(ev: maplibregl.MapLayerEventType[T] & maplibregl.EventData) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.once", + "type": "Function", + "tags": [], + "label": "once", + "description": [], + "signature": [ + "{ (type: T, layer: string, listener: (ev: maplibregl.MapLayerEventType[T] & maplibregl.EventData) => void): this; (type: T, listener: (ev: maplibregl.MapEventType[T] & maplibregl.EventData) => void): this; (type: string, listener: (ev: any) => void): this; }" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.once.$1", + "type": "Uncategorized", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "T" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.once.$2", + "type": "Function", + "tags": [], + "label": "listener", + "description": [], + "signature": [ + "(ev: maplibregl.MapEventType[T] & maplibregl.EventData) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.once", + "type": "Function", + "tags": [], + "label": "once", + "description": [], + "signature": [ + "{ (type: T, layer: string, listener: (ev: maplibregl.MapLayerEventType[T] & maplibregl.EventData) => void): this; (type: T, listener: (ev: maplibregl.MapEventType[T] & maplibregl.EventData) => void): this; (type: string, listener: (ev: any) => void): this; }" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.once.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.once.$2", + "type": "Function", + "tags": [], + "label": "listener", + "description": [], + "signature": [ + "(ev: any) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.off", + "type": "Function", + "tags": [], + "label": "off", + "description": [], + "signature": [ + "{ (type: T, layer: string, listener: (ev: maplibregl.MapLayerEventType[T] & maplibregl.EventData) => void): this; (type: T, listener: (ev: maplibregl.MapEventType[T] & maplibregl.EventData) => void): this; (type: string, listener: (ev: any) => void): this; }" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.off.$1", + "type": "Uncategorized", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "T" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.off.$2", + "type": "string", + "tags": [], + "label": "layer", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.off.$3", + "type": "Function", + "tags": [], + "label": "listener", + "description": [], + "signature": [ + "(ev: maplibregl.MapLayerEventType[T] & maplibregl.EventData) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.off", + "type": "Function", + "tags": [], + "label": "off", + "description": [], + "signature": [ + "{ (type: T, layer: string, listener: (ev: maplibregl.MapLayerEventType[T] & maplibregl.EventData) => void): this; (type: T, listener: (ev: maplibregl.MapEventType[T] & maplibregl.EventData) => void): this; (type: string, listener: (ev: any) => void): this; }" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.off.$1", + "type": "Uncategorized", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "T" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.off.$2", + "type": "Function", + "tags": [], + "label": "listener", + "description": [], + "signature": [ + "(ev: maplibregl.MapEventType[T] & maplibregl.EventData) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.off", + "type": "Function", + "tags": [], + "label": "off", + "description": [], + "signature": [ + "{ (type: T, layer: string, listener: (ev: maplibregl.MapLayerEventType[T] & maplibregl.EventData) => void): this; (type: T, listener: (ev: maplibregl.MapEventType[T] & maplibregl.EventData) => void): this; (type: string, listener: (ev: any) => void): this; }" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.off.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.off.$2", + "type": "Function", + "tags": [], + "label": "listener", + "description": [], + "signature": [ + "(ev: any) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.scrollZoom", + "type": "Object", + "tags": [], + "label": "scrollZoom", + "description": [], + "signature": [ + "maplibregl.ScrollZoomHandler" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.boxZoom", + "type": "Object", + "tags": [], + "label": "boxZoom", + "description": [], + "signature": [ + "maplibregl.BoxZoomHandler" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.dragRotate", + "type": "Object", + "tags": [], + "label": "dragRotate", + "description": [], + "signature": [ + "maplibregl.DragRotateHandler" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.dragPan", + "type": "Object", + "tags": [], + "label": "dragPan", + "description": [], + "signature": [ + "maplibregl.DragPanHandler" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.keyboard", + "type": "Object", + "tags": [], + "label": "keyboard", + "description": [], + "signature": [ + "maplibregl.KeyboardHandler" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.doubleClickZoom", + "type": "Object", + "tags": [], + "label": "doubleClickZoom", + "description": [], + "signature": [ + "maplibregl.DoubleClickZoomHandler" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.touchZoomRotate", + "type": "Object", + "tags": [], + "label": "touchZoomRotate", + "description": [], + "signature": [ + "maplibregl.TouchZoomRotateHandler" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.touchPitch", + "type": "Object", + "tags": [], + "label": "touchPitch", + "description": [], + "signature": [ + "maplibregl.TouchPitchHandler" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapMouseEvent", + "type": "Class", + "tags": [], + "label": "MapMouseEvent", + "description": [], + "signature": [ + "maplibregl.MapMouseEvent extends maplibregl.MapboxEvent" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapMouseEvent.type", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"click\" | \"dblclick\" | \"mousedown\" | \"mouseup\" | \"mousemove\" | \"mouseenter\" | \"mouseleave\" | \"mouseover\" | \"mouseout\" | \"contextmenu\"" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapMouseEvent.point", + "type": "Object", + "tags": [], + "label": "point", + "description": [], + "signature": [ + "maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapMouseEvent.lngLat", + "type": "Object", + "tags": [], + "label": "lngLat", + "description": [], + "signature": [ + "maplibregl.LngLat" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapMouseEvent.preventDefault", + "type": "Function", + "tags": [], + "label": "preventDefault", + "description": [], + "signature": [ + "() => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapMouseEvent.defaultPrevented", + "type": "boolean", + "tags": [], + "label": "defaultPrevented", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point", + "type": "Class", + "tags": [], + "label": "Point", + "description": [ + "\nPoint" + ], + "signature": [ + "maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.x", + "type": "number", + "tags": [], + "label": "x", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.y", + "type": "number", + "tags": [], + "label": "y", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.Unnamed.$1", + "type": "number", + "tags": [], + "label": "x", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.Unnamed.$2", + "type": "number", + "tags": [], + "label": "y", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.clone", + "type": "Function", + "tags": [], + "label": "clone", + "description": [], + "signature": [ + "() => maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.add", + "type": "Function", + "tags": [], + "label": "add", + "description": [], + "signature": [ + "(p: maplibregl.Point) => maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.add.$1", + "type": "Object", + "tags": [], + "label": "p", + "description": [], + "signature": [ + "maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.sub", + "type": "Function", + "tags": [], + "label": "sub", + "description": [], + "signature": [ + "(p: maplibregl.Point) => maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.sub.$1", + "type": "Object", + "tags": [], + "label": "p", + "description": [], + "signature": [ + "maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.mult", + "type": "Function", + "tags": [], + "label": "mult", + "description": [], + "signature": [ + "(k: number) => maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.mult.$1", + "type": "number", + "tags": [], + "label": "k", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.div", + "type": "Function", + "tags": [], + "label": "div", + "description": [], + "signature": [ + "(k: number) => maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.div.$1", + "type": "number", + "tags": [], + "label": "k", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.rotate", + "type": "Function", + "tags": [], + "label": "rotate", + "description": [], + "signature": [ + "(a: number) => maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.rotate.$1", + "type": "number", + "tags": [], + "label": "a", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.matMult", + "type": "Function", + "tags": [], + "label": "matMult", + "description": [], + "signature": [ + "(m: number) => maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.matMult.$1", + "type": "number", + "tags": [], + "label": "m", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.unit", + "type": "Function", + "tags": [], + "label": "unit", + "description": [], + "signature": [ + "() => maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.perp", + "type": "Function", + "tags": [], + "label": "perp", + "description": [], + "signature": [ + "() => maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.round", + "type": "Function", + "tags": [], + "label": "round", + "description": [], + "signature": [ + "() => maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.mag", + "type": "Function", + "tags": [], + "label": "mag", + "description": [], + "signature": [ + "() => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.equals", + "type": "Function", + "tags": [], + "label": "equals", + "description": [], + "signature": [ + "(p: maplibregl.Point) => boolean" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.equals.$1", + "type": "Object", + "tags": [], + "label": "p", + "description": [], + "signature": [ + "maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.dist", + "type": "Function", + "tags": [], + "label": "dist", + "description": [], + "signature": [ + "(p: maplibregl.Point) => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.dist.$1", + "type": "Object", + "tags": [], + "label": "p", + "description": [], + "signature": [ + "maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.distSqr", + "type": "Function", + "tags": [], + "label": "distSqr", + "description": [], + "signature": [ + "(p: maplibregl.Point) => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.distSqr.$1", + "type": "Object", + "tags": [], + "label": "p", + "description": [], + "signature": [ + "maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.angle", + "type": "Function", + "tags": [], + "label": "angle", + "description": [], + "signature": [ + "() => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.angleTo", + "type": "Function", + "tags": [], + "label": "angleTo", + "description": [], + "signature": [ + "(p: maplibregl.Point) => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.angleTo.$1", + "type": "Object", + "tags": [], + "label": "p", + "description": [], + "signature": [ + "maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.angleWidth", + "type": "Function", + "tags": [], + "label": "angleWidth", + "description": [], + "signature": [ + "(p: maplibregl.Point) => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.angleWidth.$1", + "type": "Object", + "tags": [], + "label": "p", + "description": [], + "signature": [ + "maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.angleWithSep", + "type": "Function", + "tags": [], + "label": "angleWithSep", + "description": [], + "signature": [ + "(x: number, y: number) => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.angleWithSep.$1", + "type": "number", + "tags": [], + "label": "x", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.angleWithSep.$2", + "type": "number", + "tags": [], + "label": "y", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.convert", + "type": "Function", + "tags": [], + "label": "convert", + "description": [], + "signature": [ + "(a: maplibregl.PointLike) => maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.convert.$1", + "type": "CompoundType", + "tags": [], + "label": "a", + "description": [], + "signature": [ + "maplibregl.PointLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [], + "interfaces": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface", + "type": "Interface", + "tags": [], + "label": "CustomLayerInterface", + "description": [], + "signature": [ + "maplibregl.CustomLayerInterface" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.id", + "type": "string", + "tags": [], + "label": "id", + "description": [ + "A unique layer id." + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"custom\"" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.renderingMode", + "type": "CompoundType", + "tags": [], + "label": "renderingMode", + "description": [], + "signature": [ + "\"2d\" | \"3d\" | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.onRemove", + "type": "Function", + "tags": [], + "label": "onRemove", + "description": [ + "\nOptional method called when the layer has been removed from the Map with Map#removeLayer.\nThis gives the layer a chance to clean up gl resources and event listeners." + ], + "signature": [ + "((map: maplibregl.Map, gl: WebGLRenderingContext) => void) | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.onRemove.$1", + "type": "Object", + "tags": [], + "label": "map", + "description": [ + "The Map this custom layer was just added to." + ], + "signature": [ + "maplibregl.Map" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.onRemove.$2", + "type": "Object", + "tags": [], + "label": "gl", + "description": [ + "The gl context for the map." + ], + "signature": [ + "WebGLRenderingContext" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.onAdd", + "type": "Function", + "tags": [], + "label": "onAdd", + "description": [ + "\nOptional method called when the layer has been added to the Map with Map#addLayer.\nThis gives the layer a chance to initialize gl resources and register event listeners." + ], + "signature": [ + "((map: maplibregl.Map, gl: WebGLRenderingContext) => void) | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.onAdd.$1", + "type": "Object", + "tags": [], + "label": "map", + "description": [ + "The Map this custom layer was just added to." + ], + "signature": [ + "maplibregl.Map" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.onAdd.$2", + "type": "Object", + "tags": [], + "label": "gl", + "description": [ + "The gl context for the map." + ], + "signature": [ + "WebGLRenderingContext" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.prerender", + "type": "Function", + "tags": [], + "label": "prerender", + "description": [ + "\nOptional method called during a render frame to allow a layer to prepare resources\nor render into a texture.\n\nThe layer cannot make any assumptions about the current GL state and must bind a framebuffer\nbefore rendering." + ], + "signature": [ + "((gl: WebGLRenderingContext, matrix: number[]) => void) | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.prerender.$1", + "type": "Object", + "tags": [], + "label": "gl", + "description": [ + "The map's gl context." + ], + "signature": [ + "WebGLRenderingContext" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.prerender.$2", + "type": "Array", + "tags": [], + "label": "matrix", + "description": [ + "The map's camera matrix. It projects spherical mercator coordinates to gl\ncoordinates. The mercator coordinate [0, 0] represents the top left corner of\nthe mercator world and [1, 1] represents the bottom right corner. When the\nrenderingMode is \"3d\" , the z coordinate is conformal. A box with identical\nx, y, and z lengths in mercator units would be rendered as a cube.\nMercatorCoordinate .fromLatLng can be used to project a LngLat to a mercator\ncoordinate." + ], + "signature": [ + "number[]" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.render", + "type": "Function", + "tags": [], + "label": "render", + "description": [ + "\nCalled during a render frame allowing the layer to draw into the GL context.\n\nThe layer can assume blending and depth state is set to allow the layer to properly blend\nand clip other layers. The layer cannot make any other assumptions about the current GL state.\n\nIf the layer needs to render to a texture, it should implement the prerender method to do this\nand only use the render method for drawing directly into the main framebuffer.\n\nThe blend function is set to gl.blendFunc(gl.ONE, gl.ONE_MINUS_SRC_ALPHA). This expects\ncolors to be provided in premultiplied alpha form where the r, g and b values are already\nmultiplied by the a value. If you are unable to provide colors in premultiplied form you may\nwant to change the blend function to\ngl.blendFuncSeparate(gl.SRC_ALPHA, gl.ONE_MINUS_SRC_ALPHA, gl.ONE, gl.ONE_MINUS_SRC_ALPHA).\n" + ], + "signature": [ + "(gl: WebGLRenderingContext, matrix: number[]) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.render.$1", + "type": "Object", + "tags": [], + "label": "gl", + "description": [ + "The map's gl context." + ], + "signature": [ + "WebGLRenderingContext" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.render.$2", + "type": "Array", + "tags": [], + "label": "matrix", + "description": [ + "The map's camera matrix. It projects spherical mercator coordinates to gl\ncoordinates. The mercator coordinate [0, 0] represents the top left corner of\nthe mercator world and [1, 1] represents the bottom right corner. When the\nrenderingMode is \"3d\" , the z coordinate is conformal. A box with identical\nx, y, and z lengths in mercator units would be rendered as a cube.\nMercatorCoordinate .fromLatLng can be used to project a LngLat to a mercator\ncoordinate." + ], + "signature": [ + "number[]" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.FeatureIdentifier", + "type": "Interface", + "tags": [], + "label": "FeatureIdentifier", + "description": [], + "signature": [ + "maplibregl.FeatureIdentifier" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.FeatureIdentifier.id", + "type": "CompoundType", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string | number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.FeatureIdentifier.source", + "type": "string", + "tags": [], + "label": "source", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.FeatureIdentifier.sourceLayer", + "type": "string", + "tags": [], + "label": "sourceLayer", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource", + "type": "Interface", + "tags": [], + "label": "GeoJSONSource", + "description": [], + "signature": [ + "maplibregl.GeoJSONSource extends maplibregl.GeoJSONSourceRaw" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"geojson\"" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource.setData", + "type": "Function", + "tags": [], + "label": "setData", + "description": [], + "signature": [ + "(data: String | GeoJSON.FeatureCollection | GeoJSON.Feature) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource.setData.$1", + "type": "CompoundType", + "tags": [], + "label": "data", + "description": [], + "signature": [ + "String | GeoJSON.FeatureCollection | GeoJSON.Feature" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource.getClusterExpansionZoom", + "type": "Function", + "tags": [], + "label": "getClusterExpansionZoom", + "description": [], + "signature": [ + "(clusterId: number, callback: (error: any, zoom: number) => void) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource.getClusterExpansionZoom.$1", + "type": "number", + "tags": [], + "label": "clusterId", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource.getClusterExpansionZoom.$2", + "type": "Function", + "tags": [], + "label": "callback", + "description": [], + "signature": [ + "(error: any, zoom: number) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource.getClusterChildren", + "type": "Function", + "tags": [], + "label": "getClusterChildren", + "description": [], + "signature": [ + "(clusterId: number, callback: (error: any, features: GeoJSON.Feature[]) => void) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource.getClusterChildren.$1", + "type": "number", + "tags": [], + "label": "clusterId", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource.getClusterChildren.$2", + "type": "Function", + "tags": [], + "label": "callback", + "description": [], + "signature": [ + "(error: any, features: GeoJSON.Feature[]) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource.getClusterLeaves", + "type": "Function", + "tags": [], + "label": "getClusterLeaves", + "description": [], + "signature": [ + "(cluserId: number, limit: number, offset: number, callback: (error: any, features: GeoJSON.Feature[]) => void) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource.getClusterLeaves.$1", + "type": "number", + "tags": [], + "label": "cluserId", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource.getClusterLeaves.$2", + "type": "number", + "tags": [], + "label": "limit", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource.getClusterLeaves.$3", + "type": "number", + "tags": [], + "label": "offset", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource.getClusterLeaves.$4", + "type": "Function", + "tags": [], + "label": "callback", + "description": [], + "signature": [ + "(error: any, features: GeoJSON.Feature[]) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Layer", + "type": "Interface", + "tags": [], + "label": "Layer", + "description": [], + "signature": [ + "maplibregl.Layer" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Layer.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Layer.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Layer.metadata", + "type": "Any", + "tags": [], + "label": "metadata", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Layer.ref", + "type": "string", + "tags": [], + "label": "ref", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Layer.source", + "type": "CompoundType", + "tags": [], + "label": "source", + "description": [], + "signature": [ + "string | maplibregl.GeoJSONSourceRaw | maplibregl.VideoSourceRaw | maplibregl.ImageSourceRaw | maplibregl.CanvasSourceRaw | maplibregl.VectorSource | maplibregl.RasterSource | maplibregl.RasterDemSource | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Layer.sourcelayer", + "type": "string", + "tags": [], + "label": "'source-layer'", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Layer.minzoom", + "type": "number", + "tags": [], + "label": "minzoom", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Layer.maxzoom", + "type": "number", + "tags": [], + "label": "maxzoom", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Layer.interactive", + "type": "CompoundType", + "tags": [], + "label": "interactive", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Layer.filter", + "type": "Array", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "any[] | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Layer.layout", + "type": "Object", + "tags": [], + "label": "layout", + "description": [], + "signature": [ + "maplibregl.Layout | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Layer.paint", + "type": "Uncategorized", + "tags": [], + "label": "paint", + "description": [], + "signature": [ + "object | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions", + "type": "Interface", + "tags": [], + "label": "MapboxOptions", + "description": [], + "signature": [ + "maplibregl.MapboxOptions" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.antialias", + "type": "CompoundType", + "tags": [], + "label": "antialias", + "description": [ + "\nIf true, the gl context will be created with MSA antialiasing, which can be useful for antialiasing custom layers.\nThis is false by default as a performance optimization." + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.attributionControl", + "type": "CompoundType", + "tags": [], + "label": "attributionControl", + "description": [ + "If true, an attribution control will be added to the map." + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.bearing", + "type": "number", + "tags": [], + "label": "bearing", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.bearingSnap", + "type": "number", + "tags": [], + "label": "bearingSnap", + "description": [ + "Snap to north threshold in degrees." + ], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.bounds", + "type": "CompoundType", + "tags": [], + "label": "bounds", + "description": [ + "The initial bounds of the map. If bounds is specified, it overrides center and zoom constructor options." + ], + "signature": [ + "[number, number] | [number, number, number, number] | maplibregl.LngLatBounds | [maplibregl.LngLatLike, maplibregl.LngLatLike] | maplibregl.LngLat | { lng: number; lat: number; } | { lon: number; lat: number; } | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.boxZoom", + "type": "CompoundType", + "tags": [], + "label": "boxZoom", + "description": [ + "If true, enable the \"box zoom\" interaction (see BoxZoomHandler)" + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.center", + "type": "CompoundType", + "tags": [], + "label": "center", + "description": [ + "initial map center" + ], + "signature": [ + "[number, number] | maplibregl.LngLat | { lng: number; lat: number; } | { lon: number; lat: number; } | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.clickTolerance", + "type": "number", + "tags": [ + "default" + ], + "label": "clickTolerance", + "description": [ + "\nThe max number of pixels a user can shift the mouse pointer during a click for it to be\nconsidered a valid click (as opposed to a mouse drag).\n" + ], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.collectResourceTiming", + "type": "CompoundType", + "tags": [ + "default" + ], + "label": "collectResourceTiming", + "description": [ + "\nIf `true`, Resource Timing API information will be collected for requests made by GeoJSON\nand Vector Tile web workers (this information is normally inaccessible from the main\nJavascript thread). Information will be returned in a `resourceTiming` property of\nrelevant `data` events.\n" + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.crossSourceCollisions", + "type": "CompoundType", + "tags": [ + "default" + ], + "label": "crossSourceCollisions", + "description": [ + "\nIf `true`, symbols from multiple sources can collide with each other during collision\ndetection. If `false`, collision detection is run separately for the symbols in each source.\n" + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.container", + "type": "CompoundType", + "tags": [], + "label": "container", + "description": [ + "ID of the container element" + ], + "signature": [ + "string | HTMLElement" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.customAttribution", + "type": "CompoundType", + "tags": [], + "label": "customAttribution", + "description": [ + "String or strings to show in an AttributionControl.\nOnly applicable if options.attributionControl is `true`." + ], + "signature": [ + "string | string[] | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.dragPan", + "type": "CompoundType", + "tags": [], + "label": "dragPan", + "description": [ + "If true, enable the \"drag to pan\" interaction (see DragPanHandler)." + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.dragRotate", + "type": "CompoundType", + "tags": [], + "label": "dragRotate", + "description": [ + "If true, enable the \"drag to rotate\" interaction (see DragRotateHandler)." + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.doubleClickZoom", + "type": "CompoundType", + "tags": [], + "label": "doubleClickZoom", + "description": [ + "If true, enable the \"double click to zoom\" interaction (see DoubleClickZoomHandler)." + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.hash", + "type": "CompoundType", + "tags": [], + "label": "hash", + "description": [ + "If `true`, the map's position (zoom, center latitude, center longitude, bearing, and pitch) will be synced with the hash fragment of the page's URL.\nFor example, `http://path/to/my/page.html#2.59/39.26/53.07/-24.1/60`.\nAn additional string may optionally be provided to indicate a parameter-styled hash,\ne.g. http://path/to/my/page.html#map=2.59/39.26/53.07/-24.1/60&foo=bar, where foo\nis a custom parameter and bar is an arbitrary hash distinct from the map hash." + ], + "signature": [ + "string | boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.fadeDuration", + "type": "number", + "tags": [ + "default" + ], + "label": "fadeDuration", + "description": [ + "\nControls the duration of the fade-in/fade-out animation for label collisions, in milliseconds.\nThis setting affects all symbol layers. This setting does not affect the duration of runtime\nstyling transitions or raster tile cross-fading.\n" + ], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.failIfMajorPerformanceCaveat", + "type": "CompoundType", + "tags": [], + "label": "failIfMajorPerformanceCaveat", + "description": [ + "If true, map creation will fail if the implementation determines that the performance of the created WebGL context would be dramatically lower than expected." + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.fitBoundsOptions", + "type": "Object", + "tags": [], + "label": "fitBoundsOptions", + "description": [ + "A fitBounds options object to use only when setting the bounds option." + ], + "signature": [ + "maplibregl.FitBoundsOptions | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.interactive", + "type": "CompoundType", + "tags": [], + "label": "interactive", + "description": [ + "If false, no mouse, touch, or keyboard listeners are attached to the map, so it will not respond to input" + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.keyboard", + "type": "CompoundType", + "tags": [], + "label": "keyboard", + "description": [ + "If true, enable keyboard shortcuts (see KeyboardHandler)." + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.locale", + "type": "Object", + "tags": [], + "label": "locale", + "description": [ + "A patch to apply to the default localization table for UI strings, e.g. control tooltips.\nThe `locale` object maps namespaced UI string IDs to translated strings in the target language;\nsee `src/ui/default_locale.js` for an example with all supported string IDs.\nThe object may specify all UI strings (thereby adding support for a new translation) or\nonly a subset of strings (thereby patching the default translation table)." + ], + "signature": [ + "{ [key: string]: string; } | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.localIdeographFontFamily", + "type": "string", + "tags": [ + "default" + ], + "label": "localIdeographFontFamily", + "description": [ + "\nIf specified, defines a CSS font-family for locally overriding generation of glyphs in the\n'CJK Unified Ideographs' and 'Hangul Syllables' ranges. In these ranges, font settings from\nthe map's style will be ignored, except for font-weight keywords (light/regular/medium/bold).\nThe purpose of this option is to avoid bandwidth-intensive glyph server requests.\n" + ], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.logoPosition", + "type": "CompoundType", + "tags": [ + "default" + ], + "label": "logoPosition", + "description": [ + "\nA string representing the position of the Mapbox wordmark on the map.\n" + ], + "signature": [ + "\"top-right\" | \"top-left\" | \"bottom-right\" | \"bottom-left\" | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.maxBounds", + "type": "CompoundType", + "tags": [], + "label": "maxBounds", + "description": [ + "If set, the map is constrained to the given bounds." + ], + "signature": [ + "[number, number] | [number, number, number, number] | maplibregl.LngLatBounds | [maplibregl.LngLatLike, maplibregl.LngLatLike] | maplibregl.LngLat | { lng: number; lat: number; } | { lon: number; lat: number; } | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.maxPitch", + "type": "number", + "tags": [], + "label": "maxPitch", + "description": [ + "Maximum pitch of the map." + ], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.maxZoom", + "type": "number", + "tags": [], + "label": "maxZoom", + "description": [ + "Maximum zoom of the map." + ], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.minPitch", + "type": "number", + "tags": [], + "label": "minPitch", + "description": [ + "Minimum pitch of the map." + ], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.minZoom", + "type": "number", + "tags": [], + "label": "minZoom", + "description": [ + "Minimum zoom of the map." + ], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.preserveDrawingBuffer", + "type": "CompoundType", + "tags": [], + "label": "preserveDrawingBuffer", + "description": [ + "If true, The maps canvas can be exported to a PNG using map.getCanvas().toDataURL();. This is false by default as a performance optimization." + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.pitch", + "type": "number", + "tags": [ + "default" + ], + "label": "pitch", + "description": [ + "\nThe initial pitch (tilt) of the map, measured in degrees away from the plane of the\nscreen (0-60).\n" + ], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.pitchWithRotate", + "type": "CompoundType", + "tags": [ + "default" + ], + "label": "pitchWithRotate", + "description": [ + "\nIf `false`, the map's pitch (tilt) control with \"drag to rotate\" interaction will be disabled.\n" + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.refreshExpiredTiles", + "type": "CompoundType", + "tags": [ + "default" + ], + "label": "refreshExpiredTiles", + "description": [ + "\nIf `false`, the map won't attempt to re-request tiles once they expire per their HTTP\n`cacheControl`/`expires` headers.\n" + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.renderWorldCopies", + "type": "CompoundType", + "tags": [ + "default" + ], + "label": "renderWorldCopies", + "description": [ + "\nIf `true`, multiple copies of the world will be rendered, when zoomed out.\n" + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.scrollZoom", + "type": "CompoundType", + "tags": [], + "label": "scrollZoom", + "description": [ + "If true, enable the \"scroll to zoom\" interaction" + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.style", + "type": "CompoundType", + "tags": [], + "label": "style", + "description": [ + "stylesheet location" + ], + "signature": [ + "string | maplibregl.Style | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.trackResize", + "type": "CompoundType", + "tags": [], + "label": "trackResize", + "description": [ + "If true, the map will automatically resize when the browser window resizes" + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.transformRequest", + "type": "Function", + "tags": [ + "default" + ], + "label": "transformRequest", + "description": [ + "\nA callback run before the Map makes a request for an external URL. The callback can be\nused to modify the url, set headers, or set the credentials property for cross-origin requests.\n" + ], + "signature": [ + "maplibregl.TransformRequestFunction | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.touchZoomRotate", + "type": "CompoundType", + "tags": [], + "label": "touchZoomRotate", + "description": [ + "If true, enable the \"pinch to rotate and zoom\" interaction (see TouchZoomRotateHandler)." + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.touchPitch", + "type": "CompoundType", + "tags": [], + "label": "touchPitch", + "description": [ + "If true, the \"drag to pitch\" interaction is enabled" + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.zoom", + "type": "number", + "tags": [], + "label": "zoom", + "description": [ + "Initial zoom level" + ], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.maxTileCacheSize", + "type": "number", + "tags": [ + "default" + ], + "label": "maxTileCacheSize", + "description": [ + "\nThe maximum number of tiles stored in the tile cache for a given source. If omitted, the\ncache will be dynamically sized based on the current viewport.\n" + ], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.accessToken", + "type": "string", + "tags": [ + "default" + ], + "label": "accessToken", + "description": [ + "\nIf specified, map will use this token instead of the one defined in maplibregl.accessToken.\n" + ], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapSourceDataEvent", + "type": "Interface", + "tags": [], + "label": "MapSourceDataEvent", + "description": [], + "signature": [ + "maplibregl.MapSourceDataEvent extends maplibregl.MapboxEvent" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapSourceDataEvent.dataType", + "type": "string", + "tags": [], + "label": "dataType", + "description": [], + "signature": [ + "\"source\"" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapSourceDataEvent.isSourceLoaded", + "type": "boolean", + "tags": [], + "label": "isSourceLoaded", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapSourceDataEvent.source", + "type": "Object", + "tags": [], + "label": "source", + "description": [], + "signature": [ + "maplibregl.Source" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapSourceDataEvent.sourceId", + "type": "string", + "tags": [], + "label": "sourceId", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapSourceDataEvent.sourceDataType", + "type": "CompoundType", + "tags": [], + "label": "sourceDataType", + "description": [], + "signature": [ + "\"metadata\" | \"content\"" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapSourceDataEvent.tile", + "type": "Any", + "tags": [], + "label": "tile", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapSourceDataEvent.coord", + "type": "Object", + "tags": [], + "label": "coord", + "description": [], + "signature": [ + "maplibregl.Coordinate" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Style", + "type": "Interface", + "tags": [], + "label": "Style", + "description": [], + "signature": [ + "maplibregl.Style" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Style.bearing", + "type": "number", + "tags": [], + "label": "bearing", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Style.center", + "type": "Array", + "tags": [], + "label": "center", + "description": [], + "signature": [ + "number[] | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Style.glyphs", + "type": "string", + "tags": [], + "label": "glyphs", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Style.layers", + "type": "Array", + "tags": [], + "label": "layers", + "description": [], + "signature": [ + "maplibregl.AnyLayer[] | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Style.metadata", + "type": "Any", + "tags": [], + "label": "metadata", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Style.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Style.pitch", + "type": "number", + "tags": [], + "label": "pitch", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Style.light", + "type": "Object", + "tags": [], + "label": "light", + "description": [], + "signature": [ + "maplibregl.Light | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Style.sources", + "type": "Object", + "tags": [], + "label": "sources", + "description": [], + "signature": [ + "maplibregl.Sources | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Style.sprite", + "type": "string", + "tags": [], + "label": "sprite", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Style.transition", + "type": "Object", + "tags": [], + "label": "transition", + "description": [], + "signature": [ + "maplibregl.Transition | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Style.version", + "type": "number", + "tags": [], + "label": "version", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Style.zoom", + "type": "number", + "tags": [], + "label": "zoom", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.VectorSource", + "type": "Interface", + "tags": [], + "label": "VectorSource", + "description": [], + "signature": [ + "maplibregl.VectorSource extends maplibregl.Source" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.VectorSource.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"vector\"" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.VectorSource.url", + "type": "string", + "tags": [], + "label": "url", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.VectorSource.tiles", + "type": "Array", + "tags": [], + "label": "tiles", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.VectorSource.bounds", + "type": "Array", + "tags": [], + "label": "bounds", + "description": [], + "signature": [ + "number[] | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.VectorSource.scheme", + "type": "CompoundType", + "tags": [], + "label": "scheme", + "description": [], + "signature": [ + "\"xyz\" | \"tms\" | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.VectorSource.minzoom", + "type": "number", + "tags": [], + "label": "minzoom", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.VectorSource.maxzoom", + "type": "number", + "tags": [], + "label": "maxzoom", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.VectorSource.attribution", + "type": "string", + "tags": [], + "label": "attribution", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.VectorSource.promoteId", + "type": "CompoundType", + "tags": [], + "label": "promoteId", + "description": [], + "signature": [ + "string | { [key: string]: string; } | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.maplibregldistmaplibreglcsp", + "type": "Any", + "tags": [], + "label": "'maplibre-gl/dist/maplibre-gl-csp'", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/@kbn/mapbox-gl/target_types/typings.d.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.maplibregldistmaplibreglcsp", + "type": "Any", + "tags": [], + "label": "'maplibre-gl/dist/maplibre-gl-csp'", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-mapbox-gl/src/typings.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.AnyLayer", + "type": "Type", + "tags": [], + "label": "AnyLayer", + "description": [], + "signature": [ + "maplibregl.BackgroundLayer | maplibregl.CircleLayer | maplibregl.FillExtrusionLayer | maplibregl.FillLayer | maplibregl.HeatmapLayer | maplibregl.HillshadeLayer | maplibregl.LineLayer | maplibregl.RasterLayer | maplibregl.SymbolLayer | maplibregl.CustomLayerInterface" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxGeoJSONFeature", + "type": "Type", + "tags": [], + "label": "MapboxGeoJSONFeature", + "description": [], + "signature": [ + "GeoJSON.Feature & { layer: maplibregl.Layer; source: string; sourceLayer: string; state: { [key: string]: any; }; }" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.PointLike", + "type": "Type", + "tags": [], + "label": "PointLike", + "description": [], + "signature": [ + "[number, number] | maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_mapbox_gl.mdx b/api_docs/kbn_mapbox_gl.mdx new file mode 100644 index 0000000000000..1ab394db8905b --- /dev/null +++ b/api_docs/kbn_mapbox_gl.mdx @@ -0,0 +1,33 @@ +--- +id: kibKbnMapboxGlPluginApi +slug: /kibana-dev-docs/api/kbn-mapbox-gl +title: "@kbn/mapbox-gl" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/mapbox-gl plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/mapbox-gl'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnMapboxGlObj from './kbn_mapbox_gl.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 467 | 9 | 378 | 0 | + +## Server + +### Classes + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_monaco.json b/api_docs/kbn_monaco.json new file mode 100644 index 0000000000000..b87619f900457 --- /dev/null +++ b/api_docs/kbn_monaco.json @@ -0,0 +1,579 @@ +{ + "id": "@kbn/monaco", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.registerLanguage", + "type": "Function", + "tags": [], + "label": "registerLanguage", + "description": [], + "signature": [ + "(language: ", + { + "pluginId": "@kbn/monaco", + "scope": "common", + "docId": "kibKbnMonacoPluginApi", + "section": "def-common.LangModuleType", + "text": "LangModuleType" + }, + ") => void" + ], + "path": "packages/kbn-monaco/src/helpers.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.registerLanguage.$1", + "type": "Object", + "tags": [], + "label": "language", + "description": [], + "signature": [ + { + "pluginId": "@kbn/monaco", + "scope": "common", + "docId": "kibKbnMonacoPluginApi", + "section": "def-common.LangModuleType", + "text": "LangModuleType" + } + ], + "path": "packages/kbn-monaco/src/helpers.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.CompleteLangModuleType", + "type": "Interface", + "tags": [], + "label": "CompleteLangModuleType", + "description": [], + "signature": [ + { + "pluginId": "@kbn/monaco", + "scope": "common", + "docId": "kibKbnMonacoPluginApi", + "section": "def-common.CompleteLangModuleType", + "text": "CompleteLangModuleType" + }, + " extends ", + { + "pluginId": "@kbn/monaco", + "scope": "common", + "docId": "kibKbnMonacoPluginApi", + "section": "def-common.LangModuleType", + "text": "LangModuleType" + } + ], + "path": "packages/kbn-monaco/src/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.CompleteLangModuleType.languageConfiguration", + "type": "Object", + "tags": [], + "label": "languageConfiguration", + "description": [], + "signature": [ + "languages", + ".LanguageConfiguration" + ], + "path": "packages/kbn-monaco/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.CompleteLangModuleType.getSuggestionProvider", + "type": "Object", + "tags": [], + "label": "getSuggestionProvider", + "description": [], + "signature": [ + "Function" + ], + "path": "packages/kbn-monaco/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.CompleteLangModuleType.getSyntaxErrors", + "type": "Object", + "tags": [], + "label": "getSyntaxErrors", + "description": [], + "signature": [ + "Function" + ], + "path": "packages/kbn-monaco/src/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.LangModuleType", + "type": "Interface", + "tags": [], + "label": "LangModuleType", + "description": [], + "path": "packages/kbn-monaco/src/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.LangModuleType.ID", + "type": "string", + "tags": [], + "label": "ID", + "description": [], + "path": "packages/kbn-monaco/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.LangModuleType.lexerRules", + "type": "Object", + "tags": [], + "label": "lexerRules", + "description": [], + "signature": [ + "languages", + ".IMonarchLanguage" + ], + "path": "packages/kbn-monaco/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.LangModuleType.languageConfiguration", + "type": "Object", + "tags": [], + "label": "languageConfiguration", + "description": [], + "signature": [ + "languages", + ".LanguageConfiguration | undefined" + ], + "path": "packages/kbn-monaco/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.LangModuleType.getSuggestionProvider", + "type": "Object", + "tags": [], + "label": "getSuggestionProvider", + "description": [], + "signature": [ + "Function | undefined" + ], + "path": "packages/kbn-monaco/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.LangModuleType.getSyntaxErrors", + "type": "Object", + "tags": [], + "label": "getSyntaxErrors", + "description": [], + "signature": [ + "Function | undefined" + ], + "path": "packages/kbn-monaco/src/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessAutocompleteField", + "type": "Interface", + "tags": [], + "label": "PainlessAutocompleteField", + "description": [], + "path": "packages/kbn-monaco/src/painless/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessAutocompleteField.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "packages/kbn-monaco/src/painless/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessAutocompleteField.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "path": "packages/kbn-monaco/src/painless/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessCompletionItem", + "type": "Interface", + "tags": [], + "label": "PainlessCompletionItem", + "description": [], + "path": "packages/kbn-monaco/src/painless/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessCompletionItem.label", + "type": "string", + "tags": [], + "label": "label", + "description": [], + "path": "packages/kbn-monaco/src/painless/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessCompletionItem.kind", + "type": "CompoundType", + "tags": [], + "label": "kind", + "description": [], + "signature": [ + "\"type\" | \"keyword\" | \"field\" | \"property\" | \"method\" | \"class\" | \"constructor\"" + ], + "path": "packages/kbn-monaco/src/painless/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessCompletionItem.documentation", + "type": "string", + "tags": [], + "label": "documentation", + "description": [], + "path": "packages/kbn-monaco/src/painless/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessCompletionItem.insertText", + "type": "string", + "tags": [], + "label": "insertText", + "description": [], + "path": "packages/kbn-monaco/src/painless/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessCompletionItem.insertTextAsSnippet", + "type": "CompoundType", + "tags": [], + "label": "insertTextAsSnippet", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-monaco/src/painless/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessCompletionResult", + "type": "Interface", + "tags": [], + "label": "PainlessCompletionResult", + "description": [], + "path": "packages/kbn-monaco/src/painless/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessCompletionResult.isIncomplete", + "type": "boolean", + "tags": [], + "label": "isIncomplete", + "description": [], + "path": "packages/kbn-monaco/src/painless/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessCompletionResult.suggestions", + "type": "Array", + "tags": [], + "label": "suggestions", + "description": [], + "signature": [ + { + "pluginId": "@kbn/monaco", + "scope": "common", + "docId": "kibKbnMonacoPluginApi", + "section": "def-common.PainlessCompletionItem", + "text": "PainlessCompletionItem" + }, + "[]" + ], + "path": "packages/kbn-monaco/src/painless/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessCompletionKind", + "type": "Type", + "tags": [], + "label": "PainlessCompletionKind", + "description": [], + "signature": [ + "\"type\" | \"keyword\" | \"field\" | \"property\" | \"method\" | \"class\" | \"constructor\"" + ], + "path": "packages/kbn-monaco/src/painless/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessContext", + "type": "Type", + "tags": [], + "label": "PainlessContext", + "description": [], + "signature": [ + "\"filter\" | \"score\" | \"painless_test\" | \"boolean_script_field_script_field\" | \"date_script_field\" | \"double_script_field_script_field\" | \"ip_script_field_script_field\" | \"long_script_field_script_field\" | \"processor_conditional\" | \"string_script_field_script_field\"" + ], + "path": "packages/kbn-monaco/src/painless/types.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessLang", + "type": "Object", + "tags": [], + "label": "PainlessLang", + "description": [], + "path": "packages/kbn-monaco/src/painless/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessLang.ID", + "type": "string", + "tags": [], + "label": "ID", + "description": [], + "path": "packages/kbn-monaco/src/painless/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessLang.getSuggestionProvider", + "type": "Function", + "tags": [], + "label": "getSuggestionProvider", + "description": [], + "signature": [ + "(context: ", + { + "pluginId": "@kbn/monaco", + "scope": "common", + "docId": "kibKbnMonacoPluginApi", + "section": "def-common.PainlessContext", + "text": "PainlessContext" + }, + ", fields?: ", + { + "pluginId": "@kbn/monaco", + "scope": "common", + "docId": "kibKbnMonacoPluginApi", + "section": "def-common.PainlessAutocompleteField", + "text": "PainlessAutocompleteField" + }, + "[] | undefined) => ", + "PainlessCompletionAdapter" + ], + "path": "packages/kbn-monaco/src/painless/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessLang.getSuggestionProvider.$1", + "type": "CompoundType", + "tags": [], + "label": "context", + "description": [], + "signature": [ + "\"filter\" | \"score\" | \"painless_test\" | \"boolean_script_field_script_field\" | \"date_script_field\" | \"double_script_field_script_field\" | \"ip_script_field_script_field\" | \"long_script_field_script_field\" | \"processor_conditional\" | \"string_script_field_script_field\"" + ], + "path": "packages/kbn-monaco/src/painless/language.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessLang.getSuggestionProvider.$2", + "type": "Array", + "tags": [], + "label": "fields", + "description": [], + "signature": [ + { + "pluginId": "@kbn/monaco", + "scope": "common", + "docId": "kibKbnMonacoPluginApi", + "section": "def-common.PainlessAutocompleteField", + "text": "PainlessAutocompleteField" + }, + "[] | undefined" + ], + "path": "packages/kbn-monaco/src/painless/language.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessLang.lexerRules", + "type": "Object", + "tags": [], + "label": "lexerRules", + "description": [], + "signature": [ + "Language" + ], + "path": "packages/kbn-monaco/src/painless/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessLang.languageConfiguration", + "type": "Object", + "tags": [], + "label": "languageConfiguration", + "description": [], + "signature": [ + "languages", + ".LanguageConfiguration" + ], + "path": "packages/kbn-monaco/src/painless/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessLang.getSyntaxErrors", + "type": "Function", + "tags": [], + "label": "getSyntaxErrors", + "description": [], + "signature": [ + "() => ", + "SyntaxErrors" + ], + "path": "packages/kbn-monaco/src/painless/index.ts", + "deprecated": false, + "returnComment": [], + "children": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.XJsonLang", + "type": "Object", + "tags": [], + "label": "XJsonLang", + "description": [], + "path": "packages/kbn-monaco/src/xjson/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.XJsonLang.ID", + "type": "string", + "tags": [], + "label": "ID", + "description": [], + "path": "packages/kbn-monaco/src/xjson/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.XJsonLang.lexerRules", + "type": "Object", + "tags": [], + "label": "lexerRules", + "description": [], + "signature": [ + "languages", + ".IMonarchLanguage" + ], + "path": "packages/kbn-monaco/src/xjson/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.XJsonLang.languageConfiguration", + "type": "Object", + "tags": [], + "label": "languageConfiguration", + "description": [], + "signature": [ + "languages", + ".LanguageConfiguration" + ], + "path": "packages/kbn-monaco/src/xjson/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ] + } +} \ No newline at end of file diff --git a/api_docs/kbn_monaco.mdx b/api_docs/kbn_monaco.mdx new file mode 100644 index 0000000000000..08c7f95ee4f43 --- /dev/null +++ b/api_docs/kbn_monaco.mdx @@ -0,0 +1,36 @@ +--- +id: kibKbnMonacoPluginApi +slug: /kibana-dev-docs/api/kbn-monaco +title: "@kbn/monaco" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/monaco plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/monaco'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnMonacoObj from './kbn_monaco.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 38 | 0 | 38 | 3 | + +## Common + +### Objects + + +### Functions + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_optimizer.json b/api_docs/kbn_optimizer.json new file mode 100644 index 0000000000000..e03d89f200ba4 --- /dev/null +++ b/api_docs/kbn_optimizer.json @@ -0,0 +1,867 @@ +{ + "id": "@kbn/optimizer", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig", + "type": "Class", + "tags": [], + "label": "OptimizerConfig", + "description": [], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.parseOptions", + "type": "Function", + "tags": [], + "label": "parseOptions", + "description": [], + "signature": [ + "(options: Options) => ", + "ParsedOptions" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.parseOptions.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Options" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.create", + "type": "Function", + "tags": [], + "label": "create", + "description": [], + "signature": [ + "(inputOptions: Options) => ", + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerConfig", + "text": "OptimizerConfig" + } + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.create.$1", + "type": "Object", + "tags": [], + "label": "inputOptions", + "description": [], + "signature": [ + "Options" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.Unnamed.$1", + "type": "Array", + "tags": [], + "label": "bundles", + "description": [], + "signature": [ + "Bundle", + "[]" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.Unnamed.$2", + "type": "Array", + "tags": [], + "label": "filteredBundles", + "description": [], + "signature": [ + "Bundle", + "[]" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.Unnamed.$3", + "type": "boolean", + "tags": [], + "label": "cache", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.Unnamed.$4", + "type": "boolean", + "tags": [], + "label": "watch", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.Unnamed.$5", + "type": "boolean", + "tags": [], + "label": "inspectWorkers", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.Unnamed.$6", + "type": "Array", + "tags": [], + "label": "plugins", + "description": [], + "signature": [ + "KibanaPlatformPlugin", + "[]" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.Unnamed.$7", + "type": "string", + "tags": [], + "label": "repoRoot", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.Unnamed.$8", + "type": "number", + "tags": [], + "label": "maxWorkerCount", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.Unnamed.$9", + "type": "boolean", + "tags": [], + "label": "dist", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.Unnamed.$10", + "type": "boolean", + "tags": [], + "label": "profileWebpack", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.Unnamed.$11", + "type": "Object", + "tags": [], + "label": "themeTags", + "description": [], + "signature": [ + "ThemeTags" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.getWorkerConfig", + "type": "Function", + "tags": [], + "label": "getWorkerConfig", + "description": [], + "signature": [ + "(optimizerCacheKey: unknown) => ", + "WorkerConfig" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.getWorkerConfig.$1", + "type": "Unknown", + "tags": [], + "label": "optimizerCacheKey", + "description": [], + "signature": [ + "unknown" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.getCacheableWorkerConfig", + "type": "Function", + "tags": [], + "label": "getCacheableWorkerConfig", + "description": [], + "signature": [ + "() => Pick<", + "WorkerConfig", + ", \"dist\" | \"repoRoot\" | \"themeTags\" | \"browserslistEnv\" | \"optimizerCacheKey\">" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.logOptimizerProgress", + "type": "Function", + "tags": [], + "label": "logOptimizerProgress", + "description": [], + "signature": [ + "(log: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, + ") => ", + "MonoTypeOperatorFunction", + "<", + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerUpdate", + "text": "OptimizerUpdate" + }, + ">" + ], + "path": "packages/kbn-optimizer/src/log_optimizer_progress.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.logOptimizerProgress.$1", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-optimizer/src/log_optimizer_progress.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.logOptimizerState", + "type": "Function", + "tags": [], + "label": "logOptimizerState", + "description": [], + "signature": [ + "(log: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, + ", config: ", + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerConfig", + "text": "OptimizerConfig" + }, + ") => Operator<", + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerUpdate", + "text": "OptimizerUpdate" + }, + ", ", + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerUpdate", + "text": "OptimizerUpdate" + }, + ">" + ], + "path": "packages/kbn-optimizer/src/log_optimizer_state.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.logOptimizerState.$1", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-optimizer/src/log_optimizer_state.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.logOptimizerState.$2", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerConfig", + "text": "OptimizerConfig" + } + ], + "path": "packages/kbn-optimizer/src/log_optimizer_state.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.readLimits", + "type": "Function", + "tags": [], + "label": "readLimits", + "description": [], + "signature": [ + "(path: string) => ", + "Limits" + ], + "path": "packages/kbn-optimizer/src/limits.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.readLimits.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-optimizer/src/limits.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.registerNodeAutoTranspilation", + "type": "Function", + "tags": [], + "label": "registerNodeAutoTranspilation", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-optimizer/src/node/node_auto_tranpilation.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.reportOptimizerTimings", + "type": "Function", + "tags": [], + "label": "reportOptimizerTimings", + "description": [], + "signature": [ + "(log: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, + ", config: ", + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerConfig", + "text": "OptimizerConfig" + }, + ") => Operator<", + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerUpdate", + "text": "OptimizerUpdate" + }, + ", ", + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerUpdate", + "text": "OptimizerUpdate" + }, + ">" + ], + "path": "packages/kbn-optimizer/src/report_optimizer_timings.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.reportOptimizerTimings.$1", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-optimizer/src/report_optimizer_timings.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.reportOptimizerTimings.$2", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerConfig", + "text": "OptimizerConfig" + } + ], + "path": "packages/kbn-optimizer/src/report_optimizer_timings.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.runKbnOptimizerCli", + "type": "Function", + "tags": [], + "label": "runKbnOptimizerCli", + "description": [], + "signature": [ + "(options: { defaultLimitsPath: string; }) => void" + ], + "path": "packages/kbn-optimizer/src/cli.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.runKbnOptimizerCli.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "packages/kbn-optimizer/src/cli.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.runKbnOptimizerCli.$1.defaultLimitsPath", + "type": "string", + "tags": [], + "label": "defaultLimitsPath", + "description": [], + "path": "packages/kbn-optimizer/src/cli.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.runOptimizer", + "type": "Function", + "tags": [], + "label": "runOptimizer", + "description": [], + "signature": [ + "(config: ", + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerConfig", + "text": "OptimizerConfig" + }, + ") => ", + "Observable", + "<", + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerUpdate", + "text": "OptimizerUpdate" + }, + ">" + ], + "path": "packages/kbn-optimizer/src/run_optimizer.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.runOptimizer.$1", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerConfig", + "text": "OptimizerConfig" + } + ], + "path": "packages/kbn-optimizer/src/run_optimizer.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.updateBundleLimits", + "type": "Function", + "tags": [], + "label": "updateBundleLimits", + "description": [], + "signature": [ + "({\n log,\n config,\n dropMissing,\n limitsPath,\n}: UpdateBundleLimitsOptions) => void" + ], + "path": "packages/kbn-optimizer/src/limits.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.updateBundleLimits.$1", + "type": "Object", + "tags": [], + "label": "{\n log,\n config,\n dropMissing,\n limitsPath,\n}", + "description": [], + "signature": [ + "UpdateBundleLimitsOptions" + ], + "path": "packages/kbn-optimizer/src/limits.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.validateLimitsForAllBundles", + "type": "Function", + "tags": [], + "label": "validateLimitsForAllBundles", + "description": [], + "signature": [ + "(log: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, + ", config: ", + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerConfig", + "text": "OptimizerConfig" + }, + ", limitsPath: string) => void" + ], + "path": "packages/kbn-optimizer/src/limits.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.validateLimitsForAllBundles.$1", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-optimizer/src/limits.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.validateLimitsForAllBundles.$2", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerConfig", + "text": "OptimizerConfig" + } + ], + "path": "packages/kbn-optimizer/src/limits.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.validateLimitsForAllBundles.$3", + "type": "string", + "tags": [], + "label": "limitsPath", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-optimizer/src/limits.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerUpdate", + "type": "Type", + "tags": [], + "label": "OptimizerUpdate", + "description": [], + "signature": [ + "Update", + "<", + "OptimizerEvent", + ", ", + "OptimizerState", + ">" + ], + "path": "packages/kbn-optimizer/src/run_optimizer.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerUpdate$", + "type": "Type", + "tags": [], + "label": "OptimizerUpdate$", + "description": [], + "signature": [ + "Observable", + "<", + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerUpdate", + "text": "OptimizerUpdate" + }, + ">" + ], + "path": "packages/kbn-optimizer/src/run_optimizer.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_optimizer.mdx b/api_docs/kbn_optimizer.mdx new file mode 100644 index 0000000000000..e4af57faa7907 --- /dev/null +++ b/api_docs/kbn_optimizer.mdx @@ -0,0 +1,33 @@ +--- +id: kibKbnOptimizerPluginApi +slug: /kibana-dev-docs/api/kbn-optimizer +title: "@kbn/optimizer" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/optimizer plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnOptimizerObj from './kbn_optimizer.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 44 | 0 | 44 | 9 | + +## Server + +### Functions + + +### Classes + + +### Consts, variables and types + + diff --git a/api_docs/kbn_plugin_generator.json b/api_docs/kbn_plugin_generator.json new file mode 100644 index 0000000000000..41448d9f09fc5 --- /dev/null +++ b/api_docs/kbn_plugin_generator.json @@ -0,0 +1,44 @@ +{ + "id": "@kbn/plugin-generator", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/plugin-generator", + "id": "def-server.runCli", + "type": "Function", + "tags": [], + "label": "runCli", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-plugin-generator/src/cli.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_plugin_generator.mdx b/api_docs/kbn_plugin_generator.mdx new file mode 100644 index 0000000000000..8a72f272c2280 --- /dev/null +++ b/api_docs/kbn_plugin_generator.mdx @@ -0,0 +1,27 @@ +--- +id: kibKbnPluginGeneratorPluginApi +slug: /kibana-dev-docs/api/kbn-plugin-generator +title: "@kbn/plugin-generator" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/plugin-generator plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-generator'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnPluginGeneratorObj from './kbn_plugin_generator.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 1 | 0 | 1 | 0 | + +## Server + +### Functions + + diff --git a/api_docs/kbn_plugin_helpers.json b/api_docs/kbn_plugin_helpers.json new file mode 100644 index 0000000000000..452c0a7353b3a --- /dev/null +++ b/api_docs/kbn_plugin_helpers.json @@ -0,0 +1,44 @@ +{ + "id": "@kbn/plugin-helpers", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/plugin-helpers", + "id": "def-server.runCli", + "type": "Function", + "tags": [], + "label": "runCli", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-plugin-helpers/src/cli.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_plugin_helpers.mdx b/api_docs/kbn_plugin_helpers.mdx new file mode 100644 index 0000000000000..768fa33dadb3b --- /dev/null +++ b/api_docs/kbn_plugin_helpers.mdx @@ -0,0 +1,27 @@ +--- +id: kibKbnPluginHelpersPluginApi +slug: /kibana-dev-docs/api/kbn-plugin-helpers +title: "@kbn/plugin-helpers" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/plugin-helpers plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-helpers'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnPluginHelpersObj from './kbn_plugin_helpers.json'; + +Just some helpers for kibana plugin devs. + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 1 | 0 | 1 | 0 | + +## Server + +### Functions + + diff --git a/api_docs/kbn_pm.json b/api_docs/kbn_pm.json new file mode 100644 index 0000000000000..ec66a824a63a3 --- /dev/null +++ b/api_docs/kbn_pm.json @@ -0,0 +1,943 @@ +{ + "id": "@kbn/pm", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project", + "type": "Class", + "tags": [], + "label": "Project", + "description": [], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.fromPath", + "type": "Function", + "tags": [], + "label": "fromPath", + "description": [], + "signature": [ + "(path: string) => Promise<", + { + "pluginId": "@kbn/pm", + "scope": "server", + "docId": "kibKbnPmPluginApi", + "section": "def-server.Project", + "text": "Project" + }, + ">" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.fromPath.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.json", + "type": "Object", + "tags": [], + "label": "json", + "description": [ + "parsed package.json" + ], + "signature": [ + "IPackageJson" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.packageJsonLocation", + "type": "string", + "tags": [], + "label": "packageJsonLocation", + "description": [ + "absolute path to the package.json file in the project" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.nodeModulesLocation", + "type": "string", + "tags": [], + "label": "nodeModulesLocation", + "description": [ + "absolute path to the node_modules in the project (might not actually exist)" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.targetLocation", + "type": "string", + "tags": [], + "label": "targetLocation", + "description": [ + "absolute path to the target directory in the project (might not actually exist)" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.path", + "type": "string", + "tags": [], + "label": "path", + "description": [ + "absolute path to the directory containing the project" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.version", + "type": "string", + "tags": [], + "label": "version", + "description": [ + "the version of the project" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.allDependencies", + "type": "Object", + "tags": [], + "label": "allDependencies", + "description": [ + "merged set of dependencies of the project, [name => version range]" + ], + "signature": [ + "IPackageDependencies" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.productionDependencies", + "type": "Object", + "tags": [], + "label": "productionDependencies", + "description": [ + "regular dependencies of the project, [name => version range]" + ], + "signature": [ + "IPackageDependencies" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.devDependencies", + "type": "Object", + "tags": [], + "label": "devDependencies", + "description": [ + "development dependencies of the project, [name => version range]" + ], + "signature": [ + "IPackageDependencies" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.scripts", + "type": "Object", + "tags": [], + "label": "scripts", + "description": [ + "scripts defined in the package.json file for the project [name => body]" + ], + "signature": [ + "IPackageScripts" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.bazelPackage", + "type": "boolean", + "tags": [], + "label": "bazelPackage", + "description": [ + "states if this project is a Bazel package" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.isSinglePackageJsonProject", + "type": "boolean", + "tags": [], + "label": "isSinglePackageJsonProject", + "description": [], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "packageJson", + "description": [], + "signature": [ + "IPackageJson" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.Unnamed.$2", + "type": "string", + "tags": [], + "label": "projectPath", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.ensureValidProjectDependency", + "type": "Function", + "tags": [], + "label": "ensureValidProjectDependency", + "description": [], + "signature": [ + "(project: ", + { + "pluginId": "@kbn/pm", + "scope": "server", + "docId": "kibKbnPmPluginApi", + "section": "def-server.Project", + "text": "Project" + }, + ") => void" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.ensureValidProjectDependency.$1", + "type": "Object", + "tags": [], + "label": "project", + "description": [], + "signature": [ + { + "pluginId": "@kbn/pm", + "scope": "server", + "docId": "kibKbnPmPluginApi", + "section": "def-server.Project", + "text": "Project" + } + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.getBuildConfig", + "type": "Function", + "tags": [], + "label": "getBuildConfig", + "description": [], + "signature": [ + "() => BuildConfig" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.getIntermediateBuildDirectory", + "type": "Function", + "tags": [], + "label": "getIntermediateBuildDirectory", + "description": [ + "\nReturns the directory that should be copied into the Kibana build artifact.\nThis config can be specified to only include the project's build artifacts\ninstead of everything located in the project directory." + ], + "signature": [ + "() => string" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.getCleanConfig", + "type": "Function", + "tags": [], + "label": "getCleanConfig", + "description": [], + "signature": [ + "() => CleanConfig" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.isBazelPackage", + "type": "Function", + "tags": [], + "label": "isBazelPackage", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.isFlaggedAsDevOnly", + "type": "Function", + "tags": [], + "label": "isFlaggedAsDevOnly", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.hasScript", + "type": "Function", + "tags": [], + "label": "hasScript", + "description": [], + "signature": [ + "(name: string) => boolean" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.hasScript.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.getExecutables", + "type": "Function", + "tags": [], + "label": "getExecutables", + "description": [], + "signature": [ + "() => { [key: string]: string; }" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.runScript", + "type": "Function", + "tags": [], + "label": "runScript", + "description": [], + "signature": [ + "(scriptName: string, args?: string[]) => Promise" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.runScript.$1", + "type": "string", + "tags": [], + "label": "scriptName", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.runScript.$2", + "type": "Array", + "tags": [], + "label": "args", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.runScriptStreaming", + "type": "Function", + "tags": [], + "label": "runScriptStreaming", + "description": [], + "signature": [ + "(scriptName: string, options?: { args?: string[] | undefined; debug?: boolean | undefined; }) => ", + "ExecaChildProcess", + "" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.runScriptStreaming.$1", + "type": "string", + "tags": [], + "label": "scriptName", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.runScriptStreaming.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.runScriptStreaming.$2.args", + "type": "Array", + "tags": [], + "label": "args", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.runScriptStreaming.$2.debug", + "type": "CompoundType", + "tags": [], + "label": "debug", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.hasDependencies", + "type": "Function", + "tags": [], + "label": "hasDependencies", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.isEveryDependencyLocal", + "type": "Function", + "tags": [], + "label": "isEveryDependencyLocal", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.installDependencies", + "type": "Function", + "tags": [], + "label": "installDependencies", + "description": [], + "signature": [ + "(options?: { extraArgs?: string[] | undefined; }) => Promise" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.installDependencies.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.installDependencies.$1.extraArgs", + "type": "Array", + "tags": [], + "label": "extraArgs", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.buildBazelProductionProjects", + "type": "Function", + "tags": [], + "label": "buildBazelProductionProjects", + "description": [], + "signature": [ + "({\n kibanaRoot,\n buildRoot,\n onlyOSS,\n}: { kibanaRoot: string; buildRoot: string; onlyOSS?: boolean | undefined; }) => Promise" + ], + "path": "packages/kbn-pm/src/production/build_bazel_production_projects.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.buildBazelProductionProjects.$1", + "type": "Object", + "tags": [], + "label": "{\n kibanaRoot,\n buildRoot,\n onlyOSS,\n}", + "description": [], + "path": "packages/kbn-pm/src/production/build_bazel_production_projects.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.buildBazelProductionProjects.$1.kibanaRoot", + "type": "string", + "tags": [], + "label": "kibanaRoot", + "description": [], + "path": "packages/kbn-pm/src/production/build_bazel_production_projects.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.buildBazelProductionProjects.$1.buildRoot", + "type": "string", + "tags": [], + "label": "buildRoot", + "description": [], + "path": "packages/kbn-pm/src/production/build_bazel_production_projects.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.buildBazelProductionProjects.$1.onlyOSS", + "type": "CompoundType", + "tags": [], + "label": "onlyOSS", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-pm/src/production/build_bazel_production_projects.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.buildNonBazelProductionProjects", + "type": "Function", + "tags": [], + "label": "buildNonBazelProductionProjects", + "description": [], + "signature": [ + "({\n kibanaRoot,\n buildRoot,\n onlyOSS,\n}: { kibanaRoot: string; buildRoot: string; onlyOSS?: boolean | undefined; }) => Promise" + ], + "path": "packages/kbn-pm/src/production/build_non_bazel_production_projects.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.buildNonBazelProductionProjects.$1", + "type": "Object", + "tags": [], + "label": "{\n kibanaRoot,\n buildRoot,\n onlyOSS,\n}", + "description": [], + "path": "packages/kbn-pm/src/production/build_non_bazel_production_projects.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.buildNonBazelProductionProjects.$1.kibanaRoot", + "type": "string", + "tags": [], + "label": "kibanaRoot", + "description": [], + "path": "packages/kbn-pm/src/production/build_non_bazel_production_projects.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.buildNonBazelProductionProjects.$1.buildRoot", + "type": "string", + "tags": [], + "label": "buildRoot", + "description": [], + "path": "packages/kbn-pm/src/production/build_non_bazel_production_projects.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.buildNonBazelProductionProjects.$1.onlyOSS", + "type": "CompoundType", + "tags": [], + "label": "onlyOSS", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-pm/src/production/build_non_bazel_production_projects.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.getProjectPaths", + "type": "Function", + "tags": [], + "label": "getProjectPaths", + "description": [ + "\nReturns all the paths where plugins are located" + ], + "signature": [ + "({ rootPath, ossOnly, skipKibanaPlugins }: Options) => string[]" + ], + "path": "packages/kbn-pm/src/config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.getProjectPaths.$1", + "type": "Object", + "tags": [], + "label": "{ rootPath, ossOnly, skipKibanaPlugins }", + "description": [], + "signature": [ + "Options" + ], + "path": "packages/kbn-pm/src/config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.getProjects", + "type": "Function", + "tags": [], + "label": "getProjects", + "description": [], + "signature": [ + "(rootPath: string, projectsPathsPatterns: string[], { include = [], exclude = [] }: ", + "IProjectsOptions", + ", bazelOnly: boolean) => Promise<", + "ProjectMap", + ">" + ], + "path": "packages/kbn-pm/src/utils/projects.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.getProjects.$1", + "type": "string", + "tags": [], + "label": "rootPath", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-pm/src/utils/projects.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.getProjects.$2", + "type": "Array", + "tags": [], + "label": "projectsPathsPatterns", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-pm/src/utils/projects.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.getProjects.$3", + "type": "Object", + "tags": [], + "label": "{ include = [], exclude = [] }", + "description": [], + "signature": [ + "IProjectsOptions" + ], + "path": "packages/kbn-pm/src/utils/projects.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.getProjects.$4", + "type": "boolean", + "tags": [], + "label": "bazelOnly", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-pm/src/utils/projects.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.run", + "type": "Function", + "tags": [], + "label": "run", + "description": [], + "signature": [ + "(argv: string[]) => Promise" + ], + "path": "packages/kbn-pm/src/cli.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.run.$1", + "type": "Array", + "tags": [], + "label": "argv", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-pm/src/cli.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.transformDependencies", + "type": "Function", + "tags": [], + "label": "transformDependencies", + "description": [ + "\nReplaces `link:` dependencies with `file:` dependencies. When installing\ndependencies, these `file:` dependencies will be copied into `node_modules`\ninstead of being symlinked.\n\nThis will allow us to copy packages into the build and run `yarn`, which\nwill then _copy_ the `file:` dependencies into `node_modules` instead of\nsymlinking like we do in development.\n\nAdditionally it also taken care of replacing `link:bazel-bin/` with\n`file:` so we can also support the copy of the Bazel packages dist already into\nbuild/packages to be copied into the node_modules" + ], + "signature": [ + "(dependencies: ", + "IPackageDependencies", + ") => ", + "IPackageDependencies" + ], + "path": "packages/kbn-pm/src/utils/package_json.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.transformDependencies.$1", + "type": "Object", + "tags": [], + "label": "dependencies", + "description": [], + "signature": [ + "IPackageDependencies" + ], + "path": "packages/kbn-pm/src/utils/package_json.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_pm.mdx b/api_docs/kbn_pm.mdx new file mode 100644 index 0000000000000..f0886b39ea01c --- /dev/null +++ b/api_docs/kbn_pm.mdx @@ -0,0 +1,30 @@ +--- +id: kibKbnPmPluginApi +slug: /kibana-dev-docs/api/kbn-pm +title: "@kbn/pm" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/pm plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/pm'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnPmObj from './kbn_pm.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 63 | 0 | 49 | 5 | + +## Server + +### Functions + + +### Classes + + diff --git a/api_docs/kbn_rule_data_utils.json b/api_docs/kbn_rule_data_utils.json new file mode 100644 index 0000000000000..a29fb27fbbfe0 --- /dev/null +++ b/api_docs/kbn_rule_data_utils.json @@ -0,0 +1,1100 @@ +{ + "id": "@kbn/rule-data-utils", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.getEsQueryConfig", + "type": "Function", + "tags": [], + "label": "getEsQueryConfig", + "description": [], + "signature": [ + "(params?: GetEsQueryConfigParamType | undefined) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + } + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.getEsQueryConfig.$1", + "type": "Object", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "GetEsQueryConfigParamType | undefined" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.getSafeSortIds", + "type": "Function", + "tags": [], + "label": "getSafeSortIds", + "description": [ + "\nPrevent javascript from returning Number.MAX_SAFE_INTEGER when Elasticsearch expects\nJava's Long.MAX_VALUE. This happens when sorting fields by date which are\nunmapped in the provided index\n\nRef: https://github.com/elastic/elasticsearch/issues/28806#issuecomment-369303620\n\nreturn stringified Long.MAX_VALUE if we receive Number.MAX_SAFE_INTEGER" + ], + "signature": [ + "(sortIds: ", + "SearchSortResults", + " | null | undefined) => React.ReactText[] | null | undefined" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.getSafeSortIds.$1", + "type": "CompoundType", + "tags": [], + "label": "sortIds", + "description": [ + "estypes.SearchSortResults | undefined" + ], + "signature": [ + "SearchSortResults", + " | null | undefined" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "SortResults" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.isValidFeatureId", + "type": "Function", + "tags": [], + "label": "isValidFeatureId", + "description": [], + "signature": [ + "(a: unknown) => a is ", + { + "pluginId": "@kbn/rule-data-utils", + "scope": "server", + "docId": "kibKbnRuleDataUtilsPluginApi", + "section": "def-server.AlertConsumers", + "text": "AlertConsumers" + } + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.isValidFeatureId.$1", + "type": "Unknown", + "tags": [], + "label": "a", + "description": [], + "signature": [ + "unknown" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_ACTION_GROUP", + "type": "string", + "tags": [], + "label": "ALERT_ACTION_GROUP", + "description": [], + "signature": [ + "\"kibana.alert.action_group\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_DURATION", + "type": "string", + "tags": [], + "label": "ALERT_DURATION", + "description": [], + "signature": [ + "\"kibana.alert.duration.us\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_END", + "type": "string", + "tags": [], + "label": "ALERT_END", + "description": [], + "signature": [ + "\"kibana.alert.end\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_EVALUATION_THRESHOLD", + "type": "string", + "tags": [], + "label": "ALERT_EVALUATION_THRESHOLD", + "description": [], + "signature": [ + "\"kibana.alert.evaluation.threshold\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_EVALUATION_VALUE", + "type": "string", + "tags": [], + "label": "ALERT_EVALUATION_VALUE", + "description": [], + "signature": [ + "\"kibana.alert.evaluation.value\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_INSTANCE_ID", + "type": "string", + "tags": [], + "label": "ALERT_INSTANCE_ID", + "description": [], + "signature": [ + "\"kibana.alert.instance.id\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_NAMESPACE", + "type": "string", + "tags": [], + "label": "ALERT_NAMESPACE", + "description": [], + "signature": [ + "\"kibana.alert\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_REASON", + "type": "string", + "tags": [], + "label": "ALERT_REASON", + "description": [], + "signature": [ + "\"kibana.alert.reason\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RISK_SCORE", + "type": "string", + "tags": [], + "label": "ALERT_RISK_SCORE", + "description": [], + "signature": [ + "\"kibana.alert.risk_score\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_AUTHOR", + "type": "string", + "tags": [], + "label": "ALERT_RULE_AUTHOR", + "description": [], + "signature": [ + "\"kibana.alert.rule.author\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_CATEGORY", + "type": "string", + "tags": [], + "label": "ALERT_RULE_CATEGORY", + "description": [], + "signature": [ + "\"kibana.alert.rule.category\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_CONSUMER", + "type": "string", + "tags": [], + "label": "ALERT_RULE_CONSUMER", + "description": [], + "signature": [ + "\"kibana.alert.rule.consumer\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_CREATED_AT", + "type": "string", + "tags": [], + "label": "ALERT_RULE_CREATED_AT", + "description": [], + "signature": [ + "\"kibana.alert.rule.created_at\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_CREATED_BY", + "type": "string", + "tags": [], + "label": "ALERT_RULE_CREATED_BY", + "description": [], + "signature": [ + "\"kibana.alert.rule.created_by\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_DESCRIPTION", + "type": "string", + "tags": [], + "label": "ALERT_RULE_DESCRIPTION", + "description": [], + "signature": [ + "\"kibana.alert.rule.description\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_ENABLED", + "type": "string", + "tags": [], + "label": "ALERT_RULE_ENABLED", + "description": [], + "signature": [ + "\"kibana.alert.rule.enabled\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_FROM", + "type": "string", + "tags": [], + "label": "ALERT_RULE_FROM", + "description": [], + "signature": [ + "\"kibana.alert.rule.from\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_INTERVAL", + "type": "string", + "tags": [], + "label": "ALERT_RULE_INTERVAL", + "description": [], + "signature": [ + "\"kibana.alert.rule.interval\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_LICENSE", + "type": "string", + "tags": [], + "label": "ALERT_RULE_LICENSE", + "description": [], + "signature": [ + "\"kibana.alert.rule.license\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_NAME", + "type": "string", + "tags": [], + "label": "ALERT_RULE_NAME", + "description": [], + "signature": [ + "\"kibana.alert.rule.name\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_NAMESPACE", + "type": "string", + "tags": [], + "label": "ALERT_RULE_NAMESPACE", + "description": [], + "signature": [ + "\"kibana.alert.rule\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_NOTE", + "type": "string", + "tags": [], + "label": "ALERT_RULE_NOTE", + "description": [], + "signature": [ + "\"kibana.alert.rule.note\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_PARAMS", + "type": "string", + "tags": [], + "label": "ALERT_RULE_PARAMS", + "description": [], + "signature": [ + "\"kibana.alert.rule.params\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_PRODUCER", + "type": "string", + "tags": [], + "label": "ALERT_RULE_PRODUCER", + "description": [], + "signature": [ + "\"kibana.alert.rule.producer\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_REFERENCES", + "type": "string", + "tags": [], + "label": "ALERT_RULE_REFERENCES", + "description": [], + "signature": [ + "\"kibana.alert.rule.references\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_RISK_SCORE", + "type": "string", + "tags": [], + "label": "ALERT_RULE_RISK_SCORE", + "description": [], + "signature": [ + "\"kibana.alert.rule.risk_score\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_RISK_SCORE_MAPPING", + "type": "string", + "tags": [], + "label": "ALERT_RULE_RISK_SCORE_MAPPING", + "description": [], + "signature": [ + "\"kibana.alert.rule.risk_score_mapping\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_RULE_ID", + "type": "string", + "tags": [], + "label": "ALERT_RULE_RULE_ID", + "description": [], + "signature": [ + "\"kibana.alert.rule.rule_id\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_RULE_NAME_OVERRIDE", + "type": "string", + "tags": [], + "label": "ALERT_RULE_RULE_NAME_OVERRIDE", + "description": [], + "signature": [ + "\"kibana.alert.rule.rule_name_override\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_SEVERITY", + "type": "string", + "tags": [], + "label": "ALERT_RULE_SEVERITY", + "description": [], + "signature": [ + "\"kibana.alert.rule.severity\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_SEVERITY_MAPPING", + "type": "string", + "tags": [], + "label": "ALERT_RULE_SEVERITY_MAPPING", + "description": [], + "signature": [ + "\"kibana.alert.rule.severity_mapping\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_TAGS", + "type": "string", + "tags": [], + "label": "ALERT_RULE_TAGS", + "description": [], + "signature": [ + "\"kibana.alert.rule.tags\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_TO", + "type": "string", + "tags": [], + "label": "ALERT_RULE_TO", + "description": [], + "signature": [ + "\"kibana.alert.rule.to\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_TYPE", + "type": "string", + "tags": [], + "label": "ALERT_RULE_TYPE", + "description": [], + "signature": [ + "\"kibana.alert.rule.type\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_TYPE_ID", + "type": "string", + "tags": [], + "label": "ALERT_RULE_TYPE_ID", + "description": [], + "signature": [ + "\"kibana.alert.rule.rule_type_id\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_UPDATED_AT", + "type": "string", + "tags": [], + "label": "ALERT_RULE_UPDATED_AT", + "description": [], + "signature": [ + "\"kibana.alert.rule.updated_at\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_UPDATED_BY", + "type": "string", + "tags": [], + "label": "ALERT_RULE_UPDATED_BY", + "description": [], + "signature": [ + "\"kibana.alert.rule.updated_by\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_UUID", + "type": "string", + "tags": [], + "label": "ALERT_RULE_UUID", + "description": [], + "signature": [ + "\"kibana.alert.rule.uuid\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_VERSION", + "type": "string", + "tags": [], + "label": "ALERT_RULE_VERSION", + "description": [], + "signature": [ + "\"kibana.alert.rule.version\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_SEVERITY", + "type": "string", + "tags": [], + "label": "ALERT_SEVERITY", + "description": [], + "signature": [ + "\"kibana.alert.severity\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_SEVERITY_CRITICAL", + "type": "string", + "tags": [], + "label": "ALERT_SEVERITY_CRITICAL", + "description": [], + "signature": [ + "\"critical\"" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_severity.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_SEVERITY_WARNING", + "type": "string", + "tags": [], + "label": "ALERT_SEVERITY_WARNING", + "description": [], + "signature": [ + "\"warning\"" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_severity.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_START", + "type": "string", + "tags": [], + "label": "ALERT_START", + "description": [], + "signature": [ + "\"kibana.alert.start\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_STATUS", + "type": "string", + "tags": [], + "label": "ALERT_STATUS", + "description": [], + "signature": [ + "\"kibana.alert.status\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_STATUS_ACTIVE", + "type": "string", + "tags": [], + "label": "ALERT_STATUS_ACTIVE", + "description": [], + "signature": [ + "\"active\"" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_status.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_STATUS_RECOVERED", + "type": "string", + "tags": [], + "label": "ALERT_STATUS_RECOVERED", + "description": [], + "signature": [ + "\"recovered\"" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_status.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_SYSTEM_STATUS", + "type": "string", + "tags": [], + "label": "ALERT_SYSTEM_STATUS", + "description": [], + "signature": [ + "\"kibana.alert.system_status\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_UUID", + "type": "string", + "tags": [], + "label": "ALERT_UUID", + "description": [], + "signature": [ + "\"kibana.alert.uuid\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_WORKFLOW_REASON", + "type": "string", + "tags": [], + "label": "ALERT_WORKFLOW_REASON", + "description": [], + "signature": [ + "\"kibana.alert.workflow_reason\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_WORKFLOW_STATUS", + "type": "string", + "tags": [], + "label": "ALERT_WORKFLOW_STATUS", + "description": [], + "signature": [ + "\"kibana.alert.workflow_status\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_WORKFLOW_USER", + "type": "string", + "tags": [], + "label": "ALERT_WORKFLOW_USER", + "description": [], + "signature": [ + "\"kibana.alert.workflow_user\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.AlertConsumers", + "type": "Type", + "tags": [], + "label": "AlertConsumers", + "description": [], + "signature": [ + "\"logs\" | \"apm\" | \"observability\" | \"uptime\" | \"infrastructure\" | \"siem\"" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.AlertSeverity", + "type": "Type", + "tags": [], + "label": "AlertSeverity", + "description": [], + "signature": [ + "\"warning\" | \"critical\"" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_severity.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.AlertStatus", + "type": "Type", + "tags": [], + "label": "AlertStatus", + "description": [], + "signature": [ + "\"recovered\" | \"active\"" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_status.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.CONSUMERS", + "type": "string", + "tags": [], + "label": "CONSUMERS", + "description": [], + "signature": [ + "\"kibana.consumers\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ECS_VERSION", + "type": "string", + "tags": [], + "label": "ECS_VERSION", + "description": [], + "signature": [ + "\"ecs.version\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.EVENT_ACTION", + "type": "string", + "tags": [], + "label": "EVENT_ACTION", + "description": [], + "signature": [ + "\"event.action\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.EVENT_KIND", + "type": "string", + "tags": [], + "label": "EVENT_KIND", + "description": [], + "signature": [ + "\"event.kind\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.KIBANA_NAMESPACE", + "type": "string", + "tags": [], + "label": "KIBANA_NAMESPACE", + "description": [], + "signature": [ + "\"kibana\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.SPACE_IDS", + "type": "string", + "tags": [], + "label": "SPACE_IDS", + "description": [], + "signature": [ + "\"kibana.space_ids\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.STATUS_VALUES", + "type": "Type", + "tags": [], + "label": "STATUS_VALUES", + "description": [], + "signature": [ + "\"open\" | \"in-progress\" | \"acknowledged\" | \"closed\"" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.TAGS", + "type": "string", + "tags": [], + "label": "TAGS", + "description": [], + "signature": [ + "\"tags\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.TechnicalRuleDataFieldName", + "type": "Type", + "tags": [], + "label": "TechnicalRuleDataFieldName", + "description": [], + "signature": [ + "\"tags\" | \"kibana\" | \"@timestamp\" | \"event.kind\" | \"kibana.consumers\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.instance.id\" | \"kibana.alert.rule.consumer\" | \"kibana.alert.rule.producer\" | \"kibana.alert.reason\" | \"kibana.alert.risk_score\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.name\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.params\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.rule_type_id\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.status\" | \"kibana.alert.system_status\" | \"kibana.alert.uuid\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.alert.rule.uuid\" | \"kibana.alert.rule.category\" | \"kibana.space_ids\" | \"kibana.version\" | \"kibana.alert\" | \"kibana.alert.rule\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.TIMESTAMP", + "type": "string", + "tags": [], + "label": "TIMESTAMP", + "description": [], + "signature": [ + "\"@timestamp\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ValidFeatureId", + "type": "Type", + "tags": [], + "label": "ValidFeatureId", + "description": [], + "signature": [ + "\"logs\" | \"apm\" | \"observability\" | \"uptime\" | \"infrastructure\" | \"siem\"" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.validFeatureIds", + "type": "Array", + "tags": [], + "label": "validFeatureIds", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.VERSION", + "type": "string", + "tags": [], + "label": "VERSION", + "description": [], + "signature": [ + "\"kibana.version\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.AlertConsumers", + "type": "Object", + "tags": [], + "label": "AlertConsumers", + "description": [ + "\nregistering a new instance of the rule data client\nin a new plugin will require updating the below data structure\nto include the index name where the alerts as data will be written to." + ], + "signature": [ + "{ readonly APM: \"apm\"; readonly LOGS: \"logs\"; readonly INFRASTRUCTURE: \"infrastructure\"; readonly OBSERVABILITY: \"observability\"; readonly SIEM: \"siem\"; readonly UPTIME: \"uptime\"; }" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "deprecated": false, + "initialIsOpen": false + } + ] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_rule_data_utils.mdx b/api_docs/kbn_rule_data_utils.mdx new file mode 100644 index 0000000000000..3d10e43666558 --- /dev/null +++ b/api_docs/kbn_rule_data_utils.mdx @@ -0,0 +1,33 @@ +--- +id: kibKbnRuleDataUtilsPluginApi +slug: /kibana-dev-docs/api/kbn-rule-data-utils +title: "@kbn/rule-data-utils" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/rule-data-utils plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rule-data-utils'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnRuleDataUtilsObj from './kbn_rule_data_utils.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 74 | 0 | 71 | 0 | + +## Server + +### Objects + + +### Functions + + +### Consts, variables and types + + diff --git a/api_docs/kbn_securitysolution_autocomplete.json b/api_docs/kbn_securitysolution_autocomplete.json new file mode 100644 index 0000000000000..940a7d08d6155 --- /dev/null +++ b/api_docs/kbn_securitysolution_autocomplete.json @@ -0,0 +1,855 @@ +{ + "id": "@kbn/securitysolution-autocomplete", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.AutocompleteFieldExistsComponent", + "type": "Function", + "tags": [], + "label": "AutocompleteFieldExistsComponent", + "description": [], + "signature": [ + "{ ({ placeholder, rowLabel, }: React.PropsWithChildren): JSX.Element; displayName: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/field_value_exists/index.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.AutocompleteFieldExistsComponent.$1", + "type": "CompoundType", + "tags": [], + "label": "{\n placeholder,\n rowLabel,\n}", + "description": [], + "signature": [ + "React.PropsWithChildren" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/field_value_exists/index.tsx", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.AutocompleteFieldListsComponent", + "type": "Function", + "tags": [], + "label": "AutocompleteFieldListsComponent", + "description": [], + "signature": [ + "{ ({ httpService, isClearable, isDisabled, isLoading, onChange, placeholder, rowLabel, selectedField, selectedValue, }: React.PropsWithChildren): JSX.Element; displayName: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/field_value_lists/index.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.AutocompleteFieldListsComponent.$1", + "type": "CompoundType", + "tags": [], + "label": "{\n httpService,\n isClearable = false,\n isDisabled = false,\n isLoading = false,\n onChange,\n placeholder,\n rowLabel,\n selectedField,\n selectedValue,\n}", + "description": [], + "signature": [ + "React.PropsWithChildren" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/field_value_lists/index.tsx", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.AutocompleteFieldMatchAnyComponent", + "type": "Function", + "tags": [], + "label": "AutocompleteFieldMatchAnyComponent", + "description": [], + "signature": [ + "{ ({ placeholder, rowLabel, selectedField, selectedValue, indexPattern, isLoading, isDisabled, isClearable, isRequired, onChange, onError, autocompleteService, }: React.PropsWithChildren): JSX.Element; displayName: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/field_value_match_any/index.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.AutocompleteFieldMatchAnyComponent.$1", + "type": "CompoundType", + "tags": [], + "label": "{\n placeholder,\n rowLabel,\n selectedField,\n selectedValue,\n indexPattern,\n isLoading,\n isDisabled = false,\n isClearable = false,\n isRequired = false,\n onChange,\n onError,\n autocompleteService,\n}", + "description": [], + "signature": [ + "React.PropsWithChildren" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/field_value_match_any/index.tsx", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.AutocompleteFieldMatchComponent", + "type": "Function", + "tags": [], + "label": "AutocompleteFieldMatchComponent", + "description": [], + "signature": [ + "{ ({ placeholder, rowLabel, selectedField, selectedValue, indexPattern, isLoading, isDisabled, isClearable, isRequired, fieldInputWidth, onChange, onError, autocompleteService, }: React.PropsWithChildren): JSX.Element; displayName: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/field_value_match/index.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.AutocompleteFieldMatchComponent.$1", + "type": "CompoundType", + "tags": [], + "label": "{\n placeholder,\n rowLabel,\n selectedField,\n selectedValue,\n indexPattern,\n isLoading,\n isDisabled = false,\n isClearable = false,\n isRequired = false,\n fieldInputWidth,\n onChange,\n onError,\n autocompleteService,\n}", + "description": [], + "signature": [ + "React.PropsWithChildren" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/field_value_match/index.tsx", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.checkEmptyValue", + "type": "Function", + "tags": [], + "label": "checkEmptyValue", + "description": [ + "\nDetermines if empty value is ok" + ], + "signature": [ + "(param: string | undefined, field: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + " | undefined, isRequired: boolean, touched: boolean) => string | null | undefined" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/check_empty_value/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.checkEmptyValue.$1", + "type": "string", + "tags": [], + "label": "param", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/check_empty_value/index.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.checkEmptyValue.$2", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + " | undefined" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/check_empty_value/index.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.checkEmptyValue.$3", + "type": "boolean", + "tags": [], + "label": "isRequired", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/check_empty_value/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.checkEmptyValue.$4", + "type": "boolean", + "tags": [], + "label": "touched", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/check_empty_value/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.FieldComponent", + "type": "Function", + "tags": [], + "label": "FieldComponent", + "description": [], + "signature": [ + "{ ({ fieldInputWidth, fieldTypeFilter, indexPattern, isClearable, isDisabled, isLoading, isRequired, onChange, placeholder, selectedField, }: React.PropsWithChildren): JSX.Element; displayName: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/field/index.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.FieldComponent.$1", + "type": "CompoundType", + "tags": [], + "label": "{\n fieldInputWidth,\n fieldTypeFilter = [],\n indexPattern,\n isClearable = false,\n isDisabled = false,\n isLoading = false,\n isRequired = false,\n onChange,\n placeholder,\n selectedField,\n}", + "description": [], + "signature": [ + "React.PropsWithChildren" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/field/index.tsx", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.filterFieldToList", + "type": "Function", + "tags": [], + "label": "filterFieldToList", + "description": [ + "\nGiven an array of lists and optionally a field this will return all\nthe lists that match against the field based on the types from the field\n\nNOTE: That we support one additional property from \"FieldSpec\" located here:\nsrc/plugins/data/common/index_patterns/fields/types.ts\nThis type property is esTypes. If it exists and is on there we will read off the esTypes." + ], + "signature": [ + "(lists: { _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }[], field?: (", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + " & { esTypes?: string[] | undefined; }) | undefined) => { _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }[]" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/filter_field_to_list/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.filterFieldToList.$1", + "type": "Array", + "tags": [], + "label": "lists", + "description": [ + "The lists to match against the field" + ], + "signature": [ + "{ _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }[]" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/filter_field_to_list/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.filterFieldToList.$2", + "type": "CompoundType", + "tags": [], + "label": "field", + "description": [ + "The field to check against the list to see if they are compatible" + ], + "signature": [ + "(", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + " & { esTypes?: string[] | undefined; }) | undefined" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/filter_field_to_list/index.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.getGenericComboBoxProps", + "type": "Function", + "tags": [], + "label": "getGenericComboBoxProps", + "description": [ + "\nDetermines the options, selected values and option labels for EUI combo box" + ], + "signature": [ + "({ getLabel, options, selectedOptions, }: { getLabel: (value: T) => string; options: T[]; selectedOptions: T[]; }) => ", + { + "pluginId": "@kbn/securitysolution-autocomplete", + "scope": "common", + "docId": "kibKbnSecuritysolutionAutocompletePluginApi", + "section": "def-common.GetGenericComboBoxPropsReturn", + "text": "GetGenericComboBoxPropsReturn" + } + ], + "path": "packages/kbn-securitysolution-autocomplete/src/get_generic_combo_box_props/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.getGenericComboBoxProps.$1", + "type": "Object", + "tags": [], + "label": "{\n getLabel,\n options,\n selectedOptions,\n}", + "description": [], + "path": "packages/kbn-securitysolution-autocomplete/src/get_generic_combo_box_props/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.getGenericComboBoxProps.$1.getLabel", + "type": "Function", + "tags": [], + "label": "getLabel", + "description": [], + "signature": [ + "(value: T) => string" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/get_generic_combo_box_props/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.getGenericComboBoxProps.$1.getLabel.$1", + "type": "Uncategorized", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/get_generic_combo_box_props/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.getGenericComboBoxProps.$1.options", + "type": "Array", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "T[]" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/get_generic_combo_box_props/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.getGenericComboBoxProps.$1.selectedOptions", + "type": "Array", + "tags": [], + "label": "selectedOptions", + "description": [], + "signature": [ + "T[]" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/get_generic_combo_box_props/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.getOperators", + "type": "Function", + "tags": [], + "label": "getOperators", + "description": [ + "\nReturns the appropriate operators given a field type\n" + ], + "signature": [ + "(field: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + " | undefined) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.OperatorOption", + "text": "OperatorOption" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/get_operators/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.getOperators.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [ + "IndexPatternFieldBase selected field" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + " | undefined" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/get_operators/index.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.OperatorComponent", + "type": "Function", + "tags": [], + "label": "OperatorComponent", + "description": [], + "signature": [ + "{ ({ isClearable, isDisabled, isLoading, onChange, operator, operatorOptions, operatorInputWidth, placeholder, selectedField, }: React.PropsWithChildren): JSX.Element; displayName: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/operator/index.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.OperatorComponent.$1", + "type": "CompoundType", + "tags": [], + "label": "{\n isClearable = false,\n isDisabled = false,\n isLoading = false,\n onChange,\n operator,\n operatorOptions,\n operatorInputWidth = 150,\n placeholder,\n selectedField,\n}", + "description": [], + "signature": [ + "React.PropsWithChildren" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/operator/index.tsx", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.paramIsValid", + "type": "Function", + "tags": [], + "label": "paramIsValid", + "description": [ + "\nVery basic validation for values" + ], + "signature": [ + "(param: string | undefined, field: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + " | undefined, isRequired: boolean, touched: boolean) => string | undefined" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/param_is_valid/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.paramIsValid.$1", + "type": "string", + "tags": [], + "label": "param", + "description": [ + "the value being checked" + ], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/param_is_valid/index.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.paramIsValid.$2", + "type": "Object", + "tags": [], + "label": "field", + "description": [ + "the selected field" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + " | undefined" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/param_is_valid/index.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.paramIsValid.$3", + "type": "boolean", + "tags": [], + "label": "isRequired", + "description": [ + "whether or not an empty value is allowed" + ], + "signature": [ + "boolean" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/param_is_valid/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.paramIsValid.$4", + "type": "boolean", + "tags": [], + "label": "touched", + "description": [ + "has field been touched by user" + ], + "signature": [ + "boolean" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/param_is_valid/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "undefined if valid, string with error message if invalid" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.useFieldValueAutocomplete", + "type": "Function", + "tags": [], + "label": "useFieldValueAutocomplete", + "description": [ + "\nHook for using the field value autocomplete service" + ], + "signature": [ + "({ selectedField, operatorType, fieldValue, query, indexPattern, autocompleteService, }: ", + { + "pluginId": "@kbn/securitysolution-autocomplete", + "scope": "common", + "docId": "kibKbnSecuritysolutionAutocompletePluginApi", + "section": "def-common.UseFieldValueAutocompleteProps", + "text": "UseFieldValueAutocompleteProps" + }, + ") => ", + { + "pluginId": "@kbn/securitysolution-autocomplete", + "scope": "common", + "docId": "kibKbnSecuritysolutionAutocompletePluginApi", + "section": "def-common.UseFieldValueAutocompleteReturn", + "text": "UseFieldValueAutocompleteReturn" + } + ], + "path": "packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.useFieldValueAutocomplete.$1", + "type": "Object", + "tags": [], + "label": "{\n selectedField,\n operatorType,\n fieldValue,\n query,\n indexPattern,\n autocompleteService,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-autocomplete", + "scope": "common", + "docId": "kibKbnSecuritysolutionAutocompletePluginApi", + "section": "def-common.UseFieldValueAutocompleteProps", + "text": "UseFieldValueAutocompleteProps" + } + ], + "path": "packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.GetGenericComboBoxPropsReturn", + "type": "Interface", + "tags": [], + "label": "GetGenericComboBoxPropsReturn", + "description": [], + "path": "packages/kbn-securitysolution-autocomplete/src/get_generic_combo_box_props/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.GetGenericComboBoxPropsReturn.comboOptions", + "type": "Array", + "tags": [], + "label": "comboOptions", + "description": [], + "signature": [ + "EuiComboBoxOptionOption", + "[]" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/get_generic_combo_box_props/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.GetGenericComboBoxPropsReturn.labels", + "type": "Array", + "tags": [], + "label": "labels", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/get_generic_combo_box_props/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.GetGenericComboBoxPropsReturn.selectedComboOptions", + "type": "Array", + "tags": [], + "label": "selectedComboOptions", + "description": [], + "signature": [ + "EuiComboBoxOptionOption", + "[]" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/get_generic_combo_box_props/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.UseFieldValueAutocompleteProps", + "type": "Interface", + "tags": [], + "label": "UseFieldValueAutocompleteProps", + "description": [], + "path": "packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.UseFieldValueAutocompleteProps.autocompleteService", + "type": "Any", + "tags": [], + "label": "autocompleteService", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.UseFieldValueAutocompleteProps.fieldValue", + "type": "CompoundType", + "tags": [], + "label": "fieldValue", + "description": [], + "signature": [ + "string | string[] | undefined" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.UseFieldValueAutocompleteProps.indexPattern", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + " | undefined" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.UseFieldValueAutocompleteProps.operatorType", + "type": "Enum", + "tags": [], + "label": "operatorType", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + } + ], + "path": "packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.UseFieldValueAutocompleteProps.query", + "type": "string", + "tags": [], + "label": "query", + "description": [], + "path": "packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.UseFieldValueAutocompleteProps.selectedField", + "type": "Object", + "tags": [], + "label": "selectedField", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + " | undefined" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.UseFieldValueAutocompleteReturn", + "type": "Type", + "tags": [], + "label": "UseFieldValueAutocompleteReturn", + "description": [], + "signature": [ + "[boolean, boolean, string[], Func | null]" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_securitysolution_autocomplete.mdx b/api_docs/kbn_securitysolution_autocomplete.mdx new file mode 100644 index 0000000000000..ffc5b4923f31c --- /dev/null +++ b/api_docs/kbn_securitysolution_autocomplete.mdx @@ -0,0 +1,33 @@ +--- +id: kibKbnSecuritysolutionAutocompletePluginApi +slug: /kibana-dev-docs/api/kbn-securitysolution-autocomplete +title: "@kbn/securitysolution-autocomplete" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/securitysolution-autocomplete plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-autocomplete'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnSecuritysolutionAutocompleteObj from './kbn_securitysolution_autocomplete.json'; + +Security Solution auto complete + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 47 | 1 | 34 | 0 | + +## Common + +### Functions + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_securitysolution_es_utils.json b/api_docs/kbn_securitysolution_es_utils.json new file mode 100644 index 0000000000000..680d6993530dd --- /dev/null +++ b/api_docs/kbn_securitysolution_es_utils.json @@ -0,0 +1,8372 @@ +{ + "id": "@kbn/securitysolution-es-utils", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.BadRequestError", + "type": "Class", + "tags": [], + "label": "BadRequestError", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-es-utils", + "scope": "server", + "docId": "kibKbnSecuritysolutionEsUtilsPluginApi", + "section": "def-server.BadRequestError", + "text": "BadRequestError" + }, + " extends Error" + ], + "path": "packages/kbn-securitysolution-es-utils/src/bad_request_error/index.ts", + "deprecated": false, + "children": [], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.createBootstrapIndex", + "type": "Function", + "tags": [], + "label": "createBootstrapIndex", + "description": [], + "signature": [ + "(esClient: Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">, index: string) => Promise" + ], + "path": "packages/kbn-securitysolution-es-utils/src/create_boostrap_index/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.createBootstrapIndex.$1", + "type": "Object", + "tags": [], + "label": "esClient", + "description": [], + "signature": [ + "Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">" + ], + "path": "packages/kbn-securitysolution-es-utils/src/create_boostrap_index/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.createBootstrapIndex.$2", + "type": "string", + "tags": [], + "label": "index", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-es-utils/src/create_boostrap_index/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.decodeVersion", + "type": "Function", + "tags": [], + "label": "decodeVersion", + "description": [], + "signature": [ + "(version: string | undefined) => {} | { ifSeqNo: number; ifPrimaryTerm: number; }" + ], + "path": "packages/kbn-securitysolution-es-utils/src/decode_version/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.decodeVersion.$1", + "type": "string", + "tags": [], + "label": "version", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-es-utils/src/decode_version/index.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.deleteAllIndex", + "type": "Function", + "tags": [], + "label": "deleteAllIndex", + "description": [], + "signature": [ + "(esClient: Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">, pattern: string, maxAttempts?: number) => Promise" + ], + "path": "packages/kbn-securitysolution-es-utils/src/delete_all_index/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.deleteAllIndex.$1", + "type": "Object", + "tags": [], + "label": "esClient", + "description": [], + "signature": [ + "Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">" + ], + "path": "packages/kbn-securitysolution-es-utils/src/delete_all_index/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.deleteAllIndex.$2", + "type": "string", + "tags": [], + "label": "pattern", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-es-utils/src/delete_all_index/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.deleteAllIndex.$3", + "type": "number", + "tags": [], + "label": "maxAttempts", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-securitysolution-es-utils/src/delete_all_index/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.deletePolicy", + "type": "Function", + "tags": [], + "label": "deletePolicy", + "description": [], + "signature": [ + "(esClient: Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">, policy: string) => Promise" + ], + "path": "packages/kbn-securitysolution-es-utils/src/delete_policy/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.deletePolicy.$1", + "type": "Object", + "tags": [], + "label": "esClient", + "description": [], + "signature": [ + "Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">" + ], + "path": "packages/kbn-securitysolution-es-utils/src/delete_policy/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.deletePolicy.$2", + "type": "string", + "tags": [], + "label": "policy", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-es-utils/src/delete_policy/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.deleteTemplate", + "type": "Function", + "tags": [], + "label": "deleteTemplate", + "description": [], + "signature": [ + "(esClient: Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">, name: string) => Promise" + ], + "path": "packages/kbn-securitysolution-es-utils/src/delete_template/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.deleteTemplate.$1", + "type": "Object", + "tags": [], + "label": "esClient", + "description": [], + "signature": [ + "Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">" + ], + "path": "packages/kbn-securitysolution-es-utils/src/delete_template/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.deleteTemplate.$2", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-es-utils/src/delete_template/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.encodeHitVersion", + "type": "Function", + "tags": [], + "label": "encodeHitVersion", + "description": [ + "\nVery similar to the encode_hit_version from saved object system from here:\nsrc/core/server/saved_objects/version/encode_hit_version.ts\n\nwith the most notably change is that it doesn't do any throws but rather just returns undefined\nif _seq_no or _primary_term does not exist." + ], + "signature": [ + "(hit: T) => string | undefined" + ], + "path": "packages/kbn-securitysolution-es-utils/src/encode_hit_version/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.encodeHitVersion.$1", + "type": "Uncategorized", + "tags": [], + "label": "hit", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-securitysolution-es-utils/src/encode_hit_version/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getIndexAliases", + "type": "Function", + "tags": [], + "label": "getIndexAliases", + "description": [ + "\nRetrieves all index aliases for a given alias name\n" + ], + "signature": [ + "({ esClient, alias, }: { esClient: Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">; alias: string; }) => Promise" + ], + "path": "packages/kbn-securitysolution-es-utils/src/get_index_aliases/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getIndexAliases.$1", + "type": "Object", + "tags": [], + "label": "{\n esClient,\n alias,\n}", + "description": [], + "path": "packages/kbn-securitysolution-es-utils/src/get_index_aliases/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getIndexAliases.$1.esClient", + "type": "Object", + "tags": [], + "label": "esClient", + "description": [], + "signature": [ + "{ get: (params: ", + "GetRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "GetResponse", + ", TContext>>; delete: (params: ", + "DeleteRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "DeleteResponse", + ", TContext>>; monitoring: { bulk(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; security: { authenticate(params?: ", + "SecurityAuthenticateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityAuthenticateResponse", + ", TContext>>; changePassword(params?: ", + "SecurityChangePasswordRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityChangePasswordResponse", + ", TContext>>; clearApiKeyCache(params?: ", + "SecurityClearApiKeyCacheRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityClearApiKeyCacheResponse", + ", TContext>>; clearCachedPrivileges(params: ", + "SecurityClearCachedPrivilegesRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityClearCachedPrivilegesResponse", + ", TContext>>; clearCachedRealms(params: ", + "SecurityClearCachedRealmsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityClearCachedRealmsResponse", + ", TContext>>; clearCachedRoles(params: ", + "SecurityClearCachedRolesRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityClearCachedRolesResponse", + ", TContext>>; clearCachedServiceTokens(params: ", + "SecurityClearCachedServiceTokensRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityClearCachedServiceTokensResponse", + ", TContext>>; createApiKey(params?: ", + "SecurityCreateApiKeyRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityCreateApiKeyResponse", + ", TContext>>; createServiceToken(params: ", + "SecurityCreateServiceTokenRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityCreateServiceTokenResponse", + ", TContext>>; deletePrivileges(params: ", + "SecurityDeletePrivilegesRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityDeletePrivilegesResponse", + ", TContext>>; deleteRole(params: ", + "SecurityDeleteRoleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityDeleteRoleResponse", + ", TContext>>; deleteRoleMapping(params: ", + "SecurityDeleteRoleMappingRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityDeleteRoleMappingResponse", + ", TContext>>; deleteServiceToken(params: ", + "SecurityDeleteServiceTokenRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityDeleteServiceTokenResponse", + ", TContext>>; deleteUser(params: ", + "SecurityDeleteUserRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityDeleteUserResponse", + ", TContext>>; disableUser(params: ", + "SecurityDisableUserRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityDisableUserResponse", + ", TContext>>; enableUser(params: ", + "SecurityEnableUserRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityEnableUserResponse", + ", TContext>>; getApiKey(params?: ", + "SecurityGetApiKeyRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetApiKeyResponse", + ", TContext>>; getBuiltinPrivileges(params?: ", + "SecurityGetBuiltinPrivilegesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetBuiltinPrivilegesResponse", + ", TContext>>; getPrivileges(params?: ", + "SecurityGetPrivilegesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetPrivilegesResponse", + ", TContext>>; getRole(params?: ", + "SecurityGetRoleRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetRoleResponse", + ", TContext>>; getRoleMapping(params?: ", + "SecurityGetRoleMappingRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetRoleMappingResponse", + ", TContext>>; getServiceAccounts(params?: ", + "SecurityGetServiceAccountsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetServiceAccountsResponse", + ", TContext>>; getServiceCredentials(params: ", + "SecurityGetServiceCredentialsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetServiceCredentialsResponse", + ", TContext>>; getToken(params?: ", + "SecurityGetTokenRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetTokenResponse", + ", TContext>>; getUser(params?: ", + "SecurityGetUserRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetUserResponse", + ", TContext>>; getUserPrivileges(params?: ", + "SecurityGetUserPrivilegesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetUserPrivilegesResponse", + ", TContext>>; grantApiKey(params?: ", + "SecurityGrantApiKeyRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGrantApiKeyResponse", + ", TContext>>; hasPrivileges(params?: ", + "SecurityHasPrivilegesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityHasPrivilegesResponse", + ", TContext>>; invalidateApiKey(params?: ", + "SecurityInvalidateApiKeyRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityInvalidateApiKeyResponse", + ", TContext>>; invalidateToken(params?: ", + "SecurityInvalidateTokenRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityInvalidateTokenResponse", + ", TContext>>; putPrivileges(params?: ", + "SecurityPutPrivilegesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityPutPrivilegesResponse", + ", TContext>>; putRole(params: ", + "SecurityPutRoleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityPutRoleResponse", + ", TContext>>; putRoleMapping(params: ", + "SecurityPutRoleMappingRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityPutRoleMappingResponse", + ", TContext>>; putUser(params: ", + "SecurityPutUserRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityPutUserResponse", + ", TContext>>; samlAuthenticate(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; samlCompleteLogout(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; samlInvalidate(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; samlLogout(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; samlPrepareAuthentication(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; samlServiceProviderMetadata(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; create: (params: ", + "CreateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CreateResponse", + ", TContext>>; index: (params: ", + "IndexRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndexResponse", + ", TContext>>; update: (params: ", + "UpdateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "UpdateResponse", + ", TContext>>; closePointInTime: (params?: ", + "ClosePointInTimeRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClosePointInTimeResponse", + ", TContext>>; search: (params?: ", + "SearchRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SearchResponse", + ", TContext>>; transform: { deleteTransform(params: ", + "TransformDeleteTransformRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformDeleteTransformResponse", + ", TContext>>; getTransform(params?: ", + "TransformGetTransformRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformGetTransformResponse", + ", TContext>>; getTransformStats(params: ", + "TransformGetTransformStatsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformGetTransformStatsResponse", + ", TContext>>; previewTransform(params?: ", + "TransformPreviewTransformRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformPreviewTransformResponse", + ", TContext>>; putTransform(params: ", + "TransformPutTransformRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformPutTransformResponse", + ", TContext>>; startTransform(params: ", + "TransformStartTransformRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformStartTransformResponse", + ", TContext>>; stopTransform(params: ", + "TransformStopTransformRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformStopTransformResponse", + ", TContext>>; updateTransform(params?: ", + "TransformUpdateTransformRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformUpdateTransformResponse", + ", TContext>>; }; eql: { delete(params: ", + "EqlDeleteRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EqlDeleteResponse", + ", TContext>>; get(params: ", + "EqlGetRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EqlGetResponse", + ", TContext>>; getStatus(params: ", + "EqlGetStatusRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EqlGetStatusResponse", + ", TContext>>; search(params: ", + "EqlSearchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EqlSearchResponse", + ", TContext>>; }; helpers: ", + "default", + "; emit: (event: string | symbol, ...args: any[]) => boolean; on: { (event: \"request\", listener: (err: ", + "ApiError", + ", meta: ", + "RequestEvent", + ", unknown>) => void): ", + "KibanaClient", + "; (event: \"response\", listener: (err: ", + "ApiError", + ", meta: ", + "RequestEvent", + ", unknown>) => void): ", + "KibanaClient", + "; (event: \"sniff\", listener: (err: ", + "ApiError", + ", meta: ", + "RequestEvent", + ", unknown>) => void): ", + "KibanaClient", + "; (event: \"resurrect\", listener: (err: null, meta: ", + "ResurrectEvent", + ") => void): ", + "KibanaClient", + "; }; once: { (event: \"request\", listener: (err: ", + "ApiError", + ", meta: ", + "RequestEvent", + ", unknown>) => void): ", + "KibanaClient", + "; (event: \"response\", listener: (err: ", + "ApiError", + ", meta: ", + "RequestEvent", + ", unknown>) => void): ", + "KibanaClient", + "; (event: \"sniff\", listener: (err: ", + "ApiError", + ", meta: ", + "RequestEvent", + ", unknown>) => void): ", + "KibanaClient", + "; (event: \"resurrect\", listener: (err: null, meta: ", + "ResurrectEvent", + ") => void): ", + "KibanaClient", + "; }; off: (event: string | symbol, listener: (...args: any[]) => void) => ", + "KibanaClient", + "; asyncSearch: { delete(params: ", + "AsyncSearchDeleteRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "AsyncSearchDeleteResponse", + ", TContext>>; get(params: ", + "AsyncSearchGetRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "AsyncSearchGetResponse", + ", TContext>>; status(params: ", + "AsyncSearchStatusRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "AsyncSearchStatusResponse", + ", TContext>>; submit(params?: ", + "AsyncSearchSubmitRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "AsyncSearchSubmitResponse", + ", TContext>>; }; autoscaling: { deleteAutoscalingPolicy(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getAutoscalingCapacity(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getAutoscalingPolicy(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; putAutoscalingPolicy(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; bulk: (params: ", + "BulkRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "BulkResponse", + ", TContext>>; cat: { aliases(params?: ", + "CatAliasesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatAliasesResponse", + ", TContext>>; allocation(params?: ", + "CatAllocationRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatAllocationResponse", + ", TContext>>; count(params?: ", + "CatCountRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatCountResponse", + ", TContext>>; fielddata(params?: ", + "CatFielddataRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatFielddataResponse", + ", TContext>>; health(params?: ", + "CatHealthRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatHealthResponse", + ", TContext>>; help(params?: ", + "CatHelpRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatHelpResponse", + ", TContext>>; indices(params?: ", + "CatIndicesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatIndicesResponse", + ", TContext>>; master(params?: ", + "CatMasterRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatMasterResponse", + ", TContext>>; mlDataFrameAnalytics(params?: ", + "CatDataFrameAnalyticsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatDataFrameAnalyticsResponse", + ", TContext>>; mlDatafeeds(params?: ", + "CatDatafeedsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatDatafeedsResponse", + ", TContext>>; mlJobs(params?: ", + "CatJobsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatJobsResponse", + ", TContext>>; mlTrainedModels(params?: ", + "CatTrainedModelsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatTrainedModelsResponse", + ", TContext>>; nodeattrs(params?: ", + "CatNodeAttributesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatNodeAttributesResponse", + ", TContext>>; nodes(params?: ", + "CatNodesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatNodesResponse", + ", TContext>>; pendingTasks(params?: ", + "CatPendingTasksRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatPendingTasksResponse", + ", TContext>>; plugins(params?: ", + "CatPluginsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatPluginsResponse", + ", TContext>>; recovery(params?: ", + "CatRecoveryRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatRecoveryResponse", + ", TContext>>; repositories(params?: ", + "CatRepositoriesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatRepositoriesResponse", + ", TContext>>; segments(params?: ", + "CatSegmentsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatSegmentsResponse", + ", TContext>>; shards(params?: ", + "CatShardsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatShardsResponse", + ", TContext>>; snapshots(params?: ", + "CatSnapshotsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatSnapshotsResponse", + ", TContext>>; tasks(params?: ", + "CatTasksRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatTasksResponse", + ", TContext>>; templates(params?: ", + "CatTemplatesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatTemplatesResponse", + ", TContext>>; threadPool(params?: ", + "CatThreadPoolRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatThreadPoolResponse", + ", TContext>>; transforms(params?: ", + "CatTransformsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatTransformsResponse", + ", TContext>>; }; ccr: { deleteAutoFollowPattern(params: ", + "CcrDeleteAutoFollowPatternRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrDeleteAutoFollowPatternResponse", + ", TContext>>; follow(params: ", + "CcrCreateFollowIndexRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrCreateFollowIndexResponse", + ", TContext>>; followInfo(params: ", + "CcrFollowInfoRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrFollowInfoResponse", + ", TContext>>; followStats(params: ", + "CcrFollowIndexStatsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrFollowIndexStatsResponse", + ", TContext>>; forgetFollower(params: ", + "CcrForgetFollowerIndexRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrForgetFollowerIndexResponse", + ", TContext>>; getAutoFollowPattern(params?: ", + "CcrGetAutoFollowPatternRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrGetAutoFollowPatternResponse", + ", TContext>>; pauseAutoFollowPattern(params: ", + "CcrPauseAutoFollowPatternRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrPauseAutoFollowPatternResponse", + ", TContext>>; pauseFollow(params: ", + "CcrPauseFollowIndexRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrPauseFollowIndexResponse", + ", TContext>>; putAutoFollowPattern(params: ", + "CcrPutAutoFollowPatternRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrPutAutoFollowPatternResponse", + ", TContext>>; resumeAutoFollowPattern(params: ", + "CcrResumeAutoFollowPatternRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrResumeAutoFollowPatternResponse", + ", TContext>>; resumeFollow(params: ", + "CcrResumeFollowIndexRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrResumeFollowIndexResponse", + ", TContext>>; stats(params?: ", + "CcrStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrStatsResponse", + ", TContext>>; unfollow(params: ", + "CcrUnfollowIndexRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrUnfollowIndexResponse", + ", TContext>>; }; clearScroll: (params?: ", + "ClearScrollRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClearScrollResponse", + ", TContext>>; cluster: { allocationExplain(params?: ", + "ClusterAllocationExplainRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterAllocationExplainResponse", + ", TContext>>; deleteComponentTemplate(params: ", + "ClusterDeleteComponentTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterDeleteComponentTemplateResponse", + ", TContext>>; deleteVotingConfigExclusions(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; existsComponentTemplate(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getComponentTemplate(params?: ", + "ClusterGetComponentTemplateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterGetComponentTemplateResponse", + ", TContext>>; getSettings(params?: ", + "ClusterGetSettingsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterGetSettingsResponse", + ", TContext>>; health(params?: ", + "ClusterHealthRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterHealthResponse", + ", TContext>>; pendingTasks(params?: ", + "ClusterPendingTasksRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterPendingTasksResponse", + ", TContext>>; postVotingConfigExclusions(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; putComponentTemplate(params: ", + "ClusterPutComponentTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterPutComponentTemplateResponse", + ", TContext>>; putSettings(params?: ", + "ClusterPutSettingsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterPutSettingsResponse", + ", TContext>>; remoteInfo(params?: ", + "ClusterRemoteInfoRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterRemoteInfoResponse", + ", TContext>>; reroute(params?: ", + "ClusterRerouteRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterRerouteResponse", + ", TContext>>; state(params?: ", + "ClusterStateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterStateResponse", + ", TContext>>; stats(params?: ", + "ClusterStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterStatsResponse", + ", TContext>>; }; count: (params?: ", + "CountRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CountResponse", + ", TContext>>; danglingIndices: { deleteDanglingIndex(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; importDanglingIndex(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; listDanglingIndices(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; dataFrameTransformDeprecated: { deleteTransform(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getTransform(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getTransformStats(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; previewTransform(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; putTransform(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; startTransform(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; stopTransform(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; updateTransform(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; deleteByQuery: (params: ", + "DeleteByQueryRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "DeleteByQueryResponse", + ", TContext>>; deleteByQueryRethrottle: (params: ", + "DeleteByQueryRethrottleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "DeleteByQueryRethrottleResponse", + ", TContext>>; deleteScript: (params: ", + "DeleteScriptRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "DeleteScriptResponse", + ", TContext>>; enrich: { deletePolicy(params: ", + "EnrichDeletePolicyRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EnrichDeletePolicyResponse", + ", TContext>>; executePolicy(params: ", + "EnrichExecutePolicyRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EnrichExecutePolicyResponse", + ", TContext>>; getPolicy(params?: ", + "EnrichGetPolicyRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EnrichGetPolicyResponse", + ", TContext>>; putPolicy(params: ", + "EnrichPutPolicyRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EnrichPutPolicyResponse", + ", TContext>>; stats(params?: ", + "EnrichStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EnrichStatsResponse", + ", TContext>>; }; exists: (params: ", + "ExistsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; existsSource: (params: ", + "ExistsSourceRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; explain: (params: ", + "ExplainRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ExplainResponse", + ", TContext>>; features: { getFeatures(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; resetFeatures(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; fieldCaps: (params?: ", + "FieldCapsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "FieldCapsResponse", + ", TContext>>; fleet: { globalCheckpoints(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; getScript: (params: ", + "GetScriptRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "GetScriptResponse", + ", TContext>>; getScriptContext: (params?: ", + "GetScriptContextRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "GetScriptContextResponse", + ", TContext>>; getScriptLanguages: (params?: ", + "GetScriptLanguagesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "GetScriptLanguagesResponse", + ", TContext>>; getSource: (params?: ", + "GetSourceRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; graph: { explore(params: ", + "GraphExploreRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "GraphExploreResponse", + ", TContext>>; }; ilm: { deleteLifecycle(params: ", + "IlmDeleteLifecycleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmDeleteLifecycleResponse", + ", TContext>>; explainLifecycle(params: ", + "IlmExplainLifecycleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmExplainLifecycleResponse", + ", TContext>>; getLifecycle(params?: ", + "IlmGetLifecycleRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmGetLifecycleResponse", + ", TContext>>; getStatus(params?: ", + "IlmGetStatusRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmGetStatusResponse", + ", TContext>>; migrateToDataTiers(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; moveToStep(params: ", + "IlmMoveToStepRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmMoveToStepResponse", + ", TContext>>; putLifecycle(params?: ", + "IlmPutLifecycleRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmPutLifecycleResponse", + ", TContext>>; removePolicy(params: ", + "IlmRemovePolicyRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmRemovePolicyResponse", + ", TContext>>; retry(params: ", + "IlmRetryRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmRetryResponse", + ", TContext>>; start(params?: ", + "IlmStartRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmStartResponse", + ", TContext>>; stop(params?: ", + "IlmStopRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmStopResponse", + ", TContext>>; }; indices: { addBlock(params: ", + "IndicesAddBlockRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesAddBlockResponse", + ", TContext>>; analyze(params?: ", + "IndicesAnalyzeRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesAnalyzeResponse", + ", TContext>>; clearCache(params?: ", + "IndicesClearCacheRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesClearCacheResponse", + ", TContext>>; clone(params: ", + "IndicesCloneRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesCloneResponse", + ", TContext>>; close(params: ", + "IndicesCloseRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesCloseResponse", + ", TContext>>; create(params: ", + "IndicesCreateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesCreateResponse", + ", TContext>>; createDataStream(params: ", + "IndicesCreateDataStreamRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesCreateDataStreamResponse", + ", TContext>>; dataStreamsStats(params?: ", + "IndicesDataStreamsStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesDataStreamsStatsResponse", + ", TContext>>; delete(params: ", + "IndicesDeleteRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesDeleteResponse", + ", TContext>>; deleteAlias(params: ", + "IndicesDeleteAliasRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesDeleteAliasResponse", + ", TContext>>; deleteDataStream(params: ", + "IndicesDeleteDataStreamRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesDeleteDataStreamResponse", + ", TContext>>; deleteIndexTemplate(params: ", + "IndicesDeleteIndexTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesDeleteIndexTemplateResponse", + ", TContext>>; deleteTemplate(params: ", + "IndicesDeleteTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesDeleteTemplateResponse", + ", TContext>>; diskUsage(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; exists(params: ", + "IndicesExistsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; existsAlias(params: ", + "IndicesExistsAliasRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; existsIndexTemplate(params: ", + "IndicesExistsIndexTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; existsTemplate(params: ", + "IndicesExistsTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; existsType(params: ", + "IndicesExistsTypeRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; fieldUsageStats(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; flush(params?: ", + "IndicesFlushRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesFlushResponse", + ", TContext>>; flushSynced(params?: ", + "IndicesFlushSyncedRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesFlushSyncedResponse", + ", TContext>>; forcemerge(params?: ", + "IndicesForcemergeRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesForcemergeResponse", + ", TContext>>; freeze(params: ", + "IndicesFreezeRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesFreezeResponse", + ", TContext>>; get(params: ", + "IndicesGetRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetResponse", + ", TContext>>; getAlias(params?: ", + "IndicesGetAliasRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetAliasResponse", + ", TContext>>; getDataStream(params?: ", + "IndicesGetDataStreamRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetDataStreamResponse", + ", TContext>>; getFieldMapping(params: ", + "IndicesGetFieldMappingRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetFieldMappingResponse", + ", TContext>>; getIndexTemplate(params?: ", + "IndicesGetIndexTemplateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetIndexTemplateResponse", + ", TContext>>; getMapping(params?: ", + "IndicesGetMappingRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetMappingResponse", + ", TContext>>; getSettings(params?: ", + "IndicesGetSettingsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetSettingsResponse", + ", TContext>>; getTemplate(params?: ", + "IndicesGetTemplateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetTemplateResponse", + ", TContext>>; getUpgrade(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; migrateToDataStream(params: ", + "IndicesMigrateToDataStreamRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesMigrateToDataStreamResponse", + ", TContext>>; open(params: ", + "IndicesOpenRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesOpenResponse", + ", TContext>>; promoteDataStream(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; putAlias(params: ", + "IndicesPutAliasRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesPutAliasResponse", + ", TContext>>; putIndexTemplate(params: ", + "IndicesPutIndexTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesPutIndexTemplateResponse", + ", TContext>>; putMapping(params?: ", + "IndicesPutMappingRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesPutMappingResponse", + ", TContext>>; putSettings(params?: ", + "IndicesPutSettingsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesPutSettingsResponse", + ", TContext>>; putTemplate(params: ", + "IndicesPutTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesPutTemplateResponse", + ", TContext>>; recovery(params?: ", + "IndicesRecoveryRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesRecoveryResponse", + ", TContext>>; refresh(params?: ", + "IndicesRefreshRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesRefreshResponse", + ", TContext>>; reloadSearchAnalyzers(params: ", + "IndicesReloadSearchAnalyzersRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesReloadSearchAnalyzersResponse", + ", TContext>>; resolveIndex(params: ", + "IndicesResolveIndexRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesResolveIndexResponse", + ", TContext>>; rollover(params: ", + "IndicesRolloverRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesRolloverResponse", + ", TContext>>; segments(params?: ", + "IndicesSegmentsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesSegmentsResponse", + ", TContext>>; shardStores(params?: ", + "IndicesShardStoresRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesShardStoresResponse", + ", TContext>>; shrink(params: ", + "IndicesShrinkRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesShrinkResponse", + ", TContext>>; simulateIndexTemplate(params?: ", + "IndicesSimulateIndexTemplateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesSimulateIndexTemplateResponse", + ", TContext>>; simulateTemplate(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; split(params: ", + "IndicesSplitRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesSplitResponse", + ", TContext>>; stats(params?: ", + "IndicesStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesStatsResponse", + ", TContext>>; unfreeze(params: ", + "IndicesUnfreezeRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesUnfreezeResponse", + ", TContext>>; updateAliases(params?: ", + "IndicesUpdateAliasesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesUpdateAliasesResponse", + ", TContext>>; upgrade(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; validateQuery(params?: ", + "IndicesValidateQueryRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesValidateQueryResponse", + ", TContext>>; }; info: (params?: ", + "InfoRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "InfoResponse", + ", TContext>>; ingest: { deletePipeline(params: ", + "IngestDeletePipelineRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IngestDeletePipelineResponse", + ", TContext>>; geoIpStats(params?: ", + "IngestGeoIpStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IngestGeoIpStatsResponse", + ", TContext>>; getPipeline(params?: ", + "IngestGetPipelineRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IngestGetPipelineResponse", + ", TContext>>; processorGrok(params?: ", + "IngestProcessorGrokRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IngestProcessorGrokResponse", + ", TContext>>; putPipeline(params: ", + "IngestPutPipelineRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IngestPutPipelineResponse", + ", TContext>>; simulate(params?: ", + "IngestSimulatePipelineRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IngestSimulatePipelineResponse", + ", TContext>>; }; license: { delete(params?: ", + "LicenseDeleteRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "LicenseDeleteResponse", + ", TContext>>; get(params?: ", + "LicenseGetRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "LicenseGetResponse", + ", TContext>>; getBasicStatus(params?: ", + "LicenseGetBasicStatusRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "LicenseGetBasicStatusResponse", + ", TContext>>; getTrialStatus(params?: ", + "LicenseGetTrialStatusRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "LicenseGetTrialStatusResponse", + ", TContext>>; post(params?: ", + "LicensePostRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "LicensePostResponse", + ", TContext>>; postStartBasic(params?: ", + "LicensePostStartBasicRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "LicensePostStartBasicResponse", + ", TContext>>; postStartTrial(params?: ", + "LicensePostStartTrialRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "LicensePostStartTrialResponse", + ", TContext>>; }; logstash: { deletePipeline(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getPipeline(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; putPipeline(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; mget: (params?: ", + "MgetRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MgetResponse", + ", TContext>>; migration: { deprecations(params?: ", + "MigrationDeprecationInfoRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MigrationDeprecationInfoResponse", + ", TContext>>; }; ml: { closeJob(params: ", + "MlCloseJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlCloseJobResponse", + ", TContext>>; deleteCalendar(params: ", + "MlDeleteCalendarRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteCalendarResponse", + ", TContext>>; deleteCalendarEvent(params: ", + "MlDeleteCalendarEventRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteCalendarEventResponse", + ", TContext>>; deleteCalendarJob(params: ", + "MlDeleteCalendarJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteCalendarJobResponse", + ", TContext>>; deleteDataFrameAnalytics(params: ", + "MlDeleteDataFrameAnalyticsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteDataFrameAnalyticsResponse", + ", TContext>>; deleteDatafeed(params: ", + "MlDeleteDatafeedRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteDatafeedResponse", + ", TContext>>; deleteExpiredData(params?: ", + "MlDeleteExpiredDataRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteExpiredDataResponse", + ", TContext>>; deleteFilter(params: ", + "MlDeleteFilterRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteFilterResponse", + ", TContext>>; deleteForecast(params: ", + "MlDeleteForecastRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteForecastResponse", + ", TContext>>; deleteJob(params: ", + "MlDeleteJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteJobResponse", + ", TContext>>; deleteModelSnapshot(params: ", + "MlDeleteModelSnapshotRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteModelSnapshotResponse", + ", TContext>>; deleteTrainedModel(params: ", + "MlDeleteTrainedModelRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteTrainedModelResponse", + ", TContext>>; deleteTrainedModelAlias(params: ", + "MlDeleteTrainedModelAliasRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteTrainedModelAliasResponse", + ", TContext>>; estimateModelMemory(params?: ", + "MlEstimateModelMemoryRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlEstimateModelMemoryResponse", + ", TContext>>; evaluateDataFrame(params?: ", + "MlEvaluateDataFrameRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlEvaluateDataFrameResponse", + ", TContext>>; explainDataFrameAnalytics(params?: ", + "MlExplainDataFrameAnalyticsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlExplainDataFrameAnalyticsResponse", + ", TContext>>; findFileStructure(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; flushJob(params: ", + "MlFlushJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlFlushJobResponse", + ", TContext>>; forecast(params: ", + "MlForecastJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlForecastJobResponse", + ", TContext>>; getBuckets(params: ", + "MlGetBucketsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetBucketsResponse", + ", TContext>>; getCalendarEvents(params: ", + "MlGetCalendarEventsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetCalendarEventsResponse", + ", TContext>>; getCalendars(params?: ", + "MlGetCalendarsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetCalendarsResponse", + ", TContext>>; getCategories(params: ", + "MlGetCategoriesRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetCategoriesResponse", + ", TContext>>; getDataFrameAnalytics(params?: ", + "MlGetDataFrameAnalyticsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetDataFrameAnalyticsResponse", + ", TContext>>; getDataFrameAnalyticsStats(params?: ", + "MlGetDataFrameAnalyticsStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetDataFrameAnalyticsStatsResponse", + ", TContext>>; getDatafeedStats(params?: ", + "MlGetDatafeedStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetDatafeedStatsResponse", + ", TContext>>; getDatafeeds(params?: ", + "MlGetDatafeedsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetDatafeedsResponse", + ", TContext>>; getFilters(params?: ", + "MlGetFiltersRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetFiltersResponse", + ", TContext>>; getInfluencers(params: ", + "MlGetInfluencersRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetInfluencersResponse", + ", TContext>>; getJobStats(params?: ", + "MlGetJobStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetJobStatsResponse", + ", TContext>>; getJobs(params?: ", + "MlGetJobsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetJobsResponse", + ", TContext>>; getModelSnapshots(params: ", + "MlGetModelSnapshotsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetModelSnapshotsResponse", + ", TContext>>; getOverallBuckets(params: ", + "MlGetOverallBucketsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetOverallBucketsResponse", + ", TContext>>; getRecords(params: ", + "MlGetAnomalyRecordsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetAnomalyRecordsResponse", + ", TContext>>; getTrainedModels(params?: ", + "MlGetTrainedModelsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetTrainedModelsResponse", + ", TContext>>; getTrainedModelsStats(params?: ", + "MlGetTrainedModelsStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetTrainedModelsStatsResponse", + ", TContext>>; info(params?: ", + "MlInfoRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlInfoResponse", + ", TContext>>; openJob(params: ", + "MlOpenJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlOpenJobResponse", + ", TContext>>; postCalendarEvents(params?: ", + "MlPostCalendarEventsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPostCalendarEventsResponse", + ", TContext>>; postData(params: ", + "MlPostJobDataRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPostJobDataResponse", + ", TContext>>; previewDataFrameAnalytics(params?: ", + "MlPreviewDataFrameAnalyticsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPreviewDataFrameAnalyticsResponse", + ", TContext>>; previewDatafeed(params?: ", + "MlPreviewDatafeedRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPreviewDatafeedResponse", + ", TContext>>; putCalendar(params: ", + "MlPutCalendarRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPutCalendarResponse", + ", TContext>>; putCalendarJob(params: ", + "MlPutCalendarJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPutCalendarJobResponse", + ", TContext>>; putDataFrameAnalytics(params: ", + "MlPutDataFrameAnalyticsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPutDataFrameAnalyticsResponse", + ", TContext>>; putDatafeed(params: ", + "MlPutDatafeedRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPutDatafeedResponse", + ", TContext>>; putFilter(params: ", + "MlPutFilterRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPutFilterResponse", + ", TContext>>; putJob(params: ", + "MlPutJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPutJobResponse", + ", TContext>>; putTrainedModel(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; putTrainedModelAlias(params: ", + "MlPutTrainedModelAliasRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPutTrainedModelAliasResponse", + ", TContext>>; resetJob(params: ", + "MlResetJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlResetJobResponse", + ", TContext>>; revertModelSnapshot(params: ", + "MlRevertModelSnapshotRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlRevertModelSnapshotResponse", + ", TContext>>; setUpgradeMode(params?: ", + "MlSetUpgradeModeRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlSetUpgradeModeResponse", + ", TContext>>; startDataFrameAnalytics(params: ", + "MlStartDataFrameAnalyticsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlStartDataFrameAnalyticsResponse", + ", TContext>>; startDatafeed(params: ", + "MlStartDatafeedRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlStartDatafeedResponse", + ", TContext>>; stopDataFrameAnalytics(params: ", + "MlStopDataFrameAnalyticsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlStopDataFrameAnalyticsResponse", + ", TContext>>; stopDatafeed(params: ", + "MlStopDatafeedRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlStopDatafeedResponse", + ", TContext>>; updateDataFrameAnalytics(params: ", + "MlUpdateDataFrameAnalyticsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlUpdateDataFrameAnalyticsResponse", + ", TContext>>; updateDatafeed(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; updateFilter(params: ", + "MlUpdateFilterRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlUpdateFilterResponse", + ", TContext>>; updateJob(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; updateModelSnapshot(params: ", + "MlUpdateModelSnapshotRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlUpdateModelSnapshotResponse", + ", TContext>>; upgradeJobSnapshot(params: ", + "MlUpgradeJobSnapshotRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlUpgradeJobSnapshotResponse", + ", TContext>>; validate(params?: ", + "MlValidateJobRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlValidateJobResponse", + ", TContext>>; validateDetector(params?: ", + "MlValidateDetectorRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlValidateDetectorResponse", + ", TContext>>; }; msearch: (params?: ", + "MsearchRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MsearchResponse", + ", TContext>>; msearchTemplate: (params?: ", + "MsearchTemplateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MsearchTemplateResponse", + ", TContext>>; mtermvectors: (params?: ", + "MtermvectorsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MtermvectorsResponse", + ", TContext>>; nodes: { clearMeteringArchive(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getMeteringInfo(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; hotThreads(params?: ", + "NodesHotThreadsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "NodesHotThreadsResponse", + ", TContext>>; info(params?: ", + "NodesInfoRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "NodesInfoResponse", + ", TContext>>; reloadSecureSettings(params?: ", + "NodesReloadSecureSettingsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "NodesReloadSecureSettingsResponse", + ", TContext>>; stats(params?: ", + "NodesStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "NodesStatsResponse", + ", TContext>>; usage(params?: ", + "NodesUsageRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "NodesUsageResponse", + ", TContext>>; }; openPointInTime: (params: ", + "OpenPointInTimeRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "OpenPointInTimeResponse", + ", TContext>>; ping: (params?: ", + "PingRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; putScript: (params: ", + "PutScriptRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "PutScriptResponse", + ", TContext>>; rankEval: (params: ", + "RankEvalRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RankEvalResponse", + ", TContext>>; reindex: (params?: ", + "ReindexRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ReindexResponse", + ", TContext>>; reindexRethrottle: (params: ", + "ReindexRethrottleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ReindexRethrottleResponse", + ", TContext>>; renderSearchTemplate: (params?: ", + "RenderSearchTemplateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RenderSearchTemplateResponse", + ", TContext>>; rollup: { deleteJob(params: ", + "RollupDeleteRollupJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupDeleteRollupJobResponse", + ", TContext>>; getJobs(params?: ", + "RollupGetRollupJobRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupGetRollupJobResponse", + ", TContext>>; getRollupCaps(params?: ", + "RollupGetRollupCapabilitiesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupGetRollupCapabilitiesResponse", + ", TContext>>; getRollupIndexCaps(params: ", + "RollupGetRollupIndexCapabilitiesRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupGetRollupIndexCapabilitiesResponse", + ", TContext>>; putJob(params: ", + "RollupCreateRollupJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupCreateRollupJobResponse", + ", TContext>>; rollup(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; rollupSearch(params: ", + "RollupRollupSearchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupRollupSearchResponse", + ", TContext>>; startJob(params: ", + "RollupStartRollupJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupStartRollupJobResponse", + ", TContext>>; stopJob(params: ", + "RollupStopRollupJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupStopRollupJobResponse", + ", TContext>>; }; scriptsPainlessExecute: (params?: ", + "ScriptsPainlessExecuteRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ScriptsPainlessExecuteResponse", + ", TContext>>; scroll: (params?: ", + "ScrollRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ScrollResponse", + ", TContext>>; searchShards: (params?: ", + "SearchShardsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SearchShardsResponse", + ", TContext>>; searchTemplate: (params?: ", + "SearchTemplateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SearchTemplateResponse", + ", TContext>>; searchableSnapshots: { cacheStats(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; clearCache(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; mount(params: ", + "SearchableSnapshotsMountRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SearchableSnapshotsMountResponse", + ", TContext>>; repositoryStats(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; stats(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; shutdown: { deleteNode(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getNode(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; putNode(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; slm: { deleteLifecycle(params: ", + "SlmDeleteLifecycleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmDeleteLifecycleResponse", + ", TContext>>; executeLifecycle(params: ", + "SlmExecuteLifecycleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmExecuteLifecycleResponse", + ", TContext>>; executeRetention(params?: ", + "SlmExecuteRetentionRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmExecuteRetentionResponse", + ", TContext>>; getLifecycle(params?: ", + "SlmGetLifecycleRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmGetLifecycleResponse", + ", TContext>>; getStats(params?: ", + "SlmGetStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmGetStatsResponse", + ", TContext>>; getStatus(params?: ", + "SlmGetStatusRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmGetStatusResponse", + ", TContext>>; putLifecycle(params: ", + "SlmPutLifecycleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmPutLifecycleResponse", + ", TContext>>; start(params?: ", + "SlmStartRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmStartResponse", + ", TContext>>; stop(params?: ", + "SlmStopRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmStopResponse", + ", TContext>>; }; snapshot: { cleanupRepository(params: ", + "SnapshotCleanupRepositoryRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotCleanupRepositoryResponse", + ", TContext>>; clone(params: ", + "SnapshotCloneRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotCloneResponse", + ", TContext>>; create(params: ", + "SnapshotCreateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotCreateResponse", + ", TContext>>; createRepository(params: ", + "SnapshotCreateRepositoryRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotCreateRepositoryResponse", + ", TContext>>; delete(params: ", + "SnapshotDeleteRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotDeleteResponse", + ", TContext>>; deleteRepository(params: ", + "SnapshotDeleteRepositoryRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotDeleteRepositoryResponse", + ", TContext>>; get(params: ", + "SnapshotGetRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotGetResponse", + ", TContext>>; getRepository(params?: ", + "SnapshotGetRepositoryRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotGetRepositoryResponse", + ", TContext>>; repositoryAnalyze(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; restore(params: ", + "SnapshotRestoreRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotRestoreResponse", + ", TContext>>; status(params?: ", + "SnapshotStatusRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotStatusResponse", + ", TContext>>; verifyRepository(params: ", + "SnapshotVerifyRepositoryRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotVerifyRepositoryResponse", + ", TContext>>; }; sql: { clearCursor(params?: ", + "SqlClearCursorRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SqlClearCursorResponse", + ", TContext>>; deleteAsync(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getAsync(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getAsyncStatus(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; query(params?: ", + "SqlQueryRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SqlQueryResponse", + ", TContext>>; translate(params?: ", + "SqlTranslateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SqlTranslateResponse", + ", TContext>>; }; ssl: { certificates(params?: ", + "SslGetCertificatesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SslGetCertificatesResponse", + ", TContext>>; }; tasks: { cancel(params?: ", + "TaskCancelRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TaskCancelResponse", + ", TContext>>; get(params: ", + "TaskGetRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TaskGetResponse", + ", TContext>>; list(params?: ", + "TaskListRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TaskListResponse", + ", TContext>>; }; termsEnum: (params: ", + "TermsEnumRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TermsEnumResponse", + ", TContext>>; termvectors: (params: ", + "TermvectorsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TermvectorsResponse", + ", TContext>>; textStructure: { findStructure(params: ", + "TextStructureFindStructureRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TextStructureFindStructureResponse", + ", TContext>>; }; updateByQuery: (params: ", + "UpdateByQueryRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "UpdateByQueryResponse", + ", TContext>>; updateByQueryRethrottle: (params: ", + "UpdateByQueryRethrottleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "UpdateByQueryRethrottleResponse", + ", TContext>>; watcher: { ackWatch(params: ", + "WatcherAckWatchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherAckWatchResponse", + ", TContext>>; activateWatch(params: ", + "WatcherActivateWatchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherActivateWatchResponse", + ", TContext>>; deactivateWatch(params: ", + "WatcherDeactivateWatchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherDeactivateWatchResponse", + ", TContext>>; deleteWatch(params: ", + "WatcherDeleteWatchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherDeleteWatchResponse", + ", TContext>>; executeWatch(params?: ", + "WatcherExecuteWatchRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherExecuteWatchResponse", + ", TContext>>; getWatch(params: ", + "WatcherGetWatchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherGetWatchResponse", + ", TContext>>; putWatch(params: ", + "WatcherPutWatchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherPutWatchResponse", + ", TContext>>; queryWatches(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; start(params?: ", + "WatcherStartRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherStartResponse", + ", TContext>>; stats(params?: ", + "WatcherStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherStatsResponse", + ", TContext>>; stop(params?: ", + "WatcherStopRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherStopResponse", + ", TContext>>; }; xpack: { info(params?: ", + "XpackInfoRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "XpackInfoResponse", + ", TContext>>; usage(params?: ", + "XpackUsageRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "XpackUsageResponse", + ", TContext>>; }; }" + ], + "path": "packages/kbn-securitysolution-es-utils/src/get_index_aliases/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getIndexAliases.$1.alias", + "type": "string", + "tags": [], + "label": "alias", + "description": [], + "path": "packages/kbn-securitysolution-es-utils/src/get_index_aliases/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [ + "an array of {@link IndexAlias} objects" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getIndexCount", + "type": "Function", + "tags": [], + "label": "getIndexCount", + "description": [ + "\nRetrieves the count of documents in a given index\n" + ], + "signature": [ + "({ esClient, index, }: { esClient: Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">; index: string; }) => Promise" + ], + "path": "packages/kbn-securitysolution-es-utils/src/get_index_count/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getIndexCount.$1", + "type": "Object", + "tags": [], + "label": "{\n esClient,\n index,\n}", + "description": [], + "path": "packages/kbn-securitysolution-es-utils/src/get_index_count/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getIndexCount.$1.esClient", + "type": "Object", + "tags": [], + "label": "esClient", + "description": [], + "signature": [ + "{ get: (params: ", + "GetRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "GetResponse", + ", TContext>>; delete: (params: ", + "DeleteRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "DeleteResponse", + ", TContext>>; monitoring: { bulk(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; security: { authenticate(params?: ", + "SecurityAuthenticateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityAuthenticateResponse", + ", TContext>>; changePassword(params?: ", + "SecurityChangePasswordRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityChangePasswordResponse", + ", TContext>>; clearApiKeyCache(params?: ", + "SecurityClearApiKeyCacheRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityClearApiKeyCacheResponse", + ", TContext>>; clearCachedPrivileges(params: ", + "SecurityClearCachedPrivilegesRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityClearCachedPrivilegesResponse", + ", TContext>>; clearCachedRealms(params: ", + "SecurityClearCachedRealmsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityClearCachedRealmsResponse", + ", TContext>>; clearCachedRoles(params: ", + "SecurityClearCachedRolesRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityClearCachedRolesResponse", + ", TContext>>; clearCachedServiceTokens(params: ", + "SecurityClearCachedServiceTokensRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityClearCachedServiceTokensResponse", + ", TContext>>; createApiKey(params?: ", + "SecurityCreateApiKeyRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityCreateApiKeyResponse", + ", TContext>>; createServiceToken(params: ", + "SecurityCreateServiceTokenRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityCreateServiceTokenResponse", + ", TContext>>; deletePrivileges(params: ", + "SecurityDeletePrivilegesRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityDeletePrivilegesResponse", + ", TContext>>; deleteRole(params: ", + "SecurityDeleteRoleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityDeleteRoleResponse", + ", TContext>>; deleteRoleMapping(params: ", + "SecurityDeleteRoleMappingRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityDeleteRoleMappingResponse", + ", TContext>>; deleteServiceToken(params: ", + "SecurityDeleteServiceTokenRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityDeleteServiceTokenResponse", + ", TContext>>; deleteUser(params: ", + "SecurityDeleteUserRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityDeleteUserResponse", + ", TContext>>; disableUser(params: ", + "SecurityDisableUserRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityDisableUserResponse", + ", TContext>>; enableUser(params: ", + "SecurityEnableUserRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityEnableUserResponse", + ", TContext>>; getApiKey(params?: ", + "SecurityGetApiKeyRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetApiKeyResponse", + ", TContext>>; getBuiltinPrivileges(params?: ", + "SecurityGetBuiltinPrivilegesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetBuiltinPrivilegesResponse", + ", TContext>>; getPrivileges(params?: ", + "SecurityGetPrivilegesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetPrivilegesResponse", + ", TContext>>; getRole(params?: ", + "SecurityGetRoleRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetRoleResponse", + ", TContext>>; getRoleMapping(params?: ", + "SecurityGetRoleMappingRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetRoleMappingResponse", + ", TContext>>; getServiceAccounts(params?: ", + "SecurityGetServiceAccountsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetServiceAccountsResponse", + ", TContext>>; getServiceCredentials(params: ", + "SecurityGetServiceCredentialsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetServiceCredentialsResponse", + ", TContext>>; getToken(params?: ", + "SecurityGetTokenRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetTokenResponse", + ", TContext>>; getUser(params?: ", + "SecurityGetUserRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetUserResponse", + ", TContext>>; getUserPrivileges(params?: ", + "SecurityGetUserPrivilegesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetUserPrivilegesResponse", + ", TContext>>; grantApiKey(params?: ", + "SecurityGrantApiKeyRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGrantApiKeyResponse", + ", TContext>>; hasPrivileges(params?: ", + "SecurityHasPrivilegesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityHasPrivilegesResponse", + ", TContext>>; invalidateApiKey(params?: ", + "SecurityInvalidateApiKeyRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityInvalidateApiKeyResponse", + ", TContext>>; invalidateToken(params?: ", + "SecurityInvalidateTokenRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityInvalidateTokenResponse", + ", TContext>>; putPrivileges(params?: ", + "SecurityPutPrivilegesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityPutPrivilegesResponse", + ", TContext>>; putRole(params: ", + "SecurityPutRoleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityPutRoleResponse", + ", TContext>>; putRoleMapping(params: ", + "SecurityPutRoleMappingRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityPutRoleMappingResponse", + ", TContext>>; putUser(params: ", + "SecurityPutUserRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityPutUserResponse", + ", TContext>>; samlAuthenticate(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; samlCompleteLogout(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; samlInvalidate(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; samlLogout(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; samlPrepareAuthentication(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; samlServiceProviderMetadata(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; create: (params: ", + "CreateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CreateResponse", + ", TContext>>; index: (params: ", + "IndexRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndexResponse", + ", TContext>>; update: (params: ", + "UpdateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "UpdateResponse", + ", TContext>>; closePointInTime: (params?: ", + "ClosePointInTimeRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClosePointInTimeResponse", + ", TContext>>; search: (params?: ", + "SearchRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SearchResponse", + ", TContext>>; transform: { deleteTransform(params: ", + "TransformDeleteTransformRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformDeleteTransformResponse", + ", TContext>>; getTransform(params?: ", + "TransformGetTransformRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformGetTransformResponse", + ", TContext>>; getTransformStats(params: ", + "TransformGetTransformStatsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformGetTransformStatsResponse", + ", TContext>>; previewTransform(params?: ", + "TransformPreviewTransformRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformPreviewTransformResponse", + ", TContext>>; putTransform(params: ", + "TransformPutTransformRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformPutTransformResponse", + ", TContext>>; startTransform(params: ", + "TransformStartTransformRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformStartTransformResponse", + ", TContext>>; stopTransform(params: ", + "TransformStopTransformRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformStopTransformResponse", + ", TContext>>; updateTransform(params?: ", + "TransformUpdateTransformRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformUpdateTransformResponse", + ", TContext>>; }; eql: { delete(params: ", + "EqlDeleteRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EqlDeleteResponse", + ", TContext>>; get(params: ", + "EqlGetRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EqlGetResponse", + ", TContext>>; getStatus(params: ", + "EqlGetStatusRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EqlGetStatusResponse", + ", TContext>>; search(params: ", + "EqlSearchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EqlSearchResponse", + ", TContext>>; }; helpers: ", + "default", + "; emit: (event: string | symbol, ...args: any[]) => boolean; on: { (event: \"request\", listener: (err: ", + "ApiError", + ", meta: ", + "RequestEvent", + ", unknown>) => void): ", + "KibanaClient", + "; (event: \"response\", listener: (err: ", + "ApiError", + ", meta: ", + "RequestEvent", + ", unknown>) => void): ", + "KibanaClient", + "; (event: \"sniff\", listener: (err: ", + "ApiError", + ", meta: ", + "RequestEvent", + ", unknown>) => void): ", + "KibanaClient", + "; (event: \"resurrect\", listener: (err: null, meta: ", + "ResurrectEvent", + ") => void): ", + "KibanaClient", + "; }; once: { (event: \"request\", listener: (err: ", + "ApiError", + ", meta: ", + "RequestEvent", + ", unknown>) => void): ", + "KibanaClient", + "; (event: \"response\", listener: (err: ", + "ApiError", + ", meta: ", + "RequestEvent", + ", unknown>) => void): ", + "KibanaClient", + "; (event: \"sniff\", listener: (err: ", + "ApiError", + ", meta: ", + "RequestEvent", + ", unknown>) => void): ", + "KibanaClient", + "; (event: \"resurrect\", listener: (err: null, meta: ", + "ResurrectEvent", + ") => void): ", + "KibanaClient", + "; }; off: (event: string | symbol, listener: (...args: any[]) => void) => ", + "KibanaClient", + "; asyncSearch: { delete(params: ", + "AsyncSearchDeleteRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "AsyncSearchDeleteResponse", + ", TContext>>; get(params: ", + "AsyncSearchGetRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "AsyncSearchGetResponse", + ", TContext>>; status(params: ", + "AsyncSearchStatusRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "AsyncSearchStatusResponse", + ", TContext>>; submit(params?: ", + "AsyncSearchSubmitRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "AsyncSearchSubmitResponse", + ", TContext>>; }; autoscaling: { deleteAutoscalingPolicy(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getAutoscalingCapacity(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getAutoscalingPolicy(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; putAutoscalingPolicy(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; bulk: (params: ", + "BulkRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "BulkResponse", + ", TContext>>; cat: { aliases(params?: ", + "CatAliasesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatAliasesResponse", + ", TContext>>; allocation(params?: ", + "CatAllocationRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatAllocationResponse", + ", TContext>>; count(params?: ", + "CatCountRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatCountResponse", + ", TContext>>; fielddata(params?: ", + "CatFielddataRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatFielddataResponse", + ", TContext>>; health(params?: ", + "CatHealthRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatHealthResponse", + ", TContext>>; help(params?: ", + "CatHelpRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatHelpResponse", + ", TContext>>; indices(params?: ", + "CatIndicesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatIndicesResponse", + ", TContext>>; master(params?: ", + "CatMasterRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatMasterResponse", + ", TContext>>; mlDataFrameAnalytics(params?: ", + "CatDataFrameAnalyticsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatDataFrameAnalyticsResponse", + ", TContext>>; mlDatafeeds(params?: ", + "CatDatafeedsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatDatafeedsResponse", + ", TContext>>; mlJobs(params?: ", + "CatJobsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatJobsResponse", + ", TContext>>; mlTrainedModels(params?: ", + "CatTrainedModelsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatTrainedModelsResponse", + ", TContext>>; nodeattrs(params?: ", + "CatNodeAttributesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatNodeAttributesResponse", + ", TContext>>; nodes(params?: ", + "CatNodesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatNodesResponse", + ", TContext>>; pendingTasks(params?: ", + "CatPendingTasksRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatPendingTasksResponse", + ", TContext>>; plugins(params?: ", + "CatPluginsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatPluginsResponse", + ", TContext>>; recovery(params?: ", + "CatRecoveryRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatRecoveryResponse", + ", TContext>>; repositories(params?: ", + "CatRepositoriesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatRepositoriesResponse", + ", TContext>>; segments(params?: ", + "CatSegmentsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatSegmentsResponse", + ", TContext>>; shards(params?: ", + "CatShardsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatShardsResponse", + ", TContext>>; snapshots(params?: ", + "CatSnapshotsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatSnapshotsResponse", + ", TContext>>; tasks(params?: ", + "CatTasksRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatTasksResponse", + ", TContext>>; templates(params?: ", + "CatTemplatesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatTemplatesResponse", + ", TContext>>; threadPool(params?: ", + "CatThreadPoolRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatThreadPoolResponse", + ", TContext>>; transforms(params?: ", + "CatTransformsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatTransformsResponse", + ", TContext>>; }; ccr: { deleteAutoFollowPattern(params: ", + "CcrDeleteAutoFollowPatternRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrDeleteAutoFollowPatternResponse", + ", TContext>>; follow(params: ", + "CcrCreateFollowIndexRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrCreateFollowIndexResponse", + ", TContext>>; followInfo(params: ", + "CcrFollowInfoRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrFollowInfoResponse", + ", TContext>>; followStats(params: ", + "CcrFollowIndexStatsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrFollowIndexStatsResponse", + ", TContext>>; forgetFollower(params: ", + "CcrForgetFollowerIndexRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrForgetFollowerIndexResponse", + ", TContext>>; getAutoFollowPattern(params?: ", + "CcrGetAutoFollowPatternRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrGetAutoFollowPatternResponse", + ", TContext>>; pauseAutoFollowPattern(params: ", + "CcrPauseAutoFollowPatternRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrPauseAutoFollowPatternResponse", + ", TContext>>; pauseFollow(params: ", + "CcrPauseFollowIndexRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrPauseFollowIndexResponse", + ", TContext>>; putAutoFollowPattern(params: ", + "CcrPutAutoFollowPatternRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrPutAutoFollowPatternResponse", + ", TContext>>; resumeAutoFollowPattern(params: ", + "CcrResumeAutoFollowPatternRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrResumeAutoFollowPatternResponse", + ", TContext>>; resumeFollow(params: ", + "CcrResumeFollowIndexRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrResumeFollowIndexResponse", + ", TContext>>; stats(params?: ", + "CcrStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrStatsResponse", + ", TContext>>; unfollow(params: ", + "CcrUnfollowIndexRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrUnfollowIndexResponse", + ", TContext>>; }; clearScroll: (params?: ", + "ClearScrollRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClearScrollResponse", + ", TContext>>; cluster: { allocationExplain(params?: ", + "ClusterAllocationExplainRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterAllocationExplainResponse", + ", TContext>>; deleteComponentTemplate(params: ", + "ClusterDeleteComponentTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterDeleteComponentTemplateResponse", + ", TContext>>; deleteVotingConfigExclusions(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; existsComponentTemplate(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getComponentTemplate(params?: ", + "ClusterGetComponentTemplateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterGetComponentTemplateResponse", + ", TContext>>; getSettings(params?: ", + "ClusterGetSettingsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterGetSettingsResponse", + ", TContext>>; health(params?: ", + "ClusterHealthRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterHealthResponse", + ", TContext>>; pendingTasks(params?: ", + "ClusterPendingTasksRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterPendingTasksResponse", + ", TContext>>; postVotingConfigExclusions(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; putComponentTemplate(params: ", + "ClusterPutComponentTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterPutComponentTemplateResponse", + ", TContext>>; putSettings(params?: ", + "ClusterPutSettingsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterPutSettingsResponse", + ", TContext>>; remoteInfo(params?: ", + "ClusterRemoteInfoRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterRemoteInfoResponse", + ", TContext>>; reroute(params?: ", + "ClusterRerouteRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterRerouteResponse", + ", TContext>>; state(params?: ", + "ClusterStateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterStateResponse", + ", TContext>>; stats(params?: ", + "ClusterStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterStatsResponse", + ", TContext>>; }; count: (params?: ", + "CountRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CountResponse", + ", TContext>>; danglingIndices: { deleteDanglingIndex(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; importDanglingIndex(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; listDanglingIndices(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; dataFrameTransformDeprecated: { deleteTransform(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getTransform(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getTransformStats(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; previewTransform(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; putTransform(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; startTransform(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; stopTransform(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; updateTransform(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; deleteByQuery: (params: ", + "DeleteByQueryRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "DeleteByQueryResponse", + ", TContext>>; deleteByQueryRethrottle: (params: ", + "DeleteByQueryRethrottleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "DeleteByQueryRethrottleResponse", + ", TContext>>; deleteScript: (params: ", + "DeleteScriptRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "DeleteScriptResponse", + ", TContext>>; enrich: { deletePolicy(params: ", + "EnrichDeletePolicyRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EnrichDeletePolicyResponse", + ", TContext>>; executePolicy(params: ", + "EnrichExecutePolicyRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EnrichExecutePolicyResponse", + ", TContext>>; getPolicy(params?: ", + "EnrichGetPolicyRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EnrichGetPolicyResponse", + ", TContext>>; putPolicy(params: ", + "EnrichPutPolicyRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EnrichPutPolicyResponse", + ", TContext>>; stats(params?: ", + "EnrichStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EnrichStatsResponse", + ", TContext>>; }; exists: (params: ", + "ExistsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; existsSource: (params: ", + "ExistsSourceRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; explain: (params: ", + "ExplainRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ExplainResponse", + ", TContext>>; features: { getFeatures(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; resetFeatures(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; fieldCaps: (params?: ", + "FieldCapsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "FieldCapsResponse", + ", TContext>>; fleet: { globalCheckpoints(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; getScript: (params: ", + "GetScriptRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "GetScriptResponse", + ", TContext>>; getScriptContext: (params?: ", + "GetScriptContextRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "GetScriptContextResponse", + ", TContext>>; getScriptLanguages: (params?: ", + "GetScriptLanguagesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "GetScriptLanguagesResponse", + ", TContext>>; getSource: (params?: ", + "GetSourceRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; graph: { explore(params: ", + "GraphExploreRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "GraphExploreResponse", + ", TContext>>; }; ilm: { deleteLifecycle(params: ", + "IlmDeleteLifecycleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmDeleteLifecycleResponse", + ", TContext>>; explainLifecycle(params: ", + "IlmExplainLifecycleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmExplainLifecycleResponse", + ", TContext>>; getLifecycle(params?: ", + "IlmGetLifecycleRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmGetLifecycleResponse", + ", TContext>>; getStatus(params?: ", + "IlmGetStatusRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmGetStatusResponse", + ", TContext>>; migrateToDataTiers(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; moveToStep(params: ", + "IlmMoveToStepRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmMoveToStepResponse", + ", TContext>>; putLifecycle(params?: ", + "IlmPutLifecycleRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmPutLifecycleResponse", + ", TContext>>; removePolicy(params: ", + "IlmRemovePolicyRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmRemovePolicyResponse", + ", TContext>>; retry(params: ", + "IlmRetryRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmRetryResponse", + ", TContext>>; start(params?: ", + "IlmStartRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmStartResponse", + ", TContext>>; stop(params?: ", + "IlmStopRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmStopResponse", + ", TContext>>; }; indices: { addBlock(params: ", + "IndicesAddBlockRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesAddBlockResponse", + ", TContext>>; analyze(params?: ", + "IndicesAnalyzeRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesAnalyzeResponse", + ", TContext>>; clearCache(params?: ", + "IndicesClearCacheRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesClearCacheResponse", + ", TContext>>; clone(params: ", + "IndicesCloneRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesCloneResponse", + ", TContext>>; close(params: ", + "IndicesCloseRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesCloseResponse", + ", TContext>>; create(params: ", + "IndicesCreateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesCreateResponse", + ", TContext>>; createDataStream(params: ", + "IndicesCreateDataStreamRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesCreateDataStreamResponse", + ", TContext>>; dataStreamsStats(params?: ", + "IndicesDataStreamsStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesDataStreamsStatsResponse", + ", TContext>>; delete(params: ", + "IndicesDeleteRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesDeleteResponse", + ", TContext>>; deleteAlias(params: ", + "IndicesDeleteAliasRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesDeleteAliasResponse", + ", TContext>>; deleteDataStream(params: ", + "IndicesDeleteDataStreamRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesDeleteDataStreamResponse", + ", TContext>>; deleteIndexTemplate(params: ", + "IndicesDeleteIndexTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesDeleteIndexTemplateResponse", + ", TContext>>; deleteTemplate(params: ", + "IndicesDeleteTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesDeleteTemplateResponse", + ", TContext>>; diskUsage(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; exists(params: ", + "IndicesExistsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; existsAlias(params: ", + "IndicesExistsAliasRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; existsIndexTemplate(params: ", + "IndicesExistsIndexTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; existsTemplate(params: ", + "IndicesExistsTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; existsType(params: ", + "IndicesExistsTypeRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; fieldUsageStats(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; flush(params?: ", + "IndicesFlushRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesFlushResponse", + ", TContext>>; flushSynced(params?: ", + "IndicesFlushSyncedRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesFlushSyncedResponse", + ", TContext>>; forcemerge(params?: ", + "IndicesForcemergeRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesForcemergeResponse", + ", TContext>>; freeze(params: ", + "IndicesFreezeRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesFreezeResponse", + ", TContext>>; get(params: ", + "IndicesGetRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetResponse", + ", TContext>>; getAlias(params?: ", + "IndicesGetAliasRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetAliasResponse", + ", TContext>>; getDataStream(params?: ", + "IndicesGetDataStreamRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetDataStreamResponse", + ", TContext>>; getFieldMapping(params: ", + "IndicesGetFieldMappingRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetFieldMappingResponse", + ", TContext>>; getIndexTemplate(params?: ", + "IndicesGetIndexTemplateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetIndexTemplateResponse", + ", TContext>>; getMapping(params?: ", + "IndicesGetMappingRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetMappingResponse", + ", TContext>>; getSettings(params?: ", + "IndicesGetSettingsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetSettingsResponse", + ", TContext>>; getTemplate(params?: ", + "IndicesGetTemplateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetTemplateResponse", + ", TContext>>; getUpgrade(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; migrateToDataStream(params: ", + "IndicesMigrateToDataStreamRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesMigrateToDataStreamResponse", + ", TContext>>; open(params: ", + "IndicesOpenRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesOpenResponse", + ", TContext>>; promoteDataStream(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; putAlias(params: ", + "IndicesPutAliasRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesPutAliasResponse", + ", TContext>>; putIndexTemplate(params: ", + "IndicesPutIndexTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesPutIndexTemplateResponse", + ", TContext>>; putMapping(params?: ", + "IndicesPutMappingRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesPutMappingResponse", + ", TContext>>; putSettings(params?: ", + "IndicesPutSettingsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesPutSettingsResponse", + ", TContext>>; putTemplate(params: ", + "IndicesPutTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesPutTemplateResponse", + ", TContext>>; recovery(params?: ", + "IndicesRecoveryRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesRecoveryResponse", + ", TContext>>; refresh(params?: ", + "IndicesRefreshRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesRefreshResponse", + ", TContext>>; reloadSearchAnalyzers(params: ", + "IndicesReloadSearchAnalyzersRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesReloadSearchAnalyzersResponse", + ", TContext>>; resolveIndex(params: ", + "IndicesResolveIndexRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesResolveIndexResponse", + ", TContext>>; rollover(params: ", + "IndicesRolloverRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesRolloverResponse", + ", TContext>>; segments(params?: ", + "IndicesSegmentsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesSegmentsResponse", + ", TContext>>; shardStores(params?: ", + "IndicesShardStoresRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesShardStoresResponse", + ", TContext>>; shrink(params: ", + "IndicesShrinkRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesShrinkResponse", + ", TContext>>; simulateIndexTemplate(params?: ", + "IndicesSimulateIndexTemplateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesSimulateIndexTemplateResponse", + ", TContext>>; simulateTemplate(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; split(params: ", + "IndicesSplitRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesSplitResponse", + ", TContext>>; stats(params?: ", + "IndicesStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesStatsResponse", + ", TContext>>; unfreeze(params: ", + "IndicesUnfreezeRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesUnfreezeResponse", + ", TContext>>; updateAliases(params?: ", + "IndicesUpdateAliasesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesUpdateAliasesResponse", + ", TContext>>; upgrade(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; validateQuery(params?: ", + "IndicesValidateQueryRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesValidateQueryResponse", + ", TContext>>; }; info: (params?: ", + "InfoRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "InfoResponse", + ", TContext>>; ingest: { deletePipeline(params: ", + "IngestDeletePipelineRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IngestDeletePipelineResponse", + ", TContext>>; geoIpStats(params?: ", + "IngestGeoIpStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IngestGeoIpStatsResponse", + ", TContext>>; getPipeline(params?: ", + "IngestGetPipelineRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IngestGetPipelineResponse", + ", TContext>>; processorGrok(params?: ", + "IngestProcessorGrokRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IngestProcessorGrokResponse", + ", TContext>>; putPipeline(params: ", + "IngestPutPipelineRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IngestPutPipelineResponse", + ", TContext>>; simulate(params?: ", + "IngestSimulatePipelineRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IngestSimulatePipelineResponse", + ", TContext>>; }; license: { delete(params?: ", + "LicenseDeleteRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "LicenseDeleteResponse", + ", TContext>>; get(params?: ", + "LicenseGetRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "LicenseGetResponse", + ", TContext>>; getBasicStatus(params?: ", + "LicenseGetBasicStatusRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "LicenseGetBasicStatusResponse", + ", TContext>>; getTrialStatus(params?: ", + "LicenseGetTrialStatusRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "LicenseGetTrialStatusResponse", + ", TContext>>; post(params?: ", + "LicensePostRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "LicensePostResponse", + ", TContext>>; postStartBasic(params?: ", + "LicensePostStartBasicRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "LicensePostStartBasicResponse", + ", TContext>>; postStartTrial(params?: ", + "LicensePostStartTrialRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "LicensePostStartTrialResponse", + ", TContext>>; }; logstash: { deletePipeline(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getPipeline(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; putPipeline(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; mget: (params?: ", + "MgetRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MgetResponse", + ", TContext>>; migration: { deprecations(params?: ", + "MigrationDeprecationInfoRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MigrationDeprecationInfoResponse", + ", TContext>>; }; ml: { closeJob(params: ", + "MlCloseJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlCloseJobResponse", + ", TContext>>; deleteCalendar(params: ", + "MlDeleteCalendarRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteCalendarResponse", + ", TContext>>; deleteCalendarEvent(params: ", + "MlDeleteCalendarEventRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteCalendarEventResponse", + ", TContext>>; deleteCalendarJob(params: ", + "MlDeleteCalendarJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteCalendarJobResponse", + ", TContext>>; deleteDataFrameAnalytics(params: ", + "MlDeleteDataFrameAnalyticsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteDataFrameAnalyticsResponse", + ", TContext>>; deleteDatafeed(params: ", + "MlDeleteDatafeedRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteDatafeedResponse", + ", TContext>>; deleteExpiredData(params?: ", + "MlDeleteExpiredDataRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteExpiredDataResponse", + ", TContext>>; deleteFilter(params: ", + "MlDeleteFilterRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteFilterResponse", + ", TContext>>; deleteForecast(params: ", + "MlDeleteForecastRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteForecastResponse", + ", TContext>>; deleteJob(params: ", + "MlDeleteJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteJobResponse", + ", TContext>>; deleteModelSnapshot(params: ", + "MlDeleteModelSnapshotRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteModelSnapshotResponse", + ", TContext>>; deleteTrainedModel(params: ", + "MlDeleteTrainedModelRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteTrainedModelResponse", + ", TContext>>; deleteTrainedModelAlias(params: ", + "MlDeleteTrainedModelAliasRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteTrainedModelAliasResponse", + ", TContext>>; estimateModelMemory(params?: ", + "MlEstimateModelMemoryRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlEstimateModelMemoryResponse", + ", TContext>>; evaluateDataFrame(params?: ", + "MlEvaluateDataFrameRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlEvaluateDataFrameResponse", + ", TContext>>; explainDataFrameAnalytics(params?: ", + "MlExplainDataFrameAnalyticsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlExplainDataFrameAnalyticsResponse", + ", TContext>>; findFileStructure(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; flushJob(params: ", + "MlFlushJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlFlushJobResponse", + ", TContext>>; forecast(params: ", + "MlForecastJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlForecastJobResponse", + ", TContext>>; getBuckets(params: ", + "MlGetBucketsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetBucketsResponse", + ", TContext>>; getCalendarEvents(params: ", + "MlGetCalendarEventsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetCalendarEventsResponse", + ", TContext>>; getCalendars(params?: ", + "MlGetCalendarsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetCalendarsResponse", + ", TContext>>; getCategories(params: ", + "MlGetCategoriesRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetCategoriesResponse", + ", TContext>>; getDataFrameAnalytics(params?: ", + "MlGetDataFrameAnalyticsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetDataFrameAnalyticsResponse", + ", TContext>>; getDataFrameAnalyticsStats(params?: ", + "MlGetDataFrameAnalyticsStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetDataFrameAnalyticsStatsResponse", + ", TContext>>; getDatafeedStats(params?: ", + "MlGetDatafeedStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetDatafeedStatsResponse", + ", TContext>>; getDatafeeds(params?: ", + "MlGetDatafeedsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetDatafeedsResponse", + ", TContext>>; getFilters(params?: ", + "MlGetFiltersRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetFiltersResponse", + ", TContext>>; getInfluencers(params: ", + "MlGetInfluencersRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetInfluencersResponse", + ", TContext>>; getJobStats(params?: ", + "MlGetJobStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetJobStatsResponse", + ", TContext>>; getJobs(params?: ", + "MlGetJobsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetJobsResponse", + ", TContext>>; getModelSnapshots(params: ", + "MlGetModelSnapshotsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetModelSnapshotsResponse", + ", TContext>>; getOverallBuckets(params: ", + "MlGetOverallBucketsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetOverallBucketsResponse", + ", TContext>>; getRecords(params: ", + "MlGetAnomalyRecordsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetAnomalyRecordsResponse", + ", TContext>>; getTrainedModels(params?: ", + "MlGetTrainedModelsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetTrainedModelsResponse", + ", TContext>>; getTrainedModelsStats(params?: ", + "MlGetTrainedModelsStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetTrainedModelsStatsResponse", + ", TContext>>; info(params?: ", + "MlInfoRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlInfoResponse", + ", TContext>>; openJob(params: ", + "MlOpenJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlOpenJobResponse", + ", TContext>>; postCalendarEvents(params?: ", + "MlPostCalendarEventsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPostCalendarEventsResponse", + ", TContext>>; postData(params: ", + "MlPostJobDataRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPostJobDataResponse", + ", TContext>>; previewDataFrameAnalytics(params?: ", + "MlPreviewDataFrameAnalyticsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPreviewDataFrameAnalyticsResponse", + ", TContext>>; previewDatafeed(params?: ", + "MlPreviewDatafeedRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPreviewDatafeedResponse", + ", TContext>>; putCalendar(params: ", + "MlPutCalendarRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPutCalendarResponse", + ", TContext>>; putCalendarJob(params: ", + "MlPutCalendarJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPutCalendarJobResponse", + ", TContext>>; putDataFrameAnalytics(params: ", + "MlPutDataFrameAnalyticsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPutDataFrameAnalyticsResponse", + ", TContext>>; putDatafeed(params: ", + "MlPutDatafeedRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPutDatafeedResponse", + ", TContext>>; putFilter(params: ", + "MlPutFilterRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPutFilterResponse", + ", TContext>>; putJob(params: ", + "MlPutJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPutJobResponse", + ", TContext>>; putTrainedModel(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; putTrainedModelAlias(params: ", + "MlPutTrainedModelAliasRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPutTrainedModelAliasResponse", + ", TContext>>; resetJob(params: ", + "MlResetJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlResetJobResponse", + ", TContext>>; revertModelSnapshot(params: ", + "MlRevertModelSnapshotRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlRevertModelSnapshotResponse", + ", TContext>>; setUpgradeMode(params?: ", + "MlSetUpgradeModeRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlSetUpgradeModeResponse", + ", TContext>>; startDataFrameAnalytics(params: ", + "MlStartDataFrameAnalyticsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlStartDataFrameAnalyticsResponse", + ", TContext>>; startDatafeed(params: ", + "MlStartDatafeedRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlStartDatafeedResponse", + ", TContext>>; stopDataFrameAnalytics(params: ", + "MlStopDataFrameAnalyticsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlStopDataFrameAnalyticsResponse", + ", TContext>>; stopDatafeed(params: ", + "MlStopDatafeedRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlStopDatafeedResponse", + ", TContext>>; updateDataFrameAnalytics(params: ", + "MlUpdateDataFrameAnalyticsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlUpdateDataFrameAnalyticsResponse", + ", TContext>>; updateDatafeed(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; updateFilter(params: ", + "MlUpdateFilterRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlUpdateFilterResponse", + ", TContext>>; updateJob(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; updateModelSnapshot(params: ", + "MlUpdateModelSnapshotRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlUpdateModelSnapshotResponse", + ", TContext>>; upgradeJobSnapshot(params: ", + "MlUpgradeJobSnapshotRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlUpgradeJobSnapshotResponse", + ", TContext>>; validate(params?: ", + "MlValidateJobRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlValidateJobResponse", + ", TContext>>; validateDetector(params?: ", + "MlValidateDetectorRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlValidateDetectorResponse", + ", TContext>>; }; msearch: (params?: ", + "MsearchRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MsearchResponse", + ", TContext>>; msearchTemplate: (params?: ", + "MsearchTemplateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MsearchTemplateResponse", + ", TContext>>; mtermvectors: (params?: ", + "MtermvectorsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MtermvectorsResponse", + ", TContext>>; nodes: { clearMeteringArchive(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getMeteringInfo(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; hotThreads(params?: ", + "NodesHotThreadsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "NodesHotThreadsResponse", + ", TContext>>; info(params?: ", + "NodesInfoRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "NodesInfoResponse", + ", TContext>>; reloadSecureSettings(params?: ", + "NodesReloadSecureSettingsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "NodesReloadSecureSettingsResponse", + ", TContext>>; stats(params?: ", + "NodesStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "NodesStatsResponse", + ", TContext>>; usage(params?: ", + "NodesUsageRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "NodesUsageResponse", + ", TContext>>; }; openPointInTime: (params: ", + "OpenPointInTimeRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "OpenPointInTimeResponse", + ", TContext>>; ping: (params?: ", + "PingRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; putScript: (params: ", + "PutScriptRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "PutScriptResponse", + ", TContext>>; rankEval: (params: ", + "RankEvalRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RankEvalResponse", + ", TContext>>; reindex: (params?: ", + "ReindexRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ReindexResponse", + ", TContext>>; reindexRethrottle: (params: ", + "ReindexRethrottleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ReindexRethrottleResponse", + ", TContext>>; renderSearchTemplate: (params?: ", + "RenderSearchTemplateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RenderSearchTemplateResponse", + ", TContext>>; rollup: { deleteJob(params: ", + "RollupDeleteRollupJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupDeleteRollupJobResponse", + ", TContext>>; getJobs(params?: ", + "RollupGetRollupJobRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupGetRollupJobResponse", + ", TContext>>; getRollupCaps(params?: ", + "RollupGetRollupCapabilitiesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupGetRollupCapabilitiesResponse", + ", TContext>>; getRollupIndexCaps(params: ", + "RollupGetRollupIndexCapabilitiesRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupGetRollupIndexCapabilitiesResponse", + ", TContext>>; putJob(params: ", + "RollupCreateRollupJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupCreateRollupJobResponse", + ", TContext>>; rollup(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; rollupSearch(params: ", + "RollupRollupSearchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupRollupSearchResponse", + ", TContext>>; startJob(params: ", + "RollupStartRollupJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupStartRollupJobResponse", + ", TContext>>; stopJob(params: ", + "RollupStopRollupJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupStopRollupJobResponse", + ", TContext>>; }; scriptsPainlessExecute: (params?: ", + "ScriptsPainlessExecuteRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ScriptsPainlessExecuteResponse", + ", TContext>>; scroll: (params?: ", + "ScrollRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ScrollResponse", + ", TContext>>; searchShards: (params?: ", + "SearchShardsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SearchShardsResponse", + ", TContext>>; searchTemplate: (params?: ", + "SearchTemplateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SearchTemplateResponse", + ", TContext>>; searchableSnapshots: { cacheStats(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; clearCache(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; mount(params: ", + "SearchableSnapshotsMountRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SearchableSnapshotsMountResponse", + ", TContext>>; repositoryStats(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; stats(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; shutdown: { deleteNode(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getNode(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; putNode(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; slm: { deleteLifecycle(params: ", + "SlmDeleteLifecycleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmDeleteLifecycleResponse", + ", TContext>>; executeLifecycle(params: ", + "SlmExecuteLifecycleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmExecuteLifecycleResponse", + ", TContext>>; executeRetention(params?: ", + "SlmExecuteRetentionRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmExecuteRetentionResponse", + ", TContext>>; getLifecycle(params?: ", + "SlmGetLifecycleRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmGetLifecycleResponse", + ", TContext>>; getStats(params?: ", + "SlmGetStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmGetStatsResponse", + ", TContext>>; getStatus(params?: ", + "SlmGetStatusRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmGetStatusResponse", + ", TContext>>; putLifecycle(params: ", + "SlmPutLifecycleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmPutLifecycleResponse", + ", TContext>>; start(params?: ", + "SlmStartRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmStartResponse", + ", TContext>>; stop(params?: ", + "SlmStopRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmStopResponse", + ", TContext>>; }; snapshot: { cleanupRepository(params: ", + "SnapshotCleanupRepositoryRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotCleanupRepositoryResponse", + ", TContext>>; clone(params: ", + "SnapshotCloneRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotCloneResponse", + ", TContext>>; create(params: ", + "SnapshotCreateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotCreateResponse", + ", TContext>>; createRepository(params: ", + "SnapshotCreateRepositoryRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotCreateRepositoryResponse", + ", TContext>>; delete(params: ", + "SnapshotDeleteRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotDeleteResponse", + ", TContext>>; deleteRepository(params: ", + "SnapshotDeleteRepositoryRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotDeleteRepositoryResponse", + ", TContext>>; get(params: ", + "SnapshotGetRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotGetResponse", + ", TContext>>; getRepository(params?: ", + "SnapshotGetRepositoryRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotGetRepositoryResponse", + ", TContext>>; repositoryAnalyze(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; restore(params: ", + "SnapshotRestoreRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotRestoreResponse", + ", TContext>>; status(params?: ", + "SnapshotStatusRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotStatusResponse", + ", TContext>>; verifyRepository(params: ", + "SnapshotVerifyRepositoryRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotVerifyRepositoryResponse", + ", TContext>>; }; sql: { clearCursor(params?: ", + "SqlClearCursorRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SqlClearCursorResponse", + ", TContext>>; deleteAsync(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getAsync(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getAsyncStatus(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; query(params?: ", + "SqlQueryRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SqlQueryResponse", + ", TContext>>; translate(params?: ", + "SqlTranslateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SqlTranslateResponse", + ", TContext>>; }; ssl: { certificates(params?: ", + "SslGetCertificatesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SslGetCertificatesResponse", + ", TContext>>; }; tasks: { cancel(params?: ", + "TaskCancelRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TaskCancelResponse", + ", TContext>>; get(params: ", + "TaskGetRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TaskGetResponse", + ", TContext>>; list(params?: ", + "TaskListRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TaskListResponse", + ", TContext>>; }; termsEnum: (params: ", + "TermsEnumRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TermsEnumResponse", + ", TContext>>; termvectors: (params: ", + "TermvectorsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TermvectorsResponse", + ", TContext>>; textStructure: { findStructure(params: ", + "TextStructureFindStructureRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TextStructureFindStructureResponse", + ", TContext>>; }; updateByQuery: (params: ", + "UpdateByQueryRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "UpdateByQueryResponse", + ", TContext>>; updateByQueryRethrottle: (params: ", + "UpdateByQueryRethrottleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "UpdateByQueryRethrottleResponse", + ", TContext>>; watcher: { ackWatch(params: ", + "WatcherAckWatchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherAckWatchResponse", + ", TContext>>; activateWatch(params: ", + "WatcherActivateWatchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherActivateWatchResponse", + ", TContext>>; deactivateWatch(params: ", + "WatcherDeactivateWatchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherDeactivateWatchResponse", + ", TContext>>; deleteWatch(params: ", + "WatcherDeleteWatchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherDeleteWatchResponse", + ", TContext>>; executeWatch(params?: ", + "WatcherExecuteWatchRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherExecuteWatchResponse", + ", TContext>>; getWatch(params: ", + "WatcherGetWatchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherGetWatchResponse", + ", TContext>>; putWatch(params: ", + "WatcherPutWatchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherPutWatchResponse", + ", TContext>>; queryWatches(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; start(params?: ", + "WatcherStartRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherStartResponse", + ", TContext>>; stats(params?: ", + "WatcherStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherStatsResponse", + ", TContext>>; stop(params?: ", + "WatcherStopRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherStopResponse", + ", TContext>>; }; xpack: { info(params?: ", + "XpackInfoRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "XpackInfoResponse", + ", TContext>>; usage(params?: ", + "XpackUsageRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "XpackUsageResponse", + ", TContext>>; }; }" + ], + "path": "packages/kbn-securitysolution-es-utils/src/get_index_count/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getIndexCount.$1.index", + "type": "string", + "tags": [], + "label": "index", + "description": [], + "path": "packages/kbn-securitysolution-es-utils/src/get_index_count/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [ + "the document count" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getIndexExists", + "type": "Function", + "tags": [], + "label": "getIndexExists", + "description": [], + "signature": [ + "(esClient: Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">, index: string) => Promise" + ], + "path": "packages/kbn-securitysolution-es-utils/src/get_index_exists/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getIndexExists.$1", + "type": "Object", + "tags": [], + "label": "esClient", + "description": [], + "signature": [ + "Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">" + ], + "path": "packages/kbn-securitysolution-es-utils/src/get_index_exists/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getIndexExists.$2", + "type": "string", + "tags": [], + "label": "index", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-es-utils/src/get_index_exists/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getPolicyExists", + "type": "Function", + "tags": [], + "label": "getPolicyExists", + "description": [], + "signature": [ + "(esClient: Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">, policy: string) => Promise" + ], + "path": "packages/kbn-securitysolution-es-utils/src/get_policy_exists/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getPolicyExists.$1", + "type": "Object", + "tags": [], + "label": "esClient", + "description": [], + "signature": [ + "Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">" + ], + "path": "packages/kbn-securitysolution-es-utils/src/get_policy_exists/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getPolicyExists.$2", + "type": "string", + "tags": [], + "label": "policy", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-es-utils/src/get_policy_exists/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getTemplateExists", + "type": "Function", + "tags": [], + "label": "getTemplateExists", + "description": [], + "signature": [ + "(esClient: Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">, template: string) => Promise" + ], + "path": "packages/kbn-securitysolution-es-utils/src/get_template_exists/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getTemplateExists.$1", + "type": "Object", + "tags": [], + "label": "esClient", + "description": [], + "signature": [ + "Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">" + ], + "path": "packages/kbn-securitysolution-es-utils/src/get_template_exists/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getTemplateExists.$2", + "type": "string", + "tags": [], + "label": "template", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-es-utils/src/get_template_exists/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.readIndex", + "type": "Function", + "tags": [], + "label": "readIndex", + "description": [], + "signature": [ + "(esClient: Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">, index: string) => Promise" + ], + "path": "packages/kbn-securitysolution-es-utils/src/read_index/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.readIndex.$1", + "type": "Object", + "tags": [], + "label": "esClient", + "description": [], + "signature": [ + "Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">" + ], + "path": "packages/kbn-securitysolution-es-utils/src/read_index/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.readIndex.$2", + "type": "string", + "tags": [], + "label": "index", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-es-utils/src/read_index/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.readPrivileges", + "type": "Function", + "tags": [], + "label": "readPrivileges", + "description": [], + "signature": [ + "(esClient: Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">, index: string) => Promise" + ], + "path": "packages/kbn-securitysolution-es-utils/src/read_privileges/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.readPrivileges.$1", + "type": "Object", + "tags": [], + "label": "esClient", + "description": [], + "signature": [ + "Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">" + ], + "path": "packages/kbn-securitysolution-es-utils/src/read_privileges/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.readPrivileges.$2", + "type": "string", + "tags": [], + "label": "index", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-es-utils/src/read_privileges/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.setPolicy", + "type": "Function", + "tags": [], + "label": "setPolicy", + "description": [], + "signature": [ + "(esClient: Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">, policy: string, body: Record) => Promise" + ], + "path": "packages/kbn-securitysolution-es-utils/src/set_policy/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.setPolicy.$1", + "type": "Object", + "tags": [], + "label": "esClient", + "description": [], + "signature": [ + "Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">" + ], + "path": "packages/kbn-securitysolution-es-utils/src/set_policy/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.setPolicy.$2", + "type": "string", + "tags": [], + "label": "policy", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-es-utils/src/set_policy/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.setPolicy.$3", + "type": "Object", + "tags": [], + "label": "body", + "description": [], + "signature": [ + "Record" + ], + "path": "packages/kbn-securitysolution-es-utils/src/set_policy/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.setTemplate", + "type": "Function", + "tags": [], + "label": "setTemplate", + "description": [], + "signature": [ + "(esClient: Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">, name: string, body: Record) => Promise" + ], + "path": "packages/kbn-securitysolution-es-utils/src/set_template/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.setTemplate.$1", + "type": "Object", + "tags": [], + "label": "esClient", + "description": [], + "signature": [ + "Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">" + ], + "path": "packages/kbn-securitysolution-es-utils/src/set_template/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.setTemplate.$2", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-es-utils/src/set_template/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.setTemplate.$3", + "type": "Object", + "tags": [], + "label": "body", + "description": [], + "signature": [ + "Record" + ], + "path": "packages/kbn-securitysolution-es-utils/src/set_template/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.transformError", + "type": "Function", + "tags": [], + "label": "transformError", + "description": [], + "signature": [ + "(err: Error & Partial<", + "ResponseError", + ", unknown>>) => ", + { + "pluginId": "@kbn/securitysolution-es-utils", + "scope": "server", + "docId": "kibKbnSecuritysolutionEsUtilsPluginApi", + "section": "def-server.OutputError", + "text": "OutputError" + } + ], + "path": "packages/kbn-securitysolution-es-utils/src/transform_error/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.transformError.$1", + "type": "CompoundType", + "tags": [], + "label": "err", + "description": [], + "signature": [ + "Error & Partial<", + "ResponseError", + ", unknown>>" + ], + "path": "packages/kbn-securitysolution-es-utils/src/transform_error/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.OutputError", + "type": "Interface", + "tags": [], + "label": "OutputError", + "description": [], + "path": "packages/kbn-securitysolution-es-utils/src/transform_error/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.OutputError.message", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "path": "packages/kbn-securitysolution-es-utils/src/transform_error/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.OutputError.statusCode", + "type": "number", + "tags": [], + "label": "statusCode", + "description": [], + "path": "packages/kbn-securitysolution-es-utils/src/transform_error/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_securitysolution_es_utils.mdx b/api_docs/kbn_securitysolution_es_utils.mdx new file mode 100644 index 0000000000000..9f1aad96b29ba --- /dev/null +++ b/api_docs/kbn_securitysolution_es_utils.mdx @@ -0,0 +1,33 @@ +--- +id: kibKbnSecuritysolutionEsUtilsPluginApi +slug: /kibana-dev-docs/api/kbn-securitysolution-es-utils +title: "@kbn/securitysolution-es-utils" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/securitysolution-es-utils plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-es-utils'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnSecuritysolutionEsUtilsObj from './kbn_securitysolution_es_utils.json'; + +security solution elastic search utilities to use across plugins such lists, security_solution, cases, etc... + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 54 | 0 | 51 | 0 | + +## Server + +### Functions + + +### Classes + + +### Interfaces + + diff --git a/api_docs/kbn_securitysolution_hook_utils.json b/api_docs/kbn_securitysolution_hook_utils.json new file mode 100644 index 0000000000000..621e6698edb94 --- /dev/null +++ b/api_docs/kbn_securitysolution_hook_utils.json @@ -0,0 +1,190 @@ +{ + "id": "@kbn/securitysolution-hook-utils", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/securitysolution-hook-utils", + "id": "def-common.useAsync", + "type": "Function", + "tags": [], + "label": "useAsync", + "description": [ + "\n\nThis hook wraps a promise-returning thunk (task) in order to conditionally\ninitiate the work, and automatically provide state corresponding to the\ntask's status.\n\nIn order to function properly and not rerender unnecessarily, ensure that\nyour task is a stable function reference.\n" + ], + "signature": [ + "(fn: (...args: Args) => Promise) => ", + "Task", + "" + ], + "path": "packages/kbn-securitysolution-hook-utils/src/use_async/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-hook-utils", + "id": "def-common.useAsync.$1", + "type": "Function", + "tags": [], + "label": "fn", + "description": [ + "a function returning a promise." + ], + "signature": [ + "(...args: Args) => Promise" + ], + "path": "packages/kbn-securitysolution-hook-utils/src/use_async/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "An {@link Task} containing the task's current state along with a\nstart callback" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-hook-utils", + "id": "def-common.useIsMounted", + "type": "Function", + "tags": [], + "label": "useIsMounted", + "description": [ + "\n" + ], + "signature": [ + "() => GetIsMounted" + ], + "path": "packages/kbn-securitysolution-hook-utils/src/use_is_mounted/index.ts", + "deprecated": false, + "children": [], + "returnComment": [ + "A {@link GetIsMounted} getter function returning whether the component is currently mounted" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-hook-utils", + "id": "def-common.useObservable", + "type": "Function", + "tags": [], + "label": "useObservable", + "description": [ + "\n" + ], + "signature": [ + "(fn: (...args: Args) => ", + "Observable", + ") => ", + "Task", + "" + ], + "path": "packages/kbn-securitysolution-hook-utils/src/use_observable/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-hook-utils", + "id": "def-common.useObservable.$1", + "type": "Function", + "tags": [], + "label": "fn", + "description": [ + "function returning an observable" + ], + "signature": [ + "(...args: Args) => ", + "Observable", + "" + ], + "path": "packages/kbn-securitysolution-hook-utils/src/use_observable/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "An {@link Async} containing the underlying task's state along with a start callback" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-hook-utils", + "id": "def-common.withOptionalSignal", + "type": "Function", + "tags": [], + "label": "withOptionalSignal", + "description": [ + "\n" + ], + "signature": [ + "(fn: (args: Args) => Result) => (args: ", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.OptionalSignalArgs", + "text": "OptionalSignalArgs" + }, + ") => Result" + ], + "path": "packages/kbn-securitysolution-hook-utils/src/with_optional_signal/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-hook-utils", + "id": "def-common.withOptionalSignal.$1", + "type": "Function", + "tags": [], + "label": "fn", + "description": [ + "an async function receiving an AbortSignal argument" + ], + "signature": [ + "(args: Args) => Result" + ], + "path": "packages/kbn-securitysolution-hook-utils/src/with_optional_signal/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "An async function where the AbortSignal argument is optional" + ], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/securitysolution-hook-utils", + "id": "def-common.OptionalSignalArgs", + "type": "Type", + "tags": [], + "label": "OptionalSignalArgs", + "description": [], + "signature": [ + "Pick> & Partial" + ], + "path": "packages/kbn-securitysolution-hook-utils/src/with_optional_signal/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_securitysolution_hook_utils.mdx b/api_docs/kbn_securitysolution_hook_utils.mdx new file mode 100644 index 0000000000000..a17c3a672c136 --- /dev/null +++ b/api_docs/kbn_securitysolution_hook_utils.mdx @@ -0,0 +1,30 @@ +--- +id: kibKbnSecuritysolutionHookUtilsPluginApi +slug: /kibana-dev-docs/api/kbn-securitysolution-hook-utils +title: "@kbn/securitysolution-hook-utils" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/securitysolution-hook-utils plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-hook-utils'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnSecuritysolutionHookUtilsObj from './kbn_securitysolution_hook_utils.json'; + +Security Solution utilities for React hooks + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 8 | 0 | 1 | 1 | + +## Common + +### Functions + + +### Consts, variables and types + + diff --git a/api_docs/kbn_securitysolution_io_ts_alerting_types.json b/api_docs/kbn_securitysolution_io_ts_alerting_types.json new file mode 100644 index 0000000000000..b5c86e3ba0287 --- /dev/null +++ b/api_docs/kbn_securitysolution_io_ts_alerting_types.json @@ -0,0 +1,2835 @@ +{ + "id": "@kbn/securitysolution-io-ts-alerting-types", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.SavedObjectAttributes", + "type": "Interface", + "tags": [], + "label": "SavedObjectAttributes", + "description": [ + "\nTODO: This type are originally from \"src/core/types/saved_objects.ts\", once that is package friendly remove\nthis copied type.\n\nThe data for a Saved Object is stored as an object in the `attributes`\nproperty.\n" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/saved_object_attributes/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.SavedObjectAttributes.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/saved_object_attributes/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.Actions", + "type": "Type", + "tags": [], + "label": "Actions", + "description": [], + "signature": [ + "{ group: string; id: string; action_type_id: string; params: ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + "; }[]" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/actions/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ActionsCamel", + "type": "Type", + "tags": [], + "label": "ActionsCamel", + "description": [], + "signature": [ + "{ group: string; id: string; action_type_id: string; params: ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + "; }[]" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/actions/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ConcurrentSearches", + "type": "Type", + "tags": [], + "label": "ConcurrentSearches", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ConcurrentSearchesOrUndefined", + "type": "Type", + "tags": [], + "label": "ConcurrentSearchesOrUndefined", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.From", + "type": "Type", + "tags": [], + "label": "From", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/from/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.FromOrUndefined", + "type": "Type", + "tags": [], + "label": "FromOrUndefined", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/from/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ItemsPerSearch", + "type": "Type", + "tags": [], + "label": "ItemsPerSearch", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ItemsPerSearchOrUndefined", + "type": "Type", + "tags": [], + "label": "ItemsPerSearchOrUndefined", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.Language", + "type": "Type", + "tags": [], + "label": "Language", + "description": [], + "signature": [ + "\"eql\" | \"lucene\" | \"kuery\"" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/language/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.LanguageOrUndefined", + "type": "Type", + "tags": [], + "label": "LanguageOrUndefined", + "description": [], + "signature": [ + "\"eql\" | \"lucene\" | \"kuery\" | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/language/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.MachineLearningJobId", + "type": "Type", + "tags": [], + "label": "MachineLearningJobId", + "description": [], + "signature": [ + "string | string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/machine_learning_job_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.MachineLearningJobIdNormalized", + "type": "Type", + "tags": [], + "label": "MachineLearningJobIdNormalized", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/normalized_ml_job_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.MachineLearningJobIdNormalizedOrUndefined", + "type": "Type", + "tags": [], + "label": "MachineLearningJobIdNormalizedOrUndefined", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/normalized_ml_job_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.MachineLearningJobIdOrUndefined", + "type": "Type", + "tags": [], + "label": "MachineLearningJobIdOrUndefined", + "description": [], + "signature": [ + "string | string[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/machine_learning_job_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.MaxSignals", + "type": "Type", + "tags": [], + "label": "MaxSignals", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/max_signals/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.MaxSignalsOrUndefined", + "type": "Type", + "tags": [], + "label": "MaxSignalsOrUndefined", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/max_signals/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.RiskScore", + "type": "Type", + "tags": [], + "label": "RiskScore", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/risk_score/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.RiskScoreC", + "type": "Type", + "tags": [], + "label": "RiskScoreC", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/risk_score/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.RiskScoreMapping", + "type": "Type", + "tags": [], + "label": "RiskScoreMapping", + "description": [], + "signature": [ + "{ field: string; value: string; operator: \"equals\"; risk_score: number | undefined; }[]" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/risk_score_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.RiskScoreMappingOrUndefined", + "type": "Type", + "tags": [], + "label": "RiskScoreMappingOrUndefined", + "description": [], + "signature": [ + "{ field: string; value: string; operator: \"equals\"; risk_score: number | undefined; }[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/risk_score_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.RiskScoreOrUndefined", + "type": "Type", + "tags": [], + "label": "RiskScoreOrUndefined", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/risk_score/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.SavedObjectAttribute", + "type": "Type", + "tags": [], + "label": "SavedObjectAttribute", + "description": [ + "\nTODO: This type are originally from \"src/core/types/saved_objects.ts\", once that is package friendly remove\nthis copied type.\n\nType definition for a Saved Object attribute value\n" + ], + "signature": [ + "string | number | boolean | ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + " | ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributeSingle", + "text": "SavedObjectAttributeSingle" + }, + "[] | null | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/saved_object_attributes/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.SavedObjectAttributeSingle", + "type": "Type", + "tags": [], + "label": "SavedObjectAttributeSingle", + "description": [ + "\nTODO: This type are originally from \"src/core/types/saved_objects.ts\", once that is package friendly remove\nthis copied type.\n\nDon't use this type, it's simply a helper type for {@link SavedObjectAttribute}\n" + ], + "signature": [ + "string | number | boolean | ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + " | null | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/saved_object_attributes/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.Severity", + "type": "Type", + "tags": [], + "label": "Severity", + "description": [], + "signature": [ + "\"high\" | \"low\" | \"critical\" | \"medium\"" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.SeverityMapping", + "type": "Type", + "tags": [], + "label": "SeverityMapping", + "description": [], + "signature": [ + "{ field: string; operator: \"equals\"; value: string; severity: \"high\" | \"low\" | \"critical\" | \"medium\"; }[]" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.SeverityMappingItem", + "type": "Type", + "tags": [], + "label": "SeverityMappingItem", + "description": [], + "signature": [ + "{ field: string; operator: \"equals\"; value: string; severity: \"high\" | \"low\" | \"critical\" | \"medium\"; }" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.SeverityMappingOrUndefined", + "type": "Type", + "tags": [], + "label": "SeverityMappingOrUndefined", + "description": [], + "signature": [ + "{ field: string; operator: \"equals\"; value: string; severity: \"high\" | \"low\" | \"critical\" | \"medium\"; }[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.SeverityOrUndefined", + "type": "Type", + "tags": [], + "label": "SeverityOrUndefined", + "description": [], + "signature": [ + "\"high\" | \"low\" | \"critical\" | \"medium\" | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.Threat", + "type": "Type", + "tags": [], + "label": "Threat", + "description": [], + "signature": [ + "{ framework: string; tactic: { id: string; name: string; reference: string; }; } & { technique?: ({ id: string; name: string; reference: string; } & { subtechnique?: { id: string; name: string; reference: string; }[] | undefined; })[] | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatFilters", + "type": "Type", + "tags": [], + "label": "ThreatFilters", + "description": [], + "signature": [ + "unknown[]" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatFiltersOrUndefined", + "type": "Type", + "tags": [], + "label": "ThreatFiltersOrUndefined", + "description": [], + "signature": [ + "unknown[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatIndex", + "type": "Type", + "tags": [], + "label": "ThreatIndex", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatIndexOrUndefined", + "type": "Type", + "tags": [], + "label": "ThreatIndexOrUndefined", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatIndicatorPath", + "type": "Type", + "tags": [], + "label": "ThreatIndicatorPath", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatIndicatorPathOrUndefined", + "type": "Type", + "tags": [], + "label": "ThreatIndicatorPathOrUndefined", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatLanguage", + "type": "Type", + "tags": [], + "label": "ThreatLanguage", + "description": [], + "signature": [ + "\"eql\" | \"lucene\" | \"kuery\" | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatLanguageOrUndefined", + "type": "Type", + "tags": [], + "label": "ThreatLanguageOrUndefined", + "description": [], + "signature": [ + "\"eql\" | \"lucene\" | \"kuery\" | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatMap", + "type": "Type", + "tags": [], + "label": "ThreatMap", + "description": [], + "signature": [ + "{ entries: { field: string; type: \"mapping\"; value: string; }[]; }" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatMapEntry", + "type": "Type", + "tags": [], + "label": "ThreatMapEntry", + "description": [], + "signature": [ + "{ field: string; type: \"mapping\"; value: string; }" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatMapping", + "type": "Type", + "tags": [], + "label": "ThreatMapping", + "description": [], + "signature": [ + "{ entries: { field: string; type: \"mapping\"; value: string; }[]; }[]" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatMappingEntries", + "type": "Type", + "tags": [], + "label": "ThreatMappingEntries", + "description": [], + "signature": [ + "{ field: string; type: \"mapping\"; value: string; }[]" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatMappingOrUndefined", + "type": "Type", + "tags": [], + "label": "ThreatMappingOrUndefined", + "description": [], + "signature": [ + "{ entries: { field: string; type: \"mapping\"; value: string; }[]; }[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatQuery", + "type": "Type", + "tags": [], + "label": "ThreatQuery", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatQueryOrUndefined", + "type": "Type", + "tags": [], + "label": "ThreatQueryOrUndefined", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.Threats", + "type": "Type", + "tags": [], + "label": "Threats", + "description": [], + "signature": [ + "({ framework: string; tactic: { id: string; name: string; reference: string; }; } & { technique?: ({ id: string; name: string; reference: string; } & { subtechnique?: { id: string; name: string; reference: string; }[] | undefined; })[] | undefined; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatsOrUndefined", + "type": "Type", + "tags": [], + "label": "ThreatsOrUndefined", + "description": [], + "signature": [ + "({ framework: string; tactic: { id: string; name: string; reference: string; }; } & { technique?: ({ id: string; name: string; reference: string; } & { subtechnique?: { id: string; name: string; reference: string; }[] | undefined; })[] | undefined; })[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatSubtechnique", + "type": "Type", + "tags": [], + "label": "ThreatSubtechnique", + "description": [], + "signature": [ + "{ id: string; name: string; reference: string; }" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_subtechnique/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatTechnique", + "type": "Type", + "tags": [], + "label": "ThreatTechnique", + "description": [], + "signature": [ + "{ id: string; name: string; reference: string; } & { subtechnique?: { id: string; name: string; reference: string; }[] | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_technique/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.Throttle", + "type": "Type", + "tags": [], + "label": "Throttle", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/throttle/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThrottleOrNull", + "type": "Type", + "tags": [], + "label": "ThrottleOrNull", + "description": [], + "signature": [ + "string | null" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/throttle/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThrottleOrUndefinedOrNull", + "type": "Type", + "tags": [], + "label": "ThrottleOrUndefinedOrNull", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/throttle/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.Type", + "type": "Type", + "tags": [], + "label": "Type", + "description": [], + "signature": [ + "\"query\" | \"eql\" | \"threshold\" | \"threat_match\" | \"machine_learning\" | \"saved_query\"" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.TypeOrUndefined", + "type": "Type", + "tags": [], + "label": "TypeOrUndefined", + "description": [], + "signature": [ + "\"query\" | \"eql\" | \"threshold\" | \"threat_match\" | \"machine_learning\" | \"saved_query\" | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/type/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.action", + "type": "Object", + "tags": [], + "label": "action", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ group: ", + "StringC", + "; id: ", + "StringC", + "; action_type_id: ", + "StringC", + "; params: ", + "Type", + "<", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + ", ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + ", unknown>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/actions/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.action_action_type_id", + "type": "Object", + "tags": [], + "label": "action_action_type_id", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/actions/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.action_group", + "type": "Object", + "tags": [ + "see" + ], + "label": "action_group", + "description": [ + "\nParams is an \"object\", since it is a type of AlertActionParams which is action templates." + ], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/actions/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.action_id", + "type": "Object", + "tags": [], + "label": "action_id", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/actions/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.action_params", + "type": "Object", + "tags": [], + "label": "action_params", + "description": [], + "signature": [ + "Type", + "<", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + ", ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + ", unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/actions/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.actions", + "type": "Object", + "tags": [], + "label": "actions", + "description": [], + "signature": [ + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ group: ", + "StringC", + "; id: ", + "StringC", + "; action_type_id: ", + "StringC", + "; params: ", + "Type", + "<", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + ", ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + ", unknown>; }>>>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/actions/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.actionsCamel", + "type": "Object", + "tags": [], + "label": "actionsCamel", + "description": [], + "signature": [ + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ group: ", + "StringC", + "; id: ", + "StringC", + "; actionTypeId: ", + "StringC", + "; params: ", + "Type", + "<", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + ", ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + ", unknown>; }>>>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/actions/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.concurrent_searches", + "type": "Object", + "tags": [], + "label": "concurrent_searches", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.concurrentSearchesOrUndefined", + "type": "Object", + "tags": [], + "label": "concurrentSearchesOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "Type", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.DefaultActionsArray", + "type": "Object", + "tags": [], + "label": "DefaultActionsArray", + "description": [], + "signature": [ + "Type", + "<{ group: string; id: string; action_type_id: string; params: ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + "; }[], { group: string; id: string; action_type_id: string; params: ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + "; }[] | undefined, unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_actions_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.DefaultExportFileName", + "type": "Object", + "tags": [], + "label": "DefaultExportFileName", + "description": [ + "\nTypes the DefaultExportFileName as:\n - If null or undefined, then a default of \"export.ndjson\" will be used" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_export_file_name/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.DefaultFromString", + "type": "Object", + "tags": [], + "label": "DefaultFromString", + "description": [ + "\nTypes the DefaultFromString as:\n - If null or undefined, then a default of the string \"now-6m\" will be used" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_from_string/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.DefaultIntervalString", + "type": "Object", + "tags": [], + "label": "DefaultIntervalString", + "description": [ + "\nTypes the DefaultIntervalString as:\n - If null or undefined, then a default of the string \"5m\" will be used" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_interval_string/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.DefaultLanguageString", + "type": "Object", + "tags": [], + "label": "DefaultLanguageString", + "description": [ + "\nTypes the DefaultLanguageString as:\n - If null or undefined, then a default of the string \"kuery\" will be used" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_language_string/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.DefaultMaxSignalsNumber", + "type": "Object", + "tags": [], + "label": "DefaultMaxSignalsNumber", + "description": [ + "\nTypes the default max signal:\n - Natural Number (positive integer and not a float),\n - greater than 1\n - If undefined then it will use DEFAULT_MAX_SIGNALS (100) as the default" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_max_signals_number/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.DefaultPage", + "type": "Object", + "tags": [], + "label": "DefaultPage", + "description": [ + "\nTypes the DefaultPerPage as:\n - If a string this will convert the string to a number\n - If null or undefined, then a default of 1 will be used\n - If the number is 0 or less this will not validate as it has to be a positive number greater than zero" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_page/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.DefaultPerPage", + "type": "Object", + "tags": [], + "label": "DefaultPerPage", + "description": [ + "\nTypes the DefaultPerPage as:\n - If a string this will convert the string to a number\n - If null or undefined, then a default of 20 will be used\n - If the number is 0 or less this will not validate as it has to be a positive number greater than zero" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_per_page/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.DefaultRiskScoreMappingArray", + "type": "Object", + "tags": [], + "label": "DefaultRiskScoreMappingArray", + "description": [ + "\nTypes the DefaultStringArray as:\n - If null or undefined, then a default risk_score_mapping array will be set" + ], + "signature": [ + "Type", + "<{ field: string; value: string; operator: \"equals\"; risk_score: number | undefined; }[], { field: string; value: string; operator: \"equals\"; risk_score: number | undefined; }[] | undefined, unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_risk_score_mapping_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.DefaultSeverityMappingArray", + "type": "Object", + "tags": [], + "label": "DefaultSeverityMappingArray", + "description": [ + "\nTypes the DefaultStringArray as:\n - If null or undefined, then a default severity_mapping array will be set" + ], + "signature": [ + "Type", + "<{ field: string; operator: \"equals\"; value: string; severity: \"high\" | \"low\" | \"critical\" | \"medium\"; }[], { field: string; operator: \"equals\"; value: string; severity: \"high\" | \"low\" | \"critical\" | \"medium\"; }[] | undefined, unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_severity_mapping_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.DefaultThreatArray", + "type": "Object", + "tags": [], + "label": "DefaultThreatArray", + "description": [ + "\nTypes the DefaultThreatArray as:\n - If null or undefined, then an empty array will be set" + ], + "signature": [ + "Type", + "<({ framework: string; tactic: { id: string; name: string; reference: string; }; } & { technique?: ({ id: string; name: string; reference: string; } & { subtechnique?: { id: string; name: string; reference: string; }[] | undefined; })[] | undefined; })[], ({ framework: string; tactic: { id: string; name: string; reference: string; }; } & { technique?: ({ id: string; name: string; reference: string; } & { subtechnique?: { id: string; name: string; reference: string; }[] | undefined; })[] | undefined; })[] | undefined, unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_threat_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.DefaultThrottleNull", + "type": "Object", + "tags": [], + "label": "DefaultThrottleNull", + "description": [ + "\nTypes the DefaultThrottleNull as:\n - If null or undefined, then a null will be set" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_throttle_null/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.DefaultToString", + "type": "Object", + "tags": [], + "label": "DefaultToString", + "description": [ + "\nTypes the DefaultToString as:\n - If null or undefined, then a default of the string \"now\" will be used" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_to_string/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.DefaultUuid", + "type": "Object", + "tags": [], + "label": "DefaultUuid", + "description": [ + "\nTypes the DefaultUuid as:\n - If null or undefined, then a default string uuid.v4() will be\n created otherwise it will be checked just against an empty string" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_uuid/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.from", + "type": "Object", + "tags": [], + "label": "from", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/from/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.fromOrUndefined", + "type": "Object", + "tags": [], + "label": "fromOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "Type", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/from/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.items_per_search", + "type": "Object", + "tags": [], + "label": "items_per_search", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.itemsPerSearchOrUndefined", + "type": "Object", + "tags": [], + "label": "itemsPerSearchOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "Type", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.language", + "type": "Object", + "tags": [], + "label": "language", + "description": [], + "signature": [ + "KeyofC", + "<{ eql: null; kuery: null; lucene: null; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/language/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.languageOrUndefined", + "type": "Object", + "tags": [], + "label": "languageOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "KeyofC", + "<{ eql: null; kuery: null; lucene: null; }>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/language/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.machine_learning_job_id", + "type": "Object", + "tags": [], + "label": "machine_learning_job_id", + "description": [], + "signature": [ + "UnionC", + "<[", + "StringC", + ", ", + "Type", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/machine_learning_job_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.machine_learning_job_id_normalized", + "type": "Object", + "tags": [], + "label": "machine_learning_job_id_normalized", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/normalized_ml_job_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.machineLearningJobIdNormalizedOrUndefined", + "type": "Object", + "tags": [], + "label": "machineLearningJobIdNormalizedOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "Type", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/normalized_ml_job_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.machineLearningJobIdOrUndefined", + "type": "Object", + "tags": [], + "label": "machineLearningJobIdOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "UnionC", + "<[", + "StringC", + ", ", + "Type", + "]>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/machine_learning_job_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.max_signals", + "type": "Object", + "tags": [], + "label": "max_signals", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/max_signals/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.maxSignalsOrUndefined", + "type": "Object", + "tags": [], + "label": "maxSignalsOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "Type", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/max_signals/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ReferencesDefaultArray", + "type": "Object", + "tags": [], + "label": "ReferencesDefaultArray", + "description": [ + "\nTypes the ReferencesDefaultArray as:\n - If null or undefined, then a default array will be set" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/references_default_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.risk_score", + "type": "Object", + "tags": [], + "label": "risk_score", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/risk_score/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.risk_score_mapping", + "type": "Object", + "tags": [], + "label": "risk_score_mapping", + "description": [], + "signature": [ + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "StringC", + "; value: ", + "StringC", + "; operator: ", + "KeyofC", + "<{ equals: null; }>; risk_score: ", + "UnionC", + "<[", + "Type", + ", ", + "UndefinedC", + "]>; }>>>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/risk_score_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.risk_score_mapping_field", + "type": "Object", + "tags": [], + "label": "risk_score_mapping_field", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/risk_score_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.risk_score_mapping_item", + "type": "Object", + "tags": [], + "label": "risk_score_mapping_item", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ field: ", + "StringC", + "; value: ", + "StringC", + "; operator: ", + "KeyofC", + "<{ equals: null; }>; risk_score: ", + "UnionC", + "<[", + "Type", + ", ", + "UndefinedC", + "]>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/risk_score_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.risk_score_mapping_value", + "type": "Object", + "tags": [], + "label": "risk_score_mapping_value", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/risk_score_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.RiskScore", + "type": "Object", + "tags": [], + "label": "RiskScore", + "description": [ + "\nTypes the risk score as:\n - Natural Number (positive integer and not a float),\n - Between the values [0 and 100] inclusive." + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/risk_score/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.riskScoreMappingOrUndefined", + "type": "Object", + "tags": [], + "label": "riskScoreMappingOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "StringC", + "; value: ", + "StringC", + "; operator: ", + "KeyofC", + "<{ equals: null; }>; risk_score: ", + "UnionC", + "<[", + "Type", + ", ", + "UndefinedC", + "]>; }>>>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/risk_score_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.riskScoreOrUndefined", + "type": "Object", + "tags": [], + "label": "riskScoreOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "Type", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/risk_score/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.saved_object_attribute", + "type": "Object", + "tags": [], + "label": "saved_object_attribute", + "description": [], + "signature": [ + "Type", + "<", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttribute", + "text": "SavedObjectAttribute" + }, + ", ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttribute", + "text": "SavedObjectAttribute" + }, + ", unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/saved_object_attributes/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.saved_object_attribute_single", + "type": "Object", + "tags": [], + "label": "saved_object_attribute_single", + "description": [], + "signature": [ + "Type", + "<", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributeSingle", + "text": "SavedObjectAttributeSingle" + }, + ", ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributeSingle", + "text": "SavedObjectAttributeSingle" + }, + ", unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/saved_object_attributes/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.saved_object_attributes", + "type": "Object", + "tags": [], + "label": "saved_object_attributes", + "description": [], + "signature": [ + "Type", + "<", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + ", ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + ", unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/saved_object_attributes/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.severity", + "type": "Object", + "tags": [], + "label": "severity", + "description": [], + "signature": [ + "KeyofC", + "<{ low: null; medium: null; high: null; critical: null; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.severity_mapping", + "type": "Object", + "tags": [], + "label": "severity_mapping", + "description": [], + "signature": [ + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "StringC", + "; operator: ", + "KeyofC", + "<{ equals: null; }>; value: ", + "StringC", + "; severity: ", + "KeyofC", + "<{ low: null; medium: null; high: null; critical: null; }>; }>>>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.severity_mapping_field", + "type": "Object", + "tags": [], + "label": "severity_mapping_field", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.severity_mapping_item", + "type": "Object", + "tags": [], + "label": "severity_mapping_item", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ field: ", + "StringC", + "; operator: ", + "KeyofC", + "<{ equals: null; }>; value: ", + "StringC", + "; severity: ", + "KeyofC", + "<{ low: null; medium: null; high: null; critical: null; }>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.severity_mapping_value", + "type": "Object", + "tags": [], + "label": "severity_mapping_value", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.severityMappingOrUndefined", + "type": "Object", + "tags": [], + "label": "severityMappingOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "StringC", + "; operator: ", + "KeyofC", + "<{ equals: null; }>; value: ", + "StringC", + "; severity: ", + "KeyofC", + "<{ low: null; medium: null; high: null; critical: null; }>; }>>>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.severityOrUndefined", + "type": "Object", + "tags": [], + "label": "severityOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "KeyofC", + "<{ low: null; medium: null; high: null; critical: null; }>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat", + "type": "Object", + "tags": [], + "label": "threat", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ framework: ", + "StringC", + "; tactic: ", + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ technique: ", + "ArrayC", + "<", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ subtechnique: ", + "ArrayC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>>; }>>]>>; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_filters", + "type": "Object", + "tags": [], + "label": "threat_filters", + "description": [], + "signature": [ + "ArrayC", + "<", + "UnknownC", + ">" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_framework", + "type": "Object", + "tags": [], + "label": "threat_framework", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_index", + "type": "Object", + "tags": [], + "label": "threat_index", + "description": [], + "signature": [ + "ArrayC", + "<", + "StringC", + ">" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_indicator_path", + "type": "Object", + "tags": [], + "label": "threat_indicator_path", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_language", + "type": "Object", + "tags": [], + "label": "threat_language", + "description": [], + "signature": [ + "UnionC", + "<[", + "KeyofC", + "<{ eql: null; kuery: null; lucene: null; }>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_mapping", + "type": "Object", + "tags": [], + "label": "threat_mapping", + "description": [], + "signature": [ + "Type", + "<{ entries: { field: string; type: \"mapping\"; value: string; }[]; }[], { entries: { field: string; type: \"mapping\"; value: string; }[]; }[], unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_query", + "type": "Object", + "tags": [], + "label": "threat_query", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_subtechnique", + "type": "Object", + "tags": [], + "label": "threat_subtechnique", + "description": [], + "signature": [ + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_subtechnique/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_subtechnique_id", + "type": "Object", + "tags": [], + "label": "threat_subtechnique_id", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_subtechnique/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_subtechnique_name", + "type": "Object", + "tags": [], + "label": "threat_subtechnique_name", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_subtechnique/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_subtechnique_reference", + "type": "Object", + "tags": [], + "label": "threat_subtechnique_reference", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_subtechnique/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_subtechniques", + "type": "Object", + "tags": [], + "label": "threat_subtechniques", + "description": [], + "signature": [ + "ArrayC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_subtechnique/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_tactic", + "type": "Object", + "tags": [], + "label": "threat_tactic", + "description": [], + "signature": [ + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_tactic/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_tactic_id", + "type": "Object", + "tags": [], + "label": "threat_tactic_id", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_tactic/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_tactic_name", + "type": "Object", + "tags": [], + "label": "threat_tactic_name", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_tactic/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_tactic_reference", + "type": "Object", + "tags": [], + "label": "threat_tactic_reference", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_tactic/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_technique", + "type": "Object", + "tags": [], + "label": "threat_technique", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ subtechnique: ", + "ArrayC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>>; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_technique/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_technique_id", + "type": "Object", + "tags": [], + "label": "threat_technique_id", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_technique/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_technique_name", + "type": "Object", + "tags": [], + "label": "threat_technique_name", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_technique/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_technique_reference", + "type": "Object", + "tags": [], + "label": "threat_technique_reference", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_technique/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_techniques", + "type": "Object", + "tags": [], + "label": "threat_techniques", + "description": [], + "signature": [ + "ArrayC", + "<", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ subtechnique: ", + "ArrayC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>>; }>>]>>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_technique/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threatFiltersOrUndefined", + "type": "Object", + "tags": [], + "label": "threatFiltersOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "ArrayC", + "<", + "UnknownC", + ">, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threatIndexOrUndefined", + "type": "Object", + "tags": [], + "label": "threatIndexOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "ArrayC", + "<", + "StringC", + ">, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threatIndicatorPathOrUndefined", + "type": "Object", + "tags": [], + "label": "threatIndicatorPathOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threatLanguageOrUndefined", + "type": "Object", + "tags": [], + "label": "threatLanguageOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "UnionC", + "<[", + "KeyofC", + "<{ eql: null; kuery: null; lucene: null; }>, ", + "UndefinedC", + "]>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threatMap", + "type": "Object", + "tags": [], + "label": "threatMap", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ entries: ", + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; type: ", + "KeyofC", + "<{ mapping: null; }>; value: ", + "Type", + "; }>>>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threatMapEntry", + "type": "Object", + "tags": [], + "label": "threatMapEntry", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; type: ", + "KeyofC", + "<{ mapping: null; }>; value: ", + "Type", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threatMappingEntries", + "type": "Object", + "tags": [], + "label": "threatMappingEntries", + "description": [], + "signature": [ + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; type: ", + "KeyofC", + "<{ mapping: null; }>; value: ", + "Type", + "; }>>>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threatMappingOrUndefined", + "type": "Object", + "tags": [], + "label": "threatMappingOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "Type", + "<{ entries: { field: string; type: \"mapping\"; value: string; }[]; }[], { entries: { field: string; type: \"mapping\"; value: string; }[]; }[], unknown>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threatQueryOrUndefined", + "type": "Object", + "tags": [], + "label": "threatQueryOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threats", + "type": "Object", + "tags": [], + "label": "threats", + "description": [], + "signature": [ + "ArrayC", + "<", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ framework: ", + "StringC", + "; tactic: ", + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ technique: ", + "ArrayC", + "<", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ subtechnique: ", + "ArrayC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>>; }>>]>>; }>>]>>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threatsOrUndefined", + "type": "Object", + "tags": [], + "label": "threatsOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "ArrayC", + "<", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ framework: ", + "StringC", + "; tactic: ", + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ technique: ", + "ArrayC", + "<", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ subtechnique: ", + "ArrayC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>>; }>>]>>; }>>]>>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.throttle", + "type": "Object", + "tags": [], + "label": "throttle", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/throttle/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.throttleOrNull", + "type": "Object", + "tags": [], + "label": "throttleOrNull", + "description": [], + "signature": [ + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/throttle/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.throttleOrNullOrUndefined", + "type": "Object", + "tags": [], + "label": "throttleOrNullOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/throttle/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.type", + "type": "Object", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "KeyofC", + "<{ eql: null; machine_learning: null; query: null; saved_query: null; threshold: null; threat_match: null; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.typeOrUndefined", + "type": "Object", + "tags": [], + "label": "typeOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "KeyofC", + "<{ eql: null; machine_learning: null; query: null; saved_query: null; threshold: null; threat_match: null; }>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/type/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ] + } +} \ No newline at end of file diff --git a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx new file mode 100644 index 0000000000000..39c7549b8812e --- /dev/null +++ b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx @@ -0,0 +1,33 @@ +--- +id: kibKbnSecuritysolutionIoTsAlertingTypesPluginApi +slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-alerting-types +title: "@kbn/securitysolution-io-ts-alerting-types" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/securitysolution-io-ts-alerting-types plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-alerting-types'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnSecuritysolutionIoTsAlertingTypesObj from './kbn_securitysolution_io_ts_alerting_types.json'; + +io ts utilities and types to be shared with plugins from the security solution project + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 147 | 1 | 128 | 0 | + +## Common + +### Objects + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_securitysolution_io_ts_list_types.json b/api_docs/kbn_securitysolution_io_ts_list_types.json new file mode 100644 index 0000000000000..2a1efcc96c5a7 --- /dev/null +++ b/api_docs/kbn_securitysolution_io_ts_list_types.json @@ -0,0 +1,8113 @@ +{ + "id": "@kbn/securitysolution-io-ts-list-types", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.updateExceptionListItemValidate", + "type": "Function", + "tags": [], + "label": "updateExceptionListItemValidate", + "description": [], + "signature": [ + "(schema: { description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }) => string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_validation/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.updateExceptionListItemValidate.$1", + "type": "CompoundType", + "tags": [], + "label": "schema", + "description": [], + "signature": [ + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_validation/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.validateComments", + "type": "Function", + "tags": [], + "label": "validateComments", + "description": [], + "signature": [ + "(item: { description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }) => string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_validation/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.validateComments.$1", + "type": "CompoundType", + "tags": [], + "label": "item", + "description": [], + "signature": [ + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_validation/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.AddEndpointExceptionListProps", + "type": "Interface", + "tags": [], + "label": "AddEndpointExceptionListProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.AddEndpointExceptionListProps.http", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "HttpStart" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.AddEndpointExceptionListProps.signal", + "type": "Object", + "tags": [], + "label": "signal", + "description": [], + "signature": [ + "AbortSignal" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.AddExceptionListItemProps", + "type": "Interface", + "tags": [], + "label": "AddExceptionListItemProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.AddExceptionListItemProps.http", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "HttpStart" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.AddExceptionListItemProps.listItem", + "type": "CompoundType", + "tags": [], + "label": "listItem", + "description": [], + "signature": [ + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.AddExceptionListItemProps.signal", + "type": "Object", + "tags": [], + "label": "signal", + "description": [], + "signature": [ + "AbortSignal" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.AddExceptionListProps", + "type": "Interface", + "tags": [], + "label": "AddExceptionListProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.AddExceptionListProps.http", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "HttpStart" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.AddExceptionListProps.list", + "type": "CompoundType", + "tags": [], + "label": "list", + "description": [], + "signature": [ + "{ description: string; name: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; } & { list_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; version?: number | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.AddExceptionListProps.signal", + "type": "Object", + "tags": [], + "label": "signal", + "description": [], + "signature": [ + "AbortSignal" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallByIdProps", + "type": "Interface", + "tags": [], + "label": "ApiCallByIdProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallByIdProps.http", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "HttpStart" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallByIdProps.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallByIdProps.namespaceType", + "type": "CompoundType", + "tags": [], + "label": "namespaceType", + "description": [], + "signature": [ + "\"single\" | \"agnostic\"" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallByIdProps.signal", + "type": "Object", + "tags": [], + "label": "signal", + "description": [], + "signature": [ + "AbortSignal" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallByListIdProps", + "type": "Interface", + "tags": [], + "label": "ApiCallByListIdProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallByListIdProps.http", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "HttpStart" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallByListIdProps.listIds", + "type": "Array", + "tags": [], + "label": "listIds", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallByListIdProps.namespaceTypes", + "type": "Array", + "tags": [], + "label": "namespaceTypes", + "description": [], + "signature": [ + "(\"single\" | \"agnostic\")[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallByListIdProps.filterOptions", + "type": "Array", + "tags": [], + "label": "filterOptions", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.FilterExceptionsOptions", + "text": "FilterExceptionsOptions" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallByListIdProps.pagination", + "type": "Object", + "tags": [], + "label": "pagination", + "description": [], + "signature": [ + "{ page?: number | undefined; perPage?: number | undefined; total?: number | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallByListIdProps.signal", + "type": "Object", + "tags": [], + "label": "signal", + "description": [], + "signature": [ + "AbortSignal" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFetchExceptionListsProps", + "type": "Interface", + "tags": [], + "label": "ApiCallFetchExceptionListsProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFetchExceptionListsProps.http", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "HttpStart" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFetchExceptionListsProps.namespaceTypes", + "type": "string", + "tags": [], + "label": "namespaceTypes", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFetchExceptionListsProps.pagination", + "type": "Object", + "tags": [], + "label": "pagination", + "description": [], + "signature": [ + "{ page?: number | undefined; perPage?: number | undefined; total?: number | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFetchExceptionListsProps.filters", + "type": "string", + "tags": [], + "label": "filters", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFetchExceptionListsProps.signal", + "type": "Object", + "tags": [], + "label": "signal", + "description": [], + "signature": [ + "AbortSignal" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFindListsItemsMemoProps", + "type": "Interface", + "tags": [], + "label": "ApiCallFindListsItemsMemoProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFindListsItemsMemoProps.lists", + "type": "Array", + "tags": [], + "label": "lists", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExceptionListIdentifiers", + "text": "ExceptionListIdentifiers" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFindListsItemsMemoProps.filterOptions", + "type": "Array", + "tags": [], + "label": "filterOptions", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.FilterExceptionsOptions", + "text": "FilterExceptionsOptions" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFindListsItemsMemoProps.pagination", + "type": "Object", + "tags": [], + "label": "pagination", + "description": [], + "signature": [ + "{ page?: number | undefined; perPage?: number | undefined; total?: number | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFindListsItemsMemoProps.showDetectionsListsOnly", + "type": "boolean", + "tags": [], + "label": "showDetectionsListsOnly", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFindListsItemsMemoProps.showEndpointListsOnly", + "type": "boolean", + "tags": [], + "label": "showEndpointListsOnly", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFindListsItemsMemoProps.onError", + "type": "Function", + "tags": [], + "label": "onError", + "description": [], + "signature": [ + "(arg: string[]) => void" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFindListsItemsMemoProps.onError.$1", + "type": "Array", + "tags": [], + "label": "arg", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFindListsItemsMemoProps.onSuccess", + "type": "Function", + "tags": [], + "label": "onSuccess", + "description": [], + "signature": [ + "(arg: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UseExceptionListItemsSuccess", + "text": "UseExceptionListItemsSuccess" + }, + ") => void" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFindListsItemsMemoProps.onSuccess.$1", + "type": "Object", + "tags": [], + "label": "arg", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UseExceptionListItemsSuccess", + "text": "UseExceptionListItemsSuccess" + } + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallMemoProps", + "type": "Interface", + "tags": [], + "label": "ApiCallMemoProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallMemoProps.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallMemoProps.namespaceType", + "type": "CompoundType", + "tags": [], + "label": "namespaceType", + "description": [], + "signature": [ + "\"single\" | \"agnostic\"" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallMemoProps.onError", + "type": "Function", + "tags": [], + "label": "onError", + "description": [], + "signature": [ + "(arg: Error) => void" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallMemoProps.onError.$1", + "type": "Object", + "tags": [], + "label": "arg", + "description": [], + "signature": [ + "Error" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallMemoProps.onSuccess", + "type": "Function", + "tags": [], + "label": "onSuccess", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiListExportProps", + "type": "Interface", + "tags": [], + "label": "ApiListExportProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiListExportProps.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiListExportProps.listId", + "type": "string", + "tags": [], + "label": "listId", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiListExportProps.namespaceType", + "type": "CompoundType", + "tags": [], + "label": "namespaceType", + "description": [], + "signature": [ + "\"single\" | \"agnostic\"" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiListExportProps.onError", + "type": "Function", + "tags": [], + "label": "onError", + "description": [], + "signature": [ + "(err: Error) => void" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiListExportProps.onError.$1", + "type": "Object", + "tags": [], + "label": "err", + "description": [], + "signature": [ + "Error" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiListExportProps.onSuccess", + "type": "Function", + "tags": [], + "label": "onSuccess", + "description": [], + "signature": [ + "(blob: Blob) => void" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiListExportProps.onSuccess.$1", + "type": "Object", + "tags": [], + "label": "blob", + "description": [], + "signature": [ + "Blob" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionList", + "type": "Interface", + "tags": [], + "label": "ExceptionList", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExceptionList", + "text": "ExceptionList" + }, + " extends { _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionList.totalItems", + "type": "number", + "tags": [], + "label": "totalItems", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListFilter", + "type": "Interface", + "tags": [], + "label": "ExceptionListFilter", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListFilter.name", + "type": "CompoundType", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListFilter.list_id", + "type": "CompoundType", + "tags": [], + "label": "list_id", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListFilter.created_by", + "type": "CompoundType", + "tags": [], + "label": "created_by", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListFilter.type", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListFilter.tags", + "type": "CompoundType", + "tags": [], + "label": "tags", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListIdentifiers", + "type": "Interface", + "tags": [], + "label": "ExceptionListIdentifiers", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListIdentifiers.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListIdentifiers.listId", + "type": "string", + "tags": [], + "label": "listId", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListIdentifiers.namespaceType", + "type": "CompoundType", + "tags": [], + "label": "namespaceType", + "description": [], + "signature": [ + "\"single\" | \"agnostic\"" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListIdentifiers.type", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExportExceptionListProps", + "type": "Interface", + "tags": [], + "label": "ExportExceptionListProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExportExceptionListProps.http", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "HttpStart" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExportExceptionListProps.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExportExceptionListProps.listId", + "type": "string", + "tags": [], + "label": "listId", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExportExceptionListProps.namespaceType", + "type": "CompoundType", + "tags": [], + "label": "namespaceType", + "description": [], + "signature": [ + "\"single\" | \"agnostic\"" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExportExceptionListProps.signal", + "type": "Object", + "tags": [], + "label": "signal", + "description": [], + "signature": [ + "AbortSignal" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FilterExceptionsOptions", + "type": "Interface", + "tags": [], + "label": "FilterExceptionsOptions", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FilterExceptionsOptions.filter", + "type": "string", + "tags": [], + "label": "filter", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FilterExceptionsOptions.tags", + "type": "Array", + "tags": [], + "label": "tags", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Pagination", + "type": "Interface", + "tags": [], + "label": "Pagination", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Pagination.page", + "type": "number", + "tags": [], + "label": "page", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Pagination.perPage", + "type": "number", + "tags": [], + "label": "perPage", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Pagination.total", + "type": "number", + "tags": [], + "label": "total", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.PersistHookProps", + "type": "Interface", + "tags": [], + "label": "PersistHookProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.PersistHookProps.http", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "HttpStart" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.PersistHookProps.onError", + "type": "Function", + "tags": [], + "label": "onError", + "description": [], + "signature": [ + "(arg: Error) => void" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.PersistHookProps.onError.$1", + "type": "Object", + "tags": [], + "label": "arg", + "description": [], + "signature": [ + "Error" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateExceptionListItemProps", + "type": "Interface", + "tags": [], + "label": "UpdateExceptionListItemProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateExceptionListItemProps.http", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "HttpStart" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateExceptionListItemProps.listItem", + "type": "CompoundType", + "tags": [], + "label": "listItem", + "description": [], + "signature": [ + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateExceptionListItemProps.signal", + "type": "Object", + "tags": [], + "label": "signal", + "description": [], + "signature": [ + "AbortSignal" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateExceptionListProps", + "type": "Interface", + "tags": [], + "label": "UpdateExceptionListProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateExceptionListProps.http", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "HttpStart" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateExceptionListProps.list", + "type": "CompoundType", + "tags": [], + "label": "list", + "description": [], + "signature": [ + "{ description: string; name: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; } & { _version?: string | undefined; id?: string | undefined; list_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; version?: number | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateExceptionListProps.signal", + "type": "Object", + "tags": [], + "label": "signal", + "description": [], + "signature": [ + "AbortSignal" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListItemsSuccess", + "type": "Interface", + "tags": [], + "label": "UseExceptionListItemsSuccess", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListItemsSuccess.exceptions", + "type": "Array", + "tags": [], + "label": "exceptions", + "description": [], + "signature": [ + "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListItemsSuccess.pagination", + "type": "Object", + "tags": [], + "label": "pagination", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.Pagination", + "text": "Pagination" + } + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListProps", + "type": "Interface", + "tags": [], + "label": "UseExceptionListProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListProps.http", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "HttpStart" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListProps.lists", + "type": "Array", + "tags": [], + "label": "lists", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExceptionListIdentifiers", + "text": "ExceptionListIdentifiers" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListProps.onError", + "type": "Function", + "tags": [], + "label": "onError", + "description": [], + "signature": [ + "((arg: string[]) => void) | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListProps.onError.$1", + "type": "Array", + "tags": [], + "label": "arg", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListProps.filterOptions", + "type": "Array", + "tags": [], + "label": "filterOptions", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.FilterExceptionsOptions", + "text": "FilterExceptionsOptions" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListProps.pagination", + "type": "Object", + "tags": [], + "label": "pagination", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.Pagination", + "text": "Pagination" + }, + " | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListProps.showDetectionsListsOnly", + "type": "boolean", + "tags": [], + "label": "showDetectionsListsOnly", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListProps.showEndpointListsOnly", + "type": "boolean", + "tags": [], + "label": "showEndpointListsOnly", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListProps.matchFilters", + "type": "boolean", + "tags": [], + "label": "matchFilters", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListProps.onSuccess", + "type": "Function", + "tags": [], + "label": "onSuccess", + "description": [], + "signature": [ + "((arg: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UseExceptionListItemsSuccess", + "text": "UseExceptionListItemsSuccess" + }, + ") => void) | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListProps.onSuccess.$1", + "type": "Object", + "tags": [], + "label": "arg", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UseExceptionListItemsSuccess", + "text": "UseExceptionListItemsSuccess" + } + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListsProps", + "type": "Interface", + "tags": [], + "label": "UseExceptionListsProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListsProps.errorMessage", + "type": "string", + "tags": [], + "label": "errorMessage", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListsProps.filterOptions", + "type": "Object", + "tags": [], + "label": "filterOptions", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExceptionListFilter", + "text": "ExceptionListFilter" + }, + " | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListsProps.http", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "HttpStart" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListsProps.namespaceTypes", + "type": "Array", + "tags": [], + "label": "namespaceTypes", + "description": [], + "signature": [ + "(\"single\" | \"agnostic\")[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListsProps.notifications", + "type": "Any", + "tags": [], + "label": "notifications", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListsProps.initialPagination", + "type": "Object", + "tags": [], + "label": "initialPagination", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.Pagination", + "text": "Pagination" + }, + " | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListsProps.showTrustedApps", + "type": "boolean", + "tags": [], + "label": "showTrustedApps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListsProps.showEventFilters", + "type": "boolean", + "tags": [], + "label": "showEventFilters", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListsSuccess", + "type": "Interface", + "tags": [], + "label": "UseExceptionListsSuccess", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListsSuccess.exceptions", + "type": "Array", + "tags": [], + "label": "exceptions", + "description": [], + "signature": [ + "{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; }[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListsSuccess.pagination", + "type": "Object", + "tags": [], + "label": "pagination", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.Pagination", + "text": "Pagination" + } + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListTypeEnum", + "type": "Enum", + "tags": [], + "label": "ExceptionListTypeEnum", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/exception_list/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ListOperatorEnum", + "type": "Enum", + "tags": [], + "label": "ListOperatorEnum", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/list_operator/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ListOperatorTypeEnum", + "type": "Enum", + "tags": [], + "label": "ListOperatorTypeEnum", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/list_operator/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "misc": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common._VersionOrUndefined", + "type": "Type", + "tags": [], + "label": "_VersionOrUndefined", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/underscore_version/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.AcknowledgeSchema", + "type": "Type", + "tags": [], + "label": "AcknowledgeSchema", + "description": [], + "signature": [ + "{ acknowledged: boolean; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/acknowledge_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.AddExceptionList", + "type": "Type", + "tags": [], + "label": "AddExceptionList", + "description": [], + "signature": [ + "({ description: string; name: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; } & { list_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; version?: number | undefined; }) | ({ description: string; name: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; } & { _version?: string | undefined; id?: string | undefined; list_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; version?: number | undefined; })" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Comment", + "type": "Type", + "tags": [], + "label": "Comment", + "description": [], + "signature": [ + "{ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CommentsArray", + "type": "Type", + "tags": [], + "label": "CommentsArray", + "description": [], + "signature": [ + "({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CommentsArrayOrUndefined", + "type": "Type", + "tags": [], + "label": "CommentsArrayOrUndefined", + "description": [], + "signature": [ + "({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateComment", + "type": "Type", + "tags": [], + "label": "CreateComment", + "description": [], + "signature": [ + "{ comment: string; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/create_comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateComments", + "type": "Type", + "tags": [], + "label": "CreateComments", + "description": [], + "signature": [ + "{ comment: string; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/create_comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateCommentsArray", + "type": "Type", + "tags": [], + "label": "CreateCommentsArray", + "description": [], + "signature": [ + "{ comment: string; }[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/create_comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateCommentsArrayOrUndefined", + "type": "Type", + "tags": [], + "label": "CreateCommentsArrayOrUndefined", + "description": [], + "signature": [ + "{ comment: string; }[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/create_comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateEndpointListItemSchema", + "type": "Type", + "tags": [], + "label": "CreateEndpointListItemSchema", + "description": [], + "signature": [ + "{ description: string; entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; } | { entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateEndpointListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "CreateEndpointListItemSchemaDecoded", + "description": [], + "signature": [ + "Pick<{ description: string; entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; } | { entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; comments: { comment: string; }[] | undefined; item_id: string | undefined; meta: object | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; }, \"type\" | \"description\" | \"name\" | \"meta\"> & { comments: { comment: string; }[]; tags: string[]; item_id: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateEndpointListSchema", + "type": "Type", + "tags": [], + "label": "CreateEndpointListSchema", + "description": [], + "signature": [ + "{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; } | {}" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/create_endpoint_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateExceptionListItemSchema", + "type": "Type", + "tags": [], + "label": "CreateExceptionListItemSchema", + "description": [], + "signature": [ + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateExceptionListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "CreateExceptionListItemSchemaDecoded", + "description": [], + "signature": [ + "Pick<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; comments: { comment: string; }[] | undefined; item_id: string | undefined; meta: object | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; }, \"type\" | \"description\" | \"name\" | \"meta\" | \"list_id\" | \"os_types\"> & { comments: { comment: string; }[]; tags: string[]; item_id: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateExceptionListSchema", + "type": "Type", + "tags": [], + "label": "CreateExceptionListSchema", + "description": [], + "signature": [ + "{ description: string; name: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; } & { list_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; version?: number | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateExceptionListSchemaDecoded", + "type": "Type", + "tags": [], + "label": "CreateExceptionListSchemaDecoded", + "description": [], + "signature": [ + "Pick<{ description: string; name: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; list_id: string | undefined; meta: object | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; version: number | undefined; }, \"type\" | \"description\" | \"name\" | \"version\" | \"meta\"> & { tags: string[]; list_id: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; version: number; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateListItemSchema", + "type": "Type", + "tags": [], + "label": "CreateListItemSchema", + "description": [], + "signature": [ + "{ list_id: string; value: string; } & { id?: string | undefined; meta?: object | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "CreateListItemSchemaDecoded", + "description": [], + "signature": [ + "{ list_id: string; value: string; id: string | undefined; meta: object | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateListSchema", + "type": "Type", + "tags": [], + "label": "CreateListSchema", + "description": [], + "signature": [ + "{ description: string; name: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; } & { deserializer?: string | undefined; id?: string | undefined; meta?: object | undefined; serializer?: string | undefined; version?: number | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateListSchemaDecoded", + "type": "Type", + "tags": [], + "label": "CreateListSchemaDecoded", + "description": [], + "signature": [ + "{ type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; id: string | undefined; description: string; name: string; meta: object | undefined; serializer: string | undefined; deserializer: string | undefined; } & { version: number; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Cursor", + "type": "Type", + "tags": [], + "label": "Cursor", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/cursor/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CursorOrUndefined", + "type": "Type", + "tags": [], + "label": "CursorOrUndefined", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/cursor/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DefaultNamespaceArrayType", + "type": "Type", + "tags": [], + "label": "DefaultNamespaceArrayType", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/default_namespace_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DefaultNamespaceArrayTypeDecoded", + "type": "Type", + "tags": [], + "label": "DefaultNamespaceArrayTypeDecoded", + "description": [], + "signature": [ + "(\"single\" | \"agnostic\")[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/default_namespace_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DeleteEndpointListItemSchema", + "type": "Type", + "tags": [], + "label": "DeleteEndpointListItemSchema", + "description": [], + "signature": [ + "{ id?: string | undefined; item_id?: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DeleteEndpointListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "DeleteEndpointListItemSchemaDecoded", + "description": [], + "signature": [ + "{ id: string | undefined; item_id: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DeleteExceptionListItemSchema", + "type": "Type", + "tags": [], + "label": "DeleteExceptionListItemSchema", + "description": [], + "signature": [ + "{ id?: string | undefined; item_id?: string | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DeleteExceptionListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "DeleteExceptionListItemSchemaDecoded", + "description": [], + "signature": [ + "Pick<{ id: string | undefined; item_id: string | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; }, \"id\" | \"item_id\"> & { namespace_type: \"single\" | \"agnostic\"; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DeleteExceptionListSchema", + "type": "Type", + "tags": [], + "label": "DeleteExceptionListSchema", + "description": [], + "signature": [ + "{ id?: string | undefined; list_id?: string | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DeleteExceptionListSchemaDecoded", + "type": "Type", + "tags": [], + "label": "DeleteExceptionListSchemaDecoded", + "description": [], + "signature": [ + "Pick<{ id: string | undefined; list_id: string | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; }, \"id\" | \"list_id\"> & { namespace_type: \"single\" | \"agnostic\"; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DeleteListItemSchema", + "type": "Type", + "tags": [], + "label": "DeleteListItemSchema", + "description": [], + "signature": [ + "{ value: string | undefined; } & { id?: string | undefined; list_id?: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DeleteListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "DeleteListItemSchemaDecoded", + "description": [], + "signature": [ + "{ value: string | undefined; id: string | undefined; list_id: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DeleteListSchema", + "type": "Type", + "tags": [], + "label": "DeleteListSchema", + "description": [], + "signature": [ + "{ id: string; deleteReferences: boolean | undefined; ignoreReferences: boolean | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DeleteListSchemaEncoded", + "type": "Type", + "tags": [], + "label": "DeleteListSchemaEncoded", + "description": [], + "signature": [ + "{ id: string; } & { deleteReferences?: string | boolean | undefined; ignoreReferences?: string | boolean | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Description", + "type": "Type", + "tags": [], + "label": "Description", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/description/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DescriptionOrUndefined", + "type": "Type", + "tags": [], + "label": "DescriptionOrUndefined", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/description/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Deserializer", + "type": "Type", + "tags": [], + "label": "Deserializer", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/deserializer/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DeserializerOrUndefined", + "type": "Type", + "tags": [], + "label": "DeserializerOrUndefined", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/deserializer/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.EndpointEntriesArray", + "type": "Type", + "tags": [], + "label": "EndpointEntriesArray", + "description": [], + "signature": [ + "({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; } | { entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/endpoint/entries/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.EndpointNestedEntriesArray", + "type": "Type", + "tags": [], + "label": "EndpointNestedEntriesArray", + "description": [], + "signature": [ + "({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/endpoint/non_empty_nested_entries_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.EntriesArray", + "type": "Type", + "tags": [], + "label": "EntriesArray", + "description": [], + "signature": [ + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entries/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.EntriesArrayOrUndefined", + "type": "Type", + "tags": [], + "label": "EntriesArrayOrUndefined", + "description": [], + "signature": [ + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entries/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Entry", + "type": "Type", + "tags": [], + "label": "Entry", + "description": [], + "signature": [ + "{ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entries/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.EntryExists", + "type": "Type", + "tags": [], + "label": "EntryExists", + "description": [], + "signature": [ + "{ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entries_exist/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.EntryList", + "type": "Type", + "tags": [], + "label": "EntryList", + "description": [], + "signature": [ + "{ field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entries_list/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.EntryMatch", + "type": "Type", + "tags": [], + "label": "EntryMatch", + "description": [], + "signature": [ + "{ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entry_match/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.EntryMatchAny", + "type": "Type", + "tags": [], + "label": "EntryMatchAny", + "description": [], + "signature": [ + "{ field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entry_match_any/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.EntryMatchWildcard", + "type": "Type", + "tags": [], + "label": "EntryMatchWildcard", + "description": [], + "signature": [ + "{ field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entry_match_wildcard/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.EntryNested", + "type": "Type", + "tags": [], + "label": "EntryNested", + "description": [], + "signature": [ + "{ entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entry_nested/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListItemSchema", + "type": "Type", + "tags": [], + "label": "ExceptionListItemSchema", + "description": [], + "signature": [ + "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListItemType", + "type": "Type", + "tags": [], + "label": "ExceptionListItemType", + "description": [], + "signature": [ + "\"simple\"" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/exception_list_item_type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListItemTypeOrUndefined", + "type": "Type", + "tags": [], + "label": "ExceptionListItemTypeOrUndefined", + "description": [], + "signature": [ + "\"simple\" | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/exception_list_item_type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListSchema", + "type": "Type", + "tags": [], + "label": "ExceptionListSchema", + "description": [], + "signature": [ + "{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListSummarySchema", + "type": "Type", + "tags": [], + "label": "ExceptionListSummarySchema", + "description": [], + "signature": [ + "{ windows: number; linux: number; macos: number; total: number; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/exception_list_summary_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListType", + "type": "Type", + "tags": [], + "label": "ExceptionListType", + "description": [], + "signature": [ + "\"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/exception_list/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListTypeOrUndefined", + "type": "Type", + "tags": [], + "label": "ExceptionListTypeOrUndefined", + "description": [], + "signature": [ + "\"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\" | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/exception_list/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExportExceptionListQuerySchema", + "type": "Type", + "tags": [], + "label": "ExportExceptionListQuerySchema", + "description": [], + "signature": [ + "{ id: string; list_id: string; namespace_type: \"single\" | \"agnostic\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/export_exception_list_query_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExportListItemQuerySchema", + "type": "Type", + "tags": [], + "label": "ExportListItemQuerySchema", + "description": [], + "signature": [ + "{ list_id: string; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/export_list_item_query_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExportListItemQuerySchemaEncoded", + "type": "Type", + "tags": [], + "label": "ExportListItemQuerySchemaEncoded", + "description": [], + "signature": [ + "{ list_id: string; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/export_list_item_query_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Filter", + "type": "Type", + "tags": [], + "label": "Filter", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/filter/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FilterOrUndefined", + "type": "Type", + "tags": [], + "label": "FilterOrUndefined", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/filter/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FindEndpointListItemSchema", + "type": "Type", + "tags": [], + "label": "FindEndpointListItemSchema", + "description": [], + "signature": [ + "{ filter?: string | undefined; page?: string | undefined; per_page?: string | undefined; sort_field?: string | undefined; sort_order?: \"asc\" | \"desc\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FindEndpointListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "FindEndpointListItemSchemaDecoded", + "description": [], + "signature": [ + "{ filter: string | undefined; page: number | undefined; per_page: number | undefined; sort_field: string | undefined; sort_order: \"asc\" | \"desc\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FindExceptionListItemSchema", + "type": "Type", + "tags": [], + "label": "FindExceptionListItemSchema", + "description": [], + "signature": [ + "{ list_id: string; } & { filter?: string | null | undefined; namespace_type?: string | null | undefined; page?: string | undefined; per_page?: string | undefined; sort_field?: string | undefined; sort_order?: \"asc\" | \"desc\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FindExceptionListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "FindExceptionListItemSchemaDecoded", + "description": [], + "signature": [ + "Pick<{ list_id: string[]; filter: string[] | undefined; namespace_type: (\"single\" | \"agnostic\")[] | undefined; page: number | undefined; per_page: number | undefined; sort_field: string | undefined; sort_order: \"asc\" | \"desc\" | undefined; }, \"page\" | \"per_page\" | \"sort_field\" | \"sort_order\" | \"list_id\"> & { filter: string[]; namespace_type: (\"single\" | \"agnostic\")[]; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FindExceptionListSchema", + "type": "Type", + "tags": [], + "label": "FindExceptionListSchema", + "description": [], + "signature": [ + "{ filter?: string | undefined; namespace_type?: string | null | undefined; page?: string | undefined; per_page?: string | undefined; sort_field?: string | undefined; sort_order?: \"asc\" | \"desc\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FindExceptionListSchemaDecoded", + "type": "Type", + "tags": [], + "label": "FindExceptionListSchemaDecoded", + "description": [], + "signature": [ + "Pick<{ filter: string | undefined; namespace_type: (\"single\" | \"agnostic\")[] | undefined; page: number | undefined; per_page: number | undefined; sort_field: string | undefined; sort_order: \"asc\" | \"desc\" | undefined; }, \"filter\" | \"page\" | \"per_page\" | \"sort_field\" | \"sort_order\"> & { namespace_type: (\"single\" | \"agnostic\")[]; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FindListItemSchema", + "type": "Type", + "tags": [], + "label": "FindListItemSchema", + "description": [], + "signature": [ + "{ list_id: string; } & { cursor?: string | undefined; filter?: string | undefined; page?: string | undefined; per_page?: string | undefined; sort_field?: string | undefined; sort_order?: \"asc\" | \"desc\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FindListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "FindListItemSchemaDecoded", + "description": [], + "signature": [ + "{ list_id: string; cursor: string | undefined; filter: string | undefined; page: number | undefined; per_page: number | undefined; sort_field: string | undefined; sort_order: \"asc\" | \"desc\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FindListSchema", + "type": "Type", + "tags": [], + "label": "FindListSchema", + "description": [], + "signature": [ + "{ cursor: string | undefined; filter: string | undefined; page: number | undefined; per_page: number | undefined; sort_field: string | undefined; sort_order: \"asc\" | \"desc\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FindListSchemaEncoded", + "type": "Type", + "tags": [], + "label": "FindListSchemaEncoded", + "description": [], + "signature": [ + "{ cursor?: string | undefined; filter?: string | undefined; page?: string | undefined; per_page?: string | undefined; sort_field?: string | undefined; sort_order?: \"asc\" | \"desc\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FoundExceptionListItemSchema", + "type": "Type", + "tags": [], + "label": "FoundExceptionListItemSchema", + "description": [], + "signature": [ + "{ data: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]; page: number; per_page: number; total: number; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/found_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FoundExceptionListSchema", + "type": "Type", + "tags": [], + "label": "FoundExceptionListSchema", + "description": [], + "signature": [ + "{ data: { _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; }[]; page: number; per_page: number; total: number; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/found_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FoundListItemSchema", + "type": "Type", + "tags": [], + "label": "FoundListItemSchema", + "description": [], + "signature": [ + "{ cursor: string; data: { _version: string | undefined; created_at: string; created_by: string; deserializer: string | undefined; id: string; list_id: string; meta: object | undefined; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; value: string; }[]; page: number; per_page: number; total: number; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/found_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FoundListSchema", + "type": "Type", + "tags": [], + "label": "FoundListSchema", + "description": [], + "signature": [ + "{ cursor: string; data: { _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }[]; page: number; per_page: number; total: number; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/found_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Id", + "type": "Type", + "tags": [], + "label": "Id", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.IdOrUndefined", + "type": "Type", + "tags": [], + "label": "IdOrUndefined", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Immutable", + "type": "Type", + "tags": [], + "label": "Immutable", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/immutable/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ImmutableOrUndefined", + "type": "Type", + "tags": [], + "label": "ImmutableOrUndefined", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/immutable/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ImportListItemQuerySchema", + "type": "Type", + "tags": [], + "label": "ImportListItemQuerySchema", + "description": [], + "signature": [ + "{ deserializer: string | undefined; list_id: string | undefined; serializer: string | undefined; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/import_list_item_query_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ImportListItemQuerySchemaEncoded", + "type": "Type", + "tags": [], + "label": "ImportListItemQuerySchemaEncoded", + "description": [], + "signature": [ + "{ deserializer?: string | undefined; list_id?: string | undefined; serializer?: string | undefined; type?: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/import_list_item_query_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ImportListItemSchema", + "type": "Type", + "tags": [], + "label": "ImportListItemSchema", + "description": [], + "signature": [ + "{ file: object; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/import_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ImportListItemSchemaEncoded", + "type": "Type", + "tags": [], + "label": "ImportListItemSchemaEncoded", + "description": [], + "signature": [ + "{ file: object; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/import_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ItemId", + "type": "Type", + "tags": [], + "label": "ItemId", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/item_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ItemIdOrUndefined", + "type": "Type", + "tags": [], + "label": "ItemIdOrUndefined", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/item_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.List", + "type": "Type", + "tags": [], + "label": "List", + "description": [], + "signature": [ + "{ id: string; list_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; namespace_type: \"single\" | \"agnostic\"; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/lists/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ListArray", + "type": "Type", + "tags": [], + "label": "ListArray", + "description": [], + "signature": [ + "{ id: string; list_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; namespace_type: \"single\" | \"agnostic\"; }[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/lists/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ListArrayOrUndefined", + "type": "Type", + "tags": [], + "label": "ListArrayOrUndefined", + "description": [], + "signature": [ + "{ id: string; list_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; namespace_type: \"single\" | \"agnostic\"; }[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/lists/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ListArraySchema", + "type": "Type", + "tags": [], + "label": "ListArraySchema", + "description": [], + "signature": [ + "{ _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ListId", + "type": "Type", + "tags": [], + "label": "ListId", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/list_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ListIdOrUndefined", + "type": "Type", + "tags": [], + "label": "ListIdOrUndefined", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/list_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ListItemArraySchema", + "type": "Type", + "tags": [], + "label": "ListItemArraySchema", + "description": [], + "signature": [ + "{ _version: string | undefined; created_at: string; created_by: string; deserializer: string | undefined; id: string; list_id: string; meta: object | undefined; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; value: string; }[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ListItemIndexExistSchema", + "type": "Type", + "tags": [], + "label": "ListItemIndexExistSchema", + "description": [], + "signature": [ + "{ list_index: boolean; list_item_index: boolean; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/list_item_index_exist_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ListItemSchema", + "type": "Type", + "tags": [], + "label": "ListItemSchema", + "description": [], + "signature": [ + "{ _version: string | undefined; created_at: string; created_by: string; deserializer: string | undefined; id: string; list_id: string; meta: object | undefined; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; value: string; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ListOperator", + "type": "Type", + "tags": [], + "label": "ListOperator", + "description": [], + "signature": [ + "\"excluded\" | \"included\"" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/list_operator/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ListSchema", + "type": "Type", + "tags": [], + "label": "ListSchema", + "description": [], + "signature": [ + "{ _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ListType", + "type": "Type", + "tags": [], + "label": "ListType", + "description": [], + "signature": [ + "\"list\" | \"item\"" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/list_type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Meta", + "type": "Type", + "tags": [], + "label": "Meta", + "description": [], + "signature": [ + "object" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/meta/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.MetaOrUndefined", + "type": "Type", + "tags": [], + "label": "MetaOrUndefined", + "description": [], + "signature": [ + "object | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/meta/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Name", + "type": "Type", + "tags": [], + "label": "Name", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/name/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.NameOrUndefined", + "type": "Type", + "tags": [], + "label": "NameOrUndefined", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/name/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.NamespaceType", + "type": "Type", + "tags": [], + "label": "NamespaceType", + "description": [], + "signature": [ + "\"single\" | \"agnostic\"" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/default_namespace/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.NamespaceTypeArray", + "type": "Type", + "tags": [], + "label": "NamespaceTypeArray", + "description": [], + "signature": [ + "(\"single\" | \"agnostic\")[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/default_namespace_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.NestedEntriesArray", + "type": "Type", + "tags": [], + "label": "NestedEntriesArray", + "description": [], + "signature": [ + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/non_empty_nested_entries_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.NonEmptyEndpointEntriesArray", + "type": "Type", + "tags": [], + "label": "NonEmptyEndpointEntriesArray", + "description": [], + "signature": [ + "({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; } | { entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/endpoint/entries/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.NonEmptyEndpointEntriesArrayDecoded", + "type": "Type", + "tags": [], + "label": "NonEmptyEndpointEntriesArrayDecoded", + "description": [], + "signature": [ + "({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; } | { entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/endpoint/entries/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.NonEmptyEndpointNestedEntriesArray", + "type": "Type", + "tags": [], + "label": "NonEmptyEndpointNestedEntriesArray", + "description": [], + "signature": [ + "({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/endpoint/non_empty_nested_entries_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.NonEmptyEndpointNestedEntriesArrayDecoded", + "type": "Type", + "tags": [], + "label": "NonEmptyEndpointNestedEntriesArrayDecoded", + "description": [], + "signature": [ + "({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/endpoint/non_empty_nested_entries_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.NonEmptyEntriesArray", + "type": "Type", + "tags": [], + "label": "NonEmptyEntriesArray", + "description": [], + "signature": [ + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/non_empty_entries_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.NonEmptyEntriesArrayDecoded", + "type": "Type", + "tags": [], + "label": "NonEmptyEntriesArrayDecoded", + "description": [], + "signature": [ + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/non_empty_entries_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.NonEmptyNestedEntriesArray", + "type": "Type", + "tags": [], + "label": "NonEmptyNestedEntriesArray", + "description": [], + "signature": [ + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/non_empty_nested_entries_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.NonEmptyNestedEntriesArrayDecoded", + "type": "Type", + "tags": [], + "label": "NonEmptyNestedEntriesArrayDecoded", + "description": [], + "signature": [ + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/non_empty_nested_entries_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.OsType", + "type": "Type", + "tags": [], + "label": "OsType", + "description": [], + "signature": [ + "\"windows\" | \"linux\" | \"macos\"" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/os_type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.OsTypeArray", + "type": "Type", + "tags": [], + "label": "OsTypeArray", + "description": [], + "signature": [ + "(\"windows\" | \"linux\" | \"macos\")[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/os_type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.OsTypeArrayOrUndefined", + "type": "Type", + "tags": [], + "label": "OsTypeArrayOrUndefined", + "description": [], + "signature": [ + "(\"windows\" | \"linux\" | \"macos\")[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/os_type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Page", + "type": "Type", + "tags": [], + "label": "Page", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/page/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.PageOrUndefined", + "type": "Type", + "tags": [], + "label": "PageOrUndefined", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/page/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.PatchListItemSchema", + "type": "Type", + "tags": [], + "label": "PatchListItemSchema", + "description": [], + "signature": [ + "{ id: string; } & { _version?: string | undefined; meta?: object | undefined; value?: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/patch_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.PatchListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "PatchListItemSchemaDecoded", + "description": [], + "signature": [ + "{ id: string; _version: string | undefined; meta: object | undefined; value: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/patch_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.PatchListSchema", + "type": "Type", + "tags": [], + "label": "PatchListSchema", + "description": [], + "signature": [ + "{ id: string; } & { _version?: string | undefined; description?: string | undefined; meta?: object | undefined; name?: string | undefined; version?: number | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/patch_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.PatchListSchemaDecoded", + "type": "Type", + "tags": [], + "label": "PatchListSchemaDecoded", + "description": [], + "signature": [ + "{ id: string; _version: string | undefined; description: string | undefined; meta: object | undefined; name: string | undefined; version: number | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/patch_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.PerPage", + "type": "Type", + "tags": [], + "label": "PerPage", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/per_page/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.PerPageOrUndefined", + "type": "Type", + "tags": [], + "label": "PerPageOrUndefined", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/per_page/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ReadEndpointListItemSchema", + "type": "Type", + "tags": [], + "label": "ReadEndpointListItemSchema", + "description": [], + "signature": [ + "{ id?: string | undefined; item_id?: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/read_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ReadEndpointListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "ReadEndpointListItemSchemaDecoded", + "description": [], + "signature": [ + "{ id: string | undefined; item_id: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/read_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ReadExceptionListItemSchema", + "type": "Type", + "tags": [], + "label": "ReadExceptionListItemSchema", + "description": [], + "signature": [ + "{ id?: string | undefined; item_id?: string | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/read_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ReadExceptionListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "ReadExceptionListItemSchemaDecoded", + "description": [], + "signature": [ + "Pick<{ id: string | undefined; item_id: string | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; }, \"id\" | \"item_id\"> & { namespace_type: \"single\" | \"agnostic\"; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/read_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ReadExceptionListSchema", + "type": "Type", + "tags": [], + "label": "ReadExceptionListSchema", + "description": [], + "signature": [ + "{ id?: string | undefined; list_id?: string | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/read_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ReadExceptionListSchemaDecoded", + "type": "Type", + "tags": [], + "label": "ReadExceptionListSchemaDecoded", + "description": [], + "signature": [ + "Pick<{ id: string | undefined; list_id: string | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; }, \"id\" | \"list_id\"> & { namespace_type: \"single\" | \"agnostic\"; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/read_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ReadListItemSchema", + "type": "Type", + "tags": [], + "label": "ReadListItemSchema", + "description": [], + "signature": [ + "{ id?: string | undefined; list_id?: string | undefined; value?: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/read_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ReadListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "ReadListItemSchemaDecoded", + "description": [], + "signature": [ + "{ id: string | undefined; list_id: string | undefined; value: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/read_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ReadListSchema", + "type": "Type", + "tags": [], + "label": "ReadListSchema", + "description": [], + "signature": [ + "{ id: string; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/read_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.SearchListItemArraySchema", + "type": "Type", + "tags": [], + "label": "SearchListItemArraySchema", + "description": [], + "signature": [ + "{ items: { _version: string | undefined; created_at: string; created_by: string; deserializer: string | undefined; id: string; list_id: string; meta: object | undefined; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; value: string; }[]; value: unknown; }[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/search_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.SearchListItemSchema", + "type": "Type", + "tags": [], + "label": "SearchListItemSchema", + "description": [], + "signature": [ + "{ items: { _version: string | undefined; created_at: string; created_by: string; deserializer: string | undefined; id: string; list_id: string; meta: object | undefined; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; value: string; }[]; value: unknown; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/search_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Serializer", + "type": "Type", + "tags": [], + "label": "Serializer", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/serializer/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.SerializerOrUndefined", + "type": "Type", + "tags": [], + "label": "SerializerOrUndefined", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/serializer/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.SortFieldOrUndefined", + "type": "Type", + "tags": [], + "label": "SortFieldOrUndefined", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/sort_field/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.SortOrderOrUndefined", + "type": "Type", + "tags": [], + "label": "SortOrderOrUndefined", + "description": [], + "signature": [ + "\"asc\" | \"desc\" | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/sort_order/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.SummaryExceptionListSchema", + "type": "Type", + "tags": [], + "label": "SummaryExceptionListSchema", + "description": [], + "signature": [ + "{ id?: string | undefined; list_id?: string | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/summary_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.SummaryExceptionListSchemaDecoded", + "type": "Type", + "tags": [], + "label": "SummaryExceptionListSchemaDecoded", + "description": [], + "signature": [ + "Pick<{ id: string | undefined; list_id: string | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; }, \"id\" | \"list_id\"> & { namespace_type: \"single\" | \"agnostic\"; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/summary_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Tags", + "type": "Type", + "tags": [], + "label": "Tags", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/tags/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.TagsOrUndefined", + "type": "Type", + "tags": [], + "label": "TagsOrUndefined", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/tags/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.TotalOrUndefined", + "type": "Type", + "tags": [], + "label": "TotalOrUndefined", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/total/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Type", + "type": "Type", + "tags": [], + "label": "Type", + "description": [], + "signature": [ + "\"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.TypeOrUndefined", + "type": "Type", + "tags": [], + "label": "TypeOrUndefined", + "description": [], + "signature": [ + "\"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\" | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateComment", + "type": "Type", + "tags": [], + "label": "UpdateComment", + "description": [], + "signature": [ + "{ comment: string; } & { id?: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/update_comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateCommentsArray", + "type": "Type", + "tags": [], + "label": "UpdateCommentsArray", + "description": [], + "signature": [ + "({ comment: string; } & { id?: string | undefined; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/update_comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateCommentsArrayOrUndefined", + "type": "Type", + "tags": [], + "label": "UpdateCommentsArrayOrUndefined", + "description": [], + "signature": [ + "({ comment: string; } & { id?: string | undefined; })[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/update_comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateEndpointListItemSchema", + "type": "Type", + "tags": [], + "label": "UpdateEndpointListItemSchema", + "description": [], + "signature": [ + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateEndpointListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "UpdateEndpointListItemSchemaDecoded", + "description": [], + "signature": [ + "Pick<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; _version: string | undefined; comments: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id: string | undefined; item_id: string | undefined; meta: object | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; }, \"type\" | \"id\" | \"description\" | \"name\" | \"meta\" | \"_version\" | \"os_types\" | \"item_id\"> & { comments: ({ comment: string; } & { id?: string | undefined; })[]; tags: string[]; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateExceptionListItemSchema", + "type": "Type", + "tags": [], + "label": "UpdateExceptionListItemSchema", + "description": [], + "signature": [ + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateExceptionListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "UpdateExceptionListItemSchemaDecoded", + "description": [], + "signature": [ + "Pick<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; _version: string | undefined; comments: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id: string | undefined; item_id: string | undefined; meta: object | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; }, \"type\" | \"id\" | \"description\" | \"name\" | \"meta\" | \"_version\" | \"item_id\"> & { comments: ({ comment: string; } & { id?: string | undefined; })[]; tags: string[]; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateExceptionListSchema", + "type": "Type", + "tags": [], + "label": "UpdateExceptionListSchema", + "description": [], + "signature": [ + "{ description: string; name: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; } & { _version?: string | undefined; id?: string | undefined; list_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; version?: number | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateExceptionListSchemaDecoded", + "type": "Type", + "tags": [], + "label": "UpdateExceptionListSchemaDecoded", + "description": [], + "signature": [ + "Pick<{ description: string; name: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; _version: string | undefined; id: string | undefined; list_id: string | undefined; meta: object | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; version: number | undefined; }, \"type\" | \"id\" | \"description\" | \"name\" | \"version\" | \"tags\" | \"meta\" | \"_version\" | \"list_id\" | \"namespace_type\"> & { tags: string[]; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateListItemSchema", + "type": "Type", + "tags": [], + "label": "UpdateListItemSchema", + "description": [], + "signature": [ + "{ id: string; value: string; } & { _version?: string | undefined; meta?: object | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "UpdateListItemSchemaDecoded", + "description": [], + "signature": [ + "{ id: string; value: string; _version: string | undefined; meta: object | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateListSchema", + "type": "Type", + "tags": [], + "label": "UpdateListSchema", + "description": [], + "signature": [ + "{ description: string; id: string; name: string; } & { _version?: string | undefined; meta?: object | undefined; version?: number | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateListSchemaDecoded", + "type": "Type", + "tags": [], + "label": "UpdateListSchemaDecoded", + "description": [], + "signature": [ + "{ description: string; id: string; name: string; _version: string | undefined; meta: object | undefined; version: number | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common._version", + "type": "Object", + "tags": [], + "label": "_version", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/underscore_version/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common._versionOrUndefined", + "type": "Object", + "tags": [], + "label": "_versionOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/underscore_version/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.acknowledgeSchema", + "type": "Object", + "tags": [], + "label": "acknowledgeSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ acknowledged: ", + "BooleanC", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/acknowledge_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.comment", + "type": "Object", + "tags": [], + "label": "comment", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ comment: ", + "Type", + "; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; id: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.commentsArray", + "type": "Object", + "tags": [], + "label": "commentsArray", + "description": [], + "signature": [ + "ArrayC", + "<", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ comment: ", + "Type", + "; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; id: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; }>>]>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.commentsArrayOrUndefined", + "type": "Object", + "tags": [], + "label": "commentsArrayOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "ArrayC", + "<", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ comment: ", + "Type", + "; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; id: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; }>>]>>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.createComment", + "type": "Object", + "tags": [], + "label": "createComment", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ comment: ", + "Type", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/create_comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.createCommentsArray", + "type": "Object", + "tags": [], + "label": "createCommentsArray", + "description": [], + "signature": [ + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ comment: ", + "Type", + "; }>>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/create_comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.createCommentsArrayOrUndefined", + "type": "Object", + "tags": [], + "label": "createCommentsArrayOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ comment: ", + "Type", + "; }>>>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/create_comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.created_at", + "type": "Object", + "tags": [], + "label": "created_at", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/created_at/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.created_by", + "type": "Object", + "tags": [], + "label": "created_by", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/created_by/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.createEndpointListItemSchema", + "type": "Object", + "tags": [], + "label": "createEndpointListItemSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ description: ", + "StringC", + "; entries: ", + "Type", + "<({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; } | { entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[], ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; } | { entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[], unknown>; name: ", + "StringC", + "; type: ", + "KeyofC", + "<{ simple: null; }>; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ comments: ", + "Type", + "<{ comment: string; }[], { comment: string; }[], unknown>; item_id: ", + "Type", + "; meta: ", + "ObjectC", + "; os_types: ", + "UnionC", + "<[", + "Type", + "<(\"windows\" | \"linux\" | \"macos\")[], (\"windows\" | \"linux\" | \"macos\")[] | undefined, unknown>, ", + "UndefinedC", + "]>; tags: ", + "Type", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.createEndpointListSchema", + "type": "Object", + "tags": [], + "label": "createEndpointListSchema", + "description": [], + "signature": [ + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ _version: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; description: ", + "StringC", + "; id: ", + "Type", + "; immutable: ", + "BooleanC", + "; list_id: ", + "Type", + "; meta: ", + "UnionC", + "<[", + "ObjectC", + ", ", + "UndefinedC", + "]>; name: ", + "StringC", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; os_types: ", + "Type", + "<(\"windows\" | \"linux\" | \"macos\")[], (\"windows\" | \"linux\" | \"macos\")[] | undefined, unknown>; tags: ", + "Type", + "; tie_breaker_id: ", + "StringC", + "; type: ", + "KeyofC", + "<{ detection: null; endpoint: null; endpoint_events: null; endpoint_host_isolation_exceptions: null; }>; updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; version: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{}>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/create_endpoint_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.createExceptionListItemSchema", + "type": "Object", + "tags": [], + "label": "createExceptionListItemSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ description: ", + "StringC", + "; entries: ", + "Type", + "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], unknown>; list_id: ", + "Type", + "; name: ", + "StringC", + "; type: ", + "KeyofC", + "<{ simple: null; }>; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ comments: ", + "Type", + "<{ comment: string; }[], { comment: string; }[], unknown>; item_id: ", + "Type", + "; meta: ", + "ObjectC", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; os_types: ", + "UnionC", + "<[", + "Type", + "<(\"windows\" | \"linux\" | \"macos\")[], (\"windows\" | \"linux\" | \"macos\")[] | undefined, unknown>, ", + "UndefinedC", + "]>; tags: ", + "Type", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.createExceptionListSchema", + "type": "Object", + "tags": [], + "label": "createExceptionListSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ description: ", + "StringC", + "; name: ", + "StringC", + "; type: ", + "KeyofC", + "<{ detection: null; endpoint: null; endpoint_events: null; endpoint_host_isolation_exceptions: null; }>; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ list_id: ", + "Type", + "; meta: ", + "ObjectC", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; os_types: ", + "UnionC", + "<[", + "Type", + "<(\"windows\" | \"linux\" | \"macos\")[], (\"windows\" | \"linux\" | \"macos\")[] | undefined, unknown>, ", + "UndefinedC", + "]>; tags: ", + "Type", + "; version: ", + "Type", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.createListItemSchema", + "type": "Object", + "tags": [], + "label": "createListItemSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ list_id: ", + "Type", + "; value: ", + "StringC", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ id: ", + "Type", + "; meta: ", + "ObjectC", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.createListSchema", + "type": "Object", + "tags": [], + "label": "createListSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ description: ", + "StringC", + "; name: ", + "StringC", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ deserializer: ", + "StringC", + "; id: ", + "Type", + "; meta: ", + "ObjectC", + "; serializer: ", + "StringC", + "; version: ", + "Type", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.cursor", + "type": "Object", + "tags": [], + "label": "cursor", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/cursor/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.cursorOrUndefined", + "type": "Object", + "tags": [], + "label": "cursorOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/cursor/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DefaultListArray", + "type": "Object", + "tags": [], + "label": "DefaultListArray", + "description": [ + "\nTypes the DefaultListArray as:\n - If null or undefined, then a default array of type list will be set" + ], + "signature": [ + "Type", + "<{ id: string; list_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; namespace_type: \"single\" | \"agnostic\"; }[], { id: string; list_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; namespace_type: \"single\" | \"agnostic\"; }[] | undefined, unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/lists_default_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DefaultNamespace", + "type": "Object", + "tags": [], + "label": "DefaultNamespace", + "description": [ + "\nTypes the DefaultNamespace as:\n - If null or undefined, then a default string/enumeration of \"single\" will be used." + ], + "signature": [ + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/default_namespace/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DefaultNamespaceArray", + "type": "Object", + "tags": [], + "label": "DefaultNamespaceArray", + "description": [ + "\nTypes the DefaultNamespaceArray as:\n - If null or undefined, then a default string array of \"single\" will be used.\n - If it contains a string, then it is split along the commas and puts them into an array and validates it" + ], + "signature": [ + "Type", + "<(\"single\" | \"agnostic\")[], string | null | undefined, unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/default_namespace_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.deleteEndpointListItemSchema", + "type": "Object", + "tags": [], + "label": "deleteEndpointListItemSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "PartialC", + "<{ id: ", + "Type", + "; item_id: ", + "Type", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.deleteExceptionListItemSchema", + "type": "Object", + "tags": [], + "label": "deleteExceptionListItemSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "PartialC", + "<{ id: ", + "Type", + "; item_id: ", + "Type", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.deleteExceptionListSchema", + "type": "Object", + "tags": [], + "label": "deleteExceptionListSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "PartialC", + "<{ id: ", + "Type", + "; list_id: ", + "Type", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.deleteListItemSchema", + "type": "Object", + "tags": [], + "label": "deleteListItemSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ value: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ id: ", + "Type", + "; list_id: ", + "Type", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.deleteListSchema", + "type": "Object", + "tags": [], + "label": "deleteListSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ deleteReferences: ", + "Type", + "; ignoreReferences: ", + "Type", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.description", + "type": "Object", + "tags": [], + "label": "description", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/description/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.descriptionOrUndefined", + "type": "Object", + "tags": [], + "label": "descriptionOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/description/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.deserializer", + "type": "Object", + "tags": [], + "label": "deserializer", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/deserializer/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.deserializerOrUndefined", + "type": "Object", + "tags": [], + "label": "deserializerOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/deserializer/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.endpointEntriesArray", + "type": "Object", + "tags": [], + "label": "endpointEntriesArray", + "description": [], + "signature": [ + "ArrayC", + "<", + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ included: null; }>; type: ", + "KeyofC", + "<{ match: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ included: null; }>; type: ", + "KeyofC", + "<{ match_any: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ entries: ", + "Type", + "<({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[], ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[], unknown>; field: ", + "Type", + "; type: ", + "KeyofC", + "<{ nested: null; }>; }>>]>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/endpoint/entries/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.endpointNestedEntriesArray", + "type": "Object", + "tags": [], + "label": "endpointNestedEntriesArray", + "description": [], + "signature": [ + "ArrayC", + "<", + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ included: null; }>; type: ", + "KeyofC", + "<{ match: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ included: null; }>; type: ", + "KeyofC", + "<{ match_any: null; }>; value: ", + "Type", + "; }>>]>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/endpoint/non_empty_nested_entries_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.entriesArray", + "type": "Object", + "tags": [], + "label": "entriesArray", + "description": [], + "signature": [ + "ArrayC", + "<", + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match_any: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; list: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; }>>; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ list: null; }>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ exists: null; }>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ entries: ", + "Type", + "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[], unknown>; field: ", + "Type", + "; type: ", + "KeyofC", + "<{ nested: null; }>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ wildcard: null; }>; value: ", + "Type", + "; }>>]>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entries/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.entriesArrayOrUndefined", + "type": "Object", + "tags": [], + "label": "entriesArrayOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "ArrayC", + "<", + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match_any: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; list: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; }>>; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ list: null; }>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ exists: null; }>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ entries: ", + "Type", + "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[], unknown>; field: ", + "Type", + "; type: ", + "KeyofC", + "<{ nested: null; }>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ wildcard: null; }>; value: ", + "Type", + "; }>>]>>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entries/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.entriesExists", + "type": "Object", + "tags": [], + "label": "entriesExists", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ exists: null; }>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entries_exist/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.entriesList", + "type": "Object", + "tags": [], + "label": "entriesList", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; list: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; }>>; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ list: null; }>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entries_list/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.entriesMatch", + "type": "Object", + "tags": [], + "label": "entriesMatch", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match: null; }>; value: ", + "Type", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entry_match/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.entriesMatchAny", + "type": "Object", + "tags": [], + "label": "entriesMatchAny", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match_any: null; }>; value: ", + "Type", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entry_match_any/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.entriesMatchWildcard", + "type": "Object", + "tags": [], + "label": "entriesMatchWildcard", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ wildcard: null; }>; value: ", + "Type", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entry_match_wildcard/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.entriesNested", + "type": "Object", + "tags": [], + "label": "entriesNested", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ entries: ", + "Type", + "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[], unknown>; field: ", + "Type", + "; type: ", + "KeyofC", + "<{ nested: null; }>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entry_nested/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.entry", + "type": "Object", + "tags": [], + "label": "entry", + "description": [], + "signature": [ + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match_any: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; list: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; }>>; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ list: null; }>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ exists: null; }>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ wildcard: null; }>; value: ", + "Type", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entries/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.exceptionListItemSchema", + "type": "Object", + "tags": [], + "label": "exceptionListItemSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ _version: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; comments: ", + "ArrayC", + "<", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ comment: ", + "Type", + "; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; id: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; }>>]>>; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; description: ", + "StringC", + "; entries: ", + "ArrayC", + "<", + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match_any: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; list: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; }>>; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ list: null; }>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ exists: null; }>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ entries: ", + "Type", + "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[], unknown>; field: ", + "Type", + "; type: ", + "KeyofC", + "<{ nested: null; }>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ wildcard: null; }>; value: ", + "Type", + "; }>>]>>; id: ", + "Type", + "; item_id: ", + "Type", + "; list_id: ", + "Type", + "; meta: ", + "UnionC", + "<[", + "ObjectC", + ", ", + "UndefinedC", + "]>; name: ", + "StringC", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; os_types: ", + "Type", + "<(\"windows\" | \"linux\" | \"macos\")[], (\"windows\" | \"linux\" | \"macos\")[] | undefined, unknown>; tags: ", + "Type", + "; tie_breaker_id: ", + "StringC", + "; type: ", + "KeyofC", + "<{ simple: null; }>; updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.exceptionListItemType", + "type": "Object", + "tags": [], + "label": "exceptionListItemType", + "description": [], + "signature": [ + "KeyofC", + "<{ simple: null; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/exception_list_item_type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.exceptionListItemTypeOrUndefined", + "type": "Object", + "tags": [], + "label": "exceptionListItemTypeOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "KeyofC", + "<{ simple: null; }>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/exception_list_item_type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.exceptionListSchema", + "type": "Object", + "tags": [], + "label": "exceptionListSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ _version: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; description: ", + "StringC", + "; id: ", + "Type", + "; immutable: ", + "BooleanC", + "; list_id: ", + "Type", + "; meta: ", + "UnionC", + "<[", + "ObjectC", + ", ", + "UndefinedC", + "]>; name: ", + "StringC", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; os_types: ", + "Type", + "<(\"windows\" | \"linux\" | \"macos\")[], (\"windows\" | \"linux\" | \"macos\")[] | undefined, unknown>; tags: ", + "Type", + "; tie_breaker_id: ", + "StringC", + "; type: ", + "KeyofC", + "<{ detection: null; endpoint: null; endpoint_events: null; endpoint_host_isolation_exceptions: null; }>; updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; version: ", + "Type", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.exceptionListSummarySchema", + "type": "Object", + "tags": [], + "label": "exceptionListSummarySchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ windows: ", + "Type", + "; linux: ", + "Type", + "; macos: ", + "Type", + "; total: ", + "Type", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/exception_list_summary_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.exceptionListType", + "type": "Object", + "tags": [], + "label": "exceptionListType", + "description": [], + "signature": [ + "KeyofC", + "<{ detection: null; endpoint: null; endpoint_events: null; endpoint_host_isolation_exceptions: null; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/exception_list/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.exceptionListTypeOrUndefined", + "type": "Object", + "tags": [], + "label": "exceptionListTypeOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "KeyofC", + "<{ detection: null; endpoint: null; endpoint_events: null; endpoint_host_isolation_exceptions: null; }>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/exception_list/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.exportExceptionListQuerySchema", + "type": "Object", + "tags": [], + "label": "exportExceptionListQuerySchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; list_id: ", + "Type", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/export_exception_list_query_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.exportListItemQuerySchema", + "type": "Object", + "tags": [], + "label": "exportListItemQuerySchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ list_id: ", + "Type", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/export_list_item_query_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.filter", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/filter/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.filterOrUndefined", + "type": "Object", + "tags": [], + "label": "filterOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/filter/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.findEndpointListItemSchema", + "type": "Object", + "tags": [], + "label": "findEndpointListItemSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "PartialC", + "<{ filter: ", + "StringC", + "; page: ", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, + "; per_page: ", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, + "; sort_field: ", + "StringC", + "; sort_order: ", + "KeyofC", + "<{ asc: null; desc: null; }>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.findExceptionListItemSchema", + "type": "Object", + "tags": [], + "label": "findExceptionListItemSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ list_id: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ filter: ", + "Type", + "; namespace_type: ", + "Type", + "<(\"single\" | \"agnostic\")[], string | null | undefined, unknown>; page: ", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, + "; per_page: ", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, + "; sort_field: ", + "StringC", + "; sort_order: ", + "KeyofC", + "<{ asc: null; desc: null; }>; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.findExceptionListSchema", + "type": "Object", + "tags": [], + "label": "findExceptionListSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "PartialC", + "<{ filter: ", + "StringC", + "; namespace_type: ", + "Type", + "<(\"single\" | \"agnostic\")[], string | null | undefined, unknown>; page: ", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, + "; per_page: ", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, + "; sort_field: ", + "StringC", + "; sort_order: ", + "KeyofC", + "<{ asc: null; desc: null; }>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.findListItemSchema", + "type": "Object", + "tags": [], + "label": "findListItemSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ list_id: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ cursor: ", + "StringC", + "; filter: ", + "StringC", + "; page: ", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, + "; per_page: ", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, + "; sort_field: ", + "StringC", + "; sort_order: ", + "KeyofC", + "<{ asc: null; desc: null; }>; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.findListSchema", + "type": "Object", + "tags": [], + "label": "findListSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "PartialC", + "<{ cursor: ", + "StringC", + "; filter: ", + "StringC", + "; page: ", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, + "; per_page: ", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, + "; sort_field: ", + "StringC", + "; sort_order: ", + "KeyofC", + "<{ asc: null; desc: null; }>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.foundExceptionListItemSchema", + "type": "Object", + "tags": [], + "label": "foundExceptionListItemSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ data: ", + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ _version: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; comments: ", + "ArrayC", + "<", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ comment: ", + "Type", + "; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; id: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; }>>]>>; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; description: ", + "StringC", + "; entries: ", + "ArrayC", + "<", + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match_any: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; list: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; }>>; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ list: null; }>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ exists: null; }>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ entries: ", + "Type", + "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[], unknown>; field: ", + "Type", + "; type: ", + "KeyofC", + "<{ nested: null; }>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ wildcard: null; }>; value: ", + "Type", + "; }>>]>>; id: ", + "Type", + "; item_id: ", + "Type", + "; list_id: ", + "Type", + "; meta: ", + "UnionC", + "<[", + "ObjectC", + ", ", + "UndefinedC", + "]>; name: ", + "StringC", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; os_types: ", + "Type", + "<(\"windows\" | \"linux\" | \"macos\")[], (\"windows\" | \"linux\" | \"macos\")[] | undefined, unknown>; tags: ", + "Type", + "; tie_breaker_id: ", + "StringC", + "; type: ", + "KeyofC", + "<{ simple: null; }>; updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; }>>>; page: ", + "NumberC", + "; per_page: ", + "NumberC", + "; total: ", + "NumberC", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/found_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.foundExceptionListSchema", + "type": "Object", + "tags": [], + "label": "foundExceptionListSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ data: ", + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ _version: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; description: ", + "StringC", + "; id: ", + "Type", + "; immutable: ", + "BooleanC", + "; list_id: ", + "Type", + "; meta: ", + "UnionC", + "<[", + "ObjectC", + ", ", + "UndefinedC", + "]>; name: ", + "StringC", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; os_types: ", + "Type", + "<(\"windows\" | \"linux\" | \"macos\")[], (\"windows\" | \"linux\" | \"macos\")[] | undefined, unknown>; tags: ", + "Type", + "; tie_breaker_id: ", + "StringC", + "; type: ", + "KeyofC", + "<{ detection: null; endpoint: null; endpoint_events: null; endpoint_host_isolation_exceptions: null; }>; updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; version: ", + "Type", + "; }>>>; page: ", + "NumberC", + "; per_page: ", + "NumberC", + "; total: ", + "NumberC", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/found_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.foundListItemSchema", + "type": "Object", + "tags": [], + "label": "foundListItemSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ cursor: ", + "StringC", + "; data: ", + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ _version: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; deserializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; id: ", + "Type", + "; list_id: ", + "Type", + "; meta: ", + "UnionC", + "<[", + "ObjectC", + ", ", + "UndefinedC", + "]>; serializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; tie_breaker_id: ", + "StringC", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; value: ", + "StringC", + "; }>>>; page: ", + "NumberC", + "; per_page: ", + "NumberC", + "; total: ", + "NumberC", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/found_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.foundListSchema", + "type": "Object", + "tags": [], + "label": "foundListSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ cursor: ", + "StringC", + "; data: ", + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ _version: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; description: ", + "StringC", + "; deserializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; id: ", + "Type", + "; immutable: ", + "BooleanC", + "; meta: ", + "UnionC", + "<[", + "ObjectC", + ", ", + "UndefinedC", + "]>; name: ", + "StringC", + "; serializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; tie_breaker_id: ", + "StringC", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; version: ", + "Type", + "; }>>>; page: ", + "NumberC", + "; per_page: ", + "NumberC", + "; total: ", + "NumberC", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/found_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.id", + "type": "Object", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.idOrUndefined", + "type": "Object", + "tags": [], + "label": "idOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "Type", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.immutable", + "type": "Object", + "tags": [], + "label": "immutable", + "description": [], + "signature": [ + "BooleanC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/immutable/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.immutableOrUndefined", + "type": "Object", + "tags": [], + "label": "immutableOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "BooleanC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/immutable/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.importListItemQuerySchema", + "type": "Object", + "tags": [], + "label": "importListItemQuerySchema", + "description": [], + "signature": [ + "ExactC", + "<", + "PartialC", + "<{ deserializer: ", + "StringC", + "; list_id: ", + "Type", + "; serializer: ", + "StringC", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/import_list_item_query_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.importListItemSchema", + "type": "Object", + "tags": [], + "label": "importListItemSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ file: ", + "ObjectC", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/import_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.item_id", + "type": "Object", + "tags": [], + "label": "item_id", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/item_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.itemIdOrUndefined", + "type": "Object", + "tags": [], + "label": "itemIdOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "Type", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/item_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.list", + "type": "Object", + "tags": [], + "label": "list", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; list_id: ", + "Type", + "; type: ", + "KeyofC", + "<{ detection: null; endpoint: null; endpoint_events: null; endpoint_host_isolation_exceptions: null; }>; namespace_type: ", + "KeyofC", + "<{ agnostic: null; single: null; }>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/lists/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.list_id", + "type": "Object", + "tags": [], + "label": "list_id", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/list_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.list_idOrUndefined", + "type": "Object", + "tags": [], + "label": "list_idOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "Type", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/list_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.list_type", + "type": "Object", + "tags": [], + "label": "list_type", + "description": [], + "signature": [ + "KeyofC", + "<{ item: null; list: null; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/list_type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.listArray", + "type": "Object", + "tags": [], + "label": "listArray", + "description": [], + "signature": [ + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; list_id: ", + "Type", + "; type: ", + "KeyofC", + "<{ detection: null; endpoint: null; endpoint_events: null; endpoint_host_isolation_exceptions: null; }>; namespace_type: ", + "KeyofC", + "<{ agnostic: null; single: null; }>; }>>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/lists/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.listArrayOrUndefined", + "type": "Object", + "tags": [], + "label": "listArrayOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; list_id: ", + "Type", + "; type: ", + "KeyofC", + "<{ detection: null; endpoint: null; endpoint_events: null; endpoint_host_isolation_exceptions: null; }>; namespace_type: ", + "KeyofC", + "<{ agnostic: null; single: null; }>; }>>>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/lists/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.listArraySchema", + "type": "Object", + "tags": [], + "label": "listArraySchema", + "description": [], + "signature": [ + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ _version: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; description: ", + "StringC", + "; deserializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; id: ", + "Type", + "; immutable: ", + "BooleanC", + "; meta: ", + "UnionC", + "<[", + "ObjectC", + ", ", + "UndefinedC", + "]>; name: ", + "StringC", + "; serializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; tie_breaker_id: ", + "StringC", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; version: ", + "Type", + "; }>>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.listItemArraySchema", + "type": "Object", + "tags": [], + "label": "listItemArraySchema", + "description": [], + "signature": [ + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ _version: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; deserializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; id: ", + "Type", + "; list_id: ", + "Type", + "; meta: ", + "UnionC", + "<[", + "ObjectC", + ", ", + "UndefinedC", + "]>; serializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; tie_breaker_id: ", + "StringC", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; value: ", + "StringC", + "; }>>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.listItemIndexExistSchema", + "type": "Object", + "tags": [], + "label": "listItemIndexExistSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ list_index: ", + "BooleanC", + "; list_item_index: ", + "BooleanC", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/list_item_index_exist_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.listItemSchema", + "type": "Object", + "tags": [], + "label": "listItemSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ _version: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; deserializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; id: ", + "Type", + "; list_id: ", + "Type", + "; meta: ", + "UnionC", + "<[", + "ObjectC", + ", ", + "UndefinedC", + "]>; serializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; tie_breaker_id: ", + "StringC", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; value: ", + "StringC", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.listOperator", + "type": "Object", + "tags": [], + "label": "listOperator", + "description": [], + "signature": [ + "KeyofC", + "<{ excluded: null; included: null; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/list_operator/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.listSchema", + "type": "Object", + "tags": [], + "label": "listSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ _version: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; description: ", + "StringC", + "; deserializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; id: ", + "Type", + "; immutable: ", + "BooleanC", + "; meta: ", + "UnionC", + "<[", + "ObjectC", + ", ", + "UndefinedC", + "]>; name: ", + "StringC", + "; serializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; tie_breaker_id: ", + "StringC", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; version: ", + "Type", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.meta", + "type": "Object", + "tags": [], + "label": "meta", + "description": [], + "signature": [ + "ObjectC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/meta/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.metaOrUndefined", + "type": "Object", + "tags": [], + "label": "metaOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "ObjectC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/meta/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.name", + "type": "Object", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/name/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.nameOrUndefined", + "type": "Object", + "tags": [], + "label": "nameOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/name/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.namespaceType", + "type": "Object", + "tags": [], + "label": "namespaceType", + "description": [], + "signature": [ + "KeyofC", + "<{ agnostic: null; single: null; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/default_namespace/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.namespaceTypeArray", + "type": "Object", + "tags": [], + "label": "namespaceTypeArray", + "description": [], + "signature": [ + "ArrayC", + "<", + "KeyofC", + "<{ agnostic: null; single: null; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/default_namespace_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.nestedEntriesArray", + "type": "Object", + "tags": [], + "label": "nestedEntriesArray", + "description": [], + "signature": [ + "ArrayC", + "<", + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match_any: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ exists: null; }>; }>>]>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/non_empty_nested_entries_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.nestedEntryItem", + "type": "Object", + "tags": [], + "label": "nestedEntryItem", + "description": [], + "signature": [ + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match_any: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ exists: null; }>; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/non_empty_nested_entries_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.nonEmptyEndpointEntriesArray", + "type": "Object", + "tags": [], + "label": "nonEmptyEndpointEntriesArray", + "description": [ + "\nTypes the nonEmptyEndpointEntriesArray as:\n - An array of entries of length 1 or greater\n" + ], + "signature": [ + "Type", + "<({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; } | { entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[], ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; } | { entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[], unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/endpoint/entries/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.nonEmptyEndpointNestedEntriesArray", + "type": "Object", + "tags": [], + "label": "nonEmptyEndpointNestedEntriesArray", + "description": [ + "\nTypes the nonEmptyNestedEntriesArray as:\n - An array of entries of length 1 or greater\n" + ], + "signature": [ + "Type", + "<({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[], ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[], unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/endpoint/non_empty_nested_entries_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.nonEmptyEntriesArray", + "type": "Object", + "tags": [], + "label": "nonEmptyEntriesArray", + "description": [ + "\nTypes the nonEmptyEntriesArray as:\n - An array of entries of length 1 or greater\n" + ], + "signature": [ + "Type", + "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/non_empty_entries_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.nonEmptyNestedEntriesArray", + "type": "Object", + "tags": [], + "label": "nonEmptyNestedEntriesArray", + "description": [ + "\nTypes the nonEmptyNestedEntriesArray as:\n - An array of entries of length 1 or greater\n" + ], + "signature": [ + "Type", + "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[], unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/non_empty_nested_entries_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.osType", + "type": "Object", + "tags": [], + "label": "osType", + "description": [], + "signature": [ + "KeyofC", + "<{ linux: null; macos: null; windows: null; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/os_type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.osTypeArray", + "type": "Object", + "tags": [], + "label": "osTypeArray", + "description": [], + "signature": [ + "Type", + "<(\"windows\" | \"linux\" | \"macos\")[], (\"windows\" | \"linux\" | \"macos\")[] | undefined, unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/os_type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.osTypeArrayOrUndefined", + "type": "Object", + "tags": [], + "label": "osTypeArrayOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "Type", + "<(\"windows\" | \"linux\" | \"macos\")[], (\"windows\" | \"linux\" | \"macos\")[] | undefined, unknown>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/os_type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.page", + "type": "Object", + "tags": [], + "label": "page", + "description": [], + "signature": [ + "NumberC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/page/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.pageOrUndefined", + "type": "Object", + "tags": [], + "label": "pageOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "NumberC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/page/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.patchListItemSchema", + "type": "Object", + "tags": [], + "label": "patchListItemSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ _version: ", + "StringC", + "; meta: ", + "ObjectC", + "; value: ", + "StringC", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/patch_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.patchListSchema", + "type": "Object", + "tags": [], + "label": "patchListSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ _version: ", + "StringC", + "; description: ", + "StringC", + "; meta: ", + "ObjectC", + "; name: ", + "StringC", + "; version: ", + "Type", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/patch_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.per_page", + "type": "Object", + "tags": [], + "label": "per_page", + "description": [], + "signature": [ + "NumberC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/per_page/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.perPageOrUndefined", + "type": "Object", + "tags": [], + "label": "perPageOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "NumberC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/per_page/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.readEndpointListItemSchema", + "type": "Object", + "tags": [], + "label": "readEndpointListItemSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "PartialC", + "<{ id: ", + "Type", + "; item_id: ", + "Type", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/read_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.readExceptionListItemSchema", + "type": "Object", + "tags": [], + "label": "readExceptionListItemSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "PartialC", + "<{ id: ", + "Type", + "; item_id: ", + "Type", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/read_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.readExceptionListSchema", + "type": "Object", + "tags": [], + "label": "readExceptionListSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "PartialC", + "<{ id: ", + "Type", + "; list_id: ", + "Type", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/read_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.readListItemSchema", + "type": "Object", + "tags": [], + "label": "readListItemSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "PartialC", + "<{ id: ", + "Type", + "; list_id: ", + "Type", + "; value: ", + "StringC", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/read_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.readListSchema", + "type": "Object", + "tags": [], + "label": "readListSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/read_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.searchListItemArraySchema", + "type": "Object", + "tags": [], + "label": "searchListItemArraySchema", + "description": [], + "signature": [ + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ items: ", + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ _version: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; deserializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; id: ", + "Type", + "; list_id: ", + "Type", + "; meta: ", + "UnionC", + "<[", + "ObjectC", + ", ", + "UndefinedC", + "]>; serializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; tie_breaker_id: ", + "StringC", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; value: ", + "StringC", + "; }>>>; value: ", + "UnknownC", + "; }>>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/search_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.searchListItemSchema", + "type": "Object", + "tags": [], + "label": "searchListItemSchema", + "description": [ + "\nNOTE: Although this is defined within \"response\" this does not expose a REST API\nendpoint right now for this particular response. Instead this is only used internally\nfor the plugins at this moment. If this changes, please remove this message." + ], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ items: ", + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ _version: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; deserializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; id: ", + "Type", + "; list_id: ", + "Type", + "; meta: ", + "UnionC", + "<[", + "ObjectC", + ", ", + "UndefinedC", + "]>; serializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; tie_breaker_id: ", + "StringC", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; value: ", + "StringC", + "; }>>>; value: ", + "UnknownC", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/search_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.serializer", + "type": "Object", + "tags": [], + "label": "serializer", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/serializer/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.serializerOrUndefined", + "type": "Object", + "tags": [], + "label": "serializerOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/serializer/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.sort_field", + "type": "Object", + "tags": [], + "label": "sort_field", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/sort_field/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.sort_order", + "type": "Object", + "tags": [], + "label": "sort_order", + "description": [], + "signature": [ + "KeyofC", + "<{ asc: null; desc: null; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/sort_order/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.sortFieldOrUndefined", + "type": "Object", + "tags": [], + "label": "sortFieldOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/sort_field/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.sortOrderOrUndefined", + "type": "Object", + "tags": [], + "label": "sortOrderOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "KeyofC", + "<{ asc: null; desc: null; }>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/sort_order/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.summaryExceptionListSchema", + "type": "Object", + "tags": [], + "label": "summaryExceptionListSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "PartialC", + "<{ id: ", + "Type", + "; list_id: ", + "Type", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/summary_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.tags", + "type": "Object", + "tags": [], + "label": "tags", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/tags/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.tagsOrUndefined", + "type": "Object", + "tags": [], + "label": "tagsOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "Type", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/tags/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.tie_breaker_id", + "type": "Object", + "tags": [], + "label": "tie_breaker_id", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/tie_breaker_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.total", + "type": "Object", + "tags": [], + "label": "total", + "description": [], + "signature": [ + "NumberC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/total/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.totalUndefined", + "type": "Object", + "tags": [], + "label": "totalUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "NumberC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/total/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.type", + "type": "Object", + "tags": [], + "label": "type", + "description": [ + "\nTypes of all the regular single value list items but not exception list\nor exception list types. Those types are in the list_types folder." + ], + "signature": [ + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.typeOrUndefined", + "type": "Object", + "tags": [], + "label": "typeOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.updateComment", + "type": "Object", + "tags": [], + "label": "updateComment", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ comment: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ id: ", + "Type", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/update_comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.updateCommentsArray", + "type": "Object", + "tags": [], + "label": "updateCommentsArray", + "description": [], + "signature": [ + "ArrayC", + "<", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ comment: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ id: ", + "Type", + "; }>>]>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/update_comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.updateCommentsArrayOrUndefined", + "type": "Object", + "tags": [], + "label": "updateCommentsArrayOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "ArrayC", + "<", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ comment: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ id: ", + "Type", + "; }>>]>>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/update_comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.updated_at", + "type": "Object", + "tags": [], + "label": "updated_at", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/updated_at/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.updated_by", + "type": "Object", + "tags": [], + "label": "updated_by", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/updated_by/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.updateEndpointListItemSchema", + "type": "Object", + "tags": [], + "label": "updateEndpointListItemSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ description: ", + "StringC", + "; entries: ", + "Type", + "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], unknown>; name: ", + "StringC", + "; type: ", + "KeyofC", + "<{ simple: null; }>; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ _version: ", + "StringC", + "; comments: ", + "Type", + "<({ comment: string; } & { id?: string | undefined; })[], ({ comment: string; } & { id?: string | undefined; })[], unknown>; id: ", + "Type", + "; item_id: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; meta: ", + "ObjectC", + "; os_types: ", + "UnionC", + "<[", + "Type", + "<(\"windows\" | \"linux\" | \"macos\")[], (\"windows\" | \"linux\" | \"macos\")[] | undefined, unknown>, ", + "UndefinedC", + "]>; tags: ", + "Type", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.updateExceptionListItemSchema", + "type": "Object", + "tags": [], + "label": "updateExceptionListItemSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ description: ", + "StringC", + "; entries: ", + "Type", + "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], unknown>; name: ", + "StringC", + "; type: ", + "KeyofC", + "<{ simple: null; }>; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ _version: ", + "StringC", + "; comments: ", + "Type", + "<({ comment: string; } & { id?: string | undefined; })[], ({ comment: string; } & { id?: string | undefined; })[], unknown>; id: ", + "Type", + "; item_id: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; meta: ", + "ObjectC", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; os_types: ", + "UnionC", + "<[", + "Type", + "<(\"windows\" | \"linux\" | \"macos\")[], (\"windows\" | \"linux\" | \"macos\")[] | undefined, unknown>, ", + "UndefinedC", + "]>; tags: ", + "Type", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.updateExceptionListSchema", + "type": "Object", + "tags": [], + "label": "updateExceptionListSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ description: ", + "StringC", + "; name: ", + "StringC", + "; type: ", + "KeyofC", + "<{ detection: null; endpoint: null; endpoint_events: null; endpoint_host_isolation_exceptions: null; }>; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ _version: ", + "StringC", + "; id: ", + "Type", + "; list_id: ", + "Type", + "; meta: ", + "ObjectC", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; os_types: ", + "UnionC", + "<[", + "Type", + "<(\"windows\" | \"linux\" | \"macos\")[], (\"windows\" | \"linux\" | \"macos\")[] | undefined, unknown>, ", + "UndefinedC", + "]>; tags: ", + "Type", + "; version: ", + "Type", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.updateListItemSchema", + "type": "Object", + "tags": [], + "label": "updateListItemSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; value: ", + "StringC", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ _version: ", + "StringC", + "; meta: ", + "ObjectC", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.updateListSchema", + "type": "Object", + "tags": [], + "label": "updateListSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ description: ", + "StringC", + "; id: ", + "Type", + "; name: ", + "StringC", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ _version: ", + "StringC", + "; meta: ", + "ObjectC", + "; version: ", + "Type", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ] + } +} \ No newline at end of file diff --git a/api_docs/kbn_securitysolution_io_ts_list_types.mdx b/api_docs/kbn_securitysolution_io_ts_list_types.mdx new file mode 100644 index 0000000000000..3f59dfa70b772 --- /dev/null +++ b/api_docs/kbn_securitysolution_io_ts_list_types.mdx @@ -0,0 +1,39 @@ +--- +id: kibKbnSecuritysolutionIoTsListTypesPluginApi +slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-list-types +title: "@kbn/securitysolution-io-ts-list-types" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/securitysolution-io-ts-list-types plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-list-types'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnSecuritysolutionIoTsListTypesObj from './kbn_securitysolution_io_ts_list_types.json'; + +io ts utilities and types to be shared with plugins from the security solution project + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 418 | 1 | 409 | 0 | + +## Common + +### Objects + + +### Functions + + +### Interfaces + + +### Enums + + +### Consts, variables and types + + diff --git a/api_docs/kbn_securitysolution_io_ts_types.json b/api_docs/kbn_securitysolution_io_ts_types.json new file mode 100644 index 0000000000000..917c65406c124 --- /dev/null +++ b/api_docs/kbn_securitysolution_io_ts_types.json @@ -0,0 +1,760 @@ +{ + "id": "@kbn/securitysolution-io-ts-types", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.DefaultArray", + "type": "Function", + "tags": [], + "label": "DefaultArray", + "description": [ + "\nTypes the DefaultArray as:\n - If undefined, then a default array will be set\n - If an array is sent in, then the array will be validated to ensure all elements are type C" + ], + "signature": [ + "(codec: C) => ", + "Type", + "<", + "TypeOf", + "[], ", + "TypeOf", + "[] | undefined, unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/default_array/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.DefaultArray.$1", + "type": "Uncategorized", + "tags": [], + "label": "codec", + "description": [], + "signature": [ + "C" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/default_array/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.enumeration", + "type": "Function", + "tags": [], + "label": "enumeration", + "description": [ + "\nConverts string value to a Typescript enum\n - \"foo\" -> MyEnum.foo\n" + ], + "signature": [ + "(name: string, originalEnum: Record) => ", + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/enumeration/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.enumeration.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [ + "Enum name" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/enumeration/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.enumeration.$2", + "type": "Object", + "tags": [], + "label": "originalEnum", + "description": [ + "Typescript enum" + ], + "signature": [ + "Record" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/enumeration/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "Codec" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.NonEmptyArray", + "type": "Function", + "tags": [], + "label": "NonEmptyArray", + "description": [], + "signature": [ + "(codec: C, name?: string) => ", + "Type", + "<", + "TypeOf", + "[], ", + "TypeOf", + "[], unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/non_empty_array/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.NonEmptyArray.$1", + "type": "Uncategorized", + "tags": [], + "label": "codec", + "description": [], + "signature": [ + "C" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/non_empty_array/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.NonEmptyArray.$2", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/non_empty_array/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.DefaultStringBooleanFalseC", + "type": "Type", + "tags": [], + "label": "DefaultStringBooleanFalseC", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/default_string_boolean_false/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.DefaultVersionNumberDecoded", + "type": "Type", + "tags": [], + "label": "DefaultVersionNumberDecoded", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/default_version_number/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.EmptyStringArrayDecoded", + "type": "Type", + "tags": [], + "label": "EmptyStringArrayDecoded", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/empty_string_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.EmptyStringArrayEncoded", + "type": "Type", + "tags": [], + "label": "EmptyStringArrayEncoded", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/empty_string_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.IsoDateStringC", + "type": "Type", + "tags": [], + "label": "IsoDateStringC", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/iso_date_string/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.NonEmptyOrNullableStringArray", + "type": "Type", + "tags": [], + "label": "NonEmptyOrNullableStringArray", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/non_empty_or_nullable_string_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.NonEmptyOrNullableStringArrayDecoded", + "type": "Type", + "tags": [], + "label": "NonEmptyOrNullableStringArrayDecoded", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/non_empty_or_nullable_string_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.NonEmptyStringArray", + "type": "Type", + "tags": [], + "label": "NonEmptyStringArray", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/non_empty_string_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.NonEmptyStringArrayDecoded", + "type": "Type", + "tags": [], + "label": "NonEmptyStringArrayDecoded", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/non_empty_string_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.NonEmptyStringC", + "type": "Type", + "tags": [], + "label": "NonEmptyStringC", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/non_empty_string/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.Operator", + "type": "Type", + "tags": [], + "label": "Operator", + "description": [], + "signature": [ + "\"equals\"" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/operator/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.OperatorEnum", + "type": "string", + "tags": [], + "label": "OperatorEnum", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-types/src/operator/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.StringToPositiveNumberC", + "type": "Type", + "tags": [], + "label": "StringToPositiveNumberC", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/string_to_positive_number/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.UUIDC", + "type": "Type", + "tags": [], + "label": "UUIDC", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/uuid/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.Version", + "type": "Type", + "tags": [], + "label": "Version", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/version/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.VersionOrUndefined", + "type": "Type", + "tags": [], + "label": "VersionOrUndefined", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/version/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.DefaultBooleanFalse", + "type": "Object", + "tags": [], + "label": "DefaultBooleanFalse", + "description": [ + "\nTypes the DefaultBooleanFalse as:\n - If null or undefined, then a default false will be set" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/default_boolean_false/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.DefaultBooleanTrue", + "type": "Object", + "tags": [], + "label": "DefaultBooleanTrue", + "description": [ + "\nTypes the DefaultBooleanTrue as:\n - If null or undefined, then a default true will be set" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/default_boolean_true/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.DefaultEmptyString", + "type": "Object", + "tags": [], + "label": "DefaultEmptyString", + "description": [ + "\nTypes the DefaultEmptyString as:\n - If null or undefined, then a default of an empty string \"\" will be used" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/default_empty_string/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.DefaultStringArray", + "type": "Object", + "tags": [], + "label": "DefaultStringArray", + "description": [ + "\nTypes the DefaultStringArray as:\n - If undefined, then a default array will be set\n - If an array is sent in, then the array will be validated to ensure all elements are a string" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/default_string_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.DefaultStringBooleanFalse", + "type": "Object", + "tags": [], + "label": "DefaultStringBooleanFalse", + "description": [ + "\nTypes the DefaultStringBooleanFalse as:\n - If a string this will convert the string to a boolean\n - If null or undefined, then a default false will be set" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/default_string_boolean_false/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.DefaultUuid", + "type": "Object", + "tags": [], + "label": "DefaultUuid", + "description": [ + "\nTypes the DefaultUuid as:\n - If null or undefined, then a default string uuid.v4() will be\n created otherwise it will be checked just against an empty string" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/default_uuid/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.DefaultVersionNumber", + "type": "Object", + "tags": [], + "label": "DefaultVersionNumber", + "description": [ + "\nTypes the DefaultVersionNumber as:\n - If null or undefined, then a default of the number 1 will be used" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/default_version_number/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.EmptyStringArray", + "type": "Object", + "tags": [], + "label": "EmptyStringArray", + "description": [ + "\nTypes the EmptyStringArray as:\n - A value that can be undefined, or null (which will be turned into an empty array)\n - A comma separated string that can turn into an array by splitting on it\n - Example input converted to output: undefined -> []\n - Example input converted to output: null -> []\n - Example input converted to output: \"a,b,c\" -> [\"a\", \"b\", \"c\"]" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/empty_string_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.IsoDateString", + "type": "Object", + "tags": [], + "label": "IsoDateString", + "description": [ + "\nTypes the IsoDateString as:\n - A string that is an ISOString" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/iso_date_string/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.nonEmptyOrNullableStringArray", + "type": "Object", + "tags": [], + "label": "nonEmptyOrNullableStringArray", + "description": [ + "\nTypes the nonEmptyOrNullableStringArray as:\n - An array of non empty strings of length 1 or greater\n - This differs from NonEmptyStringArray in that both input and output are type array\n" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/non_empty_or_nullable_string_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.NonEmptyString", + "type": "Object", + "tags": [], + "label": "NonEmptyString", + "description": [ + "\nTypes the NonEmptyString as:\n - A string that is not empty" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/non_empty_string/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.NonEmptyStringArray", + "type": "Object", + "tags": [], + "label": "NonEmptyStringArray", + "description": [ + "\nTypes the NonEmptyStringArray as:\n - A string that is not empty (which will be turned into an array of size 1)\n - A comma separated string that can turn into an array by splitting on it\n - Example input converted to output: \"a,b,c\" -> [\"a\", \"b\", \"c\"]" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/non_empty_string_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.OnlyFalseAllowed", + "type": "Object", + "tags": [], + "label": "OnlyFalseAllowed", + "description": [ + "\nTypes the OnlyFalseAllowed as:\n - If null or undefined, then a default false will be set\n - If true is sent in then this will return an error\n - If false is sent in then this will allow it only false" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/only_false_allowed/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.operator", + "type": "Object", + "tags": [], + "label": "operator", + "description": [], + "signature": [ + "KeyofC", + "<{ equals: null; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/operator/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.operatorIncluded", + "type": "Object", + "tags": [], + "label": "operatorIncluded", + "description": [], + "signature": [ + "KeyofC", + "<{ included: null; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/operator/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.PositiveInteger", + "type": "Object", + "tags": [], + "label": "PositiveInteger", + "description": [ + "\nTypes the positive integer are:\n - Natural Number (positive integer and not a float),\n - zero or greater" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/positive_integer/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.PositiveIntegerGreaterThanZero", + "type": "Object", + "tags": [], + "label": "PositiveIntegerGreaterThanZero", + "description": [ + "\nTypes the positive integer greater than zero is:\n - Natural Number (positive integer and not a float),\n - 1 or greater" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/positive_integer_greater_than_zero/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.StringToPositiveNumber", + "type": "Object", + "tags": [], + "label": "StringToPositiveNumber", + "description": [ + "\nTypes the StrongToPositiveNumber as:\n - If a string this converts the string into a number\n - Ensures it is a number (and not NaN)\n - Ensures it is positive number" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/string_to_positive_number/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.UUID", + "type": "Object", + "tags": [], + "label": "UUID", + "description": [ + "\nTypes the risk score as:\n - Natural Number (positive integer and not a float),\n - Between the values [0 and 100] inclusive." + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/uuid/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.version", + "type": "Object", + "tags": [], + "label": "version", + "description": [ + "\nNote this is just a positive number, but we use it as a type here which is still ok.\nThis type was originally from \"x-pack/plugins/security_solution/common/detection_engine/schemas/common/schemas.ts\"\nbut is moved here to make things more portable. No unit tests, but see PositiveIntegerGreaterThanZero integer for unit tests." + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/version/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.versionOrUndefined", + "type": "Object", + "tags": [], + "label": "versionOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "Type", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/version/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ] + } +} \ No newline at end of file diff --git a/api_docs/kbn_securitysolution_io_ts_types.mdx b/api_docs/kbn_securitysolution_io_ts_types.mdx new file mode 100644 index 0000000000000..c640fb275c061 --- /dev/null +++ b/api_docs/kbn_securitysolution_io_ts_types.mdx @@ -0,0 +1,33 @@ +--- +id: kibKbnSecuritysolutionIoTsTypesPluginApi +slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-types +title: "@kbn/securitysolution-io-ts-types" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/securitysolution-io-ts-types plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-types'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnSecuritysolutionIoTsTypesObj from './kbn_securitysolution_io_ts_types.json'; + +io ts utilities and types to be shared with plugins from the security solution project + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 45 | 0 | 23 | 0 | + +## Common + +### Objects + + +### Functions + + +### Consts, variables and types + + diff --git a/api_docs/kbn_securitysolution_io_ts_utils.json b/api_docs/kbn_securitysolution_io_ts_utils.json new file mode 100644 index 0000000000000..71d7bc4eee91f --- /dev/null +++ b/api_docs/kbn_securitysolution_io_ts_utils.json @@ -0,0 +1,507 @@ +{ + "id": "@kbn/securitysolution-io-ts-utils", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.exactCheck", + "type": "Function", + "tags": [], + "label": "exactCheck", + "description": [ + "\nGiven an original object and a decoded object this will return an error\nif and only if the original object has additional keys that the decoded\nobject does not have. If the original decoded already has an error, then\nthis will return the error as is and not continue.\n\nNOTE: You MUST use t.exact(...) for this to operate correctly as your schema\nneeds to remove additional keys before the compare\n\nYou might not need this in the future if the below issue is solved:\nhttps://github.com/gcanti/io-ts/issues/322\n" + ], + "signature": [ + "(original: unknown, decoded: ", + "Either", + "<", + "Errors", + ", T>) => ", + "Either", + "<", + "Errors", + ", T>" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/exact_check/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.exactCheck.$1", + "type": "Unknown", + "tags": [], + "label": "original", + "description": [ + "The original to check if it has additional keys" + ], + "signature": [ + "unknown" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/exact_check/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.exactCheck.$2", + "type": "CompoundType", + "tags": [], + "label": "decoded", + "description": [ + "The decoded either which has either an existing error or the\ndecoded object which could have additional keys stripped from it." + ], + "signature": [ + "Either", + "<", + "Errors", + ", T>" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/exact_check/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.findDifferencesRecursive", + "type": "Function", + "tags": [], + "label": "findDifferencesRecursive", + "description": [], + "signature": [ + "(original: unknown, decodedValue: T) => string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/exact_check/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.findDifferencesRecursive.$1", + "type": "Unknown", + "tags": [], + "label": "original", + "description": [], + "signature": [ + "unknown" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/exact_check/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.findDifferencesRecursive.$2", + "type": "Uncategorized", + "tags": [], + "label": "decodedValue", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/exact_check/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.foldLeftRight", + "type": "Function", + "tags": [], + "label": "foldLeftRight", + "description": [], + "signature": [ + "(ma: ", + "Either", + "<", + "Errors", + ", unknown>) => Message" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/test_utils/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.foldLeftRight.$1", + "type": "CompoundType", + "tags": [], + "label": "ma", + "description": [], + "signature": [ + "Left", + " | ", + "Right", + "" + ], + "path": "node_modules/fp-ts/lib/Either.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.formatErrors", + "type": "Function", + "tags": [], + "label": "formatErrors", + "description": [], + "signature": [ + "(errors: ", + "Errors", + ") => string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/format_errors/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.formatErrors.$1", + "type": "Object", + "tags": [], + "label": "errors", + "description": [], + "signature": [ + "Errors" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/format_errors/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.getPaths", + "type": "Function", + "tags": [], + "label": "getPaths", + "description": [ + "\nConvenience utility to keep the error message handling within tests to be\nvery concise." + ], + "signature": [ + "(validation: ", + "Either", + "<", + "Errors", + ", A>) => string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/test_utils/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.getPaths.$1", + "type": "CompoundType", + "tags": [], + "label": "validation", + "description": [ + "The validation to get the errors from" + ], + "signature": [ + "Either", + "<", + "Errors", + ", A>" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/test_utils/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.parseScheduleDates", + "type": "Function", + "tags": [], + "label": "parseScheduleDates", + "description": [], + "signature": [ + "(time: string) => moment.Moment | null" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/parse_schedule_dates/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.parseScheduleDates.$1", + "type": "string", + "tags": [], + "label": "time", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/parse_schedule_dates/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.removeExternalLinkText", + "type": "Function", + "tags": [], + "label": "removeExternalLinkText", + "description": [ + "\nConvenience utility to remove text appended to links by EUI" + ], + "signature": [ + "(str: string) => string" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/test_utils/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.removeExternalLinkText.$1", + "type": "string", + "tags": [], + "label": "str", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/test_utils/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.validate", + "type": "Function", + "tags": [], + "label": "validate", + "description": [], + "signature": [ + "(obj: object, schema: T) => [", + "TypeOf", + " | null, string | null]" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/validate/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.validate.$1", + "type": "Uncategorized", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "object" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/validate/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.validate.$2", + "type": "Uncategorized", + "tags": [], + "label": "schema", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/validate/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.validateEither", + "type": "Function", + "tags": [], + "label": "validateEither", + "description": [], + "signature": [ + "(schema: T, obj: A) => ", + "Either", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/validate/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.validateEither.$1", + "type": "Uncategorized", + "tags": [], + "label": "schema", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/validate/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.validateEither.$2", + "type": "Uncategorized", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "A" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/validate/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.validateNonExact", + "type": "Function", + "tags": [], + "label": "validateNonExact", + "description": [], + "signature": [ + "(obj: unknown, schema: T) => [", + "TypeOf", + " | null, string | null]" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/validate/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.validateNonExact.$1", + "type": "Unknown", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "unknown" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/validate/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.validateNonExact.$2", + "type": "Uncategorized", + "tags": [], + "label": "schema", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/validate/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.validateTaskEither", + "type": "Function", + "tags": [], + "label": "validateTaskEither", + "description": [], + "signature": [ + "(schema: T, obj: A) => ", + "TaskEither", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/validate/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.validateTaskEither.$1", + "type": "Uncategorized", + "tags": [], + "label": "schema", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/validate/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.validateTaskEither.$2", + "type": "Uncategorized", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "A" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/validate/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_securitysolution_io_ts_utils.mdx b/api_docs/kbn_securitysolution_io_ts_utils.mdx new file mode 100644 index 0000000000000..71a66b6052794 --- /dev/null +++ b/api_docs/kbn_securitysolution_io_ts_utils.mdx @@ -0,0 +1,27 @@ +--- +id: kibKbnSecuritysolutionIoTsUtilsPluginApi +slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-utils +title: "@kbn/securitysolution-io-ts-utils" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/securitysolution-io-ts-utils plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-utils'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnSecuritysolutionIoTsUtilsObj from './kbn_securitysolution_io_ts_utils.json'; + +io ts utilities and types to be shared with plugins from the security solution project + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 28 | 0 | 22 | 0 | + +## Common + +### Functions + + diff --git a/api_docs/kbn_securitysolution_list_api.json b/api_docs/kbn_securitysolution_list_api.json new file mode 100644 index 0000000000000..7d6b00cbbc328 --- /dev/null +++ b/api_docs/kbn_securitysolution_list_api.json @@ -0,0 +1,868 @@ +{ + "id": "@kbn/securitysolution-list-api", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.addEndpointExceptionListWithValidation", + "type": "Function", + "tags": [], + "label": "addEndpointExceptionListWithValidation", + "description": [], + "signature": [ + "({ http, signal, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.AddEndpointExceptionListProps", + "text": "AddEndpointExceptionListProps" + }, + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; } | {}>" + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.addEndpointExceptionListWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n signal,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.AddEndpointExceptionListProps", + "text": "AddEndpointExceptionListProps" + } + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.addExceptionListItemWithValidation", + "type": "Function", + "tags": [], + "label": "addExceptionListItemWithValidation", + "description": [], + "signature": [ + "({ http, listItem, signal, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.AddExceptionListItemProps", + "text": "AddExceptionListItemProps" + }, + ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.addExceptionListItemWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n listItem,\n signal,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.AddExceptionListItemProps", + "text": "AddExceptionListItemProps" + } + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.addExceptionListWithValidation", + "type": "Function", + "tags": [], + "label": "addExceptionListWithValidation", + "description": [], + "signature": [ + "({ http, list, signal, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.AddExceptionListProps", + "text": "AddExceptionListProps" + }, + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.addExceptionListWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n list,\n signal,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.AddExceptionListProps", + "text": "AddExceptionListProps" + } + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.createListIndexWithValidation", + "type": "Function", + "tags": [], + "label": "createListIndexWithValidation", + "description": [], + "signature": [ + "({ http, signal, }: ", + "ApiParams", + ") => Promise<{ acknowledged: boolean; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/list_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.createListIndexWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n signal,\n}", + "description": [], + "signature": [ + "ApiParams" + ], + "path": "packages/kbn-securitysolution-list-api/src/list_api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.deleteExceptionListByIdWithValidation", + "type": "Function", + "tags": [], + "label": "deleteExceptionListByIdWithValidation", + "description": [], + "signature": [ + "({ http, id, namespaceType, signal, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByIdProps", + "text": "ApiCallByIdProps" + }, + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.deleteExceptionListByIdWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n id,\n namespaceType,\n signal,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByIdProps", + "text": "ApiCallByIdProps" + } + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.deleteExceptionListItemByIdWithValidation", + "type": "Function", + "tags": [], + "label": "deleteExceptionListItemByIdWithValidation", + "description": [], + "signature": [ + "({ http, id, namespaceType, signal, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByIdProps", + "text": "ApiCallByIdProps" + }, + ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.deleteExceptionListItemByIdWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n id,\n namespaceType,\n signal,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByIdProps", + "text": "ApiCallByIdProps" + } + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.deleteListWithValidation", + "type": "Function", + "tags": [], + "label": "deleteListWithValidation", + "description": [], + "signature": [ + "({ deleteReferences, http, id, ignoreReferences, signal, }: ", + "DeleteListParams", + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/list_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.deleteListWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n deleteReferences,\n http,\n id,\n ignoreReferences,\n signal,\n}", + "description": [], + "signature": [ + "DeleteListParams" + ], + "path": "packages/kbn-securitysolution-list-api/src/list_api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.exportExceptionList", + "type": "Function", + "tags": [ + "throws" + ], + "label": "exportExceptionList", + "description": [ + "\nFetch an ExceptionList by providing a ExceptionList ID\n" + ], + "signature": [ + "({ http, id, listId, namespaceType, signal, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExportExceptionListProps", + "text": "ExportExceptionListProps" + }, + ") => Promise" + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.exportExceptionList.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n id,\n listId,\n namespaceType,\n signal,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExportExceptionListProps", + "text": "ExportExceptionListProps" + } + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.exportListWithValidation", + "type": "Function", + "tags": [], + "label": "exportListWithValidation", + "description": [], + "signature": [ + "({ http, listId, signal, }: ", + "ExportListParams", + ") => Promise" + ], + "path": "packages/kbn-securitysolution-list-api/src/list_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.exportListWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n listId,\n signal,\n}", + "description": [], + "signature": [ + "ExportListParams" + ], + "path": "packages/kbn-securitysolution-list-api/src/list_api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.fetchExceptionListByIdWithValidation", + "type": "Function", + "tags": [], + "label": "fetchExceptionListByIdWithValidation", + "description": [], + "signature": [ + "({ http, id, namespaceType, signal, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByIdProps", + "text": "ApiCallByIdProps" + }, + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.fetchExceptionListByIdWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n id,\n namespaceType,\n signal,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByIdProps", + "text": "ApiCallByIdProps" + } + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.fetchExceptionListItemByIdWithValidation", + "type": "Function", + "tags": [], + "label": "fetchExceptionListItemByIdWithValidation", + "description": [], + "signature": [ + "({ http, id, namespaceType, signal, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByIdProps", + "text": "ApiCallByIdProps" + }, + ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.fetchExceptionListItemByIdWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n id,\n namespaceType,\n signal,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByIdProps", + "text": "ApiCallByIdProps" + } + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.fetchExceptionListsItemsByListIdsWithValidation", + "type": "Function", + "tags": [], + "label": "fetchExceptionListsItemsByListIdsWithValidation", + "description": [], + "signature": [ + "({ filterOptions, http, listIds, namespaceTypes, pagination, signal, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByListIdProps", + "text": "ApiCallByListIdProps" + }, + ") => Promise<{ data: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]; page: number; per_page: number; total: number; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.fetchExceptionListsItemsByListIdsWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n filterOptions,\n http,\n listIds,\n namespaceTypes,\n pagination,\n signal,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByListIdProps", + "text": "ApiCallByListIdProps" + } + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.fetchExceptionListsWithValidation", + "type": "Function", + "tags": [], + "label": "fetchExceptionListsWithValidation", + "description": [], + "signature": [ + "({ filters, http, namespaceTypes, pagination, signal, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallFetchExceptionListsProps", + "text": "ApiCallFetchExceptionListsProps" + }, + ") => Promise<{ data: { _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; }[]; page: number; per_page: number; total: number; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.fetchExceptionListsWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n filters,\n http,\n namespaceTypes,\n pagination,\n signal,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallFetchExceptionListsProps", + "text": "ApiCallFetchExceptionListsProps" + } + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.findListsWithValidation", + "type": "Function", + "tags": [], + "label": "findListsWithValidation", + "description": [], + "signature": [ + "({ cursor, http, pageIndex, pageSize, signal, }: ", + "FindListsParams", + ") => Promise<{ cursor: string; data: { _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }[]; page: number; per_page: number; total: number; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/list_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.findListsWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n cursor,\n http,\n pageIndex,\n pageSize,\n signal,\n}", + "description": [], + "signature": [ + "FindListsParams" + ], + "path": "packages/kbn-securitysolution-list-api/src/list_api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.importListWithValidation", + "type": "Function", + "tags": [], + "label": "importListWithValidation", + "description": [], + "signature": [ + "({ file, http, listId, type, signal, }: ", + "ImportListParams", + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/list_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.importListWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n file,\n http,\n listId,\n type,\n signal,\n}", + "description": [], + "signature": [ + "ImportListParams" + ], + "path": "packages/kbn-securitysolution-list-api/src/list_api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.readListIndexWithValidation", + "type": "Function", + "tags": [], + "label": "readListIndexWithValidation", + "description": [], + "signature": [ + "({ http, signal, }: ", + "ApiParams", + ") => Promise<{ list_index: boolean; list_item_index: boolean; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/list_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.readListIndexWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n signal,\n}", + "description": [], + "signature": [ + "ApiParams" + ], + "path": "packages/kbn-securitysolution-list-api/src/list_api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.readListPrivileges", + "type": "Function", + "tags": [], + "label": "readListPrivileges", + "description": [], + "signature": [ + "({ http, signal }: ", + "ApiParams", + ") => Promise" + ], + "path": "packages/kbn-securitysolution-list-api/src/list_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.readListPrivileges.$1", + "type": "Object", + "tags": [], + "label": "{ http, signal }", + "description": [], + "signature": [ + "ApiParams" + ], + "path": "packages/kbn-securitysolution-list-api/src/list_api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.toError", + "type": "Function", + "tags": [], + "label": "toError", + "description": [], + "signature": [ + "(e: unknown) => Error" + ], + "path": "packages/kbn-securitysolution-list-api/src/fp_utils/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.toError.$1", + "type": "Unknown", + "tags": [], + "label": "e", + "description": [], + "signature": [ + "unknown" + ], + "path": "packages/kbn-securitysolution-list-api/src/fp_utils/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.toPromise", + "type": "Function", + "tags": [], + "label": "toPromise", + "description": [], + "signature": [ + "(taskEither: ", + "TaskEither", + ") => Promise" + ], + "path": "packages/kbn-securitysolution-list-api/src/fp_utils/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.toPromise.$1", + "type": "Function", + "tags": [], + "label": "taskEither", + "description": [], + "signature": [ + "TaskEither", + "" + ], + "path": "packages/kbn-securitysolution-list-api/src/fp_utils/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.updateExceptionListItemWithValidation", + "type": "Function", + "tags": [], + "label": "updateExceptionListItemWithValidation", + "description": [], + "signature": [ + "({ http, listItem, signal, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UpdateExceptionListItemProps", + "text": "UpdateExceptionListItemProps" + }, + ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.updateExceptionListItemWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n listItem,\n signal,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UpdateExceptionListItemProps", + "text": "UpdateExceptionListItemProps" + } + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.updateExceptionListWithValidation", + "type": "Function", + "tags": [], + "label": "updateExceptionListWithValidation", + "description": [], + "signature": [ + "({ http, list, signal, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UpdateExceptionListProps", + "text": "UpdateExceptionListProps" + }, + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.updateExceptionListWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n list,\n signal,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UpdateExceptionListProps", + "text": "UpdateExceptionListProps" + } + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_securitysolution_list_api.mdx b/api_docs/kbn_securitysolution_list_api.mdx new file mode 100644 index 0000000000000..a62ff732588e9 --- /dev/null +++ b/api_docs/kbn_securitysolution_list_api.mdx @@ -0,0 +1,27 @@ +--- +id: kibKbnSecuritysolutionListApiPluginApi +slug: /kibana-dev-docs/api/kbn-securitysolution-list-api +title: "@kbn/securitysolution-list-api" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/securitysolution-list-api plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-api'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnSecuritysolutionListApiObj from './kbn_securitysolution_list_api.json'; + +security solution list REST API + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 42 | 0 | 41 | 5 | + +## Common + +### Functions + + diff --git a/api_docs/kbn_securitysolution_list_constants.json b/api_docs/kbn_securitysolution_list_constants.json new file mode 100644 index 0000000000000..4e79074f47714 --- /dev/null +++ b/api_docs/kbn_securitysolution_list_constants.json @@ -0,0 +1,369 @@ +{ + "id": "@kbn/securitysolution-list-constants", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.ENDPOINT_EVENT_FILTERS_LIST_DESCRIPTION", + "type": "string", + "tags": [], + "label": "ENDPOINT_EVENT_FILTERS_LIST_DESCRIPTION", + "description": [ + "Description of event filters agnostic list" + ], + "signature": [ + "\"Endpoint Security Event Filters List\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.ENDPOINT_EVENT_FILTERS_LIST_ID", + "type": "string", + "tags": [], + "label": "ENDPOINT_EVENT_FILTERS_LIST_ID", + "description": [ + "ID of event filters agnostic list" + ], + "signature": [ + "\"endpoint_event_filters\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.ENDPOINT_EVENT_FILTERS_LIST_NAME", + "type": "string", + "tags": [], + "label": "ENDPOINT_EVENT_FILTERS_LIST_NAME", + "description": [ + "Name of event filters agnostic list" + ], + "signature": [ + "\"Endpoint Security Event Filters List\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.ENDPOINT_HOST_ISOLATION_EXCEPTIONS_LIST_DESCRIPTION", + "type": "string", + "tags": [], + "label": "ENDPOINT_HOST_ISOLATION_EXCEPTIONS_LIST_DESCRIPTION", + "description": [], + "signature": [ + "\"Endpoint Security Host Isolation Exceptions List\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.ENDPOINT_HOST_ISOLATION_EXCEPTIONS_LIST_ID", + "type": "string", + "tags": [], + "label": "ENDPOINT_HOST_ISOLATION_EXCEPTIONS_LIST_ID", + "description": [], + "signature": [ + "\"endpoint_host_isolation_exceptions\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.ENDPOINT_HOST_ISOLATION_EXCEPTIONS_LIST_NAME", + "type": "string", + "tags": [], + "label": "ENDPOINT_HOST_ISOLATION_EXCEPTIONS_LIST_NAME", + "description": [], + "signature": [ + "\"Endpoint Security Host Isolation Exceptions List\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.ENDPOINT_LIST_DESCRIPTION", + "type": "string", + "tags": [], + "label": "ENDPOINT_LIST_DESCRIPTION", + "description": [ + "The description of the single global space agnostic endpoint list" + ], + "signature": [ + "\"Endpoint Security Exception List\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.ENDPOINT_LIST_ID", + "type": "string", + "tags": [], + "label": "ENDPOINT_LIST_ID", + "description": [ + "\nThis ID is used for _both_ the Saved Object ID and for the list_id\nfor the single global space agnostic endpoint list" + ], + "signature": [ + "\"endpoint_list\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.ENDPOINT_LIST_ITEM_URL", + "type": "string", + "tags": [], + "label": "ENDPOINT_LIST_ITEM_URL", + "description": [ + "\nSpecific routes for the single global space agnostic endpoint list. These are convenience\nroutes where they are going to try and create the global space agnostic endpoint list if it\ndoes not exist yet or if it was deleted at some point and re-create it before adding items to\nthe list" + ], + "signature": [ + "\"/api/endpoint_list/items\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.ENDPOINT_LIST_NAME", + "type": "string", + "tags": [], + "label": "ENDPOINT_LIST_NAME", + "description": [ + "The name of the single global space agnostic endpoint list" + ], + "signature": [ + "\"Endpoint Security Exception List\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.ENDPOINT_LIST_URL", + "type": "string", + "tags": [], + "label": "ENDPOINT_LIST_URL", + "description": [ + "\nSpecific routes for the single global space agnostic endpoint list" + ], + "signature": [ + "\"/api/endpoint_list\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.ENDPOINT_TRUSTED_APPS_LIST_DESCRIPTION", + "type": "string", + "tags": [], + "label": "ENDPOINT_TRUSTED_APPS_LIST_DESCRIPTION", + "description": [ + "Description of trusted apps agnostic list" + ], + "signature": [ + "\"Endpoint Security Trusted Apps List\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.ENDPOINT_TRUSTED_APPS_LIST_ID", + "type": "string", + "tags": [], + "label": "ENDPOINT_TRUSTED_APPS_LIST_ID", + "description": [ + "ID of trusted apps agnostic list" + ], + "signature": [ + "\"endpoint_trusted_apps\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.ENDPOINT_TRUSTED_APPS_LIST_NAME", + "type": "string", + "tags": [], + "label": "ENDPOINT_TRUSTED_APPS_LIST_NAME", + "description": [ + "Name of trusted apps agnostic list" + ], + "signature": [ + "\"Endpoint Security Trusted Apps List\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.EXCEPTION_LIST_ITEM_URL", + "type": "string", + "tags": [], + "label": "EXCEPTION_LIST_ITEM_URL", + "description": [], + "signature": [ + "\"/api/exception_lists/items\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.EXCEPTION_LIST_NAMESPACE", + "type": "string", + "tags": [], + "label": "EXCEPTION_LIST_NAMESPACE", + "description": [], + "signature": [ + "\"exception-list\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.EXCEPTION_LIST_NAMESPACE_AGNOSTIC", + "type": "string", + "tags": [], + "label": "EXCEPTION_LIST_NAMESPACE_AGNOSTIC", + "description": [ + "\nException list spaces" + ], + "signature": [ + "\"exception-list-agnostic\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.EXCEPTION_LIST_URL", + "type": "string", + "tags": [], + "label": "EXCEPTION_LIST_URL", + "description": [ + "\nException list routes" + ], + "signature": [ + "\"/api/exception_lists\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.LIST_INDEX", + "type": "string", + "tags": [], + "label": "LIST_INDEX", + "description": [], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.LIST_ITEM_URL", + "type": "string", + "tags": [], + "label": "LIST_ITEM_URL", + "description": [], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.LIST_PRIVILEGES_URL", + "type": "string", + "tags": [], + "label": "LIST_PRIVILEGES_URL", + "description": [], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.LIST_URL", + "type": "string", + "tags": [], + "label": "LIST_URL", + "description": [ + "\nValue list routes" + ], + "signature": [ + "\"/api/lists\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.MAX_EXCEPTION_LIST_SIZE", + "type": "number", + "tags": [], + "label": "MAX_EXCEPTION_LIST_SIZE", + "description": [], + "signature": [ + "10000" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_securitysolution_list_constants.mdx b/api_docs/kbn_securitysolution_list_constants.mdx new file mode 100644 index 0000000000000..7a9188f14a3ab --- /dev/null +++ b/api_docs/kbn_securitysolution_list_constants.mdx @@ -0,0 +1,27 @@ +--- +id: kibKbnSecuritysolutionListConstantsPluginApi +slug: /kibana-dev-docs/api/kbn-securitysolution-list-constants +title: "@kbn/securitysolution-list-constants" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/securitysolution-list-constants plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-constants'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnSecuritysolutionListConstantsObj from './kbn_securitysolution_list_constants.json'; + +security solution list constants to use across plugins such lists, security_solution, cases, etc... + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 23 | 0 | 9 | 0 | + +## Common + +### Consts, variables and types + + diff --git a/api_docs/kbn_securitysolution_list_hooks.json b/api_docs/kbn_securitysolution_list_hooks.json new file mode 100644 index 0000000000000..bc26e83c859ac --- /dev/null +++ b/api_docs/kbn_securitysolution_list_hooks.json @@ -0,0 +1,1202 @@ +{ + "id": "@kbn/securitysolution-list-hooks", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.addIdToExceptionItemEntries", + "type": "Function", + "tags": [], + "label": "addIdToExceptionItemEntries", + "description": [ + "\nThis adds an id to the incoming exception item entries as ReactJS prefers to have\nan id added to them for use as a stable id. Later if we decide to change the data\nmodel to have id's within the array then this code should be removed. If not, then\nthis code should stay as an adapter for ReactJS.\n\nThis does break the type system slightly as we are lying a bit to the type system as we return\nthe same exceptionItem as we have previously but are augmenting the arrays with an id which TypeScript\ndoesn't mind us doing here. However, downstream you will notice that you have an id when the type\ndoes not indicate it. In that case use (ExceptionItem & { id: string }) temporarily if you're using the id. If you're not,\nyou can ignore the id and just use the normal TypeScript with ReactJS.\n" + ], + "signature": [ + "(exceptionItem: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }) => { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.addIdToExceptionItemEntries.$1", + "type": "Object", + "tags": [], + "label": "exceptionItem", + "description": [ + "The exceptionItem to add an id to the threat matches." + ], + "signature": [ + "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "exceptionItem The exceptionItem but with id added to the exception item entries" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.removeIdFromExceptionItemsEntries", + "type": "Function", + "tags": [], + "label": "removeIdFromExceptionItemsEntries", + "description": [ + "\nThis removes an id from the exceptionItem entries as ReactJS prefers to have\nan id added to them for use as a stable id. Later if we decide to change the data\nmodel to have id's within the array then this code should be removed. If not, then\nthis code should stay as an adapter for ReactJS.\n" + ], + "signature": [ + "(exceptionItem: T) => T" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.removeIdFromExceptionItemsEntries.$1", + "type": "Uncategorized", + "tags": [], + "label": "exceptionItem", + "description": [ + "The exceptionItem to remove an id from the entries." + ], + "signature": [ + "T" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "exceptionItem The exceptionItem but with id removed from the entries" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.transformInput", + "type": "Function", + "tags": [], + "label": "transformInput", + "description": [ + "\nTransforms the output of rules to compensate for technical debt or UI concerns such as\nReactJS preferences for having ids within arrays if the data is not modeled that way.\n\nIf you add a new transform of the input called \"myNewTransform\" do it\nin the form of:\nflow(addIdToExceptionItemEntries, myNewTransform)(exceptionItem)\n" + ], + "signature": [ + "(exceptionItem: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }) => { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.transformInput.$1", + "type": "Object", + "tags": [], + "label": "exceptionItem", + "description": [ + "The exceptionItem to transform the output of" + ], + "signature": [ + "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "The exceptionItem transformed from the output" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.transformNewItemOutput", + "type": "Function", + "tags": [], + "label": "transformNewItemOutput", + "description": [], + "signature": [ + "(exceptionItem: { description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }) => { description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.transformNewItemOutput.$1", + "type": "CompoundType", + "tags": [], + "label": "exceptionItem", + "description": [], + "signature": [ + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.transformOutput", + "type": "Function", + "tags": [], + "label": "transformOutput", + "description": [ + "\nTransforms the output of exception items to compensate for technical debt or UI concerns such as\nReactJS preferences for having ids within arrays if the data is not modeled that way.\n\nIf you add a new transform of the output called \"myNewTransform\" do it\nin the form of:\nflow(removeIdFromExceptionItemsEntries, myNewTransform)(exceptionItem)\n" + ], + "signature": [ + "(exceptionItem: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; })) => { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; })" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.transformOutput.$1", + "type": "CompoundType", + "tags": [], + "label": "exceptionItem", + "description": [ + "The exceptionItem to transform the output of" + ], + "signature": [ + "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; })" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "The exceptionItem transformed from the output" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useApi", + "type": "Function", + "tags": [], + "label": "useApi", + "description": [], + "signature": [ + "(http: HttpStart) => ", + { + "pluginId": "@kbn/securitysolution-list-hooks", + "scope": "common", + "docId": "kibKbnSecuritysolutionListHooksPluginApi", + "section": "def-common.ExceptionsApi", + "text": "ExceptionsApi" + } + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useApi.$1", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "HttpStart" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useCreateListIndex", + "type": "Function", + "tags": [], + "label": "useCreateListIndex", + "description": [], + "signature": [ + "() => ", + "Task", + "<[args: ", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.OptionalSignalArgs", + "text": "OptionalSignalArgs" + }, + "<", + "ApiParams", + ">], { acknowledged: boolean; }>" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_create_list_index/index.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useCursor", + "type": "Function", + "tags": [], + "label": "useCursor", + "description": [], + "signature": [ + "({ pageIndex, pageSize }: ", + { + "pluginId": "@kbn/securitysolution-list-hooks", + "scope": "common", + "docId": "kibKbnSecuritysolutionListHooksPluginApi", + "section": "def-common.UseCursorProps", + "text": "UseCursorProps" + }, + ") => [string | undefined, SetCursor]" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_cursor/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useCursor.$1", + "type": "Object", + "tags": [], + "label": "{ pageIndex, pageSize }", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-hooks", + "scope": "common", + "docId": "kibKbnSecuritysolutionListHooksPluginApi", + "section": "def-common.UseCursorProps", + "text": "UseCursorProps" + } + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_cursor/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useDeleteList", + "type": "Function", + "tags": [], + "label": "useDeleteList", + "description": [], + "signature": [ + "() => ", + "Task", + "<[args: ", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.OptionalSignalArgs", + "text": "OptionalSignalArgs" + }, + "<", + "DeleteListParams", + ">], { _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }>" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_delete_list/index.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useExceptionListItems", + "type": "Function", + "tags": [], + "label": "useExceptionListItems", + "description": [ + "\nHook for using to get an ExceptionList and it's ExceptionListItems\n" + ], + "signature": [ + "({ http, lists, pagination, filterOptions, showDetectionsListsOnly, showEndpointListsOnly, matchFilters, onError, onSuccess, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UseExceptionListProps", + "text": "UseExceptionListProps" + }, + ") => ", + { + "pluginId": "@kbn/securitysolution-list-hooks", + "scope": "common", + "docId": "kibKbnSecuritysolutionListHooksPluginApi", + "section": "def-common.ReturnExceptionListAndItems", + "text": "ReturnExceptionListAndItems" + } + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_exception_list_items/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useExceptionListItems.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n lists,\n pagination = {\n page: 1,\n perPage: 20,\n total: 0,\n },\n filterOptions,\n showDetectionsListsOnly,\n showEndpointListsOnly,\n matchFilters,\n onError,\n onSuccess,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UseExceptionListProps", + "text": "UseExceptionListProps" + } + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_exception_list_items/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useExceptionLists", + "type": "Function", + "tags": [], + "label": "useExceptionLists", + "description": [ + "\nHook for fetching ExceptionLists\n" + ], + "signature": [ + "({ errorMessage, http, initialPagination, filterOptions, namespaceTypes, notifications, showTrustedApps, showEventFilters, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UseExceptionListsProps", + "text": "UseExceptionListsProps" + }, + ") => ", + { + "pluginId": "@kbn/securitysolution-list-hooks", + "scope": "common", + "docId": "kibKbnSecuritysolutionListHooksPluginApi", + "section": "def-common.ReturnExceptionLists", + "text": "ReturnExceptionLists" + } + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_exception_lists/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useExceptionLists.$1", + "type": "Object", + "tags": [], + "label": "{\n errorMessage,\n http,\n initialPagination = DEFAULT_PAGINATION,\n filterOptions = {},\n namespaceTypes,\n notifications,\n showTrustedApps = false,\n showEventFilters = false,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UseExceptionListsProps", + "text": "UseExceptionListsProps" + } + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_exception_lists/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useExportList", + "type": "Function", + "tags": [], + "label": "useExportList", + "description": [], + "signature": [ + "() => ", + "Task", + "<[args: ", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.OptionalSignalArgs", + "text": "OptionalSignalArgs" + }, + "<", + "ExportListParams", + ">], Blob>" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_export_list/index.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useFindLists", + "type": "Function", + "tags": [], + "label": "useFindLists", + "description": [], + "signature": [ + "() => ", + "Task", + "<[args: ", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.OptionalSignalArgs", + "text": "OptionalSignalArgs" + }, + "<", + "FindListsParams", + ">], { cursor: string; data: { _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }[]; page: number; per_page: number; total: number; }>" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_find_lists/index.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useImportList", + "type": "Function", + "tags": [], + "label": "useImportList", + "description": [], + "signature": [ + "() => ", + "Task", + "<[args: ", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.OptionalSignalArgs", + "text": "OptionalSignalArgs" + }, + "<", + "ImportListParams", + ">], { _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }>" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_import_list/index.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.usePersistExceptionItem", + "type": "Function", + "tags": [], + "label": "usePersistExceptionItem", + "description": [ + "\nHook for creating or updating ExceptionListItem\n" + ], + "signature": [ + "({ http, onError, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.PersistHookProps", + "text": "PersistHookProps" + }, + ") => ", + { + "pluginId": "@kbn/securitysolution-list-hooks", + "scope": "common", + "docId": "kibKbnSecuritysolutionListHooksPluginApi", + "section": "def-common.ReturnPersistExceptionItem", + "text": "ReturnPersistExceptionItem" + } + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_persist_exception_item/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.usePersistExceptionItem.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n onError,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.PersistHookProps", + "text": "PersistHookProps" + } + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_persist_exception_item/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.usePersistExceptionList", + "type": "Function", + "tags": [], + "label": "usePersistExceptionList", + "description": [ + "\nHook for creating or updating ExceptionList\n" + ], + "signature": [ + "({ http, onError, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.PersistHookProps", + "text": "PersistHookProps" + }, + ") => ", + { + "pluginId": "@kbn/securitysolution-list-hooks", + "scope": "common", + "docId": "kibKbnSecuritysolutionListHooksPluginApi", + "section": "def-common.ReturnPersistExceptionList", + "text": "ReturnPersistExceptionList" + } + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_persist_exception_list/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.usePersistExceptionList.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n onError,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.PersistHookProps", + "text": "PersistHookProps" + } + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_persist_exception_list/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useReadListIndex", + "type": "Function", + "tags": [], + "label": "useReadListIndex", + "description": [], + "signature": [ + "() => ", + "Task", + "<[args: ", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.OptionalSignalArgs", + "text": "OptionalSignalArgs" + }, + "<", + "ApiParams", + ">], { list_index: boolean; list_item_index: boolean; }>" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_read_list_index/index.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useReadListPrivileges", + "type": "Function", + "tags": [], + "label": "useReadListPrivileges", + "description": [], + "signature": [ + "() => ", + "Task", + "<[args: ", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.OptionalSignalArgs", + "text": "OptionalSignalArgs" + }, + "<", + "ApiParams", + ">], unknown>" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_read_list_privileges/index.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi", + "type": "Interface", + "tags": [], + "label": "ExceptionsApi", + "description": [], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.addExceptionListItem", + "type": "Function", + "tags": [], + "label": "addExceptionListItem", + "description": [], + "signature": [ + "(arg: { listItem: { description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }; }) => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.addExceptionListItem.$1", + "type": "Object", + "tags": [], + "label": "arg", + "description": [], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.addExceptionListItem.$1.listItem", + "type": "CompoundType", + "tags": [], + "label": "listItem", + "description": [], + "signature": [ + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.updateExceptionListItem", + "type": "Function", + "tags": [], + "label": "updateExceptionListItem", + "description": [], + "signature": [ + "(arg: { listItem: { description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }; }) => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.updateExceptionListItem.$1", + "type": "Object", + "tags": [], + "label": "arg", + "description": [], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.updateExceptionListItem.$1.listItem", + "type": "CompoundType", + "tags": [], + "label": "listItem", + "description": [], + "signature": [ + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.deleteExceptionItem", + "type": "Function", + "tags": [], + "label": "deleteExceptionItem", + "description": [], + "signature": [ + "(arg: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallMemoProps", + "text": "ApiCallMemoProps" + }, + ") => Promise" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.deleteExceptionItem.$1", + "type": "Object", + "tags": [], + "label": "arg", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallMemoProps", + "text": "ApiCallMemoProps" + } + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.deleteExceptionList", + "type": "Function", + "tags": [], + "label": "deleteExceptionList", + "description": [], + "signature": [ + "(arg: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallMemoProps", + "text": "ApiCallMemoProps" + }, + ") => Promise" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.deleteExceptionList.$1", + "type": "Object", + "tags": [], + "label": "arg", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallMemoProps", + "text": "ApiCallMemoProps" + } + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.getExceptionItem", + "type": "Function", + "tags": [], + "label": "getExceptionItem", + "description": [], + "signature": [ + "(arg: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallMemoProps", + "text": "ApiCallMemoProps" + }, + " & { onSuccess: (arg: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }) => void; }) => Promise" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.getExceptionItem.$1", + "type": "CompoundType", + "tags": [], + "label": "arg", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallMemoProps", + "text": "ApiCallMemoProps" + }, + " & { onSuccess: (arg: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }) => void; }" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.getExceptionList", + "type": "Function", + "tags": [], + "label": "getExceptionList", + "description": [], + "signature": [ + "(arg: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallMemoProps", + "text": "ApiCallMemoProps" + }, + " & { onSuccess: (arg: { _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; }) => void; }) => Promise" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.getExceptionList.$1", + "type": "CompoundType", + "tags": [], + "label": "arg", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallMemoProps", + "text": "ApiCallMemoProps" + }, + " & { onSuccess: (arg: { _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; }) => void; }" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.getExceptionListsItems", + "type": "Function", + "tags": [], + "label": "getExceptionListsItems", + "description": [], + "signature": [ + "(arg: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallFindListsItemsMemoProps", + "text": "ApiCallFindListsItemsMemoProps" + }, + ") => Promise" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.getExceptionListsItems.$1", + "type": "Object", + "tags": [], + "label": "arg", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallFindListsItemsMemoProps", + "text": "ApiCallFindListsItemsMemoProps" + } + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.exportExceptionList", + "type": "Function", + "tags": [], + "label": "exportExceptionList", + "description": [], + "signature": [ + "(arg: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiListExportProps", + "text": "ApiListExportProps" + }, + ") => Promise" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.exportExceptionList.$1", + "type": "Object", + "tags": [], + "label": "arg", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiListExportProps", + "text": "ApiListExportProps" + } + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.UseCursorProps", + "type": "Interface", + "tags": [], + "label": "UseCursorProps", + "description": [], + "path": "packages/kbn-securitysolution-list-hooks/src/use_cursor/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.UseCursorProps.pageIndex", + "type": "number", + "tags": [], + "label": "pageIndex", + "description": [], + "path": "packages/kbn-securitysolution-list-hooks/src/use_cursor/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.UseCursorProps.pageSize", + "type": "number", + "tags": [], + "label": "pageSize", + "description": [], + "path": "packages/kbn-securitysolution-list-hooks/src/use_cursor/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.Func", + "type": "Type", + "tags": [], + "label": "Func", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_exception_lists/index.ts", + "deprecated": false, + "returnComment": [], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ReturnExceptionListAndItems", + "type": "Type", + "tags": [], + "label": "ReturnExceptionListAndItems", + "description": [], + "signature": [ + "[boolean, { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[], ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.Pagination", + "text": "Pagination" + }, + ", Func | null]" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_exception_list_items/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ReturnExceptionLists", + "type": "Type", + "tags": [], + "label": "ReturnExceptionLists", + "description": [], + "signature": [ + "[loading: boolean, exceptionLists: { _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; }[], pagination: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.Pagination", + "text": "Pagination" + }, + ", setPagination: React.Dispatch>, fetchLists: ", + { + "pluginId": "@kbn/securitysolution-list-hooks", + "scope": "common", + "docId": "kibKbnSecuritysolutionListHooksPluginApi", + "section": "def-common.Func", + "text": "Func" + }, + " | null]" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_exception_lists/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ReturnPersistExceptionItem", + "type": "Type", + "tags": [], + "label": "ReturnPersistExceptionItem", + "description": [], + "signature": [ + "[PersistReturnExceptionItem, React.Dispatch<({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }) | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }) | null>]" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_persist_exception_item/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ReturnPersistExceptionList", + "type": "Type", + "tags": [], + "label": "ReturnPersistExceptionList", + "description": [], + "signature": [ + "[PersistReturnExceptionList, React.Dispatch<({ description: string; name: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; } & { list_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; version?: number | undefined; }) | ({ description: string; name: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; } & { _version?: string | undefined; id?: string | undefined; list_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; version?: number | undefined; }) | null>]" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_persist_exception_list/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_securitysolution_list_hooks.mdx b/api_docs/kbn_securitysolution_list_hooks.mdx new file mode 100644 index 0000000000000..b3b7f283ba839 --- /dev/null +++ b/api_docs/kbn_securitysolution_list_hooks.mdx @@ -0,0 +1,33 @@ +--- +id: kibKbnSecuritysolutionListHooksPluginApi +slug: /kibana-dev-docs/api/kbn-securitysolution-list-hooks +title: "@kbn/securitysolution-list-hooks" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/securitysolution-list-hooks plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-hooks'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnSecuritysolutionListHooksObj from './kbn_securitysolution_list_hooks.json'; + +Security solution list ReactJS hooks + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 56 | 0 | 44 | 0 | + +## Common + +### Functions + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_securitysolution_list_utils.json b/api_docs/kbn_securitysolution_list_utils.json new file mode 100644 index 0000000000000..bfc009f17df0a --- /dev/null +++ b/api_docs/kbn_securitysolution_list_utils.json @@ -0,0 +1,4209 @@ +{ + "id": "@kbn/securitysolution-list-utils", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.addIdToEntries", + "type": "Function", + "tags": [], + "label": "addIdToEntries", + "description": [], + "signature": [ + "(entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]) => ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.addIdToEntries.$1", + "type": "Array", + "tags": [], + "label": "entries", + "description": [], + "signature": [ + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildExceptionFilter", + "type": "Function", + "tags": [], + "label": "buildExceptionFilter", + "description": [], + "signature": [ + "({ lists, excludeExceptions, chunkSize, }: { lists: ({ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }))[]; excludeExceptions: boolean; chunkSize: number; }) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildExceptionFilter.$1", + "type": "Object", + "tags": [], + "label": "{\n lists,\n excludeExceptions,\n chunkSize,\n}", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildExceptionFilter.$1.lists", + "type": "Array", + "tags": [], + "label": "lists", + "description": [], + "signature": [ + "({ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }))[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildExceptionFilter.$1.excludeExceptions", + "type": "boolean", + "tags": [], + "label": "excludeExceptions", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildExceptionFilter.$1.chunkSize", + "type": "number", + "tags": [], + "label": "chunkSize", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildExceptionItemFilter", + "type": "Function", + "tags": [], + "label": "buildExceptionItemFilter", + "description": [], + "signature": [ + "(exceptionItem: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionItemSansLargeValueLists", + "text": "ExceptionItemSansLargeValueLists" + }, + ") => (", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BooleanFilter", + "text": "BooleanFilter" + }, + " | ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.NestedFilter", + "text": "NestedFilter" + }, + ")[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildExceptionItemFilter.$1", + "type": "CompoundType", + "tags": [], + "label": "exceptionItem", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionItemSansLargeValueLists", + "text": "ExceptionItemSansLargeValueLists" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildExceptionItemFilterWithOsType", + "type": "Function", + "tags": [], + "label": "buildExceptionItemFilterWithOsType", + "description": [ + "\nThis builds an exception item filter with the os type" + ], + "signature": [ + "(osTypes: (\"windows\" | \"linux\" | \"macos\")[], entries: NonListEntry[]) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BooleanFilter", + "text": "BooleanFilter" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildExceptionItemFilterWithOsType.$1", + "type": "Array", + "tags": [], + "label": "osTypes", + "description": [ + "The os_type array from the REST interface that is an array such as ['windows', 'linux']" + ], + "signature": [ + "(\"windows\" | \"linux\" | \"macos\")[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildExceptionItemFilterWithOsType.$2", + "type": "Array", + "tags": [], + "label": "entries", + "description": [ + "The entries to join the OR's with before the elastic filter change out" + ], + "signature": [ + "NonListEntry[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildExclusionClause", + "type": "Function", + "tags": [], + "label": "buildExclusionClause", + "description": [], + "signature": [ + "(booleanFilter: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BooleanFilter", + "text": "BooleanFilter" + }, + ") => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BooleanFilter", + "text": "BooleanFilter" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildExclusionClause.$1", + "type": "Object", + "tags": [], + "label": "booleanFilter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BooleanFilter", + "text": "BooleanFilter" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildExistsClause", + "type": "Function", + "tags": [], + "label": "buildExistsClause", + "description": [], + "signature": [ + "(entry: { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; }) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BooleanFilter", + "text": "BooleanFilter" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildExistsClause.$1", + "type": "Object", + "tags": [], + "label": "entry", + "description": [], + "signature": [ + "{ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildMatchAnyClause", + "type": "Function", + "tags": [], + "label": "buildMatchAnyClause", + "description": [], + "signature": [ + "(entry: { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; }) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BooleanFilter", + "text": "BooleanFilter" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildMatchAnyClause.$1", + "type": "Object", + "tags": [], + "label": "entry", + "description": [], + "signature": [ + "{ field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildMatchClause", + "type": "Function", + "tags": [], + "label": "buildMatchClause", + "description": [], + "signature": [ + "(entry: { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; }) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BooleanFilter", + "text": "BooleanFilter" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildMatchClause.$1", + "type": "Object", + "tags": [], + "label": "entry", + "description": [], + "signature": [ + "{ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildNestedClause", + "type": "Function", + "tags": [], + "label": "buildNestedClause", + "description": [], + "signature": [ + "(entry: { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; }) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.NestedFilter", + "text": "NestedFilter" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildNestedClause.$1", + "type": "Object", + "tags": [], + "label": "entry", + "description": [], + "signature": [ + "{ entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.chunkExceptions", + "type": "Function", + "tags": [], + "label": "chunkExceptions", + "description": [], + "signature": [ + "(exceptions: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionItemSansLargeValueLists", + "text": "ExceptionItemSansLargeValueLists" + }, + "[], chunkSize: number) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionItemSansLargeValueLists", + "text": "ExceptionItemSansLargeValueLists" + }, + "[][]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.chunkExceptions.$1", + "type": "Array", + "tags": [], + "label": "exceptions", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionItemSansLargeValueLists", + "text": "ExceptionItemSansLargeValueLists" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.chunkExceptions.$2", + "type": "number", + "tags": [], + "label": "chunkSize", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.containsValueListEntry", + "type": "Function", + "tags": [], + "label": "containsValueListEntry", + "description": [], + "signature": [ + "(items: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionsBuilderExceptionItem", + "text": "ExceptionsBuilderExceptionItem" + }, + "[]) => boolean" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.containsValueListEntry.$1", + "type": "Array", + "tags": [], + "label": "items", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionsBuilderExceptionItem", + "text": "ExceptionsBuilderExceptionItem" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.createInnerAndClauses", + "type": "Function", + "tags": [], + "label": "createInnerAndClauses", + "description": [], + "signature": [ + "(entry: NonListEntry, parent?: string | undefined) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BooleanFilter", + "text": "BooleanFilter" + }, + " | ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.NestedFilter", + "text": "NestedFilter" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.createInnerAndClauses.$1", + "type": "CompoundType", + "tags": [], + "label": "entry", + "description": [], + "signature": [ + "NonListEntry" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.createInnerAndClauses.$2", + "type": "string", + "tags": [], + "label": "parent", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.createOrClauses", + "type": "Function", + "tags": [], + "label": "createOrClauses", + "description": [], + "signature": [ + "(exceptionItems: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionItemSansLargeValueLists", + "text": "ExceptionItemSansLargeValueLists" + }, + "[]) => (", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BooleanFilter", + "text": "BooleanFilter" + }, + " | ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.NestedFilter", + "text": "NestedFilter" + }, + ")[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.createOrClauses.$1", + "type": "Array", + "tags": [], + "label": "exceptionItems", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionItemSansLargeValueLists", + "text": "ExceptionItemSansLargeValueLists" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.filterExceptionItems", + "type": "Function", + "tags": [], + "label": "filterExceptionItems", + "description": [], + "signature": [ + "(exceptions: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionsBuilderExceptionItem", + "text": "ExceptionsBuilderExceptionItem" + }, + "[]) => ({ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }))[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.filterExceptionItems.$1", + "type": "Array", + "tags": [], + "label": "exceptions", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionsBuilderExceptionItem", + "text": "ExceptionsBuilderExceptionItem" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getBaseMatchAnyClause", + "type": "Function", + "tags": [], + "label": "getBaseMatchAnyClause", + "description": [], + "signature": [ + "(entry: { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; }) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BooleanFilter", + "text": "BooleanFilter" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getBaseMatchAnyClause.$1", + "type": "Object", + "tags": [], + "label": "entry", + "description": [], + "signature": [ + "{ field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getBaseNestedClause", + "type": "Function", + "tags": [], + "label": "getBaseNestedClause", + "description": [], + "signature": [ + "(entries: NonListEntry[], parentField: string) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BooleanFilter", + "text": "BooleanFilter" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getBaseNestedClause.$1", + "type": "Array", + "tags": [], + "label": "entries", + "description": [], + "signature": [ + "NonListEntry[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getBaseNestedClause.$2", + "type": "string", + "tags": [], + "label": "parentField", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getCorrespondingKeywordField", + "type": "Function", + "tags": [], + "label": "getCorrespondingKeywordField", + "description": [ + "\nFields of type 'text' do not generate autocomplete values, we want\nto find it's corresponding keyword type (if available) which does\ngenerate autocomplete values\n" + ], + "signature": [ + "({ fields, selectedField, }: { fields: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + "[]; selectedField: string | undefined; }) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + " | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getCorrespondingKeywordField.$1", + "type": "Object", + "tags": [], + "label": "{\n fields,\n selectedField,\n}", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getCorrespondingKeywordField.$1.fields", + "type": "Array", + "tags": [], + "label": "fields", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getCorrespondingKeywordField.$1.selectedField", + "type": "string", + "tags": [], + "label": "selectedField", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getDefaultEmptyEntry", + "type": "Function", + "tags": [], + "label": "getDefaultEmptyEntry", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.EmptyEntry", + "text": "EmptyEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getDefaultNestedEmptyEntry", + "type": "Function", + "tags": [], + "label": "getDefaultNestedEmptyEntry", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.EmptyNestedEntry", + "text": "EmptyNestedEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryFromOperator", + "type": "Function", + "tags": [], + "label": "getEntryFromOperator", + "description": [ + "\nOn operator change, determines whether value needs to be cleared or not\n" + ], + "signature": [ + "(selectedOperator: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.OperatorOption", + "text": "OperatorOption" + }, + ", currentEntry: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + }, + ") => ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } & { id?: string | undefined; }) | ({ field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } & { id?: string | undefined; })" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryFromOperator.$1", + "type": "Object", + "tags": [], + "label": "selectedOperator", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.OperatorOption", + "text": "OperatorOption" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryFromOperator.$2", + "type": "Object", + "tags": [], + "label": "currentEntry", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnFieldChange", + "type": "Function", + "tags": [], + "label": "getEntryOnFieldChange", + "description": [ + "\nDetermines proper entry update when user selects new field\n" + ], + "signature": [ + "(item: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + }, + ", newField: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ") => { index: number; updatedEntry: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + }, + "; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnFieldChange.$1", + "type": "Object", + "tags": [], + "label": "item", + "description": [ + "- current exception item entry values" + ], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnFieldChange.$2", + "type": "Object", + "tags": [], + "label": "newField", + "description": [ + "- newly selected field" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnListChange", + "type": "Function", + "tags": [], + "label": "getEntryOnListChange", + "description": [ + "\nDetermines proper entry update when user updates value\nwhen operator is of type \"list\"\n" + ], + "signature": [ + "(item: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + }, + ", newField: { _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }) => { index: number; updatedEntry: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + }, + "; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnListChange.$1", + "type": "Object", + "tags": [], + "label": "item", + "description": [ + "- current exception item entry values" + ], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnListChange.$2", + "type": "Object", + "tags": [], + "label": "newField", + "description": [ + "- newly selected list" + ], + "signature": [ + "{ _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnMatchAnyChange", + "type": "Function", + "tags": [], + "label": "getEntryOnMatchAnyChange", + "description": [ + "\nDetermines proper entry update when user updates value\nwhen operator is of type \"match_any\"\n" + ], + "signature": [ + "(item: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + }, + ", newField: string[]) => { index: number; updatedEntry: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + }, + "; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnMatchAnyChange.$1", + "type": "Object", + "tags": [], + "label": "item", + "description": [ + "- current exception item entry values" + ], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnMatchAnyChange.$2", + "type": "Array", + "tags": [], + "label": "newField", + "description": [ + "- newly entered value" + ], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnMatchChange", + "type": "Function", + "tags": [], + "label": "getEntryOnMatchChange", + "description": [ + "\nDetermines proper entry update when user updates value\nwhen operator is of type \"match\"\n" + ], + "signature": [ + "(item: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + }, + ", newField: string) => { index: number; updatedEntry: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + }, + "; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnMatchChange.$1", + "type": "Object", + "tags": [], + "label": "item", + "description": [ + "- current exception item entry values" + ], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnMatchChange.$2", + "type": "string", + "tags": [], + "label": "newField", + "description": [ + "- newly entered value" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnOperatorChange", + "type": "Function", + "tags": [], + "label": "getEntryOnOperatorChange", + "description": [ + "\nDetermines proper entry update when user selects new operator\n" + ], + "signature": [ + "(item: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + }, + ", newOperator: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.OperatorOption", + "text": "OperatorOption" + }, + ") => { updatedEntry: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + }, + "; index: number; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnOperatorChange.$1", + "type": "Object", + "tags": [], + "label": "item", + "description": [ + "- current exception item entry values" + ], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnOperatorChange.$2", + "type": "Object", + "tags": [], + "label": "newOperator", + "description": [ + "- newly selected operator" + ], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.OperatorOption", + "text": "OperatorOption" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryValue", + "type": "Function", + "tags": [], + "label": "getEntryValue", + "description": [ + "\nReturns the fields corresponding value for an entry\n" + ], + "signature": [ + "(item: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + }, + ") => string | string[] | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryValue.$1", + "type": "CompoundType", + "tags": [], + "label": "item", + "description": [ + "a single ExceptionItem entry" + ], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getExceptionListType", + "type": "Function", + "tags": [], + "label": "getExceptionListType", + "description": [], + "signature": [ + "({ savedObjectType, }: { savedObjectType: string; }) => \"single\" | \"agnostic\"" + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_exception_list_type/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getExceptionListType.$1", + "type": "Object", + "tags": [], + "label": "{\n savedObjectType,\n}", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/get_exception_list_type/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getExceptionListType.$1.savedObjectType", + "type": "string", + "tags": [], + "label": "savedObjectType", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/get_exception_list_type/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getExceptionOperatorSelect", + "type": "Function", + "tags": [], + "label": "getExceptionOperatorSelect", + "description": [ + "\nDetermines operator selection (is/is not/is one of, etc.)\nDefault operator is \"is\"\n" + ], + "signature": [ + "(item: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + }, + ") => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.OperatorOption", + "text": "OperatorOption" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getExceptionOperatorSelect.$1", + "type": "CompoundType", + "tags": [], + "label": "item", + "description": [ + "a single ExceptionItem entry" + ], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFilteredIndexPatterns", + "type": "Function", + "tags": [], + "label": "getFilteredIndexPatterns", + "description": [ + "\nReturns filtered index patterns based on the field - if a user selects to\nadd nested entry, should only show nested fields, if item is the parent\nfield of a nested entry, we only display the parent field\n" + ], + "signature": [ + "(patterns: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ", item: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + }, + ", type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\", preFilter?: ((i: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ", t: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\", o?: (\"windows\" | \"linux\" | \"macos\")[] | undefined) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ") | undefined, osTypes?: (\"windows\" | \"linux\" | \"macos\")[] | undefined) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFilteredIndexPatterns.$1", + "type": "Object", + "tags": [], + "label": "patterns", + "description": [ + "IndexPatternBase containing available fields on rule index" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFilteredIndexPatterns.$2", + "type": "Object", + "tags": [], + "label": "item", + "description": [ + "exception item entry\nset to add a nested field" + ], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFilteredIndexPatterns.$3", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFilteredIndexPatterns.$4", + "type": "Function", + "tags": [], + "label": "preFilter", + "description": [], + "signature": [ + "((i: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ", t: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\", o?: (\"windows\" | \"linux\" | \"macos\")[] | undefined) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ") | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFilteredIndexPatterns.$5", + "type": "Array", + "tags": [], + "label": "osTypes", + "description": [], + "signature": [ + "(\"windows\" | \"linux\" | \"macos\")[] | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFilters", + "type": "Function", + "tags": [], + "label": "getFilters", + "description": [], + "signature": [ + "({ filters, namespaceTypes, showTrustedApps, showEventFilters, }: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.GetFiltersParams", + "text": "GetFiltersParams" + }, + ") => string" + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_filters/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFilters.$1", + "type": "Object", + "tags": [], + "label": "{\n filters,\n namespaceTypes,\n showTrustedApps,\n showEventFilters,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.GetFiltersParams", + "text": "GetFiltersParams" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_filters/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFormattedBuilderEntries", + "type": "Function", + "tags": [], + "label": "getFormattedBuilderEntries", + "description": [ + "\nFormats the entries to be easily usable for the UI, most of the\ncomplexity was introduced with nested fields\n" + ], + "signature": [ + "(indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ", entries: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + }, + "[], parent?: { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | undefined, parentIndex?: number | undefined) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFormattedBuilderEntries.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFormattedBuilderEntries.$2", + "type": "Array", + "tags": [], + "label": "entries", + "description": [ + "exception item entries" + ], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFormattedBuilderEntries.$3", + "type": "Object", + "tags": [], + "label": "parent", + "description": [ + "nested entries hold copy of their parent for use in various logic" + ], + "signature": [ + "{ entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFormattedBuilderEntries.$4", + "type": "number", + "tags": [], + "label": "parentIndex", + "description": [ + "corresponds to the entry index, this might seem obvious, but\nwas added to ensure that nested items could be identified with their parent entry" + ], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFormattedBuilderEntry", + "type": "Function", + "tags": [], + "label": "getFormattedBuilderEntry", + "description": [ + "\nFormats the entry into one that is easily usable for the UI, most of the\ncomplexity was introduced with nested fields\n" + ], + "signature": [ + "(indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ", item: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + }, + ", itemIndex: number, parent: { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | undefined, parentIndex: number | undefined) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFormattedBuilderEntry.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFormattedBuilderEntry.$2", + "type": "CompoundType", + "tags": [], + "label": "item", + "description": [ + "exception item entry" + ], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFormattedBuilderEntry.$3", + "type": "number", + "tags": [], + "label": "itemIndex", + "description": [ + "entry index" + ], + "signature": [ + "number" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFormattedBuilderEntry.$4", + "type": "Object", + "tags": [], + "label": "parent", + "description": [ + "nested entries hold copy of their parent for use in various logic" + ], + "signature": [ + "{ entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFormattedBuilderEntry.$5", + "type": "number", + "tags": [], + "label": "parentIndex", + "description": [ + "corresponds to the entry index, this might seem obvious, but\nwas added to ensure that nested items could be identified with their parent entry" + ], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getGeneralFilters", + "type": "Function", + "tags": [], + "label": "getGeneralFilters", + "description": [], + "signature": [ + "(filters: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExceptionListFilter", + "text": "ExceptionListFilter" + }, + ", namespaceTypes: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.SavedObjectType", + "text": "SavedObjectType" + }, + "[]) => string" + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_general_filters/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getGeneralFilters.$1", + "type": "Object", + "tags": [], + "label": "filters", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExceptionListFilter", + "text": "ExceptionListFilter" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_general_filters/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getGeneralFilters.$2", + "type": "Array", + "tags": [], + "label": "namespaceTypes", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.SavedObjectType", + "text": "SavedObjectType" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_general_filters/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getIdsAndNamespaces", + "type": "Function", + "tags": [], + "label": "getIdsAndNamespaces", + "description": [], + "signature": [ + "({ lists, showDetection, showEndpoint, }: { lists: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExceptionListIdentifiers", + "text": "ExceptionListIdentifiers" + }, + "[]; showDetection: boolean; showEndpoint: boolean; }) => { ids: string[]; namespaces: (\"single\" | \"agnostic\")[]; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_ids_and_namespaces/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getIdsAndNamespaces.$1", + "type": "Object", + "tags": [], + "label": "{\n lists,\n showDetection,\n showEndpoint,\n}", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/get_ids_and_namespaces/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getIdsAndNamespaces.$1.lists", + "type": "Array", + "tags": [], + "label": "lists", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExceptionListIdentifiers", + "text": "ExceptionListIdentifiers" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_ids_and_namespaces/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getIdsAndNamespaces.$1.showDetection", + "type": "boolean", + "tags": [], + "label": "showDetection", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/get_ids_and_namespaces/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getIdsAndNamespaces.$1.showEndpoint", + "type": "boolean", + "tags": [], + "label": "showEndpoint", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/get_ids_and_namespaces/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getNewExceptionItem", + "type": "Function", + "tags": [], + "label": "getNewExceptionItem", + "description": [], + "signature": [ + "({ listId, namespaceType, ruleName, }: { listId: string; namespaceType: \"single\" | \"agnostic\"; ruleName: string; }) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.CreateExceptionListItemBuilderSchema", + "text": "CreateExceptionListItemBuilderSchema" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getNewExceptionItem.$1", + "type": "Object", + "tags": [], + "label": "{\n listId,\n namespaceType,\n ruleName,\n}", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getNewExceptionItem.$1.listId", + "type": "string", + "tags": [], + "label": "listId", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getNewExceptionItem.$1.namespaceType", + "type": "CompoundType", + "tags": [], + "label": "namespaceType", + "description": [], + "signature": [ + "\"single\" | \"agnostic\"" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getNewExceptionItem.$1.ruleName", + "type": "string", + "tags": [], + "label": "ruleName", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getOperatorOptions", + "type": "Function", + "tags": [], + "label": "getOperatorOptions", + "description": [ + "\nDetermines which operators to make available\n" + ], + "signature": [ + "(item: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + }, + ", listType: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\", isBoolean: boolean, includeValueListOperators?: boolean) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.OperatorOption", + "text": "OperatorOption" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getOperatorOptions.$1", + "type": "Object", + "tags": [], + "label": "item", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getOperatorOptions.$2", + "type": "CompoundType", + "tags": [], + "label": "listType", + "description": [], + "signature": [ + "\"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getOperatorOptions.$3", + "type": "boolean", + "tags": [], + "label": "isBoolean", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getOperatorOptions.$4", + "type": "boolean", + "tags": [], + "label": "includeValueListOperators", + "description": [ + "whether or not to include the 'is in list' and 'is not in list' operators" + ], + "signature": [ + "boolean" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getOperatorType", + "type": "Function", + "tags": [], + "label": "getOperatorType", + "description": [ + "\nReturns the operator type, may not need this if using io-ts types\n" + ], + "signature": [ + "(item: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + }, + ") => ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getOperatorType.$1", + "type": "CompoundType", + "tags": [], + "label": "item", + "description": [ + "a single ExceptionItem entry" + ], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getSavedObjectType", + "type": "Function", + "tags": [], + "label": "getSavedObjectType", + "description": [], + "signature": [ + "({ namespaceType, }: { namespaceType: \"single\" | \"agnostic\"; }) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.SavedObjectType", + "text": "SavedObjectType" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_saved_object_type/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getSavedObjectType.$1", + "type": "Object", + "tags": [], + "label": "{\n namespaceType,\n}", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/get_saved_object_type/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getSavedObjectType.$1.namespaceType", + "type": "CompoundType", + "tags": [], + "label": "namespaceType", + "description": [], + "signature": [ + "\"single\" | \"agnostic\"" + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_saved_object_type/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getSavedObjectTypes", + "type": "Function", + "tags": [], + "label": "getSavedObjectTypes", + "description": [], + "signature": [ + "({ namespaceType, }: { namespaceType: (\"single\" | \"agnostic\")[]; }) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.SavedObjectType", + "text": "SavedObjectType" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_saved_object_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getSavedObjectTypes.$1", + "type": "Object", + "tags": [], + "label": "{\n namespaceType,\n}", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/get_saved_object_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getSavedObjectTypes.$1.namespaceType", + "type": "Array", + "tags": [], + "label": "namespaceType", + "description": [], + "signature": [ + "(\"single\" | \"agnostic\")[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_saved_object_types/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getTrustedAppsFilter", + "type": "Function", + "tags": [], + "label": "getTrustedAppsFilter", + "description": [], + "signature": [ + "(showTrustedApps: boolean, namespaceTypes: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.SavedObjectType", + "text": "SavedObjectType" + }, + "[]) => string" + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_trusted_apps_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getTrustedAppsFilter.$1", + "type": "boolean", + "tags": [], + "label": "showTrustedApps", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_trusted_apps_filter/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getTrustedAppsFilter.$2", + "type": "Array", + "tags": [], + "label": "namespaceTypes", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.SavedObjectType", + "text": "SavedObjectType" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_trusted_apps_filter/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getUpdatedEntriesOnDelete", + "type": "Function", + "tags": [], + "label": "getUpdatedEntriesOnDelete", + "description": [ + "\nDetermines whether an entire entry, exception item, or entry within a nested\nentry needs to be removed\n" + ], + "signature": [ + "(exceptionItem: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionsBuilderExceptionItem", + "text": "ExceptionsBuilderExceptionItem" + }, + ", entryIndex: number, nestedParentIndex: number | null) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionsBuilderExceptionItem", + "text": "ExceptionsBuilderExceptionItem" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getUpdatedEntriesOnDelete.$1", + "type": "CompoundType", + "tags": [], + "label": "exceptionItem", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionsBuilderExceptionItem", + "text": "ExceptionsBuilderExceptionItem" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getUpdatedEntriesOnDelete.$2", + "type": "number", + "tags": [], + "label": "entryIndex", + "description": [ + "index of given entry, for nested entries, this will correspond\nto their parent index" + ], + "signature": [ + "number" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getUpdatedEntriesOnDelete.$3", + "type": "CompoundType", + "tags": [], + "label": "nestedParentIndex", + "description": [], + "signature": [ + "number | null" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.hasLargeValueList", + "type": "Function", + "tags": [], + "label": "hasLargeValueList", + "description": [], + "signature": [ + "(entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]) => boolean" + ], + "path": "packages/kbn-securitysolution-list-utils/src/has_large_value_list/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.hasLargeValueList.$1", + "type": "Array", + "tags": [], + "label": "entries", + "description": [], + "signature": [ + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/has_large_value_list/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isEntryNested", + "type": "Function", + "tags": [], + "label": "isEntryNested", + "description": [], + "signature": [ + "(item: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + }, + ") => item is { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isEntryNested.$1", + "type": "CompoundType", + "tags": [], + "label": "item", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.transformOsType", + "type": "Function", + "tags": [], + "label": "transformOsType", + "description": [ + "\nTransforms the os_type into a regular filter as if the user had created it\nfrom the fields for the next state of transforms which will create the elastic filters\nfrom it.\n\nNote: We use two types of fields, the \"host.os.type\" and \"host.os.name.caseless\"\nThe endpoint/endgame agent has been using \"host.os.name.caseless\" as the same value as the ECS\nvalue of \"host.os.type\" where the auditbeat, winlogbeat, etc... (other agents) are all using\n\"host.os.type\". In order to be compatible with both, I create an \"OR\" between these two data types\nwhere if either has a match then we will exclude it as part of the match. This should also be\nforwards compatible for endpoints/endgame agents when/if they upgrade to using \"host.os.type\"\nrather than using \"host.os.name.caseless\" values.\n\nAlso we create another \"OR\" from the osType names so that if there are multiples such as ['windows', 'linux']\nthis will exclude anything with either 'windows' or with 'linux'" + ], + "signature": [ + "(osTypes: (\"windows\" | \"linux\" | \"macos\")[], entries: NonListEntry[]) => NonListEntry[][]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.transformOsType.$1", + "type": "Array", + "tags": [], + "label": "osTypes", + "description": [ + "The os_type array from the REST interface that is an array such as ['windows', 'linux']" + ], + "signature": [ + "(\"windows\" | \"linux\" | \"macos\")[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.transformOsType.$2", + "type": "Array", + "tags": [], + "label": "entries", + "description": [ + "The entries to join the OR's with before the elastic filter change out" + ], + "signature": [ + "NonListEntry[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.BooleanFilter", + "type": "Interface", + "tags": [], + "label": "BooleanFilter", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.BooleanFilter.bool", + "type": "Object", + "tags": [], + "label": "bool", + "description": [], + "signature": [ + "{ must?: unknown; must_not?: unknown; should?: unknown[] | undefined; filter?: unknown; minimum_should_match?: number | undefined; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyEntry", + "type": "Interface", + "tags": [], + "label": "EmptyEntry", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyEntry.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyEntry.field", + "type": "string", + "tags": [], + "label": "field", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyEntry.operator", + "type": "Enum", + "tags": [], + "label": "operator", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyEntry.type", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, + ".MATCH | ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, + ".MATCH_ANY | ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, + ".WILDCARD" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyEntry.value", + "type": "CompoundType", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "string | string[] | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyListEntry", + "type": "Interface", + "tags": [], + "label": "EmptyListEntry", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyListEntry.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyListEntry.field", + "type": "string", + "tags": [], + "label": "field", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyListEntry.operator", + "type": "Enum", + "tags": [], + "label": "operator", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyListEntry.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, + ".LIST" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyListEntry.list", + "type": "Object", + "tags": [], + "label": "list", + "description": [], + "signature": [ + "{ id: string | undefined; type: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyNestedEntry", + "type": "Interface", + "tags": [], + "label": "EmptyNestedEntry", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyNestedEntry.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyNestedEntry.field", + "type": "string", + "tags": [], + "label": "field", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyNestedEntry.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, + ".NESTED" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyNestedEntry.entries", + "type": "Array", + "tags": [], + "label": "entries", + "description": [], + "signature": [ + "(({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } & { id?: string | undefined; }))[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.FormattedBuilderEntry", + "type": "Interface", + "tags": [], + "label": "FormattedBuilderEntry", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.FormattedBuilderEntry.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.FormattedBuilderEntry.field", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + " | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.FormattedBuilderEntry.operator", + "type": "Object", + "tags": [], + "label": "operator", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.OperatorOption", + "text": "OperatorOption" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.FormattedBuilderEntry.value", + "type": "CompoundType", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "string | string[] | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.FormattedBuilderEntry.nested", + "type": "CompoundType", + "tags": [], + "label": "nested", + "description": [], + "signature": [ + "\"parent\" | \"child\" | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.FormattedBuilderEntry.entryIndex", + "type": "number", + "tags": [], + "label": "entryIndex", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.FormattedBuilderEntry.parent", + "type": "Object", + "tags": [], + "label": "parent", + "description": [], + "signature": [ + "{ parent: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntryNested", + "text": "BuilderEntryNested" + }, + "; parentIndex: number; } | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.FormattedBuilderEntry.correspondingKeywordField", + "type": "Object", + "tags": [], + "label": "correspondingKeywordField", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + " | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.GetFiltersParams", + "type": "Interface", + "tags": [], + "label": "GetFiltersParams", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/get_filters/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.GetFiltersParams.filters", + "type": "Object", + "tags": [], + "label": "filters", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExceptionListFilter", + "text": "ExceptionListFilter" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_filters/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.GetFiltersParams.namespaceTypes", + "type": "Array", + "tags": [], + "label": "namespaceTypes", + "description": [], + "signature": [ + "(\"single\" | \"agnostic\")[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_filters/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.GetFiltersParams.showTrustedApps", + "type": "boolean", + "tags": [], + "label": "showTrustedApps", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/get_filters/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.GetFiltersParams.showEventFilters", + "type": "boolean", + "tags": [], + "label": "showEventFilters", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/get_filters/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.NestedFilter", + "type": "Interface", + "tags": [], + "label": "NestedFilter", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.NestedFilter.nested", + "type": "Object", + "tags": [], + "label": "nested", + "description": [], + "signature": [ + "{ path: string; query: unknown; score_mode: string; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.OperatorOption", + "type": "Interface", + "tags": [], + "label": "OperatorOption", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.OperatorOption.message", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.OperatorOption.value", + "type": "string", + "tags": [], + "label": "value", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.OperatorOption.operator", + "type": "Enum", + "tags": [], + "label": "operator", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.OperatorOption.type", + "type": "Enum", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.BuilderEntry", + "type": "Type", + "tags": [], + "label": "BuilderEntry", + "description": [], + "signature": [ + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } & { id?: string | undefined; }) | ({ field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } & { id?: string | undefined; }) | ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.EmptyListEntry", + "text": "EmptyListEntry" + }, + " | ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.EmptyEntry", + "text": "EmptyEntry" + }, + " | ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntryNested", + "text": "BuilderEntryNested" + }, + " | ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.EmptyNestedEntry", + "text": "EmptyNestedEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.BuilderEntryNested", + "type": "Type", + "tags": [], + "label": "BuilderEntryNested", + "description": [], + "signature": [ + "Pick<{ entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; }, \"type\" | \"field\"> & { id?: string | undefined; entries: (({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } & { id?: string | undefined; }))[]; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.CreateExceptionListItemBuilderSchema", + "type": "Type", + "tags": [], + "label": "CreateExceptionListItemBuilderSchema", + "description": [], + "signature": [ + "Pick<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }, \"type\" | \"description\" | \"name\" | \"tags\" | \"comments\" | \"list_id\" | \"namespace_type\" | \"os_types\" | \"item_id\"> & { meta: { temporaryUuid: string; }; entries: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + }, + "[]; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EVENT_FILTERS_OPERATORS", + "type": "Array", + "tags": [], + "label": "EVENT_FILTERS_OPERATORS", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.OperatorOption", + "text": "OperatorOption" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EXCEPTION_OPERATORS", + "type": "Array", + "tags": [], + "label": "EXCEPTION_OPERATORS", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.OperatorOption", + "text": "OperatorOption" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EXCEPTION_OPERATORS_ONLY_LISTS", + "type": "Array", + "tags": [], + "label": "EXCEPTION_OPERATORS_ONLY_LISTS", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.OperatorOption", + "text": "OperatorOption" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EXCEPTION_OPERATORS_SANS_LISTS", + "type": "Array", + "tags": [], + "label": "EXCEPTION_OPERATORS_SANS_LISTS", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.OperatorOption", + "text": "OperatorOption" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.ExceptionItemSansLargeValueLists", + "type": "Type", + "tags": [], + "label": "ExceptionItemSansLargeValueLists", + "description": [], + "signature": [ + "ExceptionListItemNonLargeList | CreateExceptionListItemNonLargeList" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.exceptionListAgnosticSavedObjectType", + "type": "string", + "tags": [], + "label": "exceptionListAgnosticSavedObjectType", + "description": [], + "signature": [ + "\"exception-list-agnostic\"" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.ExceptionListItemBuilderSchema", + "type": "Type", + "tags": [], + "label": "ExceptionListItemBuilderSchema", + "description": [], + "signature": [ + "Pick<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }, \"type\" | \"id\" | \"description\" | \"name\" | \"tags\" | \"meta\" | \"updated_at\" | \"comments\" | \"_version\" | \"created_at\" | \"created_by\" | \"updated_by\" | \"tie_breaker_id\" | \"list_id\" | \"namespace_type\" | \"os_types\" | \"item_id\"> & { entries: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + }, + "[]; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.exceptionListSavedObjectType", + "type": "string", + "tags": [], + "label": "exceptionListSavedObjectType", + "description": [], + "signature": [ + "\"exception-list\"" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.ExceptionsBuilderExceptionItem", + "type": "Type", + "tags": [], + "label": "ExceptionsBuilderExceptionItem", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionListItemBuilderSchema", + "text": "ExceptionListItemBuilderSchema" + }, + " | ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.CreateExceptionListItemBuilderSchema", + "text": "CreateExceptionListItemBuilderSchema" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.SavedObjectType", + "type": "Type", + "tags": [], + "label": "SavedObjectType", + "description": [], + "signature": [ + "\"exception-list-agnostic\" | \"exception-list\"" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.doesNotExistOperator", + "type": "Object", + "tags": [], + "label": "doesNotExistOperator", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.doesNotExistOperator.message", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.doesNotExistOperator.operator", + "type": "string", + "tags": [], + "label": "operator", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + }, + ".EXCLUDED" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.doesNotExistOperator.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, + ".EXISTS" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.doesNotExistOperator.value", + "type": "string", + "tags": [], + "label": "value", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.existsOperator", + "type": "Object", + "tags": [], + "label": "existsOperator", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.existsOperator.message", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.existsOperator.operator", + "type": "string", + "tags": [], + "label": "operator", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + }, + ".INCLUDED" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.existsOperator.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, + ".EXISTS" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.existsOperator.value", + "type": "string", + "tags": [], + "label": "value", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isInListOperator", + "type": "Object", + "tags": [], + "label": "isInListOperator", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isInListOperator.message", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isInListOperator.operator", + "type": "string", + "tags": [], + "label": "operator", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + }, + ".INCLUDED" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isInListOperator.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, + ".LIST" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isInListOperator.value", + "type": "string", + "tags": [], + "label": "value", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotInListOperator", + "type": "Object", + "tags": [], + "label": "isNotInListOperator", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotInListOperator.message", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotInListOperator.operator", + "type": "string", + "tags": [], + "label": "operator", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + }, + ".EXCLUDED" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotInListOperator.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, + ".LIST" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotInListOperator.value", + "type": "string", + "tags": [], + "label": "value", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotOneOfOperator", + "type": "Object", + "tags": [], + "label": "isNotOneOfOperator", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotOneOfOperator.message", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotOneOfOperator.operator", + "type": "string", + "tags": [], + "label": "operator", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + }, + ".EXCLUDED" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotOneOfOperator.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, + ".MATCH_ANY" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotOneOfOperator.value", + "type": "string", + "tags": [], + "label": "value", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotOperator", + "type": "Object", + "tags": [], + "label": "isNotOperator", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotOperator.message", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotOperator.operator", + "type": "string", + "tags": [], + "label": "operator", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + }, + ".EXCLUDED" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotOperator.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, + ".MATCH" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotOperator.value", + "type": "string", + "tags": [], + "label": "value", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isOneOfOperator", + "type": "Object", + "tags": [], + "label": "isOneOfOperator", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isOneOfOperator.message", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isOneOfOperator.operator", + "type": "string", + "tags": [], + "label": "operator", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + }, + ".INCLUDED" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isOneOfOperator.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, + ".MATCH_ANY" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isOneOfOperator.value", + "type": "string", + "tags": [], + "label": "value", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isOperator", + "type": "Object", + "tags": [], + "label": "isOperator", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isOperator.message", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isOperator.operator", + "type": "string", + "tags": [], + "label": "operator", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + }, + ".INCLUDED" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isOperator.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, + ".MATCH" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isOperator.value", + "type": "string", + "tags": [], + "label": "value", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ] + } +} \ No newline at end of file diff --git a/api_docs/kbn_securitysolution_list_utils.mdx b/api_docs/kbn_securitysolution_list_utils.mdx new file mode 100644 index 0000000000000..f9a897821ff57 --- /dev/null +++ b/api_docs/kbn_securitysolution_list_utils.mdx @@ -0,0 +1,36 @@ +--- +id: kibKbnSecuritysolutionListUtilsPluginApi +slug: /kibana-dev-docs/api/kbn-securitysolution-list-utils +title: "@kbn/securitysolution-list-utils" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/securitysolution-list-utils plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-utils'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnSecuritysolutionListUtilsObj from './kbn_securitysolution_list_utils.json'; + +security solution list utilities + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 222 | 0 | 177 | 0 | + +## Common + +### Objects + + +### Functions + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_securitysolution_t_grid.json b/api_docs/kbn_securitysolution_t_grid.json new file mode 100644 index 0000000000000..8127113746fe8 --- /dev/null +++ b/api_docs/kbn_securitysolution_t_grid.json @@ -0,0 +1,1776 @@ +{ + "id": "@kbn/securitysolution-t-grid", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.destinationIsTimelineButton", + "type": "Function", + "tags": [], + "label": "destinationIsTimelineButton", + "description": [], + "signature": [ + "(result: ", + "DropResult", + ") => boolean" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.destinationIsTimelineButton.$1", + "type": "Object", + "tags": [], + "label": "result", + "description": [], + "signature": [ + "DropResult" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.destinationIsTimelineColumns", + "type": "Function", + "tags": [], + "label": "destinationIsTimelineColumns", + "description": [], + "signature": [ + "(result: ", + "DropResult", + ") => boolean" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.destinationIsTimelineColumns.$1", + "type": "Object", + "tags": [], + "label": "result", + "description": [], + "signature": [ + "DropResult" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.destinationIsTimelineProviders", + "type": "Function", + "tags": [], + "label": "destinationIsTimelineProviders", + "description": [], + "signature": [ + "(result: ", + "DropResult", + ") => boolean" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.destinationIsTimelineProviders.$1", + "type": "Object", + "tags": [], + "label": "result", + "description": [], + "signature": [ + "DropResult" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.draggableIsContent", + "type": "Function", + "tags": [], + "label": "draggableIsContent", + "description": [], + "signature": [ + "(result: ", + "DropResult", + " | { draggableId: string; }) => boolean" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.draggableIsContent.$1", + "type": "CompoundType", + "tags": [], + "label": "result", + "description": [], + "signature": [ + "DropResult", + " | { draggableId: string; }" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.draggableIsField", + "type": "Function", + "tags": [], + "label": "draggableIsField", + "description": [], + "signature": [ + "(result: ", + "DropResult", + " | { draggableId: string; }) => boolean" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.draggableIsField.$1", + "type": "CompoundType", + "tags": [], + "label": "result", + "description": [], + "signature": [ + "DropResult", + " | { draggableId: string; }" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.escapeContextId", + "type": "Function", + "tags": [], + "label": "escapeContextId", + "description": [], + "signature": [ + "(path: string) => string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.escapeContextId.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.escapeDataProviderId", + "type": "Function", + "tags": [], + "label": "escapeDataProviderId", + "description": [], + "signature": [ + "(path: string) => string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.escapeDataProviderId.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.escapeFieldId", + "type": "Function", + "tags": [], + "label": "escapeFieldId", + "description": [], + "signature": [ + "(path: string) => string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.escapeFieldId.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.fieldWasDroppedOnTimelineColumns", + "type": "Function", + "tags": [], + "label": "fieldWasDroppedOnTimelineColumns", + "description": [], + "signature": [ + "(result: ", + "DropResult", + ") => boolean" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.fieldWasDroppedOnTimelineColumns.$1", + "type": "Object", + "tags": [], + "label": "result", + "description": [], + "signature": [ + "DropResult" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getDraggableFieldId", + "type": "Function", + "tags": [], + "label": "getDraggableFieldId", + "description": [], + "signature": [ + "({ contextId, fieldId, }: { contextId: string; fieldId: string; }) => string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getDraggableFieldId.$1", + "type": "Object", + "tags": [], + "label": "{\n contextId,\n fieldId,\n}", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getDraggableFieldId.$1.contextId", + "type": "string", + "tags": [], + "label": "contextId", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getDraggableFieldId.$1.fieldId", + "type": "string", + "tags": [], + "label": "fieldId", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getDraggableId", + "type": "Function", + "tags": [], + "label": "getDraggableId", + "description": [], + "signature": [ + "(dataProviderId: string) => string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getDraggableId.$1", + "type": "string", + "tags": [], + "label": "dataProviderId", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getDroppableId", + "type": "Function", + "tags": [], + "label": "getDroppableId", + "description": [], + "signature": [ + "(visualizationPlaceholderId: string) => string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getDroppableId.$1", + "type": "string", + "tags": [], + "label": "visualizationPlaceholderId", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getFieldIdFromDraggable", + "type": "Function", + "tags": [], + "label": "getFieldIdFromDraggable", + "description": [], + "signature": [ + "(result: ", + "DropResult", + ") => string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getFieldIdFromDraggable.$1", + "type": "Object", + "tags": [], + "label": "result", + "description": [], + "signature": [ + "DropResult" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getProviderIdFromDraggable", + "type": "Function", + "tags": [], + "label": "getProviderIdFromDraggable", + "description": [], + "signature": [ + "(result: ", + "DropResult", + ") => string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getProviderIdFromDraggable.$1", + "type": "Object", + "tags": [], + "label": "result", + "description": [], + "signature": [ + "DropResult" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getTimelineProviderDraggableId", + "type": "Function", + "tags": [], + "label": "getTimelineProviderDraggableId", + "description": [], + "signature": [ + "({ dataProviderId, groupIndex, timelineId, }: { dataProviderId: string; groupIndex: number; timelineId: string; }) => string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getTimelineProviderDraggableId.$1", + "type": "Object", + "tags": [], + "label": "{\n dataProviderId,\n groupIndex,\n timelineId,\n}", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getTimelineProviderDraggableId.$1.dataProviderId", + "type": "string", + "tags": [], + "label": "dataProviderId", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getTimelineProviderDraggableId.$1.groupIndex", + "type": "number", + "tags": [], + "label": "groupIndex", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getTimelineProviderDraggableId.$1.timelineId", + "type": "string", + "tags": [], + "label": "timelineId", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getTimelineProviderDroppableId", + "type": "Function", + "tags": [], + "label": "getTimelineProviderDroppableId", + "description": [], + "signature": [ + "({ groupIndex, timelineId, }: { groupIndex: number; timelineId: string; }) => string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getTimelineProviderDroppableId.$1", + "type": "Object", + "tags": [], + "label": "{\n groupIndex,\n timelineId,\n}", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getTimelineProviderDroppableId.$1.groupIndex", + "type": "number", + "tags": [], + "label": "groupIndex", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getTimelineProviderDroppableId.$1.timelineId", + "type": "string", + "tags": [], + "label": "timelineId", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.isAppError", + "type": "Function", + "tags": [], + "label": "isAppError", + "description": [], + "signature": [ + "(error: unknown) => error is ", + { + "pluginId": "@kbn/securitysolution-t-grid", + "scope": "common", + "docId": "kibKbnSecuritysolutionTGridPluginApi", + "section": "def-common.AppError", + "text": "AppError" + } + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.isAppError.$1", + "type": "Unknown", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "unknown" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.isKibanaError", + "type": "Function", + "tags": [], + "label": "isKibanaError", + "description": [], + "signature": [ + "(error: unknown) => error is ", + { + "pluginId": "@kbn/securitysolution-t-grid", + "scope": "common", + "docId": "kibKbnSecuritysolutionTGridPluginApi", + "section": "def-common.KibanaError", + "text": "KibanaError" + } + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.isKibanaError.$1", + "type": "Unknown", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "unknown" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.isNotFoundError", + "type": "Function", + "tags": [], + "label": "isNotFoundError", + "description": [], + "signature": [ + "(error: unknown) => boolean" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.isNotFoundError.$1", + "type": "Unknown", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "unknown" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.isSecurityAppError", + "type": "Function", + "tags": [], + "label": "isSecurityAppError", + "description": [], + "signature": [ + "(error: unknown) => error is ", + { + "pluginId": "@kbn/securitysolution-t-grid", + "scope": "common", + "docId": "kibKbnSecuritysolutionTGridPluginApi", + "section": "def-common.SecurityAppError", + "text": "SecurityAppError" + } + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.isSecurityAppError.$1", + "type": "Unknown", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "unknown" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.providerWasDroppedOnTimeline", + "type": "Function", + "tags": [], + "label": "providerWasDroppedOnTimeline", + "description": [], + "signature": [ + "(result: ", + "DropResult", + ") => boolean" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.providerWasDroppedOnTimeline.$1", + "type": "Object", + "tags": [], + "label": "result", + "description": [], + "signature": [ + "DropResult" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.reasonIsDrop", + "type": "Function", + "tags": [], + "label": "reasonIsDrop", + "description": [], + "signature": [ + "(result: ", + "DropResult", + ") => boolean" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.reasonIsDrop.$1", + "type": "Object", + "tags": [], + "label": "result", + "description": [], + "signature": [ + "DropResult" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.sourceAndDestinationAreSameTimelineProviders", + "type": "Function", + "tags": [], + "label": "sourceAndDestinationAreSameTimelineProviders", + "description": [], + "signature": [ + "(result: ", + "DropResult", + ") => boolean" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.sourceAndDestinationAreSameTimelineProviders.$1", + "type": "Object", + "tags": [], + "label": "result", + "description": [], + "signature": [ + "DropResult" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.sourceIsContent", + "type": "Function", + "tags": [], + "label": "sourceIsContent", + "description": [], + "signature": [ + "(result: ", + "DropResult", + ") => boolean" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.sourceIsContent.$1", + "type": "Object", + "tags": [], + "label": "result", + "description": [], + "signature": [ + "DropResult" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.unEscapeFieldId", + "type": "Function", + "tags": [], + "label": "unEscapeFieldId", + "description": [], + "signature": [ + "(path: string) => string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.unEscapeFieldId.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.userIsReArrangingProviders", + "type": "Function", + "tags": [], + "label": "userIsReArrangingProviders", + "description": [], + "signature": [ + "(result: ", + "DropResult", + ") => boolean" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.userIsReArrangingProviders.$1", + "type": "Object", + "tags": [], + "label": "result", + "description": [], + "signature": [ + "DropResult" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.AppError", + "type": "Interface", + "tags": [], + "label": "AppError", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-t-grid", + "scope": "common", + "docId": "kibKbnSecuritysolutionTGridPluginApi", + "section": "def-common.AppError", + "text": "AppError" + }, + " extends Error" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.AppError.body", + "type": "Object", + "tags": [], + "label": "body", + "description": [], + "signature": [ + "{ message: string; }" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/api/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.KibanaError", + "type": "Interface", + "tags": [], + "label": "KibanaError", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-t-grid", + "scope": "common", + "docId": "kibKbnSecuritysolutionTGridPluginApi", + "section": "def-common.KibanaError", + "text": "KibanaError" + }, + " extends ", + { + "pluginId": "@kbn/securitysolution-t-grid", + "scope": "common", + "docId": "kibKbnSecuritysolutionTGridPluginApi", + "section": "def-common.AppError", + "text": "AppError" + } + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.KibanaError.body", + "type": "Object", + "tags": [], + "label": "body", + "description": [], + "signature": [ + "{ message: string; statusCode: number; }" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/api/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.SecurityAppError", + "type": "Interface", + "tags": [], + "label": "SecurityAppError", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-t-grid", + "scope": "common", + "docId": "kibKbnSecuritysolutionTGridPluginApi", + "section": "def-common.SecurityAppError", + "text": "SecurityAppError" + }, + " extends ", + { + "pluginId": "@kbn/securitysolution-t-grid", + "scope": "common", + "docId": "kibKbnSecuritysolutionTGridPluginApi", + "section": "def-common.AppError", + "text": "AppError" + } + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.SecurityAppError.body", + "type": "Object", + "tags": [], + "label": "body", + "description": [], + "signature": [ + "{ message: string; status_code: number; }" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/api/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.DRAG_TYPE_FIELD", + "type": "string", + "tags": [], + "label": "DRAG_TYPE_FIELD", + "description": [ + "\nPrevents fields from being dragged or dropped to any area other than column\nheader drop zone in the timeline" + ], + "signature": [ + "\"drag-type-field\"" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.DRAGGABLE_KEYBOARD_WRAPPER_CLASS_NAME", + "type": "string", + "tags": [], + "label": "DRAGGABLE_KEYBOARD_WRAPPER_CLASS_NAME", + "description": [], + "signature": [ + "\"draggable-keyboard-wrapper\"" + ], + "path": "packages/kbn-securitysolution-t-grid/src/constants/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.draggableContentPrefix", + "type": "string", + "tags": [], + "label": "draggableContentPrefix", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.draggableFieldPrefix", + "type": "string", + "tags": [], + "label": "draggableFieldPrefix", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.draggableIdPrefix", + "type": "string", + "tags": [], + "label": "draggableIdPrefix", + "description": [], + "signature": [ + "\"draggableId\"" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.draggableTimelineProvidersPrefix", + "type": "string", + "tags": [], + "label": "draggableTimelineProvidersPrefix", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.droppableContentPrefix", + "type": "string", + "tags": [], + "label": "droppableContentPrefix", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.droppableFieldPrefix", + "type": "string", + "tags": [], + "label": "droppableFieldPrefix", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.droppableIdPrefix", + "type": "string", + "tags": [], + "label": "droppableIdPrefix", + "description": [], + "signature": [ + "\"droppableId\"" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.droppableTimelineColumnsPrefix", + "type": "string", + "tags": [], + "label": "droppableTimelineColumnsPrefix", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.droppableTimelineFlyoutBottomBarPrefix", + "type": "string", + "tags": [], + "label": "droppableTimelineFlyoutBottomBarPrefix", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.droppableTimelineProvidersPrefix", + "type": "string", + "tags": [], + "label": "droppableTimelineProvidersPrefix", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.EMPTY_PROVIDERS_GROUP_CLASS_NAME", + "type": "string", + "tags": [], + "label": "EMPTY_PROVIDERS_GROUP_CLASS_NAME", + "description": [], + "signature": [ + "\"empty-providers-group\"" + ], + "path": "packages/kbn-securitysolution-t-grid/src/constants/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventDetailsFormattedFields", + "type": "Array", + "tags": [], + "label": "eventDetailsFormattedFields", + "description": [], + "signature": [ + "{ category: string; field: string; isObjectArray: boolean; originalValue: string[]; values: string[]; }[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.HIGHLIGHTED_DROP_TARGET_CLASS_NAME", + "type": "string", + "tags": [], + "label": "HIGHLIGHTED_DROP_TARGET_CLASS_NAME", + "description": [], + "signature": [ + "\"highlighted-drop-target\"" + ], + "path": "packages/kbn-securitysolution-t-grid/src/constants/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.HOVER_ACTIONS_ALWAYS_SHOW_CLASS_NAME", + "type": "string", + "tags": [], + "label": "HOVER_ACTIONS_ALWAYS_SHOW_CLASS_NAME", + "description": [], + "signature": [ + "\"hover-actions-always-show\"" + ], + "path": "packages/kbn-securitysolution-t-grid/src/constants/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.IS_DRAGGING_CLASS_NAME", + "type": "string", + "tags": [], + "label": "IS_DRAGGING_CLASS_NAME", + "description": [ + "This class is added to the document body while dragging" + ], + "signature": [ + "\"is-dragging\"" + ], + "path": "packages/kbn-securitysolution-t-grid/src/constants/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.IS_TIMELINE_FIELD_DRAGGING_CLASS_NAME", + "type": "string", + "tags": [], + "label": "IS_TIMELINE_FIELD_DRAGGING_CLASS_NAME", + "description": [ + "This class is added to the document body while timeline field dragging" + ], + "signature": [ + "\"is-timeline-field-dragging\"" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.KEYBOARD_DRAG_OFFSET", + "type": "number", + "tags": [], + "label": "KEYBOARD_DRAG_OFFSET", + "description": [ + "The draggable will move this many pixels via the keyboard when the arrow key is pressed" + ], + "signature": [ + "20" + ], + "path": "packages/kbn-securitysolution-t-grid/src/constants/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.NOTE_CONTENT_CLASS_NAME", + "type": "string", + "tags": [], + "label": "NOTE_CONTENT_CLASS_NAME", + "description": [], + "signature": [ + "\"note-content\"" + ], + "path": "packages/kbn-securitysolution-t-grid/src/constants/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.NOTES_CONTAINER_CLASS_NAME", + "type": "string", + "tags": [], + "label": "NOTES_CONTAINER_CLASS_NAME", + "description": [], + "signature": [ + "\"notes-container\"" + ], + "path": "packages/kbn-securitysolution-t-grid/src/constants/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.ROW_RENDERER_CLASS_NAME", + "type": "string", + "tags": [], + "label": "ROW_RENDERER_CLASS_NAME", + "description": [], + "signature": [ + "\"row-renderer\"" + ], + "path": "packages/kbn-securitysolution-t-grid/src/constants/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit", + "type": "Object", + "tags": [], + "label": "eventHit", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit._index", + "type": "string", + "tags": [], + "label": "_index", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit._id", + "type": "string", + "tags": [], + "label": "_id", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit._score", + "type": "number", + "tags": [], + "label": "_score", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit._type", + "type": "string", + "tags": [], + "label": "_type", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields", + "type": "Object", + "tags": [], + "label": "fields", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.event.category", + "type": "Array", + "tags": [], + "label": "'event.category'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.process.ppid", + "type": "Array", + "tags": [], + "label": "'process.ppid'", + "description": [], + "signature": [ + "number[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.user.name", + "type": "Array", + "tags": [], + "label": "'user.name'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.process.args", + "type": "Array", + "tags": [], + "label": "'process.args'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.message", + "type": "Array", + "tags": [], + "label": "message", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.process.pid", + "type": "Array", + "tags": [], + "label": "'process.pid'", + "description": [], + "signature": [ + "number[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.process.working_directory", + "type": "Array", + "tags": [], + "label": "'process.working_directory'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.process.entity_id", + "type": "Array", + "tags": [], + "label": "'process.entity_id'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.host.ip", + "type": "Array", + "tags": [], + "label": "'host.ip'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.process.name", + "type": "Array", + "tags": [], + "label": "'process.name'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.event.action", + "type": "Array", + "tags": [], + "label": "'event.action'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.agent.type", + "type": "Array", + "tags": [], + "label": "'agent.type'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.timestamp", + "type": "Array", + "tags": [], + "label": "'@timestamp'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.event.module", + "type": "Array", + "tags": [], + "label": "'event.module'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.event.type", + "type": "Array", + "tags": [], + "label": "'event.type'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.host.name", + "type": "Array", + "tags": [], + "label": "'host.name'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.process.hash.sha1", + "type": "Array", + "tags": [], + "label": "'process.hash.sha1'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.host.os.family", + "type": "Array", + "tags": [], + "label": "'host.os.family'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.event.kind", + "type": "Array", + "tags": [], + "label": "'event.kind'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.host.id", + "type": "Array", + "tags": [], + "label": "'host.id'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.event.dataset", + "type": "Array", + "tags": [], + "label": "'event.dataset'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.process.executable", + "type": "Array", + "tags": [], + "label": "'process.executable'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.source.geo.location", + "type": "Array", + "tags": [], + "label": "'source.geo.location'", + "description": [], + "signature": [ + "{ coordinates: number[]; type: string; }[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.threat.enrichments", + "type": "Array", + "tags": [], + "label": "'threat.enrichments'", + "description": [], + "signature": [ + "({ 'matched.field': string[]; 'indicator.first_seen': string[]; 'indicator.provider': string[]; 'indicator.type': string[]; 'matched.atomic': string[]; lazer: { 'great.field': string[]; }[]; } | { 'matched.field': string[]; 'indicator.first_seen': string[]; 'indicator.provider': string[]; 'indicator.type': string[]; 'matched.atomic': string[]; lazer: { 'great.field': { wowoe: { fooooo: string[]; }[]; astring: string; aNumber: number; anObject: { neat: boolean; }; }[]; }[]; })[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit._source", + "type": "Object", + "tags": [], + "label": "_source", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false, + "children": [] + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.sort", + "type": "Array", + "tags": [], + "label": "sort", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.aggregations", + "type": "Object", + "tags": [], + "label": "aggregations", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false, + "children": [] + } + ], + "initialIsOpen": false + } + ] + } +} \ No newline at end of file diff --git a/api_docs/kbn_securitysolution_t_grid.mdx b/api_docs/kbn_securitysolution_t_grid.mdx new file mode 100644 index 0000000000000..c4b812a13e938 --- /dev/null +++ b/api_docs/kbn_securitysolution_t_grid.mdx @@ -0,0 +1,36 @@ +--- +id: kibKbnSecuritysolutionTGridPluginApi +slug: /kibana-dev-docs/api/kbn-securitysolution-t-grid +title: "@kbn/securitysolution-t-grid" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/securitysolution-t-grid plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-t-grid'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnSecuritysolutionTGridObj from './kbn_securitysolution_t_grid.json'; + +security solution t-grid packages will allow sharing components between timelines and security_solution plugin until we transfer all functionality to timelines plugin + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 120 | 0 | 116 | 0 | + +## Common + +### Objects + + +### Functions + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_securitysolution_utils.json b/api_docs/kbn_securitysolution_utils.json new file mode 100644 index 0000000000000..fc0556f7926a0 --- /dev/null +++ b/api_docs/kbn_securitysolution_utils.json @@ -0,0 +1,94 @@ +{ + "id": "@kbn/securitysolution-utils", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/securitysolution-utils", + "id": "def-server.addIdToItem", + "type": "Function", + "tags": [], + "label": "addIdToItem", + "description": [], + "signature": [ + "(item: NotArray) => T" + ], + "path": "packages/kbn-securitysolution-utils/src/add_remove_id_to_item/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-utils", + "id": "def-server.addIdToItem.$1", + "type": "Uncategorized", + "tags": [], + "label": "item", + "description": [], + "signature": [ + "NotArray" + ], + "path": "packages/kbn-securitysolution-utils/src/add_remove_id_to_item/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-utils", + "id": "def-server.removeIdFromItem", + "type": "Function", + "tags": [], + "label": "removeIdFromItem", + "description": [ + "\nThis is to reverse the id you added to your arrays for ReactJS keys." + ], + "signature": [ + "(item: NotArray) => T | Pick>" + ], + "path": "packages/kbn-securitysolution-utils/src/add_remove_id_to_item/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-utils", + "id": "def-server.removeIdFromItem.$1", + "type": "Uncategorized", + "tags": [], + "label": "item", + "description": [ + "The item to remove the id from." + ], + "signature": [ + "NotArray" + ], + "path": "packages/kbn-securitysolution-utils/src/add_remove_id_to_item/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_securitysolution_utils.mdx b/api_docs/kbn_securitysolution_utils.mdx new file mode 100644 index 0000000000000..63039630e7c9a --- /dev/null +++ b/api_docs/kbn_securitysolution_utils.mdx @@ -0,0 +1,27 @@ +--- +id: kibKbnSecuritysolutionUtilsPluginApi +slug: /kibana-dev-docs/api/kbn-securitysolution-utils +title: "@kbn/securitysolution-utils" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/securitysolution-utils plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-utils'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnSecuritysolutionUtilsObj from './kbn_securitysolution_utils.json'; + +security solution utilities to use across plugins such lists, security_solution, cases, etc... + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 4 | 0 | 2 | 0 | + +## Server + +### Functions + + diff --git a/api_docs/kbn_server_http_tools.json b/api_docs/kbn_server_http_tools.json new file mode 100644 index 0000000000000..75f619cdeaa84 --- /dev/null +++ b/api_docs/kbn_server_http_tools.json @@ -0,0 +1,914 @@ +{ + "id": "@kbn/server-http-tools", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [ + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.SslConfig", + "type": "Class", + "tags": [], + "label": "SslConfig", + "description": [], + "path": "packages/kbn-server-http-tools/src/ssl/ssl_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.SslConfig.enabled", + "type": "boolean", + "tags": [], + "label": "enabled", + "description": [], + "path": "packages/kbn-server-http-tools/src/ssl/ssl_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.SslConfig.redirectHttpFromPort", + "type": "number", + "tags": [], + "label": "redirectHttpFromPort", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-server-http-tools/src/ssl/ssl_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.SslConfig.key", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-server-http-tools/src/ssl/ssl_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.SslConfig.certificate", + "type": "string", + "tags": [], + "label": "certificate", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-server-http-tools/src/ssl/ssl_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.SslConfig.certificateAuthorities", + "type": "Array", + "tags": [], + "label": "certificateAuthorities", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "packages/kbn-server-http-tools/src/ssl/ssl_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.SslConfig.keyPassphrase", + "type": "string", + "tags": [], + "label": "keyPassphrase", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-server-http-tools/src/ssl/ssl_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.SslConfig.requestCert", + "type": "boolean", + "tags": [], + "label": "requestCert", + "description": [], + "path": "packages/kbn-server-http-tools/src/ssl/ssl_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.SslConfig.rejectUnauthorized", + "type": "boolean", + "tags": [], + "label": "rejectUnauthorized", + "description": [], + "path": "packages/kbn-server-http-tools/src/ssl/ssl_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.SslConfig.cipherSuites", + "type": "Array", + "tags": [], + "label": "cipherSuites", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-server-http-tools/src/ssl/ssl_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.SslConfig.supportedProtocols", + "type": "Array", + "tags": [], + "label": "supportedProtocols", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-server-http-tools/src/ssl/ssl_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.SslConfig.getSecureOptions", + "type": "Function", + "tags": [], + "label": "getSecureOptions", + "description": [ + "\nOptions that affect the OpenSSL protocol behavior via numeric bitmask of the SSL_OP_* options from OpenSSL Options." + ], + "signature": [ + "() => number" + ], + "path": "packages/kbn-server-http-tools/src/ssl/ssl_config.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.createServer", + "type": "Function", + "tags": [], + "label": "createServer", + "description": [], + "signature": [ + "(serverOptions: ", + "ServerOptions", + ", listenerOptions: ", + "ListenerOptions", + ") => ", + "Server" + ], + "path": "packages/kbn-server-http-tools/src/create_server.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.createServer.$1", + "type": "Object", + "tags": [], + "label": "serverOptions", + "description": [], + "signature": [ + "ServerOptions" + ], + "path": "packages/kbn-server-http-tools/src/create_server.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.createServer.$2", + "type": "Object", + "tags": [], + "label": "listenerOptions", + "description": [], + "signature": [ + "ListenerOptions" + ], + "path": "packages/kbn-server-http-tools/src/create_server.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.defaultValidationErrorHandler", + "type": "Function", + "tags": [], + "label": "defaultValidationErrorHandler", + "description": [ + "\nUsed to replicate Hapi v16 and below's validation responses. Should be used in the routes.validate.failAction key." + ], + "signature": [ + "(request: ", + "Request", + ", h: ", + "ResponseToolkit", + ", err: Error | undefined) => ", + "Lifecycle", + ".ReturnValue" + ], + "path": "packages/kbn-server-http-tools/src/default_validation_error_handler.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.defaultValidationErrorHandler.$1", + "type": "Object", + "tags": [], + "label": "request", + "description": [], + "signature": [ + "Request" + ], + "path": "packages/kbn-server-http-tools/src/default_validation_error_handler.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.defaultValidationErrorHandler.$2", + "type": "Object", + "tags": [], + "label": "h", + "description": [], + "signature": [ + "ResponseToolkit" + ], + "path": "packages/kbn-server-http-tools/src/default_validation_error_handler.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.defaultValidationErrorHandler.$3", + "type": "Object", + "tags": [], + "label": "err", + "description": [], + "signature": [ + "Error | undefined" + ], + "path": "packages/kbn-server-http-tools/src/default_validation_error_handler.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.getListenerOptions", + "type": "Function", + "tags": [], + "label": "getListenerOptions", + "description": [], + "signature": [ + "(config: ", + { + "pluginId": "@kbn/server-http-tools", + "scope": "server", + "docId": "kibKbnServerHttpToolsPluginApi", + "section": "def-server.IHttpConfig", + "text": "IHttpConfig" + }, + ") => ", + "ListenerOptions" + ], + "path": "packages/kbn-server-http-tools/src/get_listener_options.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.getListenerOptions.$1", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + { + "pluginId": "@kbn/server-http-tools", + "scope": "server", + "docId": "kibKbnServerHttpToolsPluginApi", + "section": "def-server.IHttpConfig", + "text": "IHttpConfig" + } + ], + "path": "packages/kbn-server-http-tools/src/get_listener_options.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.getRequestId", + "type": "Function", + "tags": [], + "label": "getRequestId", + "description": [], + "signature": [ + "(request: ", + "Request", + ", { allowFromAnyIp, ipAllowlist }: { allowFromAnyIp: boolean; ipAllowlist: string[]; }) => string" + ], + "path": "packages/kbn-server-http-tools/src/get_request_id.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.getRequestId.$1", + "type": "Object", + "tags": [], + "label": "request", + "description": [], + "signature": [ + "Request" + ], + "path": "packages/kbn-server-http-tools/src/get_request_id.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.getRequestId.$2", + "type": "Object", + "tags": [], + "label": "{ allowFromAnyIp, ipAllowlist }", + "description": [], + "path": "packages/kbn-server-http-tools/src/get_request_id.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.getRequestId.$2.allowFromAnyIp", + "type": "boolean", + "tags": [], + "label": "allowFromAnyIp", + "description": [], + "path": "packages/kbn-server-http-tools/src/get_request_id.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.getRequestId.$2.ipAllowlist", + "type": "Array", + "tags": [], + "label": "ipAllowlist", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-server-http-tools/src/get_request_id.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.getServerOptions", + "type": "Function", + "tags": [], + "label": "getServerOptions", + "description": [ + "\nConverts Kibana `HttpConfig` into `ServerOptions` that are accepted by the Hapi server." + ], + "signature": [ + "(config: ", + { + "pluginId": "@kbn/server-http-tools", + "scope": "server", + "docId": "kibKbnServerHttpToolsPluginApi", + "section": "def-server.IHttpConfig", + "text": "IHttpConfig" + }, + ", { configureTLS = true }: { configureTLS?: boolean | undefined; }) => ", + "ServerOptions" + ], + "path": "packages/kbn-server-http-tools/src/get_server_options.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.getServerOptions.$1", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + { + "pluginId": "@kbn/server-http-tools", + "scope": "server", + "docId": "kibKbnServerHttpToolsPluginApi", + "section": "def-server.IHttpConfig", + "text": "IHttpConfig" + } + ], + "path": "packages/kbn-server-http-tools/src/get_server_options.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.getServerOptions.$2", + "type": "Object", + "tags": [], + "label": "{ configureTLS = true }", + "description": [], + "signature": [ + "{ configureTLS?: boolean | undefined; }" + ], + "path": "packages/kbn-server-http-tools/src/get_server_options.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.ICorsConfig", + "type": "Interface", + "tags": [], + "label": "ICorsConfig", + "description": [], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.ICorsConfig.enabled", + "type": "boolean", + "tags": [], + "label": "enabled", + "description": [], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.ICorsConfig.allowCredentials", + "type": "boolean", + "tags": [], + "label": "allowCredentials", + "description": [], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.ICorsConfig.allowOrigin", + "type": "Array", + "tags": [], + "label": "allowOrigin", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.IHttpConfig", + "type": "Interface", + "tags": [], + "label": "IHttpConfig", + "description": [], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.IHttpConfig.host", + "type": "string", + "tags": [], + "label": "host", + "description": [], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.IHttpConfig.port", + "type": "number", + "tags": [], + "label": "port", + "description": [], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.IHttpConfig.maxPayload", + "type": "Object", + "tags": [], + "label": "maxPayload", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + } + ], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.IHttpConfig.keepaliveTimeout", + "type": "number", + "tags": [], + "label": "keepaliveTimeout", + "description": [], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.IHttpConfig.socketTimeout", + "type": "number", + "tags": [], + "label": "socketTimeout", + "description": [], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.IHttpConfig.cors", + "type": "Object", + "tags": [], + "label": "cors", + "description": [], + "signature": [ + { + "pluginId": "@kbn/server-http-tools", + "scope": "server", + "docId": "kibKbnServerHttpToolsPluginApi", + "section": "def-server.ICorsConfig", + "text": "ICorsConfig" + } + ], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.IHttpConfig.ssl", + "type": "Object", + "tags": [], + "label": "ssl", + "description": [], + "signature": [ + { + "pluginId": "@kbn/server-http-tools", + "scope": "server", + "docId": "kibKbnServerHttpToolsPluginApi", + "section": "def-server.ISslConfig", + "text": "ISslConfig" + } + ], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.IHttpConfig.shutdownTimeout", + "type": "Object", + "tags": [], + "label": "shutdownTimeout", + "description": [], + "signature": [ + "moment.Duration" + ], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.ISslConfig", + "type": "Interface", + "tags": [], + "label": "ISslConfig", + "description": [], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.ISslConfig.enabled", + "type": "boolean", + "tags": [], + "label": "enabled", + "description": [], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.ISslConfig.key", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.ISslConfig.certificate", + "type": "string", + "tags": [], + "label": "certificate", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.ISslConfig.certificateAuthorities", + "type": "Array", + "tags": [], + "label": "certificateAuthorities", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.ISslConfig.cipherSuites", + "type": "Array", + "tags": [], + "label": "cipherSuites", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.ISslConfig.keyPassphrase", + "type": "string", + "tags": [], + "label": "keyPassphrase", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.ISslConfig.requestCert", + "type": "CompoundType", + "tags": [], + "label": "requestCert", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.ISslConfig.rejectUnauthorized", + "type": "CompoundType", + "tags": [], + "label": "rejectUnauthorized", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.ISslConfig.getSecureOptions", + "type": "Function", + "tags": [], + "label": "getSecureOptions", + "description": [], + "signature": [ + "(() => number) | undefined" + ], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [], + "objects": [ + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.sslSchema", + "type": "Object", + "tags": [], + "label": "sslSchema", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, + "<{ certificate: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; certificateAuthorities: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; cipherSuites: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; enabled: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; key: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; keyPassphrase: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; keystore: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, + "<{ path: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; password: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; }>; truststore: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, + "<{ path: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; password: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; }>; redirectHttpFromPort: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; supportedProtocols: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; clientAuthentication: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "<\"none\" | \"required\" | \"optional\">; }>" + ], + "path": "packages/kbn-server-http-tools/src/ssl/ssl_config.ts", + "deprecated": false, + "initialIsOpen": false + } + ] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_server_http_tools.mdx b/api_docs/kbn_server_http_tools.mdx new file mode 100644 index 0000000000000..9c55bb96eaec7 --- /dev/null +++ b/api_docs/kbn_server_http_tools.mdx @@ -0,0 +1,36 @@ +--- +id: kibKbnServerHttpToolsPluginApi +slug: /kibana-dev-docs/api/kbn-server-http-tools +title: "@kbn/server-http-tools" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/server-http-tools plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-http-tools'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnServerHttpToolsObj from './kbn_server_http_tools.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 53 | 0 | 50 | 1 | + +## Server + +### Objects + + +### Functions + + +### Classes + + +### Interfaces + + diff --git a/api_docs/kbn_server_route_repository.json b/api_docs/kbn_server_route_repository.json new file mode 100644 index 0000000000000..222a9f3270330 --- /dev/null +++ b/api_docs/kbn_server_route_repository.json @@ -0,0 +1,668 @@ +{ + "id": "@kbn/server-route-repository", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.createServerRouteFactory", + "type": "Function", + "tags": [], + "label": "createServerRouteFactory", + "description": [], + "signature": [ + "() => > | undefined = undefined>(route: ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, + ") => ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, + "" + ], + "path": "packages/kbn-server-route-repository/src/create_server_route_factory.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.createServerRouteRepository", + "type": "Function", + "tags": [], + "label": "createServerRouteRepository", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRouteRepository", + "text": "ServerRouteRepository" + }, + "" + ], + "path": "packages/kbn-server-route-repository/src/create_server_route_repository.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.decodeRequestParams", + "type": "Function", + "tags": [], + "label": "decodeRequestParams", + "description": [], + "signature": [ + "(params: KibanaRequestParams, paramsRt: T) => ", + "OutputOf", + "" + ], + "path": "packages/kbn-server-route-repository/src/decode_request_params.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.decodeRequestParams.$1", + "type": "Object", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "KibanaRequestParams" + ], + "path": "packages/kbn-server-route-repository/src/decode_request_params.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.decodeRequestParams.$2", + "type": "Uncategorized", + "tags": [], + "label": "paramsRt", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-server-route-repository/src/decode_request_params.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.formatRequest", + "type": "Function", + "tags": [], + "label": "formatRequest", + "description": [], + "signature": [ + "(endpoint: string, pathParams: Record) => { method: Method; pathname: string; }" + ], + "path": "packages/kbn-server-route-repository/src/format_request.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.formatRequest.$1", + "type": "string", + "tags": [], + "label": "endpoint", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-server-route-repository/src/format_request.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.formatRequest.$2", + "type": "Object", + "tags": [], + "label": "pathParams", + "description": [], + "signature": [ + "Record" + ], + "path": "packages/kbn-server-route-repository/src/format_request.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.parseEndpoint", + "type": "Function", + "tags": [], + "label": "parseEndpoint", + "description": [], + "signature": [ + "(endpoint: string) => { method: Method; pathname: string; }" + ], + "path": "packages/kbn-server-route-repository/src/parse_endpoint.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.parseEndpoint.$1", + "type": "string", + "tags": [], + "label": "endpoint", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-server-route-repository/src/parse_endpoint.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.ServerRouteRepository", + "type": "Interface", + "tags": [], + "label": "ServerRouteRepository", + "description": [], + "signature": [ + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRouteRepository", + "text": "ServerRouteRepository" + }, + "" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.ServerRouteRepository.add", + "type": "Function", + "tags": [], + "label": "add", + "description": [], + "signature": [ + "> | undefined = undefined>(route: ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, + ") => ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRouteRepository", + "text": "ServerRouteRepository" + }, + "; }>" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.ServerRouteRepository.add.$1", + "type": "CompoundType", + "tags": [], + "label": "route", + "description": [], + "signature": [ + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, + "" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.ServerRouteRepository.merge", + "type": "Function", + "tags": [], + "label": "merge", + "description": [], + "signature": [ + ">(repository: TServerRouteRepository) => TServerRouteRepository extends ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRouteRepository", + "text": "ServerRouteRepository" + }, + " ? ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRouteRepository", + "text": "ServerRouteRepository" + }, + " : never" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.ServerRouteRepository.merge.$1", + "type": "Uncategorized", + "tags": [], + "label": "repository", + "description": [], + "signature": [ + "TServerRouteRepository" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.ServerRouteRepository.getRoutes", + "type": "Function", + "tags": [], + "label": "getRoutes", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, + ">, TRouteHandlerResources, unknown, TRouteCreateOptions>[]" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.ClientRequestParamsOf", + "type": "Type", + "tags": [], + "label": "ClientRequestParamsOf", + "description": [], + "signature": [ + "TServerRouteRepository extends ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRouteRepository", + "text": "ServerRouteRepository" + }, + " ? TEndpoint extends keyof TRouteState ? TRouteState[TEndpoint] extends ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, + "> ? TRouteParamsRT extends WithoutIncompatibleMethods<", + "Type", + "<{ path?: any; query?: any; body?: any; }, { path?: any; query?: any; body?: any; }, unknown>> ? ClientRequestParamsOfType : {} : never : never : never" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.DecodedRequestParamsOf", + "type": "Type", + "tags": [], + "label": "DecodedRequestParamsOf", + "description": [], + "signature": [ + "TServerRouteRepository extends ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRouteRepository", + "text": "ServerRouteRepository" + }, + " ? TEndpoint extends keyof TRouteState ? TRouteState[TEndpoint] extends ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, + "> ? TRouteParamsRT extends WithoutIncompatibleMethods<", + "Type", + "<{ path?: any; query?: any; body?: any; }, { path?: any; query?: any; body?: any; }, unknown>> ? DecodedRequestParamsOfType : {} : never : never : never" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.EndpointOf", + "type": "Type", + "tags": [], + "label": "EndpointOf", + "description": [], + "signature": [ + "TServerRouteRepository extends ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRouteRepository", + "text": "ServerRouteRepository" + }, + " ? keyof TRouteState : never" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.ReturnOf", + "type": "Type", + "tags": [], + "label": "ReturnOf", + "description": [], + "signature": [ + "TServerRouteRepository extends ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRouteRepository", + "text": "ServerRouteRepository" + }, + " ? TEndpoint extends keyof TRouteState ? TRouteState[TEndpoint] extends ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, + "> ? TReturnType : never : never : never" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.RouteParamsRT", + "type": "Type", + "tags": [], + "label": "RouteParamsRT", + "description": [], + "signature": [ + "Pick<", + "Type", + "<{ path?: any; query?: any; body?: any; }, { path?: any; query?: any; body?: any; }, unknown>, \"pipe\" | \"name\" | \"is\" | \"_A\" | \"_O\" | \"validate\" | \"_I\" | \"asDecoder\" | \"decode\"> & { encode: ", + "Encode", + "; asEncoder: () => ", + "Encoder", + "; }" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.RouteRepositoryClient", + "type": "Type", + "tags": [], + "label": "RouteRepositoryClient", + "description": [], + "signature": [ + ">(options: { endpoint: TEndpoint; } & ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ClientRequestParamsOf", + "text": "ClientRequestParamsOf" + }, + " & TAdditionalClientOptions) => Promise<", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ReturnOf", + "text": "ReturnOf" + }, + ">" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.RouteRepositoryClient.$1", + "type": "CompoundType", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "{ endpoint: TEndpoint; } & ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ClientRequestParamsOf", + "text": "ClientRequestParamsOf" + }, + " & TAdditionalClientOptions" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.ServerRoute", + "type": "Type", + "tags": [], + "label": "ServerRoute", + "description": [], + "signature": [ + "{ endpoint: TEndpoint; params?: TRouteParamsRT | undefined; handler: ({}: TRouteHandlerResources & (TRouteParamsRT extends WithoutIncompatibleMethods<", + "Type", + "<{ path?: any; query?: any; body?: any; }, { path?: any; query?: any; body?: any; }, unknown>> ? DecodedRequestParamsOfType : {})) => Promise; } & TRouteCreateOptions" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.routeValidationObject", + "type": "Object", + "tags": [], + "label": "routeValidationObject", + "description": [], + "path": "packages/kbn-server-route-repository/src/route_validation_object.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.routeValidationObject.body", + "type": "Object", + "tags": [], + "label": "body", + "description": [ + "// `body` can be null, but `validate` expects non-nullable types\n// if any validation is defined. Not having validation currently\n// means we don't get the payload. See\n// https://github.com/elastic/kibana/issues/50179" + ], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + " | null>" + ], + "path": "packages/kbn-server-route-repository/src/route_validation_object.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.routeValidationObject.params", + "type": "Object", + "tags": [], + "label": "params", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, + "<{}>" + ], + "path": "packages/kbn-server-route-repository/src/route_validation_object.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.routeValidationObject.query", + "type": "Object", + "tags": [], + "label": "query", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, + "<{}>" + ], + "path": "packages/kbn-server-route-repository/src/route_validation_object.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_server_route_repository.mdx b/api_docs/kbn_server_route_repository.mdx new file mode 100644 index 0000000000000..f4b6e0b6258fd --- /dev/null +++ b/api_docs/kbn_server_route_repository.mdx @@ -0,0 +1,36 @@ +--- +id: kibKbnServerRouteRepositoryPluginApi +slug: /kibana-dev-docs/api/kbn-server-route-repository +title: "@kbn/server-route-repository" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/server-route-repository plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-route-repository'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnServerRouteRepositoryObj from './kbn_server_route_repository.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 28 | 0 | 27 | 1 | + +## Server + +### Objects + + +### Functions + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_std.json b/api_docs/kbn_std.json new file mode 100644 index 0000000000000..b4b9c4239ce85 --- /dev/null +++ b/api_docs/kbn_std.json @@ -0,0 +1,1603 @@ +{ + "id": "@kbn/std", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.assertNever", + "type": "Function", + "tags": [], + "label": "assertNever", + "description": [ + "\nCan be used in switch statements to ensure we perform exhaustive checks, see\nhttps://www.typescriptlang.org/docs/handbook/advanced-types.html#exhaustiveness-checking\n" + ], + "signature": [ + "(x: never) => never" + ], + "path": "packages/kbn-std/src/assert_never.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.assertNever.$1", + "type": "Uncategorized", + "tags": [], + "label": "x", + "description": [], + "signature": [ + "never" + ], + "path": "packages/kbn-std/src/assert_never.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.asyncForEach", + "type": "Function", + "tags": [], + "label": "asyncForEach", + "description": [ + "\nCreates a promise which resolves with `undefined` after calling `fn` for each\nitem in `iterable`. `fn` can return either a Promise or Observable. If `fn`\nreturns observables then they will properly abort if an error occurs.\n" + ], + "signature": [ + "(iterable: ", + "IterableInput", + ", fn: ", + "AsyncMapFn", + ") => Promise" + ], + "path": "packages/kbn-std/src/iteration/for_each.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.asyncForEach.$1", + "type": "CompoundType", + "tags": [], + "label": "iterable", + "description": [ + "Items to iterate" + ], + "signature": [ + "IterableInput", + "" + ], + "path": "packages/kbn-std/src/iteration/for_each.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.asyncForEach.$2", + "type": "Function", + "tags": [], + "label": "fn", + "description": [ + "Function to call for each item" + ], + "signature": [ + "AsyncMapFn", + "" + ], + "path": "packages/kbn-std/src/iteration/for_each.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.asyncForEachWithLimit", + "type": "Function", + "tags": [], + "label": "asyncForEachWithLimit", + "description": [ + "\nCreates a promise which resolves with `undefined` after calling `fn` for each\nitem in `iterable`. `fn` can return either a Promise or Observable. If `fn`\nreturns observables then they will properly abort if an error occurs.\n\nThe number of concurrent executions of `fn` is limited by `limit`.\n" + ], + "signature": [ + "(iterable: ", + "IterableInput", + ", limit: number, fn: ", + "AsyncMapFn", + ") => Promise" + ], + "path": "packages/kbn-std/src/iteration/for_each.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.asyncForEachWithLimit.$1", + "type": "CompoundType", + "tags": [], + "label": "iterable", + "description": [ + "Items to iterate" + ], + "signature": [ + "IterableInput", + "" + ], + "path": "packages/kbn-std/src/iteration/for_each.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.asyncForEachWithLimit.$2", + "type": "number", + "tags": [], + "label": "limit", + "description": [ + "Maximum number of operations to run in parallel" + ], + "signature": [ + "number" + ], + "path": "packages/kbn-std/src/iteration/for_each.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.asyncForEachWithLimit.$3", + "type": "Function", + "tags": [], + "label": "fn", + "description": [ + "Function to call for each item" + ], + "signature": [ + "AsyncMapFn", + "" + ], + "path": "packages/kbn-std/src/iteration/for_each.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.asyncMap", + "type": "Function", + "tags": [], + "label": "asyncMap", + "description": [ + "\nCreates a promise whose values is the array of results produced by calling `fn` for\neach item in `iterable`. `fn` can return either a Promise or Observable. If `fn`\nreturns observables then they will properly abort if an error occurs.\n\nThe result array follows the order of the input iterable, even though the calls\nto `fn` may not. (so avoid side effects)\n" + ], + "signature": [ + "(iterable: ", + "IterableInput", + ", fn: ", + "AsyncMapFn", + ") => Promise" + ], + "path": "packages/kbn-std/src/iteration/map.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.asyncMap.$1", + "type": "CompoundType", + "tags": [], + "label": "iterable", + "description": [ + "Items to iterate" + ], + "signature": [ + "IterableInput", + "" + ], + "path": "packages/kbn-std/src/iteration/map.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.asyncMap.$2", + "type": "Function", + "tags": [], + "label": "fn", + "description": [ + "Function to call for each item. Result is added/concatenated into the result array in place of the input value" + ], + "signature": [ + "AsyncMapFn", + "" + ], + "path": "packages/kbn-std/src/iteration/map.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.asyncMapWithLimit", + "type": "Function", + "tags": [], + "label": "asyncMapWithLimit", + "description": [ + "\nCreates a promise whose values is the array of results produced by calling `fn` for\neach item in `iterable`. `fn` can return either a Promise or Observable. If `fn`\nreturns observables then they will properly abort if an error occurs.\n\nThe number of concurrent executions of `fn` is limited by `limit`.\n\nThe result array follows the order of the input iterable, even though the calls\nto `fn` may not. (so avoid side effects)\n" + ], + "signature": [ + "(iterable: ", + "IterableInput", + ", limit: number, fn: ", + "AsyncMapFn", + ") => Promise" + ], + "path": "packages/kbn-std/src/iteration/map.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.asyncMapWithLimit.$1", + "type": "CompoundType", + "tags": [], + "label": "iterable", + "description": [ + "Items to iterate" + ], + "signature": [ + "IterableInput", + "" + ], + "path": "packages/kbn-std/src/iteration/map.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.asyncMapWithLimit.$2", + "type": "number", + "tags": [], + "label": "limit", + "description": [ + "Maximum number of operations to run in parallel" + ], + "signature": [ + "number" + ], + "path": "packages/kbn-std/src/iteration/map.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.asyncMapWithLimit.$3", + "type": "Function", + "tags": [], + "label": "fn", + "description": [ + "Function to call for each item. Result is added/concatenated into the result array in place of the input value" + ], + "signature": [ + "AsyncMapFn", + "" + ], + "path": "packages/kbn-std/src/iteration/map.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.deepFreeze", + "type": "Function", + "tags": [], + "label": "deepFreeze", + "description": [ + "\nApply Object.freeze to a value recursively and convert the return type to\nReadonly variant recursively\n" + ], + "signature": [ + "(object: T) => ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonly", + "text": "RecursiveReadonly" + }, + "" + ], + "path": "packages/kbn-std/src/deep_freeze.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.deepFreeze.$1", + "type": "Uncategorized", + "tags": [], + "label": "object", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-std/src/deep_freeze.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.ensureNoUnsafeProperties", + "type": "Function", + "tags": [], + "label": "ensureNoUnsafeProperties", + "description": [], + "signature": [ + "(obj: any) => void" + ], + "path": "packages/kbn-std/src/ensure_no_unsafe_properties.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.ensureNoUnsafeProperties.$1", + "type": "Any", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-std/src/ensure_no_unsafe_properties.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.firstValueFrom", + "type": "Function", + "tags": [], + "label": "firstValueFrom", + "description": [], + "signature": [ + "(source: ", + "Observable", + ") => Promise" + ], + "path": "packages/kbn-std/src/rxjs_7.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.firstValueFrom.$1", + "type": "Object", + "tags": [], + "label": "source", + "description": [], + "signature": [ + "Observable", + "" + ], + "path": "packages/kbn-std/src/rxjs_7.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [ + "\nRetrieve the value for the specified path\n\nNote that dot is _not_ allowed to specify a deeper key, it will assume that\nthe dot is part of the key itself." + ], + "signature": [ + "(obj: CFG, path: [A, B, C, D, E]) => CFG[A][B][C][D][E]" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.get.$1", + "type": "Uncategorized", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "CFG" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.get.$2", + "type": "Object", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "[A, B, C, D, E]" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(obj: CFG, path: [A, B, C, D]) => CFG[A][B][C][D]" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.get.$1", + "type": "Uncategorized", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "CFG" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.get.$2", + "type": "Object", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "[A, B, C, D]" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(obj: CFG, path: [A, B, C]) => CFG[A][B][C]" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.get.$1", + "type": "Uncategorized", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "CFG" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.get.$2", + "type": "Object", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "[A, B, C]" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(obj: CFG, path: [A, B]) => CFG[A][B]" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.get.$1", + "type": "Uncategorized", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "CFG" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.get.$2", + "type": "Object", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "[A, B]" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(obj: CFG, path: A | [A]) => CFG[A]" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.get.$1", + "type": "Uncategorized", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "CFG" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.get.$2", + "type": "CompoundType", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "A | [A]" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(obj: CFG, path: string | string[]) => any" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.get.$1", + "type": "Uncategorized", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "CFG" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.get.$2", + "type": "CompoundType", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "string | string[]" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.getFlattenedObject", + "type": "Function", + "tags": [], + "label": "getFlattenedObject", + "description": [ + "\n Flattens a deeply nested object to a map of dot-separated\n paths pointing to all primitive values **and arrays**\n from `rootValue`.\n\n example:\n getFlattenedObject({ a: { b: 1, c: [2,3] } })\n // => { 'a.b': 1, 'a.c': [2,3] }\n" + ], + "signature": [ + "(rootValue: Record) => { [key: string]: any; }" + ], + "path": "packages/kbn-std/src/get_flattened_object.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.getFlattenedObject.$1", + "type": "Object", + "tags": [], + "label": "rootValue", + "description": [], + "signature": [ + "Record" + ], + "path": "packages/kbn-std/src/get_flattened_object.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.getUrlOrigin", + "type": "Function", + "tags": [], + "label": "getUrlOrigin", + "description": [ + "\nReturns the origin (protocol + host + port) from given `url` if `url` is a valid absolute url, or null otherwise" + ], + "signature": [ + "(url: string) => string | null" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.getUrlOrigin.$1", + "type": "string", + "tags": [], + "label": "url", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.isPromise", + "type": "Function", + "tags": [], + "label": "isPromise", + "description": [], + "signature": [ + "(maybePromise: T | Promise) => boolean" + ], + "path": "packages/kbn-std/src/promise.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.isPromise.$1", + "type": "CompoundType", + "tags": [], + "label": "maybePromise", + "description": [], + "signature": [ + "T | Promise" + ], + "path": "packages/kbn-std/src/promise.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.isRelativeUrl", + "type": "Function", + "tags": [], + "label": "isRelativeUrl", + "description": [ + "\nDetermine if a url is relative. Any url including a protocol, hostname, or\nport is not considered relative. This means that absolute *paths* are considered\nto be relative *urls*" + ], + "signature": [ + "(candidatePath: string) => boolean" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.isRelativeUrl.$1", + "type": "string", + "tags": [], + "label": "candidatePath", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.lastValueFrom", + "type": "Function", + "tags": [], + "label": "lastValueFrom", + "description": [], + "signature": [ + "(source: ", + "Observable", + ") => Promise" + ], + "path": "packages/kbn-std/src/rxjs_7.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.lastValueFrom.$1", + "type": "Object", + "tags": [], + "label": "source", + "description": [], + "signature": [ + "Observable", + "" + ], + "path": "packages/kbn-std/src/rxjs_7.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.map$", + "type": "Function", + "tags": [], + "label": "map$", + "description": [ + "\nCreates an observable whose values are the result of calling `fn` for each\nitem in `iterable`. `fn` can return either a Promise or an Observable. If\n`fn` returns observables then they will properly abort if an error occurs.\n\nResults are emitted as soon as they are available so their order is very\nlikely to not match their order in the input `array`.\n" + ], + "signature": [ + "(iterable: ", + "IterableInput", + ", fn: ", + "AsyncMapFn", + ") => ", + "Observable", + "" + ], + "path": "packages/kbn-std/src/iteration/observable.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.map$.$1", + "type": "CompoundType", + "tags": [], + "label": "iterable", + "description": [ + "Items to iterate" + ], + "signature": [ + "IterableInput", + "" + ], + "path": "packages/kbn-std/src/iteration/observable.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.map$.$2", + "type": "Function", + "tags": [], + "label": "fn", + "description": [ + "Function to call for each item. Result is added/concatenated into the result array in place of the input value" + ], + "signature": [ + "AsyncMapFn", + "" + ], + "path": "packages/kbn-std/src/iteration/observable.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.mapToObject", + "type": "Function", + "tags": [], + "label": "mapToObject", + "description": [], + "signature": [ + "(map: ReadonlyMap) => Record" + ], + "path": "packages/kbn-std/src/map_to_object.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.mapToObject.$1", + "type": "Object", + "tags": [], + "label": "map", + "description": [], + "signature": [ + "ReadonlyMap" + ], + "path": "packages/kbn-std/src/map_to_object.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.mapWithLimit$", + "type": "Function", + "tags": [], + "label": "mapWithLimit$", + "description": [ + "\nCreates an observable whose values are the result of calling `fn` for each\nitem in `iterable`. `fn` can return either a Promise or an Observable. If\n`fn` returns observables then they will properly abort if an error occurs.\n\nThe number of concurrent executions of `fn` is limited by `limit`.\n\nResults are emitted as soon as they are available so their order is very\nlikely to not match their order in the input `array`.\n" + ], + "signature": [ + "(iterable: ", + "IterableInput", + ", limit: number, fn: ", + "AsyncMapFn", + ") => ", + "Observable", + "" + ], + "path": "packages/kbn-std/src/iteration/observable.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.mapWithLimit$.$1", + "type": "CompoundType", + "tags": [], + "label": "iterable", + "description": [ + "Items to iterate" + ], + "signature": [ + "IterableInput", + "" + ], + "path": "packages/kbn-std/src/iteration/observable.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.mapWithLimit$.$2", + "type": "number", + "tags": [], + "label": "limit", + "description": [ + "Maximum number of operations to run in parallel" + ], + "signature": [ + "number" + ], + "path": "packages/kbn-std/src/iteration/observable.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.mapWithLimit$.$3", + "type": "Function", + "tags": [], + "label": "fn", + "description": [ + "Function to call for each item. Result is added/concatenated into the result array in place of the input value" + ], + "signature": [ + "AsyncMapFn", + "" + ], + "path": "packages/kbn-std/src/iteration/observable.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.merge", + "type": "Function", + "tags": [], + "label": "merge", + "description": [ + "\nDeeply merges two objects, omitting undefined values, and not deeply merging Arrays.\n" + ], + "signature": [ + "(baseObj: TBase, source1: TSource1) => TBase & TSource1" + ], + "path": "packages/kbn-std/src/merge.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.merge.$1", + "type": "Uncategorized", + "tags": [], + "label": "baseObj", + "description": [], + "signature": [ + "TBase" + ], + "path": "packages/kbn-std/src/merge.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.merge.$2", + "type": "Uncategorized", + "tags": [], + "label": "source1", + "description": [], + "signature": [ + "TSource1" + ], + "path": "packages/kbn-std/src/merge.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.merge", + "type": "Function", + "tags": [], + "label": "merge", + "description": [], + "signature": [ + "(baseObj: TBase, overrideObj: TSource1, overrideObj2: TSource2) => TBase & TSource1 & TSource2" + ], + "path": "packages/kbn-std/src/merge.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.merge.$1", + "type": "Uncategorized", + "tags": [], + "label": "baseObj", + "description": [], + "signature": [ + "TBase" + ], + "path": "packages/kbn-std/src/merge.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.merge.$2", + "type": "Uncategorized", + "tags": [], + "label": "overrideObj", + "description": [], + "signature": [ + "TSource1" + ], + "path": "packages/kbn-std/src/merge.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.merge.$3", + "type": "Uncategorized", + "tags": [], + "label": "overrideObj2", + "description": [], + "signature": [ + "TSource2" + ], + "path": "packages/kbn-std/src/merge.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.merge", + "type": "Function", + "tags": [], + "label": "merge", + "description": [], + "signature": [ + "(baseObj: TBase, overrideObj: TSource1, overrideObj2: TSource2) => TBase & TSource1 & TSource2 & TSource3" + ], + "path": "packages/kbn-std/src/merge.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.merge.$1", + "type": "Uncategorized", + "tags": [], + "label": "baseObj", + "description": [], + "signature": [ + "TBase" + ], + "path": "packages/kbn-std/src/merge.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.merge.$2", + "type": "Uncategorized", + "tags": [], + "label": "overrideObj", + "description": [], + "signature": [ + "TSource1" + ], + "path": "packages/kbn-std/src/merge.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.merge.$3", + "type": "Uncategorized", + "tags": [], + "label": "overrideObj2", + "description": [], + "signature": [ + "TSource2" + ], + "path": "packages/kbn-std/src/merge.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.merge", + "type": "Function", + "tags": [], + "label": "merge", + "description": [], + "signature": [ + "(baseObj: Record, sources: Record[]) => TReturn" + ], + "path": "packages/kbn-std/src/merge.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.merge.$1", + "type": "Object", + "tags": [], + "label": "baseObj", + "description": [], + "signature": [ + "Record" + ], + "path": "packages/kbn-std/src/merge.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.merge.$2", + "type": "Array", + "tags": [], + "label": "sources", + "description": [], + "signature": [ + "Record[]" + ], + "path": "packages/kbn-std/src/merge.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.modifyUrl", + "type": "Function", + "tags": [], + "label": "modifyUrl", + "description": [ + "\n Takes a URL and a function that takes the meaningful parts\n of the URL as a key-value object, modifies some or all of\n the parts, and returns the modified parts formatted again\n as a url.\n\n Url Parts sent:\n - protocol\n - slashes (does the url have the //)\n - auth\n - hostname (just the name of the host, no port or auth information)\n - port\n - pathname (the path after the hostname, no query or hash, starts\n with a slash if there was a path)\n - query (always an object, even when no query on original url)\n - hash\n\n Why?\n - The default url library in node produces several conflicting\n properties on the \"parsed\" output. Modifying any of these might\n lead to the modifications being ignored (depending on which\n property was modified)\n - It's not always clear whether to use path/pathname, host/hostname,\n so this tries to add helpful constraints\n" + ], + "signature": [ + "(url: string, urlModifier: (urlParts: ", + { + "pluginId": "@kbn/std", + "scope": "server", + "docId": "kibKbnStdPluginApi", + "section": "def-server.URLMeaningfulParts", + "text": "URLMeaningfulParts" + }, + ") => void | Partial<", + { + "pluginId": "@kbn/std", + "scope": "server", + "docId": "kibKbnStdPluginApi", + "section": "def-server.URLMeaningfulParts", + "text": "URLMeaningfulParts" + }, + ">) => string" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.modifyUrl.$1", + "type": "string", + "tags": [], + "label": "url", + "description": [ + "The string url to parse." + ], + "signature": [ + "string" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.modifyUrl.$2", + "type": "Function", + "tags": [], + "label": "urlModifier", + "description": [ + "A function that will modify the parsed url, or return a new one." + ], + "signature": [ + "(urlParts: ", + { + "pluginId": "@kbn/std", + "scope": "server", + "docId": "kibKbnStdPluginApi", + "section": "def-server.URLMeaningfulParts", + "text": "URLMeaningfulParts" + }, + ") => void | Partial<", + { + "pluginId": "@kbn/std", + "scope": "server", + "docId": "kibKbnStdPluginApi", + "section": "def-server.URLMeaningfulParts", + "text": "URLMeaningfulParts" + }, + ">" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "The modified and reformatted url" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.pick", + "type": "Function", + "tags": [], + "label": "pick", + "description": [], + "signature": [ + "(obj: T, keys: readonly K[]) => Pick" + ], + "path": "packages/kbn-std/src/pick.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.pick.$1", + "type": "Uncategorized", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-std/src/pick.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.pick.$2", + "type": "Object", + "tags": [], + "label": "keys", + "description": [], + "signature": [ + "readonly K[]" + ], + "path": "packages/kbn-std/src/pick.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.unset", + "type": "Function", + "tags": [], + "label": "unset", + "description": [ + "\nUnset a (potentially nested) key from given object.\nThis mutates the original object.\n" + ], + "signature": [ + "(obj: OBJ, atPath: string) => void" + ], + "path": "packages/kbn-std/src/unset.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.unset.$1", + "type": "Uncategorized", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "OBJ" + ], + "path": "packages/kbn-std/src/unset.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.unset.$2", + "type": "string", + "tags": [], + "label": "atPath", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-std/src/unset.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.withTimeout", + "type": "Function", + "tags": [], + "label": "withTimeout", + "description": [], + "signature": [ + "({\n promise,\n timeoutMs,\n}: { promise: Promise; timeoutMs: number; }) => Promise<{ timedout: true; } | { timedout: false; value: T; }>" + ], + "path": "packages/kbn-std/src/promise.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.withTimeout.$1", + "type": "Object", + "tags": [], + "label": "{\n promise,\n timeoutMs,\n}", + "description": [], + "path": "packages/kbn-std/src/promise.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.withTimeout.$1.promise", + "type": "Object", + "tags": [], + "label": "promise", + "description": [], + "signature": [ + "Promise" + ], + "path": "packages/kbn-std/src/promise.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.withTimeout.$1.timeoutMs", + "type": "number", + "tags": [], + "label": "timeoutMs", + "description": [], + "path": "packages/kbn-std/src/promise.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.URLMeaningfulParts", + "type": "Interface", + "tags": [], + "label": "URLMeaningfulParts", + "description": [ + "\nWe define our own typings because the current version of @types/node\ndeclares properties to be optional \"hostname?: string\".\nAlthough, parse call returns \"hostname: null | string\".\n" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.URLMeaningfulParts.auth", + "type": "CompoundType", + "tags": [], + "label": "auth", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.URLMeaningfulParts.hash", + "type": "CompoundType", + "tags": [], + "label": "hash", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.URLMeaningfulParts.hostname", + "type": "CompoundType", + "tags": [], + "label": "hostname", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.URLMeaningfulParts.pathname", + "type": "CompoundType", + "tags": [], + "label": "pathname", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.URLMeaningfulParts.protocol", + "type": "CompoundType", + "tags": [], + "label": "protocol", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.URLMeaningfulParts.slashes", + "type": "CompoundType", + "tags": [], + "label": "slashes", + "description": [], + "signature": [ + "boolean | null | undefined" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.URLMeaningfulParts.port", + "type": "CompoundType", + "tags": [], + "label": "port", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.URLMeaningfulParts.query", + "type": "Object", + "tags": [], + "label": "query", + "description": [], + "signature": [ + "ParsedQuery", + "" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.Freezable", + "type": "Type", + "tags": [], + "label": "Freezable", + "description": [], + "signature": [ + "any[] | { [k: string]: any; }" + ], + "path": "packages/kbn-std/src/deep_freeze.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_std.mdx b/api_docs/kbn_std.mdx new file mode 100644 index 0000000000000..01c2a347c1252 --- /dev/null +++ b/api_docs/kbn_std.mdx @@ -0,0 +1,33 @@ +--- +id: kibKbnStdPluginApi +slug: /kibana-dev-docs/api/kbn-std +title: "@kbn/std" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/std plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/std'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnStdObj from './kbn_std.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 96 | 1 | 63 | 2 | + +## Server + +### Functions + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_storybook.json b/api_docs/kbn_storybook.json new file mode 100644 index 0000000000000..9ca43101a4572 --- /dev/null +++ b/api_docs/kbn_storybook.json @@ -0,0 +1,316 @@ +{ + "id": "@kbn/storybook", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.mergeWebpackFinal", + "type": "Function", + "tags": [], + "label": "mergeWebpackFinal", + "description": [], + "signature": [ + "(extraConfig: ", + "Configuration", + ") => { webpackFinal: (config: ", + "Configuration", + ") => ", + "Configuration", + "; }" + ], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.mergeWebpackFinal.$1", + "type": "Object", + "tags": [], + "label": "extraConfig", + "description": [], + "signature": [ + "Configuration" + ], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.runStorybookCli", + "type": "Function", + "tags": [], + "label": "runStorybookCli", + "description": [], + "signature": [ + "({ configDir, name }: { configDir: string; name: string; }) => void" + ], + "path": "packages/kbn-storybook/src/lib/run_storybook_cli.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.runStorybookCli.$1", + "type": "Object", + "tags": [], + "label": "{ configDir, name }", + "description": [], + "path": "packages/kbn-storybook/src/lib/run_storybook_cli.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.runStorybookCli.$1.configDir", + "type": "string", + "tags": [], + "label": "configDir", + "description": [], + "path": "packages/kbn-storybook/src/lib/run_storybook_cli.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.runStorybookCli.$1.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "packages/kbn-storybook/src/lib/run_storybook_cli.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [ + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.defaultConfig", + "type": "Object", + "tags": [], + "label": "defaultConfig", + "description": [], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.defaultConfig.addons", + "type": "Array", + "tags": [], + "label": "addons", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.defaultConfig.stories", + "type": "Array", + "tags": [], + "label": "stories", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.defaultConfig.typescript", + "type": "Object", + "tags": [], + "label": "typescript", + "description": [], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.defaultConfig.typescript.reactDocgen", + "type": "boolean", + "tags": [], + "label": "reactDocgen", + "description": [], + "signature": [ + "false" + ], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.defaultConfig.webpackFinal", + "type": "Function", + "tags": [], + "label": "webpackFinal", + "description": [], + "signature": [ + "(config: ", + "Configuration", + ", options: ", + "StorybookOptions", + ") => { resolve: { alias: { '@emotion/core': string; '@emotion/styled': string; 'emotion-theming': string; }; modules?: string[] | undefined; descriptionFiles?: string[] | undefined; mainFields?: string[] | string[][] | undefined; aliasFields?: string[] | string[][] | undefined; mainFiles?: string[] | undefined; extensions?: string[] | undefined; enforceExtension?: boolean | undefined; unsafeCache?: boolean | {} | undefined; cachePredicate?: ((data: { path: string; request: string; }) => boolean) | undefined; plugins?: ", + "ResolvePlugin", + "[] | undefined; symlinks?: boolean | undefined; cacheWithContext?: boolean | undefined; }; mode?: \"none\" | \"production\" | \"development\" | undefined; name?: string | undefined; context?: string | undefined; entry?: string | string[] | ", + "Entry", + " | ", + "EntryFunc", + " | undefined; devtool?: boolean | \"eval\" | \"inline-source-map\" | \"cheap-eval-source-map\" | \"cheap-source-map\" | \"cheap-module-eval-source-map\" | \"cheap-module-source-map\" | \"eval-source-map\" | \"source-map\" | \"nosources-source-map\" | \"hidden-source-map\" | \"inline-cheap-source-map\" | \"inline-cheap-module-source-map\" | \"@eval\" | \"@inline-source-map\" | \"@cheap-eval-source-map\" | \"@cheap-source-map\" | \"@cheap-module-eval-source-map\" | \"@cheap-module-source-map\" | \"@eval-source-map\" | \"@source-map\" | \"@nosources-source-map\" | \"@hidden-source-map\" | \"#eval\" | \"#inline-source-map\" | \"#cheap-eval-source-map\" | \"#cheap-source-map\" | \"#cheap-module-eval-source-map\" | \"#cheap-module-source-map\" | \"#eval-source-map\" | \"#source-map\" | \"#nosources-source-map\" | \"#hidden-source-map\" | \"#@eval\" | \"#@inline-source-map\" | \"#@cheap-eval-source-map\" | \"#@cheap-source-map\" | \"#@cheap-module-eval-source-map\" | \"#@cheap-module-source-map\" | \"#@eval-source-map\" | \"#@source-map\" | \"#@nosources-source-map\" | \"#@hidden-source-map\" | undefined; output?: ", + "Output", + " | undefined; module?: ", + "Module", + " | undefined; resolveLoader?: ", + "ResolveLoader", + " | undefined; externals?: string | RegExp | ", + "ExternalsObjectElement", + " | ", + "ExternalsFunctionElement", + " | ", + "ExternalsElement", + "[] | undefined; target?: \"web\" | \"node\" | \"webworker\" | \"async-node\" | \"node-webkit\" | \"atom\" | \"electron\" | \"electron-renderer\" | \"electron-preload\" | \"electron-main\" | ((compiler?: any) => void) | undefined; bail?: boolean | undefined; profile?: boolean | undefined; cache?: boolean | object | undefined; watch?: boolean | undefined; watchOptions?: ", + "ICompiler", + ".WatchOptions | undefined; node?: false | ", + "Node", + " | undefined; amd?: { [moduleName: string]: boolean; } | undefined; recordsPath?: string | undefined; recordsInputPath?: string | undefined; recordsOutputPath?: string | undefined; plugins?: ", + "Plugin", + "[] | undefined; stats?: boolean | \"none\" | \"normal\" | \"verbose\" | \"errors-only\" | \"errors-warnings\" | \"minimal\" | ", + "Stats", + ".ToStringOptionsObject | undefined; performance?: false | ", + "Options", + ".Performance | undefined; parallelism?: number | undefined; optimization?: ", + "Options", + ".Optimization | undefined; }" + ], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.defaultConfig.webpackFinal.$1", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + "Configuration" + ], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.defaultConfig.webpackFinal.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "StorybookOptions" + ], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.defaultConfigWebFinal", + "type": "Object", + "tags": [], + "label": "defaultConfigWebFinal", + "description": [], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.defaultConfigWebFinal.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.defaultConfigWebFinal.webpackFinal", + "type": "Function", + "tags": [], + "label": "webpackFinal", + "description": [], + "signature": [ + "(config: ", + "Configuration", + ") => ", + "Configuration" + ], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.defaultConfigWebFinal.webpackFinal.$1", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + "Configuration" + ], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_storybook.mdx b/api_docs/kbn_storybook.mdx new file mode 100644 index 0000000000000..796f13a77f13a --- /dev/null +++ b/api_docs/kbn_storybook.mdx @@ -0,0 +1,30 @@ +--- +id: kibKbnStorybookPluginApi +slug: /kibana-dev-docs/api/kbn-storybook +title: "@kbn/storybook" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/storybook plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/storybook'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnStorybookObj from './kbn_storybook.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 18 | 1 | 18 | 0 | + +## Server + +### Objects + + +### Functions + + diff --git a/api_docs/kbn_telemetry_tools.json b/api_docs/kbn_telemetry_tools.json new file mode 100644 index 0000000000000..81acf2ca23245 --- /dev/null +++ b/api_docs/kbn_telemetry_tools.json @@ -0,0 +1,60 @@ +{ + "id": "@kbn/telemetry-tools", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/telemetry-tools", + "id": "def-server.runTelemetryCheck", + "type": "Function", + "tags": [], + "label": "runTelemetryCheck", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-telemetry-tools/src/cli/run_telemetry_check.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/telemetry-tools", + "id": "def-server.runTelemetryExtract", + "type": "Function", + "tags": [], + "label": "runTelemetryExtract", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-telemetry-tools/src/cli/run_telemetry_extract.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_telemetry_tools.mdx b/api_docs/kbn_telemetry_tools.mdx new file mode 100644 index 0000000000000..579fd8440dc29 --- /dev/null +++ b/api_docs/kbn_telemetry_tools.mdx @@ -0,0 +1,27 @@ +--- +id: kibKbnTelemetryToolsPluginApi +slug: /kibana-dev-docs/api/kbn-telemetry-tools +title: "@kbn/telemetry-tools" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/telemetry-tools plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/telemetry-tools'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnTelemetryToolsObj from './kbn_telemetry_tools.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 2 | 0 | 2 | 0 | + +## Server + +### Functions + + diff --git a/api_docs/kbn_test.json b/api_docs/kbn_test.json new file mode 100644 index 0000000000000..fb3d38ce178e9 --- /dev/null +++ b/api_docs/kbn_test.json @@ -0,0 +1,3448 @@ +{ + "id": "@kbn/test", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.Config", + "type": "Class", + "tags": [], + "label": "Config", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/lib/config/config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.Config.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/config/config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.Config.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Options" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/config/config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Config.has", + "type": "Function", + "tags": [], + "label": "has", + "description": [], + "signature": [ + "(key: string | string[]) => boolean" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/config/config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.Config.has.$1", + "type": "CompoundType", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string | string[]" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/config/config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Config.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(key: string | string[], defaultValue?: any) => any" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/config/config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.Config.get.$1", + "type": "CompoundType", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string | string[]" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/config/config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Config.get.$2", + "type": "Any", + "tags": [], + "label": "defaultValue", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/config/config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Config.getAll", + "type": "Function", + "tags": [], + "label": "getAll", + "description": [], + "signature": [ + "() => any" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/config/config.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServersService", + "type": "Class", + "tags": [], + "label": "DockerServersService", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServersService.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServersService.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "configs", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServersService.Unnamed.$1.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServersService.Unnamed.$2", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServersService.Unnamed.$3", + "type": "Object", + "tags": [], + "label": "lifecycle", + "description": [], + "signature": [ + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Lifecycle", + "text": "Lifecycle" + } + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServersService.isEnabled", + "type": "Function", + "tags": [], + "label": "isEnabled", + "description": [], + "signature": [ + "(name: string) => boolean" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServersService.isEnabled.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServersService.has", + "type": "Function", + "tags": [], + "label": "has", + "description": [], + "signature": [ + "(name: string) => boolean" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServersService.has.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServersService.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(name: string) => { name: string; url: string; enabled: boolean; portInContainer: number; port: number; image: string; waitForLogLine?: string | RegExp | undefined; waitFor?: ((server: ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.DockerServer", + "text": "DockerServer" + }, + ", logLine$: ", + "Observable", + ") => ", + "Observable", + ") | undefined; args?: string[] | undefined; }" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServersService.get.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FailureMetadata", + "type": "Class", + "tags": [], + "label": "FailureMetadata", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/lib/failure_metadata.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.FailureMetadata.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/failure_metadata.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.FailureMetadata.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "lifecycle", + "description": [], + "signature": [ + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Lifecycle", + "text": "Lifecycle" + } + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/failure_metadata.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FailureMetadata.add", + "type": "Function", + "tags": [], + "label": "add", + "description": [], + "signature": [ + "(metadata: Metadata | ((current: Metadata) => Metadata)) => void" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/failure_metadata.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.FailureMetadata.add.$1", + "type": "CompoundType", + "tags": [], + "label": "metadata", + "description": [], + "signature": [ + "Metadata | ((current: Metadata) => Metadata)" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/failure_metadata.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FailureMetadata.addMessages", + "type": "Function", + "tags": [], + "label": "addMessages", + "description": [], + "signature": [ + "(messages: string[]) => void" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/failure_metadata.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.FailureMetadata.addMessages.$1", + "type": "Array", + "tags": [], + "label": "messages", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/failure_metadata.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FailureMetadata.addScreenshot", + "type": "Function", + "tags": [], + "label": "addScreenshot", + "description": [], + "signature": [ + "(name: string, repoPath: string) => { name: string; url: string; } | undefined" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/failure_metadata.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.FailureMetadata.addScreenshot.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [ + "Name to label the URL with" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/failure_metadata.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FailureMetadata.addScreenshot.$2", + "type": "string", + "tags": [], + "label": "repoPath", + "description": [ + "absolute path, within the repo, that will be uploaded" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/failure_metadata.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FailureMetadata.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(runnable: any) => Metadata | undefined" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/failure_metadata.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.FailureMetadata.get.$1", + "type": "Any", + "tags": [], + "label": "runnable", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/failure_metadata.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FunctionalTestRunner", + "type": "Class", + "tags": [], + "label": "FunctionalTestRunner", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/functional_test_runner.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.FunctionalTestRunner.lifecycle", + "type": "Object", + "tags": [], + "label": "lifecycle", + "description": [], + "signature": [ + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Lifecycle", + "text": "Lifecycle" + } + ], + "path": "packages/kbn-test/src/functional_test_runner/functional_test_runner.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FunctionalTestRunner.failureMetadata", + "type": "Object", + "tags": [], + "label": "failureMetadata", + "description": [], + "signature": [ + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.FailureMetadata", + "text": "FailureMetadata" + } + ], + "path": "packages/kbn-test/src/functional_test_runner/functional_test_runner.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FunctionalTestRunner.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-test/src/functional_test_runner/functional_test_runner.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.FunctionalTestRunner.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-test/src/functional_test_runner/functional_test_runner.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FunctionalTestRunner.Unnamed.$2", + "type": "string", + "tags": [], + "label": "configFile", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-test/src/functional_test_runner/functional_test_runner.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FunctionalTestRunner.Unnamed.$3", + "type": "Any", + "tags": [], + "label": "configOverrides", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-test/src/functional_test_runner/functional_test_runner.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FunctionalTestRunner.run", + "type": "Function", + "tags": [], + "label": "run", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "packages/kbn-test/src/functional_test_runner/functional_test_runner.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FunctionalTestRunner.getTestStats", + "type": "Function", + "tags": [], + "label": "getTestStats", + "description": [], + "signature": [ + "() => Promise<{ testCount: number; excludedTests: any; }>" + ], + "path": "packages/kbn-test/src/functional_test_runner/functional_test_runner.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FunctionalTestRunner._run", + "type": "Function", + "tags": [], + "label": "_run", + "description": [], + "signature": [ + "(handler: (config: ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Config", + "text": "Config" + }, + ", coreProvider: { type: string; name: string; fn: (...args: any[]) => any; }[]) => Promise) => Promise" + ], + "path": "packages/kbn-test/src/functional_test_runner/functional_test_runner.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.FunctionalTestRunner._run.$1", + "type": "Function", + "tags": [], + "label": "handler", + "description": [], + "signature": [ + "(config: ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Config", + "text": "Config" + }, + ", coreProvider: { type: string; name: string; fn: (...args: any[]) => any; }[]) => Promise" + ], + "path": "packages/kbn-test/src/functional_test_runner/functional_test_runner.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FunctionalTestRunner.close", + "type": "Function", + "tags": [], + "label": "close", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "packages/kbn-test/src/functional_test_runner/functional_test_runner.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrService", + "type": "Class", + "tags": [], + "label": "GenericFtrService", + "description": [], + "signature": [ + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.GenericFtrService", + "text": "GenericFtrService" + }, + "" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrService.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrService.Unnamed.$1", + "type": "Uncategorized", + "tags": [], + "label": "ctx", + "description": [], + "signature": [ + "ProviderContext" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClient", + "type": "Class", + "tags": [], + "label": "KbnClient", + "description": [], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClient.status", + "type": "Object", + "tags": [], + "label": "status", + "description": [], + "signature": [ + "KbnClientStatus" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClient.plugins", + "type": "Object", + "tags": [], + "label": "plugins", + "description": [], + "signature": [ + "KbnClientPlugins" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClient.version", + "type": "Object", + "tags": [], + "label": "version", + "description": [], + "signature": [ + "KbnClientVersion" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClient.savedObjects", + "type": "Object", + "tags": [], + "label": "savedObjects", + "description": [], + "signature": [ + "KbnClientSavedObjects" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClient.spaces", + "type": "Object", + "tags": [], + "label": "spaces", + "description": [], + "signature": [ + "KbnClientSpaces" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClient.uiSettings", + "type": "Object", + "tags": [], + "label": "uiSettings", + "description": [], + "signature": [ + "KbnClientUiSettings" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClient.importExport", + "type": "Object", + "tags": [], + "label": "importExport", + "description": [], + "signature": [ + "KbnClientImportExport" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClient.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [ + "\nBasic Kibana server client that implements common behaviors for talking\nto the Kibana server from dev tooling." + ], + "signature": [ + "any" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClient.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.KbnClientOptions", + "text": "KbnClientOptions" + } + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClient.request", + "type": "Function", + "tags": [], + "label": "request", + "description": [ + "\nMake a direct request to the Kibana server" + ], + "signature": [ + "(options: ", + "ReqOptions", + ") => Promise<", + "AxiosResponse", + ">" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClient.request.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "ReqOptions" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClient.resolveUrl", + "type": "Function", + "tags": [], + "label": "resolveUrl", + "description": [], + "signature": [ + "(relativeUrl: string) => string" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClient.resolveUrl.$1", + "type": "string", + "tags": [], + "label": "relativeUrl", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Lifecycle", + "type": "Class", + "tags": [], + "label": "Lifecycle", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/lib/lifecycle.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.Lifecycle.beforeTests", + "type": "Object", + "tags": [], + "label": "beforeTests", + "description": [], + "signature": [ + "LifecyclePhase", + "<[", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Suite", + "text": "Suite" + }, + "]>" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/lifecycle.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Lifecycle.beforeEachRunnable", + "type": "Object", + "tags": [], + "label": "beforeEachRunnable", + "description": [], + "signature": [ + "LifecyclePhase", + "<[", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Test", + "text": "Test" + }, + "]>" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/lifecycle.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Lifecycle.beforeTestSuite", + "type": "Object", + "tags": [], + "label": "beforeTestSuite", + "description": [], + "signature": [ + "LifecyclePhase", + "<[", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Suite", + "text": "Suite" + }, + "]>" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/lifecycle.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Lifecycle.beforeEachTest", + "type": "Object", + "tags": [], + "label": "beforeEachTest", + "description": [], + "signature": [ + "LifecyclePhase", + "<[", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Test", + "text": "Test" + }, + "]>" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/lifecycle.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Lifecycle.afterTestSuite", + "type": "Object", + "tags": [], + "label": "afterTestSuite", + "description": [], + "signature": [ + "LifecyclePhase", + "<[", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Suite", + "text": "Suite" + }, + "]>" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/lifecycle.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Lifecycle.testFailure", + "type": "Object", + "tags": [], + "label": "testFailure", + "description": [], + "signature": [ + "LifecyclePhase", + "<[Error, ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Test", + "text": "Test" + }, + "]>" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/lifecycle.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Lifecycle.testHookFailure", + "type": "Object", + "tags": [], + "label": "testHookFailure", + "description": [], + "signature": [ + "LifecyclePhase", + "<[Error, ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Test", + "text": "Test" + }, + "]>" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/lifecycle.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Lifecycle.cleanup", + "type": "Object", + "tags": [], + "label": "cleanup", + "description": [], + "signature": [ + "LifecyclePhase", + "<[]>" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/lifecycle.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.createTestEsCluster", + "type": "Function", + "tags": [], + "label": "createTestEsCluster", + "description": [], + "signature": [ + "(options: Options) => ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.EsTestCluster", + "text": "EsTestCluster" + }, + "" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.createTestEsCluster.$1", + "type": "Uncategorized", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Options" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.defineDockerServersConfig", + "type": "Function", + "tags": [], + "label": "defineDockerServersConfig", + "description": [ + "\nHelper that helps authors use the type definitions for the section of the FTR config\nunder the `dockerServers` key." + ], + "signature": [ + "(config: {} | { [name: string]: ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.DockerServerSpec", + "text": "DockerServerSpec" + }, + "; }) => {} | { [name: string]: ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.DockerServerSpec", + "text": "DockerServerSpec" + }, + "; }" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.defineDockerServersConfig.$1", + "type": "CompoundType", + "tags": [], + "label": "config", + "description": [], + "signature": [ + "{} | { [name: string]: ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.DockerServerSpec", + "text": "DockerServerSpec" + }, + "; }" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.escapeCdata", + "type": "Function", + "tags": [], + "label": "escapeCdata", + "description": [], + "signature": [ + "(input: string) => string" + ], + "path": "packages/kbn-test/src/mocha/xml.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.escapeCdata.$1", + "type": "string", + "tags": [], + "label": "input", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-test/src/mocha/xml.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.getUrl", + "type": "Function", + "tags": [ + "return" + ], + "label": "getUrl", + "description": [ + "\nConverts a config and a pathname to a url" + ], + "signature": [ + "(config: UrlParam, app: UrlParam) => string" + ], + "path": "packages/kbn-test/src/jest/utils/get_url.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.getUrl.$1", + "type": "Object", + "tags": [], + "label": "config", + "description": [ + "A url config\nexample:\n{\nprotocol: 'http',\nhostname: 'localhost',\nport: 9220,\nauth: kibanaTestUser.username + ':' + kibanaTestUser.password\n}" + ], + "signature": [ + "UrlParam" + ], + "path": "packages/kbn-test/src/jest/utils/get_url.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.getUrl.$2", + "type": "Object", + "tags": [], + "label": "app", + "description": [ + "The params to append\nexample:\n{\npathname: 'app/kibana',\nhash: '/discover'\n}" + ], + "signature": [ + "UrlParam" + ], + "path": "packages/kbn-test/src/jest/utils/get_url.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.readConfigFile", + "type": "Function", + "tags": [], + "label": "readConfigFile", + "description": [], + "signature": [ + "(log: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, + ", path: string, settingOverrides: any) => Promise<", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Config", + "text": "Config" + }, + ">" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/config/read_config_file.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.readConfigFile.$1", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/config/read_config_file.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.readConfigFile.$2", + "type": "string", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/config/read_config_file.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.readConfigFile.$3", + "type": "Any", + "tags": [], + "label": "settingOverrides", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/config/read_config_file.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.runCheckJestConfigsCli", + "type": "Function", + "tags": [], + "label": "runCheckJestConfigsCli", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "packages/kbn-test/src/jest/run_check_jest_configs_cli.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.runFailedTestsReporterCli", + "type": "Function", + "tags": [], + "label": "runFailedTestsReporterCli", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-test/src/failed_tests_reporter/run_failed_tests_reporter_cli.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.runFtrCli", + "type": "Function", + "tags": [], + "label": "runFtrCli", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-test/src/functional_test_runner/cli.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.runJest", + "type": "Function", + "tags": [], + "label": "runJest", + "description": [], + "signature": [ + "(configName: string) => void" + ], + "path": "packages/kbn-test/src/jest/run.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.runJest.$1", + "type": "string", + "tags": [], + "label": "configName", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-test/src/jest/run.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.runKbnArchiverCli", + "type": "Function", + "tags": [], + "label": "runKbnArchiverCli", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-test/src/kbn_archiver_cli.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.runTests", + "type": "Function", + "tags": [], + "label": "runTests", + "description": [], + "signature": [ + "(options: RunTestsParams) => Promise" + ], + "path": "packages/kbn-test/src/functional_tests/tasks.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.runTests.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "RunTestsParams" + ], + "path": "packages/kbn-test/src/functional_tests/tasks.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.startServers", + "type": "Function", + "tags": [], + "label": "startServers", + "description": [], + "signature": [ + "({ ...options }: StartServerOptions) => Promise" + ], + "path": "packages/kbn-test/src/functional_tests/tasks.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.startServers.$1", + "type": "Object", + "tags": [], + "label": "{ ...options }", + "description": [], + "signature": [ + "StartServerOptions" + ], + "path": "packages/kbn-test/src/functional_tests/tasks.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.uriencode", + "type": "Function", + "tags": [], + "label": "uriencode", + "description": [], + "signature": [ + "(strings: TemplateStringsArray, ...values: ", + "PhraseFilterValue", + "[]) => string" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client_requester.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.uriencode.$1", + "type": "Object", + "tags": [], + "label": "strings", + "description": [], + "signature": [ + "TemplateStringsArray" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client_requester.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.uriencode.$2", + "type": "Array", + "tags": [], + "label": "values", + "description": [], + "signature": [ + "PhraseFilterValue", + "[]" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client_requester.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.AsyncInstance", + "type": "Interface", + "tags": [], + "label": "AsyncInstance", + "description": [], + "signature": [ + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.AsyncInstance", + "text": "AsyncInstance" + }, + "" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.AsyncInstance.init", + "type": "Function", + "tags": [], + "label": "init", + "description": [ + "\nServices that are initialized async are not ready before the tests execute, so you might need\nto call `init()` and await the promise it returns before interacting with the service" + ], + "signature": [ + "() => Promise" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.CreateTestEsClusterOptions", + "type": "Interface", + "tags": [], + "label": "CreateTestEsClusterOptions", + "description": [], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.CreateTestEsClusterOptions.basePath", + "type": "string", + "tags": [], + "label": "basePath", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.CreateTestEsClusterOptions.clusterName", + "type": "string", + "tags": [], + "label": "clusterName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.CreateTestEsClusterOptions.dataArchive", + "type": "string", + "tags": [], + "label": "dataArchive", + "description": [ + "\nPath to data archive snapshot to run Elasticsearch with.\nTo prepare the the snapshot:\n- run Elasticsearch server\n- index necessary data\n- stop Elasticsearch server\n- go to Elasticsearch folder: cd .es/${ELASTICSEARCH_VERSION}\n- archive data folder: zip -r my_archive.zip data" + ], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.CreateTestEsClusterOptions.esArgs", + "type": "Array", + "tags": [], + "label": "esArgs", + "description": [ + "\nElasticsearch configuration options. These are key/value pairs formatted as:\n`['key.1=val1', 'key.2=val2']`" + ], + "signature": [ + "string[] | undefined" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.CreateTestEsClusterOptions.esFrom", + "type": "string", + "tags": [], + "label": "esFrom", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.CreateTestEsClusterOptions.esJavaOpts", + "type": "string", + "tags": [], + "label": "esJavaOpts", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.CreateTestEsClusterOptions.license", + "type": "CompoundType", + "tags": [], + "label": "license", + "description": [ + "\nLicense to run your cluster under. Keep in mind that a `trial` license\nhas an expiration date. If you are using a `dataArchive` with your tests,\nyou'll likely need to use `basic` or `gold` to prevent the test from failing\nwhen the license expires." + ], + "signature": [ + "\"basic\" | \"gold\" | \"trial\" | undefined" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.CreateTestEsClusterOptions.log", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.CreateTestEsClusterOptions.nodes", + "type": "Array", + "tags": [], + "label": "nodes", + "description": [ + "\nNode-specific configuration if you wish to run a multi-node\ncluster. One node will be added for each item in the array.\n\nIf this option is not provided, the config will default\nto a single-node cluster.\n" + ], + "signature": [ + "TestEsClusterNodesOptions[] | undefined" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.CreateTestEsClusterOptions.password", + "type": "string", + "tags": [], + "label": "password", + "description": [ + "\nPassword for the `elastic` user. This is set after the cluster has started.\n\nDefaults to `changeme`." + ], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.CreateTestEsClusterOptions.port", + "type": "number", + "tags": [], + "label": "port", + "description": [ + "\nPort to run Elasticsearch on. If you configure a\nmulti-node cluster with the `nodes` option, this\nport will be incremented by one for each added node.\n" + ], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.CreateTestEsClusterOptions.ssl", + "type": "CompoundType", + "tags": [], + "label": "ssl", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServer", + "type": "Interface", + "tags": [], + "label": "DockerServer", + "description": [], + "signature": [ + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.DockerServer", + "text": "DockerServer" + }, + " extends ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.DockerServerSpec", + "text": "DockerServerSpec" + } + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServer.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServer.url", + "type": "string", + "tags": [], + "label": "url", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServerSpec", + "type": "Interface", + "tags": [], + "label": "DockerServerSpec", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServerSpec.enabled", + "type": "boolean", + "tags": [], + "label": "enabled", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServerSpec.portInContainer", + "type": "number", + "tags": [], + "label": "portInContainer", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServerSpec.port", + "type": "number", + "tags": [], + "label": "port", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServerSpec.image", + "type": "string", + "tags": [], + "label": "image", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServerSpec.waitForLogLine", + "type": "CompoundType", + "tags": [], + "label": "waitForLogLine", + "description": [], + "signature": [ + "string | RegExp | undefined" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServerSpec.waitFor", + "type": "Function", + "tags": [], + "label": "waitFor", + "description": [ + "a function that should return an observable that will allow the tests to execute as soon as it emits anything" + ], + "signature": [ + "((server: ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.DockerServer", + "text": "DockerServer" + }, + ", logLine$: ", + "Observable", + ") => ", + "Observable", + ") | undefined" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServerSpec.waitFor.$1", + "type": "Object", + "tags": [], + "label": "server", + "description": [], + "signature": [ + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.DockerServer", + "text": "DockerServer" + } + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServerSpec.waitFor.$2", + "type": "Object", + "tags": [], + "label": "logLine$", + "description": [], + "signature": [ + "Observable", + "" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServerSpec.args", + "type": "Array", + "tags": [], + "label": "args", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FtrConfigProviderContext", + "type": "Interface", + "tags": [], + "label": "FtrConfigProviderContext", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.FtrConfigProviderContext.log", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FtrConfigProviderContext.readConfigFile", + "type": "Function", + "tags": [], + "label": "readConfigFile", + "description": [], + "signature": [ + "(path: string) => Promise<", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Config", + "text": "Config" + }, + ">" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.FtrConfigProviderContext.readConfigFile.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext", + "type": "Interface", + "tags": [], + "label": "GenericFtrProviderContext", + "description": [], + "signature": [ + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.GenericFtrProviderContext", + "text": "GenericFtrProviderContext" + }, + "" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.hasService", + "type": "Function", + "tags": [], + "label": "hasService", + "description": [ + "\nDetermine if a service is avaliable" + ], + "signature": [ + "{ (serviceName: \"config\" | \"log\" | \"lifecycle\" | \"failureMetadata\" | \"dockerServers\"): true; (serviceName: K): serviceName is K; (serviceName: string): serviceName is Extract; }" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.hasService.$1", + "type": "CompoundType", + "tags": [], + "label": "serviceName", + "description": [], + "signature": [ + "\"config\" | \"log\" | \"lifecycle\" | \"failureMetadata\" | \"dockerServers\"" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.hasService", + "type": "Function", + "tags": [], + "label": "hasService", + "description": [], + "signature": [ + "{ (serviceName: \"config\" | \"log\" | \"lifecycle\" | \"failureMetadata\" | \"dockerServers\"): true; (serviceName: K): serviceName is K; (serviceName: string): serviceName is Extract; }" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.hasService.$1", + "type": "Uncategorized", + "tags": [], + "label": "serviceName", + "description": [], + "signature": [ + "K" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.hasService", + "type": "Function", + "tags": [], + "label": "hasService", + "description": [], + "signature": [ + "{ (serviceName: \"config\" | \"log\" | \"lifecycle\" | \"failureMetadata\" | \"dockerServers\"): true; (serviceName: K): serviceName is K; (serviceName: string): serviceName is Extract; }" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.hasService.$1", + "type": "string", + "tags": [], + "label": "serviceName", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getService", + "type": "Function", + "tags": [], + "label": "getService", + "description": [ + "\nGet the instance of a service, if the service is loaded async and the service needs to be used\noutside of a test/hook, then make sure to call its `.init()` method and await it's promise." + ], + "signature": [ + "{ (serviceName: \"config\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Config", + "text": "Config" + }, + "; (serviceName: \"log\"): ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, + "; (serviceName: \"lifecycle\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Lifecycle", + "text": "Lifecycle" + }, + "; (serviceName: \"dockerServers\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.DockerServersService", + "text": "DockerServersService" + }, + "; (serviceName: \"failureMetadata\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.FailureMetadata", + "text": "FailureMetadata" + }, + "; (serviceName: T): ServiceMap[T]; }" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getService.$1", + "type": "string", + "tags": [], + "label": "serviceName", + "description": [], + "signature": [ + "\"config\"" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getService", + "type": "Function", + "tags": [], + "label": "getService", + "description": [], + "signature": [ + "{ (serviceName: \"config\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Config", + "text": "Config" + }, + "; (serviceName: \"log\"): ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, + "; (serviceName: \"lifecycle\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Lifecycle", + "text": "Lifecycle" + }, + "; (serviceName: \"dockerServers\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.DockerServersService", + "text": "DockerServersService" + }, + "; (serviceName: \"failureMetadata\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.FailureMetadata", + "text": "FailureMetadata" + }, + "; (serviceName: T): ServiceMap[T]; }" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getService.$1", + "type": "string", + "tags": [], + "label": "serviceName", + "description": [], + "signature": [ + "\"log\"" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getService", + "type": "Function", + "tags": [], + "label": "getService", + "description": [], + "signature": [ + "{ (serviceName: \"config\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Config", + "text": "Config" + }, + "; (serviceName: \"log\"): ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, + "; (serviceName: \"lifecycle\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Lifecycle", + "text": "Lifecycle" + }, + "; (serviceName: \"dockerServers\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.DockerServersService", + "text": "DockerServersService" + }, + "; (serviceName: \"failureMetadata\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.FailureMetadata", + "text": "FailureMetadata" + }, + "; (serviceName: T): ServiceMap[T]; }" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getService.$1", + "type": "string", + "tags": [], + "label": "serviceName", + "description": [], + "signature": [ + "\"lifecycle\"" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getService", + "type": "Function", + "tags": [], + "label": "getService", + "description": [], + "signature": [ + "{ (serviceName: \"config\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Config", + "text": "Config" + }, + "; (serviceName: \"log\"): ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, + "; (serviceName: \"lifecycle\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Lifecycle", + "text": "Lifecycle" + }, + "; (serviceName: \"dockerServers\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.DockerServersService", + "text": "DockerServersService" + }, + "; (serviceName: \"failureMetadata\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.FailureMetadata", + "text": "FailureMetadata" + }, + "; (serviceName: T): ServiceMap[T]; }" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getService.$1", + "type": "string", + "tags": [], + "label": "serviceName", + "description": [], + "signature": [ + "\"dockerServers\"" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getService", + "type": "Function", + "tags": [], + "label": "getService", + "description": [], + "signature": [ + "{ (serviceName: \"config\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Config", + "text": "Config" + }, + "; (serviceName: \"log\"): ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, + "; (serviceName: \"lifecycle\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Lifecycle", + "text": "Lifecycle" + }, + "; (serviceName: \"dockerServers\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.DockerServersService", + "text": "DockerServersService" + }, + "; (serviceName: \"failureMetadata\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.FailureMetadata", + "text": "FailureMetadata" + }, + "; (serviceName: T): ServiceMap[T]; }" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getService.$1", + "type": "string", + "tags": [], + "label": "serviceName", + "description": [], + "signature": [ + "\"failureMetadata\"" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getService", + "type": "Function", + "tags": [], + "label": "getService", + "description": [], + "signature": [ + "{ (serviceName: \"config\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Config", + "text": "Config" + }, + "; (serviceName: \"log\"): ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, + "; (serviceName: \"lifecycle\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Lifecycle", + "text": "Lifecycle" + }, + "; (serviceName: \"dockerServers\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.DockerServersService", + "text": "DockerServersService" + }, + "; (serviceName: \"failureMetadata\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.FailureMetadata", + "text": "FailureMetadata" + }, + "; (serviceName: T): ServiceMap[T]; }" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getService.$1", + "type": "Uncategorized", + "tags": [], + "label": "serviceName", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getPageObject", + "type": "Function", + "tags": [], + "label": "getPageObject", + "description": [ + "\nGet the instance of a page object" + ], + "signature": [ + "(pageObjectName: K) => PageObjectMap[K]" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getPageObject.$1", + "type": "Uncategorized", + "tags": [], + "label": "pageObjectName", + "description": [], + "signature": [ + "K" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getPageObjects", + "type": "Function", + "tags": [], + "label": "getPageObjects", + "description": [ + "\nGet a map of PageObjects" + ], + "signature": [ + "(pageObjects: K[]) => Pick" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getPageObjects.$1", + "type": "Array", + "tags": [], + "label": "pageObjects", + "description": [], + "signature": [ + "K[]" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.loadTestFile", + "type": "Function", + "tags": [], + "label": "loadTestFile", + "description": [ + "\nSynchronously load a test file, can be called within a `describe()` block to add\ncommon setup/teardown steps to several suites" + ], + "signature": [ + "(path: string) => void" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.loadTestFile.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.ICluster", + "type": "Interface", + "tags": [], + "label": "ICluster", + "description": [], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.ICluster.ports", + "type": "Array", + "tags": [], + "label": "ports", + "description": [], + "signature": [ + "number[]" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.ICluster.nodes", + "type": "Array", + "tags": [], + "label": "nodes", + "description": [], + "signature": [ + "Node[]" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.ICluster.getStartTimeout", + "type": "Function", + "tags": [], + "label": "getStartTimeout", + "description": [], + "signature": [ + "() => number" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.ICluster.start", + "type": "Function", + "tags": [], + "label": "start", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.ICluster.stop", + "type": "Function", + "tags": [], + "label": "stop", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.ICluster.cleanup", + "type": "Function", + "tags": [], + "label": "cleanup", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.ICluster.getClient", + "type": "Function", + "tags": [], + "label": "getClient", + "description": [], + "signature": [ + "() => ", + "KibanaClient" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.ICluster.getHostUrls", + "type": "Function", + "tags": [], + "label": "getHostUrls", + "description": [], + "signature": [ + "() => string[]" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClientOptions", + "type": "Interface", + "tags": [], + "label": "KbnClientOptions", + "description": [], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClientOptions.url", + "type": "string", + "tags": [], + "label": "url", + "description": [], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClientOptions.certificateAuthorities", + "type": "Array", + "tags": [], + "label": "certificateAuthorities", + "description": [], + "signature": [ + "Buffer[] | undefined" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClientOptions.log", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClientOptions.uiSettingDefaults", + "type": "Object", + "tags": [], + "label": "uiSettingDefaults", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClientOptions.importExportBaseDir", + "type": "string", + "tags": [], + "label": "importExportBaseDir", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Suite", + "type": "Interface", + "tags": [], + "label": "Suite", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.Suite.suites", + "type": "Array", + "tags": [], + "label": "suites", + "description": [], + "signature": [ + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Suite", + "text": "Suite" + }, + "[]" + ], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Suite.tests", + "type": "Array", + "tags": [], + "label": "tests", + "description": [], + "signature": [ + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Test", + "text": "Test" + }, + "[]" + ], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Suite.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Suite.file", + "type": "string", + "tags": [], + "label": "file", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Suite.parent", + "type": "Object", + "tags": [], + "label": "parent", + "description": [], + "signature": [ + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Suite", + "text": "Suite" + }, + " | undefined" + ], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Suite.eachTest", + "type": "Function", + "tags": [], + "label": "eachTest", + "description": [], + "signature": [ + "(cb: (test: ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Test", + "text": "Test" + }, + ") => void) => void" + ], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.Suite.eachTest.$1", + "type": "Function", + "tags": [], + "label": "cb", + "description": [], + "signature": [ + "(test: ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Test", + "text": "Test" + }, + ") => void" + ], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Suite.root", + "type": "boolean", + "tags": [], + "label": "root", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Suite.suiteTag", + "type": "string", + "tags": [], + "label": "suiteTag", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Test", + "type": "Interface", + "tags": [], + "label": "Test", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.Test.fullTitle", + "type": "Function", + "tags": [], + "label": "fullTitle", + "description": [], + "signature": [ + "() => string" + ], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Test.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Test.file", + "type": "string", + "tags": [], + "label": "file", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Test.parent", + "type": "Object", + "tags": [], + "label": "parent", + "description": [], + "signature": [ + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Suite", + "text": "Suite" + }, + " | undefined" + ], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Test.isPassed", + "type": "Function", + "tags": [], + "label": "isPassed", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.CI_PARALLEL_PROCESS_PREFIX", + "type": "string", + "tags": [], + "label": "CI_PARALLEL_PROCESS_PREFIX", + "description": [ + "\nA prefix string that is unique for each parallel CI process that\nis an empty string outside of CI, so it can be safely injected\ninto strings as a prefix" + ], + "path": "packages/kbn-test/src/ci_parallel_process_prefix.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.EsTestCluster", + "type": "Type", + "tags": [], + "label": "EsTestCluster", + "description": [], + "signature": [ + "Options[\"nodes\"] extends TestEsClusterNodesOptions[] ? ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.ICluster", + "text": "ICluster" + }, + " : ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.ICluster", + "text": "ICluster" + }, + " & { getUrl: () => string; }" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KIBANA_ROOT", + "type": "string", + "tags": [], + "label": "KIBANA_ROOT", + "description": [], + "path": "packages/kbn-test/src/functional_tests/lib/paths.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.ProvidedType", + "type": "Type", + "tags": [], + "label": "ProvidedType", + "description": [ + "\nCovert a Provider type to the instance type it provides" + ], + "signature": [ + "ReturnType extends Promise ? ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.AsyncInstance", + "text": "AsyncInstance" + }, + " & X : ReturnType" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.adminTestUser", + "type": "Object", + "tags": [], + "label": "adminTestUser", + "description": [], + "path": "packages/kbn-test/src/kbn/users.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.adminTestUser.username", + "type": "string", + "tags": [], + "label": "username", + "description": [], + "path": "packages/kbn-test/src/kbn/users.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.adminTestUser.password", + "type": "string", + "tags": [], + "label": "password", + "description": [], + "path": "packages/kbn-test/src/kbn/users.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.esTestConfig", + "type": "Object", + "tags": [], + "label": "esTestConfig", + "description": [], + "signature": [ + "EsTestConfig" + ], + "path": "packages/kbn-test/src/es/es_test_config.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.kbnTestConfig", + "type": "Object", + "tags": [], + "label": "kbnTestConfig", + "description": [], + "signature": [ + "KbnTestConfig" + ], + "path": "packages/kbn-test/src/kbn/kbn_test_config.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.kibanaServerTestUser", + "type": "Object", + "tags": [], + "label": "kibanaServerTestUser", + "description": [], + "path": "packages/kbn-test/src/kbn/users.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.kibanaServerTestUser.username", + "type": "string", + "tags": [], + "label": "username", + "description": [], + "path": "packages/kbn-test/src/kbn/users.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.kibanaServerTestUser.password", + "type": "string", + "tags": [], + "label": "password", + "description": [], + "path": "packages/kbn-test/src/kbn/users.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.kibanaTestUser", + "type": "Object", + "tags": [], + "label": "kibanaTestUser", + "description": [], + "path": "packages/kbn-test/src/kbn/users.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.kibanaTestUser.username", + "type": "string", + "tags": [], + "label": "username", + "description": [], + "path": "packages/kbn-test/src/kbn/users.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.kibanaTestUser.password", + "type": "string", + "tags": [], + "label": "password", + "description": [], + "path": "packages/kbn-test/src/kbn/users.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_test.mdx b/api_docs/kbn_test.mdx new file mode 100644 index 0000000000000..f5c84eb3c32b6 --- /dev/null +++ b/api_docs/kbn_test.mdx @@ -0,0 +1,39 @@ +--- +id: kibKbnTestPluginApi +slug: /kibana-dev-docs/api/kbn-test +title: "@kbn/test" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/test plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnTestObj from './kbn_test.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 200 | 5 | 177 | 9 | + +## Server + +### Objects + + +### Functions + + +### Classes + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_typed_react_router_config.json b/api_docs/kbn_typed_react_router_config.json new file mode 100644 index 0000000000000..3f9fa9c74d723 --- /dev/null +++ b/api_docs/kbn_typed_react_router_config.json @@ -0,0 +1,4469 @@ +{ + "id": "@kbn/typed-react-router-config", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.createRouter", + "type": "Function", + "tags": [], + "label": "createRouter", + "description": [], + "signature": [ + "(routes: TRoutes) => ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Router", + "text": "Router" + }, + "" + ], + "path": "packages/kbn-typed-react-router-config/src/create_router.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.createRouter.$1", + "type": "Uncategorized", + "tags": [], + "label": "routes", + "description": [], + "signature": [ + "TRoutes" + ], + "path": "packages/kbn-typed-react-router-config/src/create_router.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.CurrentRouteContextProvider", + "type": "Function", + "tags": [], + "label": "CurrentRouteContextProvider", + "description": [], + "signature": [ + "({ match, element, children, }: { match: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.RouteMatch", + "text": "RouteMatch" + }, + "<", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ">; element: React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>; children: React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>; }) => JSX.Element" + ], + "path": "packages/kbn-typed-react-router-config/src/use_current_route.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.CurrentRouteContextProvider.$1", + "type": "Object", + "tags": [], + "label": "{\n match,\n element,\n children,\n}", + "description": [], + "path": "packages/kbn-typed-react-router-config/src/use_current_route.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.CurrentRouteContextProvider.$1.match", + "type": "Object", + "tags": [], + "label": "match", + "description": [], + "signature": [ + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.RouteMatch", + "text": "RouteMatch" + }, + "<", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ">" + ], + "path": "packages/kbn-typed-react-router-config/src/use_current_route.tsx", + "deprecated": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.CurrentRouteContextProvider.$1.element", + "type": "Object", + "tags": [], + "label": "element", + "description": [], + "signature": [ + "React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>" + ], + "path": "packages/kbn-typed-react-router-config/src/use_current_route.tsx", + "deprecated": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.CurrentRouteContextProvider.$1.children", + "type": "Object", + "tags": [], + "label": "children", + "description": [], + "signature": [ + "React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>" + ], + "path": "packages/kbn-typed-react-router-config/src/use_current_route.tsx", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Outlet", + "type": "Function", + "tags": [], + "label": "Outlet", + "description": [], + "signature": [ + "() => React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | null" + ], + "path": "packages/kbn-typed-react-router-config/src/outlet.tsx", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.OutletContextProvider", + "type": "Function", + "tags": [], + "label": "OutletContextProvider", + "description": [], + "signature": [ + "({\n element,\n children,\n}: { element: React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>; children: React.ReactNode; }) => JSX.Element" + ], + "path": "packages/kbn-typed-react-router-config/src/outlet.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.OutletContextProvider.$1", + "type": "Object", + "tags": [], + "label": "{\n element,\n children,\n}", + "description": [], + "path": "packages/kbn-typed-react-router-config/src/outlet.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.OutletContextProvider.$1.element", + "type": "Object", + "tags": [], + "label": "element", + "description": [], + "signature": [ + "React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>" + ], + "path": "packages/kbn-typed-react-router-config/src/outlet.tsx", + "deprecated": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.OutletContextProvider.$1.children", + "type": "CompoundType", + "tags": [], + "label": "children", + "description": [], + "signature": [ + "string | number | boolean | {} | React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | React.ReactNodeArray | React.ReactPortal | null | undefined" + ], + "path": "packages/kbn-typed-react-router-config/src/outlet.tsx", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.route", + "type": "Function", + "tags": [], + "label": "route", + "description": [], + "signature": [ + "(r: TRoute) => ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + "" + ], + "path": "packages/kbn-typed-react-router-config/src/route.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.route.$1", + "type": "Uncategorized", + "tags": [], + "label": "r", + "description": [], + "signature": [ + "TRoute" + ], + "path": "packages/kbn-typed-react-router-config/src/route.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.RouterContextProvider", + "type": "Function", + "tags": [], + "label": "RouterContextProvider", + "description": [], + "signature": [ + "({ router, children, }: { router: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Router", + "text": "Router" + }, + "<", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]>; children: React.ReactNode; }) => JSX.Element" + ], + "path": "packages/kbn-typed-react-router-config/src/use_router.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.RouterContextProvider.$1", + "type": "Object", + "tags": [], + "label": "{\n router,\n children,\n}", + "description": [], + "path": "packages/kbn-typed-react-router-config/src/use_router.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.RouterContextProvider.$1.router", + "type": "Object", + "tags": [], + "label": "router", + "description": [], + "signature": [ + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Router", + "text": "Router" + }, + "<", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]>" + ], + "path": "packages/kbn-typed-react-router-config/src/use_router.tsx", + "deprecated": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.RouterContextProvider.$1.children", + "type": "CompoundType", + "tags": [], + "label": "children", + "description": [], + "signature": [ + "string | number | boolean | {} | React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | React.ReactNodeArray | React.ReactPortal | null | undefined" + ], + "path": "packages/kbn-typed-react-router-config/src/use_router.tsx", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.RouteRenderer", + "type": "Function", + "tags": [], + "label": "RouteRenderer", + "description": [], + "signature": [ + "() => JSX.Element" + ], + "path": "packages/kbn-typed-react-router-config/src/route_renderer.tsx", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.RouterProvider", + "type": "Function", + "tags": [], + "label": "RouterProvider", + "description": [], + "signature": [ + "({\n children,\n router,\n history,\n}: { router: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Router", + "text": "Router" + }, + "<", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]>; history: ", + "History", + "; children: React.ReactNode; }) => JSX.Element" + ], + "path": "packages/kbn-typed-react-router-config/src/router_provider.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.RouterProvider.$1", + "type": "Object", + "tags": [], + "label": "{\n children,\n router,\n history,\n}", + "description": [], + "path": "packages/kbn-typed-react-router-config/src/router_provider.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.RouterProvider.$1.router", + "type": "Object", + "tags": [], + "label": "router", + "description": [], + "signature": [ + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Router", + "text": "Router" + }, + "<", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]>" + ], + "path": "packages/kbn-typed-react-router-config/src/router_provider.tsx", + "deprecated": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.RouterProvider.$1.history", + "type": "Object", + "tags": [], + "label": "history", + "description": [], + "signature": [ + "History", + "" + ], + "path": "packages/kbn-typed-react-router-config/src/router_provider.tsx", + "deprecated": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.RouterProvider.$1.children", + "type": "CompoundType", + "tags": [], + "label": "children", + "description": [], + "signature": [ + "string | number | boolean | {} | React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | React.ReactNodeArray | React.ReactPortal | null | undefined" + ], + "path": "packages/kbn-typed-react-router-config/src/router_provider.tsx", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.unconst", + "type": "Function", + "tags": [], + "label": "unconst", + "description": [], + "signature": [ + "(value: T) => ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + "" + ], + "path": "packages/kbn-typed-react-router-config/src/unconst.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.unconst.$1", + "type": "Uncategorized", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-typed-react-router-config/src/unconst.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.useCurrentRoute", + "type": "Function", + "tags": [], + "label": "useCurrentRoute", + "description": [], + "signature": [ + "() => { match: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.RouteMatch", + "text": "RouteMatch" + }, + "<", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ">; element: React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>; }" + ], + "path": "packages/kbn-typed-react-router-config/src/use_current_route.tsx", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.useMatchRoutes", + "type": "Function", + "tags": [], + "label": "useMatchRoutes", + "description": [], + "signature": [ + "(path: string | undefined) => ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.RouteMatch", + "text": "RouteMatch" + }, + "<", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ">[]" + ], + "path": "packages/kbn-typed-react-router-config/src/use_match_routes.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.useMatchRoutes.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-typed-react-router-config/src/use_match_routes.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.useParams", + "type": "Function", + "tags": [], + "label": "useParams", + "description": [], + "signature": [ + "(args: any[]) => undefined" + ], + "path": "packages/kbn-typed-react-router-config/src/use_params.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.useParams.$1", + "type": "Array", + "tags": [], + "label": "args", + "description": [], + "signature": [ + "any[]" + ], + "path": "packages/kbn-typed-react-router-config/src/use_params.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.useRoutePath", + "type": "Function", + "tags": [], + "label": "useRoutePath", + "description": [], + "signature": [ + "() => string" + ], + "path": "packages/kbn-typed-react-router-config/src/use_route_path.tsx", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.useRouter", + "type": "Function", + "tags": [], + "label": "useRouter", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Router", + "text": "Router" + }, + "<", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]>" + ], + "path": "packages/kbn-typed-react-router-config/src/use_router.tsx", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.RouteMatch", + "type": "Interface", + "tags": [], + "label": "RouteMatch", + "description": [], + "signature": [ + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.RouteMatch", + "text": "RouteMatch" + }, + "" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.RouteMatch.route", + "type": "Uncategorized", + "tags": [], + "label": "route", + "description": [], + "signature": [ + "TRoute" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.RouteMatch.match", + "type": "Object", + "tags": [], + "label": "match", + "description": [], + "signature": [ + "{ isExact: boolean; path: string; url: string; params: TRoute extends { params: ", + "Type", + "; } ? ", + "TypeOf", + " : {}; }" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router", + "type": "Interface", + "tags": [], + "label": "Router", + "description": [], + "signature": [ + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Router", + "text": "Router" + }, + "" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.matchRoutes", + "type": "Function", + "tags": [], + "label": "matchRoutes", + "description": [], + "signature": [ + "{ >(path: TPath, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Match", + "text": "Match" + }, + "; (location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Match", + "text": "Match" + }, + ">; }" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.matchRoutes.$1", + "type": "Uncategorized", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "TPath" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.matchRoutes.$2", + "type": "Object", + "tags": [], + "label": "location", + "description": [], + "signature": [ + "Location", + "" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.matchRoutes", + "type": "Function", + "tags": [], + "label": "matchRoutes", + "description": [], + "signature": [ + "{ >(path: TPath, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Match", + "text": "Match" + }, + "; (location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Match", + "text": "Match" + }, + ">; }" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.matchRoutes.$1", + "type": "Object", + "tags": [], + "label": "location", + "description": [], + "signature": [ + "Location", + "" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams", + "type": "Function", + "tags": [], + "label": "getParams", + "description": [], + "signature": [ + "{ >(path: TPath, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , TOptional extends boolean>(path: TPath, location: ", + "Location", + ", optional: TOptional): TOptional extends true ? ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | undefined : ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , T2 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ">(path1: T1, path2: T2, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , T2 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ", T3 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ">(path1: T1, path2: T2, path3: T3, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , TOptional extends boolean>(path: TPath, location: ", + "Location", + ", optional: TOptional): TOptional extends true ? ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | undefined : ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; }" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$1", + "type": "Uncategorized", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "TPath" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$2", + "type": "Object", + "tags": [], + "label": "location", + "description": [], + "signature": [ + "Location", + "" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams", + "type": "Function", + "tags": [], + "label": "getParams", + "description": [], + "signature": [ + "{ >(path: TPath, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , TOptional extends boolean>(path: TPath, location: ", + "Location", + ", optional: TOptional): TOptional extends true ? ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | undefined : ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , T2 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ">(path1: T1, path2: T2, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , T2 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ", T3 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ">(path1: T1, path2: T2, path3: T3, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , TOptional extends boolean>(path: TPath, location: ", + "Location", + ", optional: TOptional): TOptional extends true ? ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | undefined : ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; }" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$1", + "type": "Uncategorized", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "TPath" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$2", + "type": "Object", + "tags": [], + "label": "location", + "description": [], + "signature": [ + "Location", + "" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$3", + "type": "Uncategorized", + "tags": [], + "label": "optional", + "description": [], + "signature": [ + "TOptional" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams", + "type": "Function", + "tags": [], + "label": "getParams", + "description": [], + "signature": [ + "{ >(path: TPath, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , TOptional extends boolean>(path: TPath, location: ", + "Location", + ", optional: TOptional): TOptional extends true ? ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | undefined : ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , T2 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ">(path1: T1, path2: T2, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , T2 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ", T3 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ">(path1: T1, path2: T2, path3: T3, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , TOptional extends boolean>(path: TPath, location: ", + "Location", + ", optional: TOptional): TOptional extends true ? ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | undefined : ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; }" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$1", + "type": "Uncategorized", + "tags": [], + "label": "path1", + "description": [], + "signature": [ + "T1" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$2", + "type": "Uncategorized", + "tags": [], + "label": "path2", + "description": [], + "signature": [ + "T2" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$3", + "type": "Object", + "tags": [], + "label": "location", + "description": [], + "signature": [ + "Location", + "" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams", + "type": "Function", + "tags": [], + "label": "getParams", + "description": [], + "signature": [ + "{ >(path: TPath, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , TOptional extends boolean>(path: TPath, location: ", + "Location", + ", optional: TOptional): TOptional extends true ? ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | undefined : ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , T2 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ">(path1: T1, path2: T2, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , T2 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ", T3 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ">(path1: T1, path2: T2, path3: T3, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , TOptional extends boolean>(path: TPath, location: ", + "Location", + ", optional: TOptional): TOptional extends true ? ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | undefined : ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; }" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$1", + "type": "Uncategorized", + "tags": [], + "label": "path1", + "description": [], + "signature": [ + "T1" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$2", + "type": "Uncategorized", + "tags": [], + "label": "path2", + "description": [], + "signature": [ + "T2" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$3", + "type": "Uncategorized", + "tags": [], + "label": "path3", + "description": [], + "signature": [ + "T3" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$4", + "type": "Object", + "tags": [], + "label": "location", + "description": [], + "signature": [ + "Location", + "" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams", + "type": "Function", + "tags": [], + "label": "getParams", + "description": [], + "signature": [ + "{ >(path: TPath, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , TOptional extends boolean>(path: TPath, location: ", + "Location", + ", optional: TOptional): TOptional extends true ? ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | undefined : ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , T2 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ">(path1: T1, path2: T2, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , T2 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ", T3 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ">(path1: T1, path2: T2, path3: T3, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , TOptional extends boolean>(path: TPath, location: ", + "Location", + ", optional: TOptional): TOptional extends true ? ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | undefined : ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; }" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$1", + "type": "Uncategorized", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "TPath" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$2", + "type": "Object", + "tags": [], + "label": "location", + "description": [], + "signature": [ + "Location", + "" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$3", + "type": "Uncategorized", + "tags": [], + "label": "optional", + "description": [], + "signature": [ + "TOptional" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.link", + "type": "Function", + "tags": [], + "label": "link", + "description": [], + "signature": [ + ">(path: TPath, ...args: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeAsArgs", + "text": "TypeAsArgs" + }, + "<", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + ">) => string" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.link.$1", + "type": "Uncategorized", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "TPath" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.link.$2", + "type": "Uncategorized", + "tags": [], + "label": "args", + "description": [], + "signature": [ + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeAsArgs", + "text": "TypeAsArgs" + }, + "<", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + ">" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getRoutePath", + "type": "Function", + "tags": [], + "label": "getRoutePath", + "description": [], + "signature": [ + "(route: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ") => string" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getRoutePath.$1", + "type": "CompoundType", + "tags": [], + "label": "route", + "description": [], + "signature": [ + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + } + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getRoutesToMatch", + "type": "Function", + "tags": [], + "label": "getRoutesToMatch", + "description": [], + "signature": [ + "(path: string) => ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.FlattenRoutesOf", + "text": "FlattenRoutesOf" + }, + "" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getRoutesToMatch.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.FlattenRoutesOf", + "type": "Type", + "tags": [], + "label": "FlattenRoutesOf", + "description": [], + "signature": [ + "Pick<", + "ValuesType", + ">, Exclude>, \"parents\">>[]" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Match", + "type": "Type", + "tags": [], + "label": "Match", + "description": [], + "signature": [ + "MapRoutes extends { [key in TPath]: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "; } ? UnwrapRouteMap[TPath]> : []" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.MaybeConst", + "type": "Type", + "tags": [], + "label": "MaybeConst", + "description": [], + "signature": [ + "TObject extends [object] ? [TObject | ", + "DeepReadonly", + "] : TObject extends [object, ...infer TTail] ? [TObject | ", + "DeepReadonly", + ", ...TTail extends object[] ? ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.MaybeConst", + "text": "MaybeConst" + }, + " : []] : TObject extends object[] ? ", + "DeepReadonly", + " : TObject extends object ? [TObject | ", + "DeepReadonly", + "] : []" + ], + "path": "packages/kbn-typed-react-router-config/src/unconst.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.OutputOf", + "type": "Type", + "tags": [], + "label": "OutputOf", + "description": [], + "signature": [ + "OutputOfMatches<", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Match", + "text": "Match" + }, + "> & DefaultOutput" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.PathsOf", + "type": "Type", + "tags": [], + "label": "PathsOf", + "description": [], + "signature": [ + "TRoutes extends [] ? never : TRoutes extends [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "] ? PathsOfRoute : TRoutes extends [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "] ? TRoutes[0][\"path\"] | (TRoutes[0] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[0][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[1][\"path\"] | (TRoutes[1] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[1][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) : TRoutes extends [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "] ? TRoutes[0][\"path\"] | (TRoutes[0] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[0][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[1][\"path\"] | (TRoutes[1] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[1][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[2][\"path\"] | (TRoutes[2] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[2][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) : TRoutes extends [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "] ? TRoutes[0][\"path\"] | (TRoutes[0] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[0][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[1][\"path\"] | (TRoutes[1] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[1][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[2][\"path\"] | (TRoutes[2] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[2][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[3][\"path\"] | (TRoutes[3] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[3][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) : TRoutes extends [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "] ? TRoutes[0][\"path\"] | (TRoutes[0] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[0][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[1][\"path\"] | (TRoutes[1] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[1][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[2][\"path\"] | (TRoutes[2] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[2][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[3][\"path\"] | (TRoutes[3] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[3][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[4][\"path\"] | (TRoutes[4] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[4][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) : TRoutes extends [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "] ? TRoutes[0][\"path\"] | (TRoutes[0] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[0][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[1][\"path\"] | (TRoutes[1] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[1][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[2][\"path\"] | (TRoutes[2] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[2][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[3][\"path\"] | (TRoutes[3] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[3][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[4][\"path\"] | (TRoutes[4] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[4][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[5][\"path\"] | (TRoutes[5] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[5][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) : TRoutes extends [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "] ? TRoutes[0][\"path\"] | (TRoutes[0] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[0][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[1][\"path\"] | (TRoutes[1] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[1][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[2][\"path\"] | (TRoutes[2] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[2][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[3][\"path\"] | (TRoutes[3] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[3][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[4][\"path\"] | (TRoutes[4] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[4][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[5][\"path\"] | (TRoutes[5] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[5][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[6][\"path\"] | (TRoutes[6] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[6][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) : TRoutes extends [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "] ? TRoutes[0][\"path\"] | (TRoutes[0] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[0][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[1][\"path\"] | (TRoutes[1] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[1][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[2][\"path\"] | (TRoutes[2] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[2][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[3][\"path\"] | (TRoutes[3] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[3][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[4][\"path\"] | (TRoutes[4] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[4][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[5][\"path\"] | (TRoutes[5] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[5][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[6][\"path\"] | (TRoutes[6] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[6][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[7][\"path\"] | (TRoutes[7] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[7][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) : TRoutes extends [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "] ? TRoutes[0][\"path\"] | (TRoutes[0] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[0][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[1][\"path\"] | (TRoutes[1] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[1][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[2][\"path\"] | (TRoutes[2] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[2][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[3][\"path\"] | (TRoutes[3] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[3][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[4][\"path\"] | (TRoutes[4] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[4][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[5][\"path\"] | (TRoutes[5] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[5][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[6][\"path\"] | (TRoutes[6] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[6][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[7][\"path\"] | (TRoutes[7] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[7][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[8][\"path\"] | (TRoutes[8] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[8][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) : TRoutes extends [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "] ? TRoutes[0][\"path\"] | (TRoutes[0] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[0][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[1][\"path\"] | (TRoutes[1] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[1][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[2][\"path\"] | (TRoutes[2] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[2][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[3][\"path\"] | (TRoutes[3] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[3][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[4][\"path\"] | (TRoutes[4] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[4][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[5][\"path\"] | (TRoutes[5] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[5][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[6][\"path\"] | (TRoutes[6] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[6][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[7][\"path\"] | (TRoutes[7] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[7][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[8][\"path\"] | (TRoutes[8] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[8][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[9][\"path\"] | (TRoutes[9] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[9][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) : TRoutes extends [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "] ? TRoutes[0][\"path\"] | (TRoutes[0] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[0][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[1][\"path\"] | (TRoutes[1] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[1][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[2][\"path\"] | (TRoutes[2] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[2][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[3][\"path\"] | (TRoutes[3] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[3][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[4][\"path\"] | (TRoutes[4] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[4][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[5][\"path\"] | (TRoutes[5] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[5][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[6][\"path\"] | (TRoutes[6] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[6][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[7][\"path\"] | (TRoutes[7] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[7][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[8][\"path\"] | (TRoutes[8] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[8][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[9][\"path\"] | (TRoutes[9] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[9][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[10][\"path\"] | (TRoutes[10] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[10][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) : string" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Route", + "type": "Type", + "tags": [], + "label": "Route", + "description": [], + "signature": [ + "PlainRoute | ReadonlyPlainRoute" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.TypeAsArgs", + "type": "Type", + "tags": [], + "label": "TypeAsArgs", + "description": [], + "signature": [ + "keyof TObject extends never ? [] : ", + "RequiredKeys", + " extends never ? [] | [TObject] : [TObject]" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.TypeOf", + "type": "Type", + "tags": [], + "label": "TypeOf", + "description": [], + "signature": [ + "TypeOfMatches<", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Match", + "text": "Match" + }, + "> & (TWithDefaultOutput extends true ? DefaultOutput : {})" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Unconst", + "type": "Type", + "tags": [], + "label": "Unconst", + "description": [], + "signature": [ + "T extends React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> ? React.ReactElement : T extends ", + "Type", + " ? T : T extends readonly [any] ? [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + "] : T extends readonly [any, any] ? [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + "] : T extends readonly [any, any, any] ? [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + "] : T extends readonly [any, any, any, any] ? [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + "] : T extends readonly [any, any, any, any, any] ? [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + "] : T extends readonly [any, any, any, any, any, any] ? [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + "] : T extends readonly [any, any, any, any, any, any, any] ? [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + "] : T extends readonly [any, any, any, any, any, any, any, any] ? [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + "] : T extends readonly [any, any, any, any, any, any, any, any, any] ? [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + "] : T extends readonly [any, any, any, any, any, any, any, any, any, any] ? [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + "] : T extends readonly [infer U, ...infer V] ? [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ...", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + "] : T extends Record ? { -readonly [key in keyof T]: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + "; } : T" + ], + "path": "packages/kbn-typed-react-router-config/src/unconst.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_typed_react_router_config.mdx b/api_docs/kbn_typed_react_router_config.mdx new file mode 100644 index 0000000000000..a25fa737996c5 --- /dev/null +++ b/api_docs/kbn_typed_react_router_config.mdx @@ -0,0 +1,33 @@ +--- +id: kibKbnTypedReactRouterConfigPluginApi +slug: /kibana-dev-docs/api/kbn-typed-react-router-config +title: "@kbn/typed-react-router-config" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/typed-react-router-config plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/typed-react-router-config'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnTypedReactRouterConfigObj from './kbn_typed_react_router_config.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 78 | 0 | 78 | 1 | + +## Common + +### Functions + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_utility_types.json b/api_docs/kbn_utility_types.json new file mode 100644 index 0000000000000..49e2155b92da4 --- /dev/null +++ b/api_docs/kbn_utility_types.json @@ -0,0 +1,604 @@ +{ + "id": "@kbn/utility-types", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [ + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.JsonArray", + "type": "Interface", + "tags": [], + "label": "JsonArray", + "description": [], + "signature": [ + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonArray", + "text": "JsonArray" + }, + " extends ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonValue", + "text": "JsonValue" + }, + "[]" + ], + "path": "packages/kbn-utility-types/src/serializable/index.ts", + "deprecated": false, + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.JsonObject", + "type": "Interface", + "tags": [], + "label": "JsonObject", + "description": [], + "path": "packages/kbn-utility-types/src/serializable/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.JsonObject.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-utility-types/src/serializable/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.ObservableLike", + "type": "Interface", + "tags": [], + "label": "ObservableLike", + "description": [ + "\nMinimal interface for an object resembling an `Observable`." + ], + "signature": [ + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + "" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.ObservableLike.subscribe", + "type": "Function", + "tags": [], + "label": "subscribe", + "description": [], + "signature": [ + "(observer: (value: T) => void) => void" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.ObservableLike.subscribe.$1", + "type": "Function", + "tags": [], + "label": "observer", + "description": [], + "signature": [ + "(value: T) => void" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.RecursiveReadonlyArray", + "type": "Interface", + "tags": [], + "label": "RecursiveReadonlyArray", + "description": [], + "signature": [ + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, + " extends readonly ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonly", + "text": "RecursiveReadonly" + }, + "[]" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.SerializableRecord", + "type": "Interface", + "tags": [], + "label": "SerializableRecord", + "description": [], + "signature": [ + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, + " extends Record" + ], + "path": "packages/kbn-utility-types/src/serializable/index.ts", + "deprecated": false, + "children": [], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.$Values", + "type": "Type", + "tags": [ + "desc", + "see" + ], + "label": "$Values", + "description": [ + "\n$Values" + ], + "signature": [ + "T[keyof T]" + ], + "path": "node_modules/utility-types/dist/utility-types.d.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.Assign", + "type": "Type", + "tags": [ + "desc" + ], + "label": "Assign", + "description": [ + "\nAssign" + ], + "signature": [ + "{ [P in keyof I]: I[P]; }" + ], + "path": "node_modules/utility-types/dist/mapped-types.d.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.AugmentedRequired", + "type": "Type", + "tags": [ + "desc" + ], + "label": "AugmentedRequired", + "description": [ + "\nRequired" + ], + "signature": [ + "Pick> & Required>" + ], + "path": "node_modules/utility-types/dist/mapped-types.d.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.Class", + "type": "Type", + "tags": [ + "desc", + "see" + ], + "label": "Class", + "description": [ + "\nClass" + ], + "signature": [ + "new (...args: any[]) => T" + ], + "path": "node_modules/utility-types/dist/utility-types.d.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.Ensure", + "type": "Type", + "tags": [], + "label": "Ensure", + "description": [ + "\nEnsures T is of type X." + ], + "signature": [ + "T extends X ? T : never" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.JsonValue", + "type": "Type", + "tags": [], + "label": "JsonValue", + "description": [], + "signature": [ + "string | number | boolean | ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonArray", + "text": "JsonArray" + }, + " | ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + }, + " | null" + ], + "path": "packages/kbn-utility-types/src/serializable/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.MaybePromise", + "type": "Type", + "tags": [], + "label": "MaybePromise", + "description": [ + "\nA type that may or may not be a `Promise`." + ], + "signature": [ + "T | Promise" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.MethodKeysOf", + "type": "Type", + "tags": [], + "label": "MethodKeysOf", + "description": [ + "\nReturns public method names" + ], + "signature": [ + "{ [K in keyof T]: T[K] extends (...args: any[]) => any ? K : never; }[keyof T]" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.Optional", + "type": "Type", + "tags": [ + "desc" + ], + "label": "Optional", + "description": [ + "\nOptional" + ], + "signature": [ + "Pick> & Partial>" + ], + "path": "node_modules/utility-types/dist/mapped-types.d.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.PublicContract", + "type": "Type", + "tags": [], + "label": "PublicContract", + "description": [ + "\nReturns an object with public keys only." + ], + "signature": [ + "{ [P in keyof T]: T[P]; }" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.PublicKeys", + "type": "Type", + "tags": [], + "label": "PublicKeys", + "description": [ + "\nReturns public keys of an object." + ], + "signature": [ + "keyof T" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.PublicMethodsOf", + "type": "Type", + "tags": [], + "label": "PublicMethodsOf", + "description": [ + "\n Returns an object with public methods only." + ], + "signature": [ + "{ [P in ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.MethodKeysOf", + "text": "MethodKeysOf" + }, + "]: T[P]; }" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.RecursiveReadonly", + "type": "Type", + "tags": [], + "label": "RecursiveReadonly", + "description": [], + "signature": [ + "T extends (...args: any) => any ? T : T extends any[] ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, + " : T extends object ? Readonly<{ [K in keyof T]: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonly", + "text": "RecursiveReadonly" + }, + "; }> : T" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.Serializable", + "type": "Type", + "tags": [], + "label": "Serializable", + "description": [], + "signature": [ + "string | number | boolean | ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, + " | ", + "SerializableArray", + " | null | undefined" + ], + "path": "packages/kbn-utility-types/src/serializable/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.ShallowPromise", + "type": "Type", + "tags": [], + "label": "ShallowPromise", + "description": [ + "\nConverts a type to a `Promise`, unless it is already a `Promise`. Useful when proxying the return value of a possibly async function." + ], + "signature": [ + "T extends Promise ? Promise : Promise" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.UnionToIntersection", + "type": "Type", + "tags": [], + "label": "UnionToIntersection", + "description": [ + "\nUtility type for converting a union of types into an intersection.\n\nThis is a bit of \"black magic\" that will interpret a Union type as an Intersection\ntype. This is necessary in the case of distinguishing one collection from\nanother." + ], + "signature": [ + "(U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.UnwrapObservable", + "type": "Type", + "tags": [], + "label": "UnwrapObservable", + "description": [ + "\nReturns wrapped type of an observable." + ], + "signature": [ + "T extends ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? U : never" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.UnwrapPromise", + "type": "Type", + "tags": [], + "label": "UnwrapPromise", + "description": [ + "\nReturns wrapped type of a `Promise`." + ], + "signature": [ + "T extends Promise ? U : never" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.UnwrapPromiseOrReturn", + "type": "Type", + "tags": [], + "label": "UnwrapPromiseOrReturn", + "description": [ + "\nReturns wrapped type of a promise, or returns type as is, if it is not a promise." + ], + "signature": [ + "T extends Promise ? U : T" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.Values", + "type": "Type", + "tags": [], + "label": "Values", + "description": [ + "\nReturns types or array or object values." + ], + "signature": [ + "T extends any[] ? T[number] : T extends object ? T[keyof T] : never" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.Writable", + "type": "Type", + "tags": [], + "label": "Writable", + "description": [ + "\n Makes an object with readonly properties mutable." + ], + "signature": [ + "{ -readonly [K in keyof T]: T[K]; }" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_utility_types.mdx b/api_docs/kbn_utility_types.mdx new file mode 100644 index 0000000000000..c2533460c3531 --- /dev/null +++ b/api_docs/kbn_utility_types.mdx @@ -0,0 +1,30 @@ +--- +id: kibKbnUtilityTypesPluginApi +slug: /kibana-dev-docs/api/kbn-utility-types +title: "@kbn/utility-types" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/utility-types plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utility-types'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnUtilityTypesObj from './kbn_utility_types.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 29 | 1 | 10 | 1 | + +## Server + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_utils.json b/api_docs/kbn_utils.json new file mode 100644 index 0000000000000..5386005a725b4 --- /dev/null +++ b/api_docs/kbn_utils.json @@ -0,0 +1,549 @@ +{ + "id": "@kbn/utils", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.concatStreamProviders", + "type": "Function", + "tags": [ + "return" + ], + "label": "concatStreamProviders", + "description": [ + "\n Write the data and errors from a list of stream providers\n to a single stream in order. Stream providers are only\n called right before they will be consumed, and only one\n provider will be active at a time.\n" + ], + "signature": [ + "(sourceProviders: (() => ", + "Readable", + ")[], options: ", + "TransformOptions", + " | undefined) => ", + "PassThrough" + ], + "path": "packages/kbn-utils/src/streams/concat_stream_providers.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.concatStreamProviders.$1", + "type": "Array", + "tags": [], + "label": "sourceProviders", + "description": [], + "signature": [ + "(() => ", + "Readable", + ")[]" + ], + "path": "packages/kbn-utils/src/streams/concat_stream_providers.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.concatStreamProviders.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [ + "options passed to the PassThrough constructor" + ], + "signature": [ + "TransformOptions", + " | undefined" + ], + "path": "packages/kbn-utils/src/streams/concat_stream_providers.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "combined stream" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createConcatStream", + "type": "Function", + "tags": [ + "return" + ], + "label": "createConcatStream", + "description": [ + "\n Creates a Transform stream that consumes all provided\n values and concatenates them using each values `concat`\n method.\n\n Concatenate strings:\n createListStream(['f', 'o', 'o'])\n .pipe(createConcatStream())\n .on('data', console.log)\n // logs \"foo\"\n\n Concatenate values into an array:\n createListStream([1,2,3])\n .pipe(createConcatStream([]))\n .on('data', console.log)\n // logs \"[1,2,3]\"\n\n" + ], + "signature": [ + "(initial: T | undefined) => ", + "Transform" + ], + "path": "packages/kbn-utils/src/streams/concat_stream.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createConcatStream.$1", + "type": "Uncategorized", + "tags": [], + "label": "initial", + "description": [ + "The initial value that subsequent\nitems will concat with" + ], + "signature": [ + "T | undefined" + ], + "path": "packages/kbn-utils/src/streams/concat_stream.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createFilterStream", + "type": "Function", + "tags": [], + "label": "createFilterStream", + "description": [], + "signature": [ + "(fn: (obj: T) => boolean) => ", + "Transform" + ], + "path": "packages/kbn-utils/src/streams/filter_stream.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createFilterStream.$1", + "type": "Function", + "tags": [], + "label": "fn", + "description": [], + "signature": [ + "(obj: T) => boolean" + ], + "path": "packages/kbn-utils/src/streams/filter_stream.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createIntersperseStream", + "type": "Function", + "tags": [ + "return" + ], + "label": "createIntersperseStream", + "description": [ + "\n Create a Transform stream that receives values in object mode,\n and intersperses a chunk between each object received.\n\n This is useful for writing lists:\n\n createListStream(['foo', 'bar'])\n .pipe(createIntersperseStream('\\n'))\n .pipe(process.stdout) // outputs \"foo\\nbar\"\n\n Combine with a concat stream to get \"join\" like functionality:\n\n await createPromiseFromStreams([\n createListStream(['foo', 'bar']),\n createIntersperseStream(' '),\n createConcatStream()\n ]) // produces a single value \"foo bar\"\n" + ], + "signature": [ + "(intersperseChunk: string | Buffer) => ", + "Transform" + ], + "path": "packages/kbn-utils/src/streams/intersperse_stream.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createIntersperseStream.$1", + "type": "CompoundType", + "tags": [], + "label": "intersperseChunk", + "description": [], + "signature": [ + "string | Buffer" + ], + "path": "packages/kbn-utils/src/streams/intersperse_stream.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createListStream", + "type": "Function", + "tags": [ + "return" + ], + "label": "createListStream", + "description": [ + "\n Create a Readable stream that provides the items\n from a list as objects to subscribers\n" + ], + "signature": [ + "(items: T | T[]) => ", + "Readable" + ], + "path": "packages/kbn-utils/src/streams/list_stream.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createListStream.$1", + "type": "CompoundType", + "tags": [], + "label": "items", + "description": [ + "- the list of items to provide" + ], + "signature": [ + "T | T[]" + ], + "path": "packages/kbn-utils/src/streams/list_stream.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createMapStream", + "type": "Function", + "tags": [], + "label": "createMapStream", + "description": [], + "signature": [ + "(fn: (value: T, i: number) => void) => ", + "Transform" + ], + "path": "packages/kbn-utils/src/streams/map_stream.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createMapStream.$1", + "type": "Function", + "tags": [], + "label": "fn", + "description": [], + "signature": [ + "(value: T, i: number) => void" + ], + "path": "packages/kbn-utils/src/streams/map_stream.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createPromiseFromStreams", + "type": "Function", + "tags": [], + "label": "createPromiseFromStreams", + "description": [], + "signature": [ + "(streams: [", + "Readable", + ", ...", + "Writable", + "[]]) => Promise" + ], + "path": "packages/kbn-utils/src/streams/promise_from_streams.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createPromiseFromStreams.$1", + "type": "Object", + "tags": [], + "label": "streams", + "description": [], + "signature": [ + "[", + "Readable", + ", ...", + "Writable", + "[]]" + ], + "path": "packages/kbn-utils/src/streams/promise_from_streams.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createReduceStream", + "type": "Function", + "tags": [ + "return" + ], + "label": "createReduceStream", + "description": [ + "\n Create a transform stream that consumes each chunk it receives\n and passes it to the reducer, which will return the new value\n for the stream. Once all chunks have been received the reduce\n stream provides the result of final call to the reducer to\n subscribers.\n" + ], + "signature": [ + "(reducer: (value: any, chunk: T, enc: string) => T, initial: T | undefined) => ", + "Transform" + ], + "path": "packages/kbn-utils/src/streams/reduce_stream.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createReduceStream.$1", + "type": "Function", + "tags": [], + "label": "reducer", + "description": [], + "signature": [ + "(value: any, chunk: T, enc: string) => T" + ], + "path": "packages/kbn-utils/src/streams/reduce_stream.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createReduceStream.$2", + "type": "Uncategorized", + "tags": [], + "label": "initial", + "description": [ + "Initial value for the stream, if undefined\nthen the first chunk provided is used as the\ninitial value." + ], + "signature": [ + "T | undefined" + ], + "path": "packages/kbn-utils/src/streams/reduce_stream.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createReplaceStream", + "type": "Function", + "tags": [], + "label": "createReplaceStream", + "description": [], + "signature": [ + "(toReplace: string, replacement: string | Buffer) => ", + "Transform" + ], + "path": "packages/kbn-utils/src/streams/replace_stream.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createReplaceStream.$1", + "type": "string", + "tags": [], + "label": "toReplace", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-utils/src/streams/replace_stream.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createReplaceStream.$2", + "type": "CompoundType", + "tags": [], + "label": "replacement", + "description": [], + "signature": [ + "string | Buffer" + ], + "path": "packages/kbn-utils/src/streams/replace_stream.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createSplitStream", + "type": "Function", + "tags": [ + "return" + ], + "label": "createSplitStream", + "description": [ + "\n Creates a Transform stream that consumes a stream of Buffers\n and produces a stream of strings (in object mode) by splitting\n the received bytes using the splitChunk.\n\n Ways this is behaves like String#split:\n - instances of splitChunk are removed from the input\n - splitChunk can be on any size\n - if there are no bytes found after the last splitChunk\n a final empty chunk is emitted\n\n Ways this deviates from String#split:\n - splitChunk cannot be a regexp\n - an empty string or Buffer will not produce a stream of individual\n bytes like `string.split('')` would\n" + ], + "signature": [ + "(splitChunk: string | Uint8Array) => ", + "Transform" + ], + "path": "packages/kbn-utils/src/streams/split_stream.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createSplitStream.$1", + "type": "CompoundType", + "tags": [], + "label": "splitChunk", + "description": [], + "signature": [ + "string | Uint8Array" + ], + "path": "packages/kbn-utils/src/streams/split_stream.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.fromRoot", + "type": "Function", + "tags": [], + "label": "fromRoot", + "description": [], + "signature": [ + "(...paths: string[]) => string" + ], + "path": "packages/kbn-utils/src/repo_root.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.fromRoot.$1", + "type": "Array", + "tags": [], + "label": "paths", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-utils/src/repo_root.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.isKibanaDistributable", + "type": "Function", + "tags": [], + "label": "isKibanaDistributable", + "description": [], + "signature": [ + "() => any" + ], + "path": "packages/kbn-utils/src/package_json/index.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.PathConfigType", + "type": "Type", + "tags": [], + "label": "PathConfigType", + "description": [], + "signature": [ + "{ readonly data: string; }" + ], + "path": "packages/kbn-utils/src/path/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.REPO_ROOT", + "type": "string", + "tags": [], + "label": "REPO_ROOT", + "description": [], + "path": "packages/kbn-utils/src/repo_root.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.UPSTREAM_BRANCH", + "type": "string", + "tags": [], + "label": "UPSTREAM_BRANCH", + "description": [], + "path": "packages/kbn-utils/src/repo_root.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.kibanaPackageJson", + "type": "Object", + "tags": [], + "label": "kibanaPackageJson", + "description": [], + "path": "packages/kbn-utils/src/package_json/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.kibanaPackageJson.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-utils/src/package_json/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_utils.mdx b/api_docs/kbn_utils.mdx new file mode 100644 index 0000000000000..bc0fa47b49001 --- /dev/null +++ b/api_docs/kbn_utils.mdx @@ -0,0 +1,33 @@ +--- +id: kibKbnUtilsPluginApi +slug: /kibana-dev-docs/api/kbn-utils +title: "@kbn/utils" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/utils plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utils'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnUtilsObj from './kbn_utils.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 31 | 1 | 21 | 0 | + +## Server + +### Objects + + +### Functions + + +### Consts, variables and types + + diff --git a/api_docs/kibana_legacy.json b/api_docs/kibana_legacy.json index 81ab769db0ead..5c28bb4c15454 100644 --- a/api_docs/kibana_legacy.json +++ b/api_docs/kibana_legacy.json @@ -197,9 +197,21 @@ "text": "CoreStart" }, "; readonly env: { mode: Readonly<", - "EnvironmentMode", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.EnvironmentMode", + "text": "EnvironmentMode" + }, ">; packageInfo: Readonly<", - "PackageInfo", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.PackageInfo", + "text": "PackageInfo" + }, ">; }; }, isLocalAngular: boolean, getHistory?: (() => ", "History", ") | undefined) => void" @@ -259,9 +271,21 @@ "description": [], "signature": [ "{ mode: Readonly<", - "EnvironmentMode", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.EnvironmentMode", + "text": "EnvironmentMode" + }, ">; packageInfo: Readonly<", - "PackageInfo", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.PackageInfo", + "text": "PackageInfo" + }, ">; }" ], "path": "src/plugins/kibana_legacy/public/angular/angular_config.tsx", diff --git a/api_docs/kibana_legacy.mdx b/api_docs/kibana_legacy.mdx index a167ff3d05b2a..798c9dcb8b425 100644 --- a/api_docs/kibana_legacy.mdx +++ b/api_docs/kibana_legacy.mdx @@ -1,7 +1,7 @@ --- id: kibKibanaLegacyPluginApi -slug: /kibana-dev-docs/kibanaLegacyPluginApi -title: kibanaLegacy +slug: /kibana-dev-docs/api/kibanaLegacy +title: "kibanaLegacy" image: https://source.unsplash.com/400x175/?github summary: API docs for the kibanaLegacy plugin date: 2020-11-16 diff --git a/api_docs/kibana_overview.mdx b/api_docs/kibana_overview.mdx index 85145c706d550..7002d9ad002ee 100644 --- a/api_docs/kibana_overview.mdx +++ b/api_docs/kibana_overview.mdx @@ -1,7 +1,7 @@ --- id: kibKibanaOverviewPluginApi -slug: /kibana-dev-docs/kibanaOverviewPluginApi -title: kibanaOverview +slug: /kibana-dev-docs/api/kibanaOverview +title: "kibanaOverview" image: https://source.unsplash.com/400x175/?github summary: API docs for the kibanaOverview plugin date: 2020-11-16 diff --git a/api_docs/kibana_react.mdx b/api_docs/kibana_react.mdx index dbcf2c4aeda83..280fd1334f5fb 100644 --- a/api_docs/kibana_react.mdx +++ b/api_docs/kibana_react.mdx @@ -1,7 +1,7 @@ --- id: kibKibanaReactPluginApi -slug: /kibana-dev-docs/kibanaReactPluginApi -title: kibanaReact +slug: /kibana-dev-docs/api/kibanaReact +title: "kibanaReact" image: https://source.unsplash.com/400x175/?github summary: API docs for the kibanaReact plugin date: 2020-11-16 diff --git a/api_docs/kibana_utils.json b/api_docs/kibana_utils.json index fa1107aea7f28..744c735e94d68 100644 --- a/api_docs/kibana_utils.json +++ b/api_docs/kibana_utils.json @@ -1486,7 +1486,7 @@ "label": "createGetterSetter", "description": [], "signature": [ - "(name: string) => [", + "(name: string, isValueRequired?: boolean) => [", { "pluginId": "kibanaUtils", "scope": "common", @@ -1520,6 +1520,20 @@ "path": "src/plugins/kibana_utils/common/create_getter_setter.ts", "deprecated": false, "isRequired": true + }, + { + "parentPluginId": "kibanaUtils", + "id": "def-public.createGetterSetter.$2", + "type": "boolean", + "tags": [], + "label": "isValueRequired", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/kibana_utils/common/create_getter_setter.ts", + "deprecated": false, + "isRequired": true } ], "returnComment": [], @@ -6353,9 +6367,21 @@ "description": [], "signature": [ "{ [K in keyof T]: ReturnType<", - "Ensure", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Ensure", + "text": "Ensure" + }, "<", - "Ensure", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Ensure", + "text": "Ensure" + }, "(name: string) => [", + "(name: string, isValueRequired?: boolean) => [", { "pluginId": "kibanaUtils", "scope": "common", @@ -7129,6 +7161,20 @@ "path": "src/plugins/kibana_utils/common/create_getter_setter.ts", "deprecated": false, "isRequired": true + }, + { + "parentPluginId": "kibanaUtils", + "id": "def-server.createGetterSetter.$2", + "type": "boolean", + "tags": [], + "label": "isValueRequired", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/kibana_utils/common/create_getter_setter.ts", + "deprecated": false, + "isRequired": true } ], "returnComment": [], @@ -8668,7 +8714,7 @@ "label": "createGetterSetter", "description": [], "signature": [ - "(name: string) => [", + "(name: string, isValueRequired?: boolean) => [", { "pluginId": "kibanaUtils", "scope": "common", @@ -8702,6 +8748,20 @@ "path": "src/plugins/kibana_utils/common/create_getter_setter.ts", "deprecated": false, "isRequired": true + }, + { + "parentPluginId": "kibanaUtils", + "id": "def-common.createGetterSetter.$2", + "type": "boolean", + "tags": [], + "label": "isValueRequired", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/kibana_utils/common/create_getter_setter.ts", + "deprecated": false, + "isRequired": true } ], "returnComment": [], @@ -9282,7 +9342,13 @@ "text": "VersionedState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => S" ], "path": "src/plugins/kibana_utils/common/persistable_state/migrate_to_latest.ts", @@ -9324,7 +9390,13 @@ "text": "VersionedState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/kibana_utils/common/persistable_state/migrate_to_latest.ts", @@ -10127,7 +10199,13 @@ "text": "VersionedState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => P) | undefined" ], "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", @@ -10151,7 +10229,13 @@ "text": "VersionedState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", @@ -11072,9 +11156,21 @@ ], "signature": [ "(state: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ", version: string) => ", - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", "deprecated": false, @@ -11088,7 +11184,13 @@ "label": "state", "description": [], "signature": [ - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", "deprecated": false @@ -11153,9 +11255,21 @@ "description": [], "signature": [ "{ [K in keyof T]: ReturnType<", - "Ensure", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Ensure", + "text": "Ensure" + }, "<", - "Ensure", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Ensure", + "text": "Ensure" + }, ">; }>; }; }; visualization: VisualizationState; query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "; filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; }" ], "path": "x-pack/plugins/lens/server/migrations/types.ts", @@ -2874,9 +2899,21 @@ "description": [], "signature": [ "{ datasourceMetaData: { filterableIndexPatterns: { id: string; title: string; }[]; }; datasourceStates: { indexpattern: { currentIndexPatternId: string; layers: Record; }>; }; }; visualization: VisualizationState; query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "; filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; }" ], "path": "x-pack/plugins/lens/server/migrations/types.ts", @@ -2958,9 +2995,21 @@ "text": "OperationTypePre712" }, "; }>; }>; }; }; query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "; visualization: VisualizationState; filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; }" ], "path": "x-pack/plugins/lens/server/migrations/types.ts", @@ -3151,9 +3200,21 @@ "text": "LensDocShapePost712" }, ", \"title\" | \"expression\" | \"visualizationType\"> & { state: Pick<{ datasourceMetaData: { filterableIndexPatterns: { id: string; title: string; }[]; }; datasourceStates: { indexpattern: { currentIndexPatternId: string; layers: Record; }>; }; }; visualization: unknown; query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "; filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; }, \"filters\" | \"query\" | \"visualization\" | \"datasourceMetaData\"> & { datasourceStates: { indexpattern: Pick<{ currentIndexPatternId: string; layers: Record; }>; }, \"currentIndexPatternId\"> & { layers: Record; }, never> & { columns: Record; }>; }; }; }; }" ], "path": "x-pack/plugins/lens/server/migrations/types.ts", @@ -3177,9 +3238,21 @@ "text": "LensDocShapePost712" }, ", \"title\" | \"expression\" | \"visualizationType\"> & { state: Pick<{ datasourceMetaData: { filterableIndexPatterns: { id: string; title: string; }[]; }; datasourceStates: { indexpattern: { currentIndexPatternId: string; layers: Record; }>; }; }; visualization: unknown; query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "; filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; }, \"filters\" | \"query\" | \"visualization\" | \"datasourceMetaData\"> & { datasourceStates: { indexpattern: Pick<{ currentIndexPatternId: string; layers: Record; }>; }, \"currentIndexPatternId\"> & { layers: Record; }, never> & { columns: Record; }>; }; }; }; }" ], "path": "x-pack/plugins/lens/server/migrations/types.ts", @@ -3984,7 +4057,13 @@ "text": "PersistableFilter" }, " extends ", - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "x-pack/plugins/lens/common/types.ts", "deprecated": false, @@ -4027,7 +4106,13 @@ "text": "PersistableFilterMeta" }, " extends ", - "FilterMeta" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + } ], "path": "x-pack/plugins/lens/common/types.ts", "deprecated": false, diff --git a/api_docs/lens.mdx b/api_docs/lens.mdx index 8c3b2e91fb5d6..6165c3ec65d5d 100644 --- a/api_docs/lens.mdx +++ b/api_docs/lens.mdx @@ -1,7 +1,7 @@ --- id: kibLensPluginApi -slug: /kibana-dev-docs/lensPluginApi -title: lens +slug: /kibana-dev-docs/api/lens +title: "lens" image: https://source.unsplash.com/400x175/?github summary: API docs for the lens plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 251 | 0 | 233 | 24 | +| 252 | 0 | 234 | 24 | ## Client diff --git a/api_docs/license_api_guard.mdx b/api_docs/license_api_guard.mdx index fca19ef23fb1e..8249d6b1edb44 100644 --- a/api_docs/license_api_guard.mdx +++ b/api_docs/license_api_guard.mdx @@ -1,7 +1,7 @@ --- id: kibLicenseApiGuardPluginApi -slug: /kibana-dev-docs/licenseApiGuardPluginApi -title: licenseApiGuard +slug: /kibana-dev-docs/api/licenseApiGuard +title: "licenseApiGuard" image: https://source.unsplash.com/400x175/?github summary: API docs for the licenseApiGuard plugin date: 2020-11-16 diff --git a/api_docs/license_management.mdx b/api_docs/license_management.mdx index 9a69affb1d55d..4a71c00e343f8 100644 --- a/api_docs/license_management.mdx +++ b/api_docs/license_management.mdx @@ -1,7 +1,7 @@ --- id: kibLicenseManagementPluginApi -slug: /kibana-dev-docs/licenseManagementPluginApi -title: licenseManagement +slug: /kibana-dev-docs/api/licenseManagement +title: "licenseManagement" image: https://source.unsplash.com/400x175/?github summary: API docs for the licenseManagement plugin date: 2020-11-16 diff --git a/api_docs/licensing.json b/api_docs/licensing.json index c363aea16420e..c1251b9be1edd 100644 --- a/api_docs/licensing.json +++ b/api_docs/licensing.json @@ -560,6 +560,14 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts" }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/handlers.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/handlers.test.ts" + }, { "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/index.test.ts" @@ -2297,6 +2305,14 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts" }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/handlers.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/handlers.test.ts" + }, { "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/index.test.ts" diff --git a/api_docs/licensing.mdx b/api_docs/licensing.mdx index a09339c9cf17e..538c9ec9d2faa 100644 --- a/api_docs/licensing.mdx +++ b/api_docs/licensing.mdx @@ -1,7 +1,7 @@ --- id: kibLicensingPluginApi -slug: /kibana-dev-docs/licensingPluginApi -title: licensing +slug: /kibana-dev-docs/api/licensing +title: "licensing" image: https://source.unsplash.com/400x175/?github summary: API docs for the licensing plugin date: 2020-11-16 diff --git a/api_docs/lists.json b/api_docs/lists.json index cbbf19153aed0..d6e2a97fa78ab 100644 --- a/api_docs/lists.json +++ b/api_docs/lists.json @@ -346,7 +346,7 @@ "signature": [ "({ listId, id, namespaceType, }: ", "GetExceptionListOptions", - ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\"; updated_at: string; updated_by: string; version: number; } | null>" + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; } | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -442,7 +442,7 @@ "\nThis creates an agnostic space endpoint list if it does not exist. This tries to be\nas fast as possible by ignoring conflict errors and not returning the contents of the\nlist if it already exists." ], "signature": [ - "() => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\"; updated_at: string; updated_by: string; version: number; } | null>" + "() => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; } | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -461,7 +461,7 @@ "\nCreate the Trusted Apps Agnostic list if it does not yet exist (`null` is returned if it does exist)" ], "signature": [ - "() => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\"; updated_at: string; updated_by: string; version: number; } | null>" + "() => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; } | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -580,7 +580,7 @@ "signature": [ "({ description, immutable, listId, meta, name, namespaceType, tags, type, version, }: ", "CreateExceptionListOptions", - ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\"; updated_at: string; updated_by: string; version: number; }>" + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; }>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -612,7 +612,7 @@ "signature": [ "({ _version, id, description, listId, meta, name, namespaceType, osTypes, tags, type, version, }: ", "UpdateExceptionListOptions", - ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\"; updated_at: string; updated_by: string; version: number; } | null>" + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; } | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -644,7 +644,7 @@ "signature": [ "({ id, listId, namespaceType, }: ", "DeleteExceptionListOptions", - ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\"; updated_at: string; updated_by: string; version: number; } | null>" + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; } | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -958,7 +958,7 @@ "signature": [ "({ filter, perPage, page, sortField, sortOrder, namespaceType, }: ", "FindExceptionListOptions", - ") => Promise<{ data: { _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\"; updated_at: string; updated_by: string; version: number; }[]; page: number; per_page: number; total: number; }>" + ") => Promise<{ data: { _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; }[]; page: number; per_page: number; total: number; }>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, diff --git a/api_docs/lists.mdx b/api_docs/lists.mdx index 721db99d9e627..8ccbd971903ab 100644 --- a/api_docs/lists.mdx +++ b/api_docs/lists.mdx @@ -1,7 +1,7 @@ --- id: kibListsPluginApi -slug: /kibana-dev-docs/listsPluginApi -title: lists +slug: /kibana-dev-docs/api/lists +title: "lists" image: https://source.unsplash.com/400x175/?github summary: API docs for the lists plugin date: 2020-11-16 diff --git a/api_docs/management.mdx b/api_docs/management.mdx index 75442078212e5..f9002f1256afd 100644 --- a/api_docs/management.mdx +++ b/api_docs/management.mdx @@ -1,7 +1,7 @@ --- id: kibManagementPluginApi -slug: /kibana-dev-docs/managementPluginApi -title: management +slug: /kibana-dev-docs/api/management +title: "management" image: https://source.unsplash.com/400x175/?github summary: API docs for the management plugin date: 2020-11-16 diff --git a/api_docs/maps.json b/api_docs/maps.json index 175716bc91d9d..2dd674262d353 100644 --- a/api_docs/maps.json +++ b/api_docs/maps.json @@ -83,11 +83,23 @@ "() => Partial<", "DataFilters", " & { applyGlobalQuery: boolean; applyGlobalTime: boolean; applyForceRefresh: boolean; fieldNames: string[]; geogridPrecision?: number | undefined; timesliceMaskField?: string | undefined; sourceQuery?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined; sourceMeta: object | null; isForceRefresh: boolean; } & Pick<", "VectorSourceRequestMeta", ", \"filters\" | \"query\" | \"searchSessionId\" | \"buffer\" | \"extent\" | \"timeFilters\" | \"timeslice\" | \"zoom\" | \"isReadOnly\" | \"applyGlobalQuery\" | \"applyGlobalTime\" | \"applyForceRefresh\" | \"fieldNames\" | \"timesliceMaskField\" | \"sourceQuery\" | \"sourceMeta\" | \"isForceRefresh\"> & { dynamicStyleFields: string[]; isTimeAware: boolean; sourceQuery: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "; timeFilters: ", { "pluginId": "data", @@ -554,7 +566,13 @@ "description": [], "signature": [ "() => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx", @@ -791,7 +809,13 @@ "description": [], "signature": [ "(filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], actionId?: string) => Promise" ], "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx", @@ -805,7 +829,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx", @@ -994,7 +1024,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", @@ -1008,7 +1044,13 @@ "label": "query", "description": [], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", @@ -1022,7 +1064,13 @@ "label": "sourceQuery", "description": [], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", @@ -1574,7 +1622,13 @@ "description": [], "signature": [ "() => Promise<", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]>" ], "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", @@ -2261,7 +2315,13 @@ "description": [], "signature": [ "((filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], actionId: string) => Promise) | null" ], "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", @@ -2764,9 +2824,9 @@ }, " & { indexPatterns: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -2842,7 +2902,7 @@ "section": "def-public.LayerWizard", "text": "LayerWizard" }, - ") => Promise" + ") => void" ], "path": "x-pack/plugins/maps/public/api/setup_api.ts", "deprecated": false, @@ -2880,7 +2940,7 @@ "signature": [ "(entry: ", "SourceRegistryEntry", - ") => Promise" + ") => void" ], "path": "x-pack/plugins/maps/public/api/setup_api.ts", "deprecated": false, @@ -3164,7 +3224,13 @@ " & { id: string; indexPatternId: string; geoField?: string | undefined; applyGlobalQuery: boolean; applyGlobalTime: boolean; applyForceRefresh: boolean; } & { metrics: ", "AggDescriptor", "[]; } & { indexPatternTitle?: string | undefined; term: string; whereQuery?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined; size?: number | undefined; type: ", { "pluginId": "maps", @@ -3206,7 +3272,13 @@ " | null; type?: string | undefined; visible?: boolean | undefined; style?: ", "StyleDescriptor", " | null | undefined; query?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined; includeInFitToBounds?: boolean | undefined; }" ], "path": "x-pack/plugins/maps/common/descriptor_types/layer_descriptor_types.ts", diff --git a/api_docs/maps.mdx b/api_docs/maps.mdx index ea0ecbc939a8d..f27f9c18917d4 100644 --- a/api_docs/maps.mdx +++ b/api_docs/maps.mdx @@ -1,7 +1,7 @@ --- id: kibMapsPluginApi -slug: /kibana-dev-docs/mapsPluginApi -title: maps +slug: /kibana-dev-docs/api/maps +title: "maps" image: https://source.unsplash.com/400x175/?github summary: API docs for the maps plugin date: 2020-11-16 diff --git a/api_docs/maps_ems.mdx b/api_docs/maps_ems.mdx index dd7222408c9ab..d8a1790c4a9fb 100644 --- a/api_docs/maps_ems.mdx +++ b/api_docs/maps_ems.mdx @@ -1,7 +1,7 @@ --- id: kibMapsEmsPluginApi -slug: /kibana-dev-docs/mapsEmsPluginApi -title: mapsEms +slug: /kibana-dev-docs/api/mapsEms +title: "mapsEms" image: https://source.unsplash.com/400x175/?github summary: API docs for the mapsEms plugin date: 2020-11-16 diff --git a/api_docs/maps_legacy.mdx b/api_docs/maps_legacy.mdx index df7e25ddfa5cf..f8d0e1899306f 100644 --- a/api_docs/maps_legacy.mdx +++ b/api_docs/maps_legacy.mdx @@ -1,7 +1,7 @@ --- id: kibMapsLegacyPluginApi -slug: /kibana-dev-docs/mapsLegacyPluginApi -title: mapsLegacy +slug: /kibana-dev-docs/api/mapsLegacy +title: "mapsLegacy" image: https://source.unsplash.com/400x175/?github summary: API docs for the mapsLegacy plugin date: 2020-11-16 diff --git a/api_docs/metrics_entities.mdx b/api_docs/metrics_entities.mdx index cba8d5ebebd11..446e99f3f03f1 100644 --- a/api_docs/metrics_entities.mdx +++ b/api_docs/metrics_entities.mdx @@ -1,7 +1,7 @@ --- id: kibMetricsEntitiesPluginApi -slug: /kibana-dev-docs/metricsEntitiesPluginApi -title: metricsEntities +slug: /kibana-dev-docs/api/metricsEntities +title: "metricsEntities" image: https://source.unsplash.com/400x175/?github summary: API docs for the metricsEntities plugin date: 2020-11-16 diff --git a/api_docs/ml.json b/api_docs/ml.json index c6efe6aae64d7..102e433e4600e 100644 --- a/api_docs/ml.json +++ b/api_docs/ml.json @@ -236,6 +236,37 @@ "returnComment": [], "initialIsOpen": false }, + { + "parentPluginId": "ml", + "id": "def-public.MLJobsAwaitingNodeWarning", + "type": "Function", + "tags": [], + "label": "MLJobsAwaitingNodeWarning", + "description": [], + "signature": [ + "({ jobIds }: React.PropsWithChildren) => JSX.Element" + ], + "path": "x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/lazy_loader.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "ml", + "id": "def-public.MLJobsAwaitingNodeWarning.$1", + "type": "CompoundType", + "tags": [], + "label": "{ jobIds }", + "description": [], + "signature": [ + "React.PropsWithChildren" + ], + "path": "x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/lazy_loader.tsx", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, { "parentPluginId": "ml", "id": "def-public.useMlHref", @@ -3259,9 +3290,6 @@ "tags": [], "label": "MlJobBlocked", "description": [], - "signature": [ - "MlJobBlocked" - ], "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/job.ts", "deprecated": false, "initialIsOpen": false diff --git a/api_docs/ml.mdx b/api_docs/ml.mdx index 066d4205e1bec..52618ec948857 100644 --- a/api_docs/ml.mdx +++ b/api_docs/ml.mdx @@ -1,7 +1,7 @@ --- id: kibMlPluginApi -slug: /kibana-dev-docs/mlPluginApi -title: ml +slug: /kibana-dev-docs/api/ml +title: "ml" image: https://source.unsplash.com/400x175/?github summary: API docs for the ml plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) for q | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 280 | 10 | 276 | 33 | +| 282 | 10 | 278 | 33 | ## Client diff --git a/api_docs/monitoring.mdx b/api_docs/monitoring.mdx index a3f80349340a0..bcee20c45c461 100644 --- a/api_docs/monitoring.mdx +++ b/api_docs/monitoring.mdx @@ -1,7 +1,7 @@ --- id: kibMonitoringPluginApi -slug: /kibana-dev-docs/monitoringPluginApi -title: monitoring +slug: /kibana-dev-docs/api/monitoring +title: "monitoring" image: https://source.unsplash.com/400x175/?github summary: API docs for the monitoring plugin date: 2020-11-16 diff --git a/api_docs/navigation.mdx b/api_docs/navigation.mdx index ea669ba4949f6..efffb0c893591 100644 --- a/api_docs/navigation.mdx +++ b/api_docs/navigation.mdx @@ -1,7 +1,7 @@ --- id: kibNavigationPluginApi -slug: /kibana-dev-docs/navigationPluginApi -title: navigation +slug: /kibana-dev-docs/api/navigation +title: "navigation" image: https://source.unsplash.com/400x175/?github summary: API docs for the navigation plugin date: 2020-11-16 diff --git a/api_docs/newsfeed.mdx b/api_docs/newsfeed.mdx index 4fff51ffffcd5..62eb93a63abc8 100644 --- a/api_docs/newsfeed.mdx +++ b/api_docs/newsfeed.mdx @@ -1,7 +1,7 @@ --- id: kibNewsfeedPluginApi -slug: /kibana-dev-docs/newsfeedPluginApi -title: newsfeed +slug: /kibana-dev-docs/api/newsfeed +title: "newsfeed" image: https://source.unsplash.com/400x175/?github summary: API docs for the newsfeed plugin date: 2020-11-16 diff --git a/api_docs/observability.json b/api_docs/observability.json index 7bbfa5e3d2887..5887895476e3e 100644 --- a/api_docs/observability.json +++ b/api_docs/observability.json @@ -89,15 +89,15 @@ "label": "createExploratoryViewUrl", "description": [], "signature": [ - "(allSeries: Record; allSeries: ", { "pluginId": "observability", "scope": "public", "docId": "kibObservabilityPluginApi", - "section": "def-public.SeriesUrl", - "text": "SeriesUrl" + "section": "def-public.AllSeries", + "text": "AllSeries" }, - ">, baseHref: string) => string" + "; }, baseHref: string) => string" ], "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts", "deprecated": false, @@ -107,22 +107,45 @@ "id": "def-public.createExploratoryViewUrl.$1", "type": "Object", "tags": [], - "label": "allSeries", + "label": "{ reportType, allSeries }", "description": [], - "signature": [ - "Record" - ], "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts", "deprecated": false, - "isRequired": true + "children": [ + { + "parentPluginId": "observability", + "id": "def-public.createExploratoryViewUrl.$1.reportType", + "type": "CompoundType", + "tags": [], + "label": "reportType", + "description": [], + "signature": [ + "\"data-distribution\" | \"kpi-over-time\" | \"core-web-vitals\" | \"device-data-distribution\"" + ], + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts", + "deprecated": false + }, + { + "parentPluginId": "observability", + "id": "def-public.createExploratoryViewUrl.$1.allSeries", + "type": "Array", + "tags": [], + "label": "allSeries", + "description": [], + "signature": [ + { + "pluginId": "observability", + "scope": "public", + "docId": "kibObservabilityPluginApi", + "section": "def-public.SeriesUrl", + "text": "SeriesUrl" + }, + "[]" + ], + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts", + "deprecated": false + } + ] }, { "parentPluginId": "observability", @@ -1293,6 +1316,91 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "observability", + "id": "def-public.ExploratoryEmbeddableProps", + "type": "Interface", + "tags": [], + "label": "ExploratoryEmbeddableProps", + "description": [], + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/embeddable/embeddable.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "observability", + "id": "def-public.ExploratoryEmbeddableProps.reportType", + "type": "CompoundType", + "tags": [], + "label": "reportType", + "description": [], + "signature": [ + "\"data-distribution\" | \"kpi-over-time\" | \"core-web-vitals\" | \"device-data-distribution\"" + ], + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/embeddable/embeddable.tsx", + "deprecated": false + }, + { + "parentPluginId": "observability", + "id": "def-public.ExploratoryEmbeddableProps.attributes", + "type": "Array", + "tags": [], + "label": "attributes", + "description": [], + "signature": [ + { + "pluginId": "observability", + "scope": "public", + "docId": "kibObservabilityPluginApi", + "section": "def-public.SeriesUrl", + "text": "SeriesUrl" + }, + "[]" + ], + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/embeddable/embeddable.tsx", + "deprecated": false + }, + { + "parentPluginId": "observability", + "id": "def-public.ExploratoryEmbeddableProps.appendTitle", + "type": "Object", + "tags": [], + "label": "appendTitle", + "description": [], + "signature": [ + "JSX.Element | undefined" + ], + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/embeddable/embeddable.tsx", + "deprecated": false + }, + { + "parentPluginId": "observability", + "id": "def-public.ExploratoryEmbeddableProps.title", + "type": "CompoundType", + "tags": [], + "label": "title", + "description": [], + "signature": [ + "string | JSX.Element" + ], + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/embeddable/embeddable.tsx", + "deprecated": false + }, + { + "parentPluginId": "observability", + "id": "def-public.ExploratoryEmbeddableProps.showCalculationMethod", + "type": "CompoundType", + "tags": [], + "label": "showCalculationMethod", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/embeddable/embeddable.tsx", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "observability", "id": "def-public.FetchDataParams", @@ -2147,6 +2255,25 @@ ], "path": "x-pack/plugins/observability/public/plugin.ts", "deprecated": false + }, + { + "parentPluginId": "observability", + "id": "def-public.ObservabilityPublicPluginsStart.discover", + "type": "Object", + "tags": [], + "label": "discover", + "description": [], + "signature": [ + { + "pluginId": "discover", + "scope": "public", + "docId": "kibDiscoverPluginApi", + "section": "def-public.DiscoverStart", + "text": "DiscoverStart" + } + ], + "path": "x-pack/plugins/observability/public/plugin.ts", + "deprecated": false } ], "initialIsOpen": false @@ -2189,7 +2316,7 @@ "signature": [ "(options: { fields: OutputOf<", "Optional", - "<{ readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">> & Record; formatters: { asDuration: (value: number | null | undefined, { defaultValue, extended }?: FormatterOptions) => string; asPercent: (numerator: number | null | undefined, denominator: number | undefined, fallbackResult?: string) => string; }; }) => { reason: string; link: string; }" + "<{ readonly \"kibana.alert.rule.params\": { readonly type: \"keyword\"; readonly index: false; }; readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.params\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">> & Record; formatters: { asDuration: (value: number | null | undefined, { defaultValue, extended }?: FormatterOptions) => string; asPercent: (numerator: number | null | undefined, denominator: number | undefined, fallbackResult?: string) => string; }; }) => { reason: string; link: string; }" ], "path": "x-pack/plugins/observability/public/rules/create_observability_rule_type_registry.ts", "deprecated": false, @@ -2205,7 +2332,7 @@ "signature": [ "{ fields: OutputOf<", "Optional", - "<{ readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">> & Record; formatters: { asDuration: (value: number | null | undefined, { defaultValue, extended }?: FormatterOptions) => string; asPercent: (numerator: number | null | undefined, denominator: number | undefined, fallbackResult?: string) => string; }; }" + "<{ readonly \"kibana.alert.rule.params\": { readonly type: \"keyword\"; readonly index: false; }; readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.params\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">> & Record; formatters: { asDuration: (value: number | null | undefined, { defaultValue, extended }?: FormatterOptions) => string; asPercent: (numerator: number | null | undefined, denominator: number | undefined, fallbackResult?: string) => string; }; }" ], "path": "x-pack/plugins/observability/public/rules/create_observability_rule_type_registry.ts", "deprecated": false @@ -2258,6 +2385,16 @@ "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts", "deprecated": false, "children": [ + { + "parentPluginId": "observability", + "id": "def-public.SeriesUrl.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts", + "deprecated": false + }, { "parentPluginId": "observability", "id": "def-public.SeriesUrl.time", @@ -2311,19 +2448,6 @@ "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts", "deprecated": false }, - { - "parentPluginId": "observability", - "id": "def-public.SeriesUrl.reportType", - "type": "CompoundType", - "tags": [], - "label": "reportType", - "description": [], - "signature": [ - "\"data-distribution\" | \"kpi-over-time\" | \"core-web-vitals\" | \"device-data-distribution\"" - ], - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts", - "deprecated": false - }, { "parentPluginId": "observability", "id": "def-public.SeriesUrl.operationType", @@ -2378,16 +2502,29 @@ }, { "parentPluginId": "observability", - "id": "def-public.SeriesUrl.isNew", + "id": "def-public.SeriesUrl.hidden", "type": "CompoundType", "tags": [], - "label": "isNew", + "label": "hidden", "description": [], "signature": [ "boolean | undefined" ], "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts", "deprecated": false + }, + { + "parentPluginId": "observability", + "id": "def-public.SeriesUrl.color", + "type": "string", + "tags": [], + "label": "color", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts", + "deprecated": false } ], "initialIsOpen": false @@ -2813,9 +2950,6 @@ "tags": [], "label": "METRIC_TYPE", "description": [], - "signature": [ - "METRIC_TYPE" - ], "path": "node_modules/@kbn/analytics/target_types/metrics/index.d.ts", "deprecated": false, "initialIsOpen": false @@ -2836,6 +2970,27 @@ "deprecated": false, "initialIsOpen": false }, + { + "parentPluginId": "observability", + "id": "def-public.AllSeries", + "type": "Type", + "tags": [], + "label": "AllSeries", + "description": [], + "signature": [ + { + "pluginId": "observability", + "scope": "public", + "docId": "kibObservabilityPluginApi", + "section": "def-public.SeriesUrl", + "text": "SeriesUrl" + }, + "[]" + ], + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_series_storage.tsx", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "observability", "id": "def-public.DragHandleProps", @@ -2858,9 +3013,6 @@ "tags": [], "label": "DropResult", "description": [], - "signature": [ - "DropResult" - ], "path": "x-pack/plugins/observability/public/typings/eui_draggable/index.ts", "deprecated": false, "initialIsOpen": false @@ -3036,7 +3188,7 @@ "signature": [ "(options: { fields: OutputOf<", "Optional", - "<{ readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">> & Record; formatters: { asDuration: (value: number | null | undefined, { defaultValue, extended }?: FormatterOptions) => string; asPercent: (numerator: number | null | undefined, denominator: number | undefined, fallbackResult?: string) => string; }; }) => { reason: string; link: string; }" + "<{ readonly \"kibana.alert.rule.params\": { readonly type: \"keyword\"; readonly index: false; }; readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.params\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">> & Record; formatters: { asDuration: (value: number | null | undefined, { defaultValue, extended }?: FormatterOptions) => string; asPercent: (numerator: number | null | undefined, denominator: number | undefined, fallbackResult?: string) => string; }; }) => { reason: string; link: string; }" ], "path": "x-pack/plugins/observability/public/rules/create_observability_rule_type_registry.ts", "deprecated": false, @@ -3052,7 +3204,7 @@ "signature": [ "{ fields: OutputOf<", "Optional", - "<{ readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">> & Record; formatters: { asDuration: (value: number | null | undefined, { defaultValue, extended }?: FormatterOptions) => string; asPercent: (numerator: number | null | undefined, denominator: number | undefined, fallbackResult?: string) => string; }; }" + "<{ readonly \"kibana.alert.rule.params\": { readonly type: \"keyword\"; readonly index: false; }; readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.params\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">> & Record; formatters: { asDuration: (value: number | null | undefined, { defaultValue, extended }?: FormatterOptions) => string; asPercent: (numerator: number | null | undefined, denominator: number | undefined, fallbackResult?: string) => string; }; }" ], "path": "x-pack/plugins/observability/public/rules/create_observability_rule_type_registry.ts", "deprecated": false @@ -3252,7 +3404,23 @@ "signature": [ "{ navigation: { PageTemplate: (pageTemplateProps: ", "WrappedPageTemplateProps", - ") => JSX.Element; }; }" + ") => JSX.Element; }; createExploratoryViewUrl: ({ reportType, allSeries }: { reportType: ValueOf<{ readonly dist: \"data-distribution\"; readonly kpi: \"kpi-over-time\"; readonly cwv: \"core-web-vitals\"; readonly mdd: \"device-data-distribution\"; }>; allSeries: ", + { + "pluginId": "observability", + "scope": "public", + "docId": "kibObservabilityPluginApi", + "section": "def-public.AllSeries", + "text": "AllSeries" + }, + "; }, baseHref?: string) => string; ExploratoryViewEmbeddable: (props: ", + { + "pluginId": "observability", + "scope": "public", + "docId": "kibObservabilityPluginApi", + "section": "def-public.ExploratoryEmbeddableProps", + "text": "ExploratoryEmbeddableProps" + }, + ") => JSX.Element; }" ], "path": "x-pack/plugins/observability/public/plugin.ts", "deprecated": false, @@ -3355,7 +3523,13 @@ "text": "ElasticsearchClient" }, "; logger: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, "; }) => Promise" ], "path": "x-pack/plugins/observability/server/utils/create_or_update_index.ts", @@ -3469,7 +3643,13 @@ "label": "logger", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "x-pack/plugins/observability/server/utils/create_or_update_index.ts", "deprecated": false @@ -3734,7 +3914,13 @@ "label": "logger", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "x-pack/plugins/observability/server/routes/types.ts", "deprecated": false @@ -3753,7 +3939,13 @@ "label": "AbstractObservabilityServerRouteRepository", "description": [], "signature": [ - "ServerRouteRepository", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRouteRepository", + "text": "ServerRouteRepository" + }, "<", { "pluginId": "observability", @@ -3771,7 +3963,13 @@ "text": "ObservabilityRouteCreateOptions" }, ", Record; }[TEndpoint] extends ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "> ? TReturnType : never : never" ], "path": "x-pack/plugins/observability/server/routes/types.ts", @@ -3920,7 +4130,13 @@ "label": "ObservabilityServerRouteRepository", "description": [], "signature": [ - "ServerRouteRepository", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRouteRepository", + "text": "ServerRouteRepository" + }, "<", { "pluginId": "observability", @@ -3938,7 +4154,13 @@ "text": "ObservabilityRouteCreateOptions" }, ", { \"GET /api/observability/rules/alerts/dynamic_index_pattern\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/observability/rules/alerts/dynamic_index_pattern\", ", "TypeC", "<{ query: ", diff --git a/api_docs/observability.mdx b/api_docs/observability.mdx index 1b1c626829b2c..4b7ac03a70e14 100644 --- a/api_docs/observability.mdx +++ b/api_docs/observability.mdx @@ -1,7 +1,7 @@ --- id: kibObservabilityPluginApi -slug: /kibana-dev-docs/observabilityPluginApi -title: observability +slug: /kibana-dev-docs/api/observability +title: "observability" image: https://source.unsplash.com/400x175/?github summary: API docs for the observability plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Observability UI](https://github.com/orgs/elastic/teams/observability-u | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 234 | 0 | 234 | 10 | +| 245 | 0 | 245 | 10 | ## Client diff --git a/api_docs/osquery.mdx b/api_docs/osquery.mdx index 6ff3e070e969d..8ee0154c6ff8a 100644 --- a/api_docs/osquery.mdx +++ b/api_docs/osquery.mdx @@ -1,7 +1,7 @@ --- id: kibOsqueryPluginApi -slug: /kibana-dev-docs/osqueryPluginApi -title: osquery +slug: /kibana-dev-docs/api/osquery +title: "osquery" image: https://source.unsplash.com/400x175/?github summary: API docs for the osquery plugin date: 2020-11-16 diff --git a/api_docs/plugin_directory.mdx b/api_docs/plugin_directory.mdx index 15e4427068517..5d1046efd3287 100644 --- a/api_docs/plugin_directory.mdx +++ b/api_docs/plugin_directory.mdx @@ -1,8 +1,8 @@ --- id: kibDevDocsPluginDirectory -slug: /kibana-dev-docs/plugin-directory -title: Plugin directory -summary: Plugin directory +slug: /kibana-dev-docs/api-meta/plugin-api-directory +title: Directory +summary: Directory of public APIs available through plugins or packages. date: 2021-09-22 tags: ['contributor', 'dev', 'apidocs', 'kibana'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. @@ -10,15 +10,15 @@ warning: This document is auto-generated and is meant to be viewed inside our ex ### Overall stats -| Plugin Count | Plugins with a
public API | Number of teams | +| Count | Plugins or Packages with a
public API | Number of teams | |--------------|----------|------------------------| -| 133 | 110 | 29 | +| 206 | 160 | 33 | ### Public API health stats | API Count | Any Count | Missing comments | Missing exports | |--------------|----------|-----------------|--------| -| 20191 | 267 | 16280 | 603 | +| 24449 | 276 | 19869 | 1578 | ## Plugin Directory @@ -26,26 +26,27 @@ warning: This document is auto-generated and is meant to be viewed inside our ex |--------------|----------------|-----------|--------------|----------|---------------|--------| | | [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting-services) | - | 125 | 0 | 125 | 8 | | | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | - | 23 | 0 | 22 | 1 | -| | [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting-services) | - | 248 | 0 | 240 | 16 | -| | [APM UI](https://github.com/orgs/elastic/teams/apm-ui) | - | 42 | 0 | 42 | 37 | +| | [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting-services) | - | 249 | 0 | 241 | 16 | +| | [APM UI](https://github.com/orgs/elastic/teams/apm-ui) | The user interface for Elastic APM | 42 | 0 | 42 | 37 | | | [APM UI](https://github.com/orgs/elastic/teams/apm-ui) | - | 6 | 0 | 6 | 0 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 9 | 0 | 9 | 0 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Considering using bfetch capabilities when fetching large amounts of data. This services supports batching HTTP requests and streaming responses back. | 77 | 1 | 66 | 2 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds Canvas application to Kibana | 9 | 0 | 8 | 3 | | | [Security Solution Threat Hunting](https://github.com/orgs/elastic/teams/security-threat-hunting) | The Case management system in Kibana | 475 | 0 | 431 | 14 | -| | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | - | 223 | 2 | 192 | 3 | +| | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | - | 285 | 4 | 253 | 3 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 22 | 0 | 22 | 0 | | code | [Kibana Operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 0 | 0 | 0 | 0 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 9 | 0 | 9 | 1 | -| | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 2295 | 27 | 1021 | 30 | +| | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 2302 | 27 | 1020 | 30 | | crossClusterReplication | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 0 | 0 | 0 | 0 | -| | [Fleet](https://github.com/orgs/elastic/teams/fleet) | Add custom data integrations so they can be displayed in the Fleet integrations app | 69 | 0 | 69 | 0 | +| | [Fleet](https://github.com/orgs/elastic/teams/fleet) | Add custom data integrations so they can be displayed in the Fleet integrations app | 85 | 1 | 78 | 1 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds the Dashboard app to Kibana | 145 | 1 | 132 | 10 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 51 | 0 | 50 | 0 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | - | 11 | 0 | 11 | 0 | -| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. | 3201 | 44 | 2815 | 49 | +| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. | 3210 | 43 | 2825 | 48 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Enhanced data plugin. (See src/plugins/data.) Enhances the main data plugin with a search session management UI. Includes a reusable search session indicator component to use in other applications. Exposes routes for managing search sessions. Includes a service that monitors, updates, and cleans up search session saved objects. | 16 | 0 | 16 | 2 | -| | [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) | The Data Visualizer tools help you understand your data, by analyzing the metrics and fields in a log file or an existing Elasticsearch index. | 108 | 5 | 108 | 0 | +| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. | 695 | 6 | 555 | 5 | +| | [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) | The Data Visualizer tools help you understand your data, by analyzing the metrics and fields in a log file or an existing Elasticsearch index. | 80 | 5 | 80 | 0 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 10 | 0 | 8 | 2 | | | [Data Discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | This plugin contains the Discover application and the saved search embeddable. | 82 | 0 | 56 | 6 | | | [Data Discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | - | 39 | 0 | 37 | 2 | @@ -58,15 +59,16 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds 'error' renderer to expressions | 12 | 0 | 12 | 2 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds 'image' function and renderer to expressions | 24 | 0 | 24 | 0 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds 'metric' function and renderer to expressions | 30 | 0 | 25 | 0 | +| | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Expression MetricVis plugin adds a `metric` renderer and function to the expression plugin. The renderer will display the `metric` chart. | 49 | 0 | 49 | 0 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds 'repeatImage' function and renderer to expressions | 30 | 0 | 30 | 0 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds 'revealImage' function and renderer to expressions | 12 | 0 | 12 | 3 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds 'shape' function and renderer to expressions | 143 | 0 | 143 | 0 | | | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Expression Tagcloud plugin adds a `tagcloud` renderer and function to the expression plugin. The renderer will display the `Wordcloud` chart. | 5 | 0 | 5 | 0 | -| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Adds expression runtime to Kibana | 2072 | 65 | 1626 | 4 | +| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Adds expression runtime to Kibana | 2095 | 27 | 1646 | 4 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 216 | 0 | 98 | 2 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Index pattern fields and ambiguous values formatters | 288 | 7 | 250 | 3 | | | [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) | The file upload plugin contains components and services for uploading a file, analyzing its data, and then importing the data into an Elasticsearch index. Supported file types include CSV, TSV, newline-delimited JSON and GeoJSON. | 129 | 4 | 129 | 1 | -| | [Fleet](https://github.com/orgs/elastic/teams/fleet) | - | 1197 | 15 | 1096 | 10 | +| | [Fleet](https://github.com/orgs/elastic/teams/fleet) | - | 1207 | 15 | 1107 | 10 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 68 | 0 | 14 | 5 | | globalSearchBar | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 0 | 0 | 0 | 0 | | globalSearchProviders | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 0 | 0 | 0 | 0 | @@ -86,8 +88,8 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 6 | 0 | 6 | 0 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 297 | 8 | 260 | 5 | | kibanaUsageCollection | [Kibana Telemtry](https://github.com/orgs/elastic/teams/kibana-telemetry) | - | 0 | 0 | 0 | 0 | -| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 603 | 3 | 410 | 8 | -| | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Visualization editor allowing to quickly and easily configure compelling visualizations to use on dashboards and canvas workpads. Exposes components to embed visualizations and link into the Lens editor from within other apps in Kibana. | 251 | 0 | 233 | 24 | +| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 606 | 3 | 413 | 8 | +| | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Visualization editor allowing to quickly and easily configure compelling visualizations to use on dashboards and canvas workpads. Exposes components to embed visualizations and link into the Lens editor from within other apps in Kibana. | 252 | 0 | 234 | 24 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 8 | 0 | 8 | 0 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 3 | 0 | 3 | 0 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 117 | 0 | 42 | 8 | @@ -98,11 +100,11 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [GIS](https://github.com/orgs/elastic/teams/kibana-gis) | - | 65 | 1 | 65 | 0 | | | [GIS](https://github.com/orgs/elastic/teams/kibana-gis) | - | 35 | 0 | 35 | 0 | | | [Security solution](https://github.com/orgs/elastic/teams/security-solution) | - | 9 | 0 | 6 | 1 | -| | [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) | This plugin provides access to the machine learning features provided by Elastic. | 280 | 10 | 276 | 33 | +| | [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) | This plugin provides access to the machine learning features provided by Elastic. | 282 | 10 | 278 | 33 | | | [Stack Monitoring](https://github.com/orgs/elastic/teams/stack-monitoring-ui) | - | 10 | 0 | 10 | 2 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 31 | 0 | 31 | 2 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 17 | 0 | 17 | 0 | -| | [Observability UI](https://github.com/orgs/elastic/teams/observability-ui) | - | 234 | 0 | 234 | 10 | +| | [Observability UI](https://github.com/orgs/elastic/teams/observability-ui) | - | 245 | 0 | 245 | 10 | | | [Security asset management](https://github.com/orgs/elastic/teams/security-asset-management) | - | 11 | 0 | 11 | 0 | | painlessLab | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 0 | 0 | 0 | 0 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | The Presentation Utility Plugin is a set of common, shared components and toolkits for solutions within the Presentation space, (e.g. Dashboards, Canvas). | 178 | 3 | 151 | 5 | @@ -118,12 +120,11 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 90 | 3 | 51 | 0 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 22 | 0 | 17 | 1 | | searchprofiler | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 0 | 0 | 0 | 0 | -| | [Platform Security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides authentication and authorization features, and exposes functionality to understand the capabilities of the currently authenticated user. | 112 | 0 | 51 | 6 | -| | [Platform Security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin exposes a limited set of security functionality to OSS plugins. | 12 | 0 | 9 | 3 | -| | [Security solution](https://github.com/orgs/elastic/teams/security-solution) | - | 1350 | 8 | 1296 | 29 | -| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Adds URL Service and sharing capabilities to Kibana | 137 | 1 | 90 | 10 | +| | [Platform Security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides authentication and authorization features, and exposes functionality to understand the capabilities of the currently authenticated user. | 113 | 0 | 51 | 7 | +| | [Security solution](https://github.com/orgs/elastic/teams/security-solution) | - | 1361 | 8 | 1307 | 29 | +| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Adds URL Service and sharing capabilities to Kibana | 143 | 1 | 90 | 10 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 23 | 1 | 22 | 1 | -| | [Platform Security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides the Spaces feature, which allows saved objects to be organized into meaningful categories. | 203 | 0 | 20 | 1 | +| | [Platform Security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides the Spaces feature, which allows saved objects to be organized into meaningful categories. | 208 | 0 | 21 | 1 | | | [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting-services) | - | 4 | 0 | 4 | 0 | | | [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting-services) | - | 70 | 0 | 32 | 7 | | | [Kibana Telemetry](https://github.com/orgs/elastic/teams/kibana-telemetry) | - | 41 | 0 | 0 | 0 | @@ -132,7 +133,7 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [Kibana Telemetry](https://github.com/orgs/elastic/teams/kibana-telemetry) | - | 14 | 0 | 13 | 0 | | tileMap | [GIS](https://github.com/orgs/elastic/teams/kibana-gis) | - | 0 | 0 | 0 | 0 | | | [Security solution](https://github.com/orgs/elastic/teams/security-solution) | - | 968 | 6 | 847 | 25 | -| transform | [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) | This plugin provides access to the transforms features provided by Elastic. Transforms enable you to convert existing Elasticsearch indices into summarized indices, which provide opportunities for new insights and analytics. | 0 | 0 | 0 | 0 | +| | [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) | This plugin provides access to the transforms features provided by Elastic. Transforms enable you to convert existing Elasticsearch indices into summarized indices, which provide opportunities for new insights and analytics. | 4 | 0 | 4 | 1 | | translations | [Kibana Localization](https://github.com/orgs/elastic/teams/kibana-localization) | - | 0 | 0 | 0 | 0 | | | [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting-services) | - | 239 | 1 | 230 | 18 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Adds UI Actions service to Kibana | 127 | 0 | 88 | 11 | @@ -158,3 +159,56 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | watcher | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 0 | 0 | 0 | 0 | | xpackLegacy | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 0 | 0 | 0 | 0 | +## Package Directory + +| Package name           | Maintaining team | Description | API Cnt | Any Cnt | Missing
comments | Missing
exports | +|--------------|----------------|-----------|--------------|----------|---------------|--------| +| | [Owner missing] | elasticsearch datemath parser, used in kibana | 44 | 0 | 43 | 0 | +| | [Owner missing] | - | 11 | 5 | 11 | 0 | +| | [Owner missing] | Alerts components and hooks | 9 | 1 | 9 | 0 | +| | Ahmad Bamieh ahmadbamieh@gmail.com | Kibana Analytics tool | 69 | 0 | 69 | 4 | +| | [Owner missing] | - | 14 | 0 | 14 | 0 | +| | [Owner missing] | - | 11 | 0 | 11 | 0 | +| | [Owner missing] | - | 2 | 0 | 2 | 0 | +| | [Owner missing] | - | 73 | 0 | 52 | 1 | +| | [Owner missing] | - | 109 | 3 | 107 | 18 | +| | [Owner missing] | - | 13 | 0 | 7 | 0 | +| | [Owner missing] | - | 258 | 7 | 231 | 4 | +| | [Owner missing] | - | 1 | 0 | 1 | 0 | +| | [Owner missing] | - | 25 | 0 | 12 | 1 | +| | [Owner missing] | - | 208 | 2 | 156 | 14 | +| | [Owner missing] | - | 20 | 0 | 16 | 0 | +| | [Owner missing] | - | 2 | 0 | 2 | 2 | +| | [Owner missing] | - | 18 | 0 | 18 | 2 | +| | [Owner missing] | - | 28 | 0 | 27 | 2 | +| | [Owner missing] | - | 30 | 0 | 5 | 37 | +| | [Owner missing] | - | 467 | 9 | 378 | 0 | +| | [Owner missing] | - | 38 | 0 | 38 | 3 | +| | [Owner missing] | - | 44 | 0 | 44 | 9 | +| | [Owner missing] | - | 1 | 0 | 1 | 0 | +| | [Owner missing] | Just some helpers for kibana plugin devs. | 1 | 0 | 1 | 0 | +| | [Owner missing] | - | 63 | 0 | 49 | 5 | +| | [Owner missing] | - | 74 | 0 | 71 | 0 | +| | [Owner missing] | Security Solution auto complete | 47 | 1 | 34 | 0 | +| | [Owner missing] | security solution elastic search utilities to use across plugins such lists, security_solution, cases, etc... | 54 | 0 | 51 | 0 | +| | [Owner missing] | Security Solution utilities for React hooks | 8 | 0 | 1 | 1 | +| | [Owner missing] | io ts utilities and types to be shared with plugins from the security solution project | 147 | 1 | 128 | 0 | +| | [Owner missing] | io ts utilities and types to be shared with plugins from the security solution project | 418 | 1 | 409 | 0 | +| | [Owner missing] | io ts utilities and types to be shared with plugins from the security solution project | 45 | 0 | 23 | 0 | +| | [Owner missing] | io ts utilities and types to be shared with plugins from the security solution project | 28 | 0 | 22 | 0 | +| | [Owner missing] | security solution list REST API | 42 | 0 | 41 | 5 | +| | [Owner missing] | security solution list constants to use across plugins such lists, security_solution, cases, etc... | 23 | 0 | 9 | 0 | +| | [Owner missing] | Security solution list ReactJS hooks | 56 | 0 | 44 | 0 | +| | [Owner missing] | security solution list utilities | 222 | 0 | 177 | 0 | +| | [Owner missing] | security solution t-grid packages will allow sharing components between timelines and security_solution plugin until we transfer all functionality to timelines plugin | 120 | 0 | 116 | 0 | +| | [Owner missing] | security solution utilities to use across plugins such lists, security_solution, cases, etc... | 4 | 0 | 2 | 0 | +| | [Owner missing] | - | 53 | 0 | 50 | 1 | +| | [Owner missing] | - | 28 | 0 | 27 | 1 | +| | [Owner missing] | - | 96 | 1 | 63 | 2 | +| | [Owner missing] | - | 18 | 1 | 18 | 0 | +| | [Owner missing] | - | 2 | 0 | 2 | 0 | +| | [Owner missing] | - | 200 | 5 | 177 | 9 | +| | [Owner missing] | - | 78 | 0 | 78 | 1 | +| | [Owner missing] | - | 29 | 1 | 10 | 1 | +| | [Owner missing] | - | 31 | 1 | 21 | 0 | + diff --git a/api_docs/presentation_util.json b/api_docs/presentation_util.json index e41bd55d8c2ca..ecec195628cf6 100644 --- a/api_docs/presentation_util.json +++ b/api_docs/presentation_util.json @@ -598,7 +598,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => any" ], "path": "src/plugins/presentation_util/common/lib/test_helpers/function_wrapper.ts", diff --git a/api_docs/presentation_util.mdx b/api_docs/presentation_util.mdx index e559bfe1d241b..4c31547582b17 100644 --- a/api_docs/presentation_util.mdx +++ b/api_docs/presentation_util.mdx @@ -1,7 +1,7 @@ --- id: kibPresentationUtilPluginApi -slug: /kibana-dev-docs/presentationUtilPluginApi -title: presentationUtil +slug: /kibana-dev-docs/api/presentationUtil +title: "presentationUtil" image: https://source.unsplash.com/400x175/?github summary: API docs for the presentationUtil plugin date: 2020-11-16 diff --git a/api_docs/region_map.mdx b/api_docs/region_map.mdx index 0b9b634564620..db08fade758fa 100644 --- a/api_docs/region_map.mdx +++ b/api_docs/region_map.mdx @@ -1,7 +1,7 @@ --- id: kibRegionMapPluginApi -slug: /kibana-dev-docs/regionMapPluginApi -title: regionMap +slug: /kibana-dev-docs/api/regionMap +title: "regionMap" image: https://source.unsplash.com/400x175/?github summary: API docs for the regionMap plugin date: 2020-11-16 diff --git a/api_docs/remote_clusters.mdx b/api_docs/remote_clusters.mdx index 63c51f3d0598f..2fc6f87d286d1 100644 --- a/api_docs/remote_clusters.mdx +++ b/api_docs/remote_clusters.mdx @@ -1,7 +1,7 @@ --- id: kibRemoteClustersPluginApi -slug: /kibana-dev-docs/remoteClustersPluginApi -title: remoteClusters +slug: /kibana-dev-docs/api/remoteClusters +title: "remoteClusters" image: https://source.unsplash.com/400x175/?github summary: API docs for the remoteClusters plugin date: 2020-11-16 diff --git a/api_docs/reporting.json b/api_docs/reporting.json index 949134f73d91d..bcfce7a152416 100644 --- a/api_docs/reporting.json +++ b/api_docs/reporting.json @@ -926,7 +926,13 @@ "text": "PluginInitializerContext" }, "; }>; autoDownload: boolean; }>; zoom: number; timeouts: Readonly<{} & { openUrl: number | moment.Duration; waitForElements: number | moment.Duration; renderComplete: number | moment.Duration; }>; networkPolicy: Readonly<{} & { enabled: boolean; rules: Readonly<{ host?: string | undefined; protocol?: string | undefined; } & { allow: boolean; }>[]; }>; viewport: Readonly<{} & { height: number; width: number; }>; loadDelay: number | moment.Duration; maxAttempts: number; }>; roles: Readonly<{} & { enabled: boolean; allow: string[]; }>; kibanaServer: Readonly<{ hostname?: string | undefined; port?: number | undefined; protocol?: string | undefined; } & {}>; queue: Readonly<{} & { timeout: number | moment.Duration; pollInterval: number | moment.Duration; indexInterval: string; pollEnabled: boolean; pollIntervalErrorMultiplier: number; }>; csv: Readonly<{} & { scroll: Readonly<{} & { size: number; duration: string; }>; checkForFormulas: boolean; escapeFormulaValues: boolean; enablePanelActionDownload: boolean; maxSizeBytes: number | ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, "; useByteOrderMarkEncoding: boolean; }>; poll: Readonly<{} & { jobCompletionNotifier: Readonly<{} & { interval: number; intervalErrorMultiplier: number; }>; jobsRefresh: Readonly<{} & { interval: number; intervalErrorMultiplier: number; }>; }>; }>>" ], "path": "x-pack/plugins/reporting/server/core.ts", @@ -1766,7 +1772,13 @@ "text": "PluginInitializerContext" }, "; }>; autoDownload: boolean; }>; zoom: number; timeouts: Readonly<{} & { openUrl: number | moment.Duration; waitForElements: number | moment.Duration; renderComplete: number | moment.Duration; }>; networkPolicy: Readonly<{} & { enabled: boolean; rules: Readonly<{ host?: string | undefined; protocol?: string | undefined; } & { allow: boolean; }>[]; }>; viewport: Readonly<{} & { height: number; width: number; }>; loadDelay: number | moment.Duration; maxAttempts: number; }>; roles: Readonly<{} & { enabled: boolean; allow: string[]; }>; kibanaServer: Readonly<{ hostname?: string | undefined; port?: number | undefined; protocol?: string | undefined; } & {}>; queue: Readonly<{} & { timeout: number | moment.Duration; pollInterval: number | moment.Duration; indexInterval: string; pollEnabled: boolean; pollIntervalErrorMultiplier: number; }>; csv: Readonly<{} & { scroll: Readonly<{} & { size: number; duration: string; }>; checkForFormulas: boolean; escapeFormulaValues: boolean; enablePanelActionDownload: boolean; maxSizeBytes: number | ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, "; useByteOrderMarkEncoding: boolean; }>; poll: Readonly<{} & { jobCompletionNotifier: Readonly<{} & { interval: number; intervalErrorMultiplier: number; }>; jobsRefresh: Readonly<{} & { interval: number; intervalErrorMultiplier: number; }>; }>; }>>" ], "path": "x-pack/plugins/reporting/server/plugin.ts", @@ -1957,7 +1969,13 @@ "text": "ReportingConfig" }, " extends Config; }>; autoDownload: boolean; }>; zoom: number; timeouts: Readonly<{} & { openUrl: number | moment.Duration; waitForElements: number | moment.Duration; renderComplete: number | moment.Duration; }>; networkPolicy: Readonly<{} & { enabled: boolean; rules: Readonly<{ host?: string | undefined; protocol?: string | undefined; } & { allow: boolean; }>[]; }>; viewport: Readonly<{} & { height: number; width: number; }>; loadDelay: number | moment.Duration; maxAttempts: number; }>; roles: Readonly<{} & { enabled: boolean; allow: string[]; }>; kibanaServer: Readonly<{ hostname?: string | undefined; port?: number | undefined; protocol?: string | undefined; } & {}>; queue: Readonly<{} & { timeout: number | moment.Duration; pollInterval: number | moment.Duration; indexInterval: string; pollEnabled: boolean; pollIntervalErrorMultiplier: number; }>; csv: Readonly<{} & { scroll: Readonly<{} & { size: number; duration: string; }>; checkForFormulas: boolean; escapeFormulaValues: boolean; enablePanelActionDownload: boolean; maxSizeBytes: number | ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, "; useByteOrderMarkEncoding: boolean; }>; poll: Readonly<{} & { jobCompletionNotifier: Readonly<{} & { interval: number; intervalErrorMultiplier: number; }>; jobsRefresh: Readonly<{} & { interval: number; intervalErrorMultiplier: number; }>; }>; }>>" ], "path": "x-pack/plugins/reporting/server/config/config.ts", diff --git a/api_docs/reporting.mdx b/api_docs/reporting.mdx index c0d061ff5ec8d..9d3ed2ce0b7ee 100644 --- a/api_docs/reporting.mdx +++ b/api_docs/reporting.mdx @@ -1,7 +1,7 @@ --- id: kibReportingPluginApi -slug: /kibana-dev-docs/reportingPluginApi -title: reporting +slug: /kibana-dev-docs/api/reporting +title: "reporting" image: https://source.unsplash.com/400x175/?github summary: API docs for the reporting plugin date: 2020-11-16 diff --git a/api_docs/rollup.mdx b/api_docs/rollup.mdx index f4112014db153..9fa774ae413fd 100644 --- a/api_docs/rollup.mdx +++ b/api_docs/rollup.mdx @@ -1,7 +1,7 @@ --- id: kibRollupPluginApi -slug: /kibana-dev-docs/rollupPluginApi -title: rollup +slug: /kibana-dev-docs/api/rollup +title: "rollup" image: https://source.unsplash.com/400x175/?github summary: API docs for the rollup plugin date: 2020-11-16 diff --git a/api_docs/rule_registry.json b/api_docs/rule_registry.json index 6aae6e1651fd8..2d9e79f727c0e 100644 --- a/api_docs/rule_registry.json +++ b/api_docs/rule_registry.json @@ -62,7 +62,7 @@ "signature": [ "({ id, index }: GetAlertParams) => Promise> | undefined>" + "<{ readonly \"kibana.alert.rule.params\": { readonly type: \"keyword\"; readonly index: false; }; readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.params\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">> | undefined>" ], "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, @@ -98,7 +98,7 @@ "InlineGet", ">> | undefined; _id: string; _index: string; _primary_term: number; result: ", + "<{ readonly \"kibana.alert.rule.params\": { readonly type: \"keyword\"; readonly index: false; }; readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.params\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">>> | undefined; _id: string; _index: string; _primary_term: number; result: ", "Result", "; _seq_no: number; _shards: ", "ShardStatistics", @@ -178,7 +178,7 @@ "SearchResponse", ">>>" + "<{ readonly \"kibana.alert.rule.params\": { readonly type: \"keyword\"; readonly index: false; }; readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.params\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">>>>" ], "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, @@ -757,7 +757,13 @@ ], "signature": [ "(featureId: ", - "AlertConsumers", + { + "pluginId": "@kbn/rule-data-utils", + "scope": "server", + "docId": "kibKbnRuleDataUtilsPluginApi", + "section": "def-server.AlertConsumers", + "text": "AlertConsumers" + }, ", dataset?: ", { "pluginId": "ruleRegistry", @@ -781,7 +787,13 @@ "label": "featureId", "description": [], "signature": [ - "AlertConsumers" + { + "pluginId": "@kbn/rule-data-utils", + "scope": "server", + "docId": "kibKbnRuleDataUtilsPluginApi", + "section": "def-server.AlertConsumers", + "text": "AlertConsumers" + } ], "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, @@ -878,7 +890,13 @@ "description": [], "signature": [ "(logger: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, ", ruleDataClient: Pick<", { "pluginId": "ruleRegistry", @@ -920,7 +938,13 @@ "label": "logger", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "x-pack/plugins/rule_registry/server/utils/create_lifecycle_executor.ts", "deprecated": false, @@ -961,7 +985,13 @@ "description": [], "signature": [ "({ logger, ruleDataClient }: { logger: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, "; ruleDataClient: ", { "pluginId": "ruleRegistry", @@ -1017,7 +1047,13 @@ "label": "logger", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "x-pack/plugins/rule_registry/server/utils/create_lifecycle_rule_type_factory.ts", "deprecated": false @@ -1064,7 +1100,13 @@ "text": "IRuleDataClient" }, "; logger: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, "; }) => , TParams extends Record, TServices extends ", { "pluginId": "ruleRegistry", @@ -1141,7 +1183,7 @@ }, "; injectReferences: (params: TParams, references: ", "SavedObjectReference", - "[]) => TParams; } | undefined; isExportable: boolean; }" + "[]) => TParams; } | undefined; isExportable: boolean; ruleTaskTimeout?: string | undefined; }" ], "path": "x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_factory.ts", "deprecated": false, @@ -1163,7 +1205,13 @@ "text": "IRuleDataClient" }, "; logger: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, "; }" ], "path": "x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_factory.ts", @@ -1590,7 +1638,7 @@ "SearchRequest", ">(request: TSearchRequest) => Promise<", "InferSearchResponseOf", - ">, TSearchRequest, { restTotalHitsAsInt: false; }>>" + ">, TSearchRequest, { restTotalHitsAsInt: false; }>>" ], "path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts", "deprecated": false, @@ -1622,9 +1670,9 @@ "signature": [ "(target?: string | undefined) => Promise<{ title: string; timeFieldName: string; fields: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "server", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-server.FieldDescriptor", "text": "FieldDescriptor" }, @@ -1897,7 +1945,7 @@ "section": "def-server.AlertType", "text": "AlertType" }, - ", \"id\" | \"name\" | \"validate\" | \"actionGroups\" | \"defaultActionGroupId\" | \"recoveryActionGroup\" | \"producer\" | \"actionVariables\" | \"minimumLicenseRequired\" | \"useSavedObjectReferences\" | \"isExportable\"> & { executor: ", + ", \"id\" | \"name\" | \"validate\" | \"actionGroups\" | \"defaultActionGroupId\" | \"recoveryActionGroup\" | \"producer\" | \"actionVariables\" | \"minimumLicenseRequired\" | \"useSavedObjectReferences\" | \"isExportable\" | \"ruleTaskTimeout\"> & { executor: ", "AlertTypeExecutor", "; }" ], @@ -1922,7 +1970,13 @@ "text": "IRuleDataClient" }, "; logger: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, "; }) => , TParams extends Record, TServices extends ", { "pluginId": "ruleRegistry", @@ -1970,7 +2024,13 @@ "text": "IRuleDataClient" }, "; logger: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, "; }" ], "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", @@ -2432,7 +2492,7 @@ "signature": [ "(input: unknown) => OutputOf<", "Optional", - "<{ readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">>" + "<{ readonly \"kibana.alert.rule.params\": { readonly type: \"keyword\"; readonly index: false; }; readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.params\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">>" ], "path": "x-pack/plugins/rule_registry/common/parse_technical_fields.ts", "deprecated": false, diff --git a/api_docs/rule_registry.mdx b/api_docs/rule_registry.mdx index 775cebd477af9..5bd8aeff7d1b2 100644 --- a/api_docs/rule_registry.mdx +++ b/api_docs/rule_registry.mdx @@ -1,7 +1,7 @@ --- id: kibRuleRegistryPluginApi -slug: /kibana-dev-docs/ruleRegistryPluginApi -title: ruleRegistry +slug: /kibana-dev-docs/api/ruleRegistry +title: "ruleRegistry" image: https://source.unsplash.com/400x175/?github summary: API docs for the ruleRegistry plugin date: 2020-11-16 diff --git a/api_docs/runtime_fields.mdx b/api_docs/runtime_fields.mdx index 8c284c976c756..f39d200e444d9 100644 --- a/api_docs/runtime_fields.mdx +++ b/api_docs/runtime_fields.mdx @@ -1,7 +1,7 @@ --- id: kibRuntimeFieldsPluginApi -slug: /kibana-dev-docs/runtimeFieldsPluginApi -title: runtimeFields +slug: /kibana-dev-docs/api/runtimeFields +title: "runtimeFields" image: https://source.unsplash.com/400x175/?github summary: API docs for the runtimeFields plugin date: 2020-11-16 diff --git a/api_docs/saved_objects.json b/api_docs/saved_objects.json index ad3421690d41a..3af0a34fee5d4 100644 --- a/api_docs/saved_objects.json +++ b/api_docs/saved_objects.json @@ -560,14 +560,6 @@ "path": "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts", "deprecated": true, "references": [ - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/find_list_items.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/find_list_items.ts" - }, { "plugin": "discover", "path": "src/plugins/discover/public/saved_searches/saved_searches.ts" @@ -584,6 +576,14 @@ "plugin": "discover", "path": "src/plugins/discover/public/plugin.tsx" }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/find_list_items.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/find_list_items.ts" + }, { "plugin": "visualizations", "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualizations.ts" @@ -1123,14 +1123,6 @@ "plugin": "embeddable", "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" - }, { "plugin": "presentationUtil", "path": "src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard.tsx" @@ -1139,6 +1131,14 @@ "plugin": "presentationUtil", "path": "src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard.tsx" }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" + }, { "plugin": "dashboard", "path": "src/plugins/dashboard/public/services/saved_objects.ts" @@ -2154,14 +2154,6 @@ "plugin": "savedObjectsTaggingOss", "path": "src/plugins/saved_objects_tagging_oss/public/api.ts" }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/types.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/types.ts" - }, { "plugin": "discover", "path": "src/plugins/discover/public/saved_searches/_saved_search.ts" @@ -2178,6 +2170,14 @@ "plugin": "discover", "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/types.ts" + }, { "plugin": "visualizations", "path": "src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts" @@ -2586,9 +2586,9 @@ "signature": [ "((id?: string | undefined) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -3021,9 +3021,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, diff --git a/api_docs/saved_objects.mdx b/api_docs/saved_objects.mdx index 0df66e05e2f99..4fe64c7cf70ae 100644 --- a/api_docs/saved_objects.mdx +++ b/api_docs/saved_objects.mdx @@ -1,7 +1,7 @@ --- id: kibSavedObjectsPluginApi -slug: /kibana-dev-docs/savedObjectsPluginApi -title: savedObjects +slug: /kibana-dev-docs/api/savedObjects +title: "savedObjects" image: https://source.unsplash.com/400x175/?github summary: API docs for the savedObjects plugin date: 2020-11-16 diff --git a/api_docs/saved_objects_management.mdx b/api_docs/saved_objects_management.mdx index d76d82bfcf322..ad6026b97423c 100644 --- a/api_docs/saved_objects_management.mdx +++ b/api_docs/saved_objects_management.mdx @@ -1,7 +1,7 @@ --- id: kibSavedObjectsManagementPluginApi -slug: /kibana-dev-docs/savedObjectsManagementPluginApi -title: savedObjectsManagement +slug: /kibana-dev-docs/api/savedObjectsManagement +title: "savedObjectsManagement" image: https://source.unsplash.com/400x175/?github summary: API docs for the savedObjectsManagement plugin date: 2020-11-16 diff --git a/api_docs/saved_objects_tagging.mdx b/api_docs/saved_objects_tagging.mdx index c3484ec108118..bef36ddde8ba6 100644 --- a/api_docs/saved_objects_tagging.mdx +++ b/api_docs/saved_objects_tagging.mdx @@ -1,7 +1,7 @@ --- id: kibSavedObjectsTaggingPluginApi -slug: /kibana-dev-docs/savedObjectsTaggingPluginApi -title: savedObjectsTagging +slug: /kibana-dev-docs/api/savedObjectsTagging +title: "savedObjectsTagging" image: https://source.unsplash.com/400x175/?github summary: API docs for the savedObjectsTagging plugin date: 2020-11-16 diff --git a/api_docs/saved_objects_tagging_oss.mdx b/api_docs/saved_objects_tagging_oss.mdx index 75c8e78c56515..206d6ad01a49e 100644 --- a/api_docs/saved_objects_tagging_oss.mdx +++ b/api_docs/saved_objects_tagging_oss.mdx @@ -1,7 +1,7 @@ --- id: kibSavedObjectsTaggingOssPluginApi -slug: /kibana-dev-docs/savedObjectsTaggingOssPluginApi -title: savedObjectsTaggingOss +slug: /kibana-dev-docs/api/savedObjectsTaggingOss +title: "savedObjectsTaggingOss" image: https://source.unsplash.com/400x175/?github summary: API docs for the savedObjectsTaggingOss plugin date: 2020-11-16 diff --git a/api_docs/screenshot_mode.mdx b/api_docs/screenshot_mode.mdx index d9af2146ec3d2..593d145d81e53 100644 --- a/api_docs/screenshot_mode.mdx +++ b/api_docs/screenshot_mode.mdx @@ -1,7 +1,7 @@ --- id: kibScreenshotModePluginApi -slug: /kibana-dev-docs/screenshotModePluginApi -title: screenshotMode +slug: /kibana-dev-docs/api/screenshotMode +title: "screenshotMode" image: https://source.unsplash.com/400x175/?github summary: API docs for the screenshotMode plugin date: 2020-11-16 diff --git a/api_docs/security.json b/api_docs/security.json index 5a88090ecf980..06f04abc2bb26 100644 --- a/api_docs/security.json +++ b/api_docs/security.json @@ -737,7 +737,7 @@ "tags": [], "label": "AuditEvent", "description": [ - "\nAudit event schema using ECS format: https://www.elastic.co/guide/en/ecs/1.9/index.html\n\nIf you add additional fields to the schema ensure you update the Kibana Filebeat module:\nhttps://github.com/elastic/beats/tree/master/filebeat/module/kibana\n" + "\nAudit event schema using ECS format: https://www.elastic.co/guide/en/ecs/1.12/index.html\n\nIf you add additional fields to the schema ensure you update the Kibana Filebeat module:\nhttps://github.com/elastic/beats/tree/master/filebeat/module/kibana\n" ], "signature": [ { @@ -748,7 +748,13 @@ "text": "AuditEvent" }, " extends ", - "LogMeta" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.LogMeta", + "text": "LogMeta" + } ], "path": "x-pack/plugins/security/server/audit/audit_events.ts", "deprecated": false, @@ -1769,6 +1775,21 @@ ], "path": "x-pack/plugins/security/server/plugin.ts", "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-server.SecurityPluginSetup.privilegeDeprecationsService", + "type": "Object", + "tags": [], + "label": "privilegeDeprecationsService", + "description": [ + "\nExposes services to access kibana roles per feature id with the GetDeprecationsContext" + ], + "signature": [ + "PrivilegeDeprecationsService" + ], + "path": "x-pack/plugins/security/server/plugin.ts", + "deprecated": false } ], "lifecycle": "setup", diff --git a/api_docs/security.mdx b/api_docs/security.mdx index 21371c328cc0a..7c5a336fed7e7 100644 --- a/api_docs/security.mdx +++ b/api_docs/security.mdx @@ -1,7 +1,7 @@ --- id: kibSecurityPluginApi -slug: /kibana-dev-docs/securityPluginApi -title: security +slug: /kibana-dev-docs/api/security +title: "security" image: https://source.unsplash.com/400x175/?github summary: API docs for the security plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Platform Security](https://github.com/orgs/elastic/teams/kibana-securit | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 112 | 0 | 51 | 6 | +| 113 | 0 | 51 | 7 | ## Client diff --git a/api_docs/security_solution.json b/api_docs/security_solution.json index b7c66f78f0e06..821fa9bb98ec3 100644 --- a/api_docs/security_solution.json +++ b/api_docs/security_solution.json @@ -2942,7 +2942,9 @@ "text": "ColumnHeaderType" }, "; description?: string | undefined; example?: string | undefined; format?: string | undefined; linkField?: string | undefined; placeholder?: string | undefined; subType?: ", - "IFieldSubType", + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional", " | undefined; type?: string | undefined; }" ], "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx", @@ -7719,18 +7721,194 @@ }, { "parentPluginId": "securitySolution", - "id": "def-common.HostsRiskyHostsStrategyResponse", + "id": "def-common.HostsRiskScore", "type": "Interface", "tags": [], - "label": "HostsRiskyHostsStrategyResponse", + "label": "HostsRiskScore", + "description": [], + "path": "x-pack/plugins/security_solution/common/search_strategy/security_solution/hosts/risk_score/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "securitySolution", + "id": "def-common.HostsRiskScore.host", + "type": "Object", + "tags": [], + "label": "host", + "description": [], + "signature": [ + "{ name: string; }" + ], + "path": "x-pack/plugins/security_solution/common/search_strategy/security_solution/hosts/risk_score/index.ts", + "deprecated": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.HostsRiskScore.risk_score", + "type": "number", + "tags": [], + "label": "risk_score", + "description": [], + "path": "x-pack/plugins/security_solution/common/search_strategy/security_solution/hosts/risk_score/index.ts", + "deprecated": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.HostsRiskScore.risk", + "type": "string", + "tags": [], + "label": "risk", + "description": [], + "path": "x-pack/plugins/security_solution/common/search_strategy/security_solution/hosts/risk_score/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.HostsRiskScoreRequestOptions", + "type": "Interface", + "tags": [], + "label": "HostsRiskScoreRequestOptions", + "description": [], + "signature": [ + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.HostsRiskScoreRequestOptions", + "text": "HostsRiskScoreRequestOptions" + }, + " extends ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IEsSearchRequest", + "text": "IEsSearchRequest" + } + ], + "path": "x-pack/plugins/security_solution/common/search_strategy/security_solution/hosts/risk_score/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "securitySolution", + "id": "def-common.HostsRiskScoreRequestOptions.defaultIndex", + "type": "Array", + "tags": [], + "label": "defaultIndex", + "description": [], + "signature": [ + "string[]" + ], + "path": "x-pack/plugins/security_solution/common/search_strategy/security_solution/hosts/risk_score/index.ts", + "deprecated": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.HostsRiskScoreRequestOptions.factoryQueryType", + "type": "CompoundType", + "tags": [], + "label": "factoryQueryType", + "description": [], + "signature": [ + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.HostsQueries", + "text": "HostsQueries" + }, + " | ", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.HostsKpiQueries", + "text": "HostsKpiQueries" + }, + " | ", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.UebaQueries", + "text": "UebaQueries" + }, + " | ", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.NetworkQueries", + "text": "NetworkQueries" + }, + " | ", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.NetworkKpiQueries", + "text": "NetworkKpiQueries" + }, + " | ", + "CtiQueries", + " | \"matrixHistogram\" | \"matrixHistogramEntities\" | undefined" + ], + "path": "x-pack/plugins/security_solution/common/search_strategy/security_solution/hosts/risk_score/index.ts", + "deprecated": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.HostsRiskScoreRequestOptions.hostName", + "type": "string", + "tags": [], + "label": "hostName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "x-pack/plugins/security_solution/common/search_strategy/security_solution/hosts/risk_score/index.ts", + "deprecated": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.HostsRiskScoreRequestOptions.timerange", + "type": "Object", + "tags": [], + "label": "timerange", + "description": [], + "signature": [ + { + "pluginId": "timelines", + "scope": "common", + "docId": "kibTimelinesPluginApi", + "section": "def-common.TimerangeInput", + "text": "TimerangeInput" + }, + " | undefined" + ], + "path": "x-pack/plugins/security_solution/common/search_strategy/security_solution/hosts/risk_score/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.HostsRiskScoreStrategyResponse", + "type": "Interface", + "tags": [], + "label": "HostsRiskScoreStrategyResponse", "description": [], "signature": [ { "pluginId": "securitySolution", "scope": "common", "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.HostsRiskyHostsStrategyResponse", - "text": "HostsRiskyHostsStrategyResponse" + "section": "def-common.HostsRiskScoreStrategyResponse", + "text": "HostsRiskScoreStrategyResponse" }, " extends ", { @@ -7742,12 +7920,12 @@ }, "" ], - "path": "x-pack/plugins/security_solution/common/search_strategy/security_solution/hosts/risky_hosts/index.ts", + "path": "x-pack/plugins/security_solution/common/search_strategy/security_solution/hosts/risk_score/index.ts", "deprecated": false, "children": [ { "parentPluginId": "securitySolution", - "id": "def-common.HostsRiskyHostsStrategyResponse.inspect", + "id": "def-common.HostsRiskScoreStrategyResponse.inspect", "type": "CompoundType", "tags": [], "label": "inspect", @@ -7762,7 +7940,7 @@ }, " | null | undefined" ], - "path": "x-pack/plugins/security_solution/common/search_strategy/security_solution/hosts/risky_hosts/index.ts", + "path": "x-pack/plugins/security_solution/common/search_strategy/security_solution/hosts/risk_score/index.ts", "deprecated": false } ], @@ -8931,12 +9109,14 @@ { "parentPluginId": "securitySolution", "id": "def-common.IndexField.subType", - "type": "Object", + "type": "CompoundType", "tags": [], "label": "subType", "description": [], "signature": [ - "IFieldSubType", + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional", " | undefined" ], "path": "x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts", @@ -14017,7 +14197,13 @@ "description": [], "signature": [ "string | ", - "JsonObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + }, " | ", "ESRangeQuery", " | ", @@ -15715,7 +15901,13 @@ "label": "authFilter", "description": [], "signature": [ - "JsonObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + }, " | undefined" ], "path": "x-pack/plugins/timelines/common/search_strategy/timeline/events/all/index.ts", @@ -15972,7 +16164,13 @@ "label": "authFilter", "description": [], "signature": [ - "JsonObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + }, " | undefined" ], "path": "x-pack/plugins/timelines/common/search_strategy/timeline/events/details/index.ts", @@ -16809,7 +17007,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "x-pack/plugins/security_solution/common/types/timeline/store.ts", @@ -17052,7 +17256,13 @@ "description": [], "signature": [ "string | ", - "JsonObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + }, " | ", "ESRangeQuery", " | ", @@ -19221,7 +19431,9 @@ "text": "ColumnHeaderType" }, "; description?: string | undefined; example?: string | undefined; format?: string | undefined; linkField?: string | undefined; placeholder?: string | undefined; subType?: ", - "IFieldSubType", + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional", " | undefined; type?: string | undefined; }" ], "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx", @@ -19784,26 +19996,6 @@ "deprecated": false, "initialIsOpen": false }, - { - "parentPluginId": "securitySolution", - "id": "def-common.HostsRiskyHostsRequestOptions", - "type": "Type", - "tags": [], - "label": "HostsRiskyHostsRequestOptions", - "description": [], - "signature": [ - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.RequestBasicOptions", - "text": "RequestBasicOptions" - } - ], - "path": "x-pack/plugins/security_solution/common/search_strategy/security_solution/hosts/risky_hosts/index.ts", - "deprecated": false, - "initialIsOpen": false - }, { "parentPluginId": "securitySolution", "id": "def-common.HostTacticsSortField", @@ -20836,6 +21028,52 @@ "deprecated": false, "initialIsOpen": false }, + { + "parentPluginId": "securitySolution", + "id": "def-common.ResolvedTimelineWithOutcomeSavedObject", + "type": "Type", + "tags": [], + "label": "ResolvedTimelineWithOutcomeSavedObject", + "description": [], + "signature": [ + "{ timeline: { columns?: { aggregatable?: boolean | null | undefined; category?: string | null | undefined; columnHeaderType?: string | null | undefined; description?: string | null | undefined; example?: string | null | undefined; indexes?: string[] | null | undefined; id?: string | null | undefined; name?: string | null | undefined; placeholder?: string | null | undefined; searchable?: boolean | null | undefined; type?: string | null | undefined; }[] | null | undefined; dataProviders?: { id?: string | null | undefined; name?: string | null | undefined; enabled?: boolean | null | undefined; excluded?: boolean | null | undefined; kqlQuery?: string | null | undefined; queryMatch?: { field?: string | null | undefined; displayField?: string | null | undefined; value?: string | null | undefined; displayValue?: string | null | undefined; operator?: string | null | undefined; } | null | undefined; and?: { id?: string | null | undefined; name?: string | null | undefined; enabled?: boolean | null | undefined; excluded?: boolean | null | undefined; kqlQuery?: string | null | undefined; queryMatch?: { field?: string | null | undefined; displayField?: string | null | undefined; value?: string | null | undefined; displayValue?: string | null | undefined; operator?: string | null | undefined; } | null | undefined; }[] | null | undefined; type?: ", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.DataProviderType", + "text": "DataProviderType" + }, + " | null | undefined; }[] | null | undefined; description?: string | null | undefined; eqlOptions?: { eventCategoryField?: string | null | undefined; query?: string | null | undefined; tiebreakerField?: string | null | undefined; timestampField?: string | null | undefined; size?: string | number | null | undefined; } | null | undefined; eventType?: string | null | undefined; excludedRowRendererIds?: ", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.RowRendererId", + "text": "RowRendererId" + }, + "[] | null | undefined; favorite?: { keySearch?: string | null | undefined; favoriteDate?: number | null | undefined; fullName?: string | null | undefined; userName?: string | null | undefined; }[] | null | undefined; filters?: { exists?: string | null | undefined; meta?: { alias?: string | null | undefined; controlledBy?: string | null | undefined; disabled?: boolean | null | undefined; field?: string | null | undefined; formattedValue?: string | null | undefined; index?: string | null | undefined; key?: string | null | undefined; negate?: boolean | null | undefined; params?: string | null | undefined; type?: string | null | undefined; value?: string | null | undefined; } | null | undefined; match_all?: string | null | undefined; missing?: string | null | undefined; query?: string | null | undefined; range?: string | null | undefined; script?: string | null | undefined; }[] | null | undefined; indexNames?: string[] | null | undefined; kqlMode?: string | null | undefined; kqlQuery?: { filterQuery?: { kuery?: { kind?: string | null | undefined; expression?: string | null | undefined; } | null | undefined; serializedQuery?: string | null | undefined; } | null | undefined; } | null | undefined; title?: string | null | undefined; templateTimelineId?: string | null | undefined; templateTimelineVersion?: number | null | undefined; timelineType?: ", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineType", + "text": "TimelineType" + }, + " | null | undefined; dateRange?: { start?: string | number | null | undefined; end?: string | number | null | undefined; } | null | undefined; savedQueryId?: string | null | undefined; sort?: { columnId?: string | null | undefined; columnType?: string | null | undefined; sortDirection?: string | null | undefined; } | { columnId?: string | null | undefined; columnType?: string | null | undefined; sortDirection?: string | null | undefined; }[] | null | undefined; status?: ", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineStatus", + "text": "TimelineStatus" + }, + " | null | undefined; created?: number | null | undefined; createdBy?: string | null | undefined; updated?: number | null | undefined; updatedBy?: string | null | undefined; } & { savedObjectId: string; version: string; } & { eventIdToNoteIds?: ({ timelineId: string | null; } & { eventId?: string | null | undefined; note?: string | null | undefined; created?: number | null | undefined; createdBy?: string | null | undefined; updated?: number | null | undefined; updatedBy?: string | null | undefined; } & { noteId: string; version: string; } & { timelineVersion?: string | null | undefined; })[] | undefined; noteIds?: string[] | undefined; notes?: ({ timelineId: string | null; } & { eventId?: string | null | undefined; note?: string | null | undefined; created?: number | null | undefined; createdBy?: string | null | undefined; updated?: number | null | undefined; updatedBy?: string | null | undefined; } & { noteId: string; version: string; } & { timelineVersion?: string | null | undefined; })[] | undefined; pinnedEventIds?: string[] | undefined; pinnedEventsSaveObject?: ({ pinnedEventId: string; version: string; } & { timelineId: string; eventId: string; } & { created?: number | null | undefined; createdBy?: string | null | undefined; updated?: number | null | undefined; updatedBy?: string | null | undefined; } & { timelineVersion?: string | null | undefined; })[] | undefined; }; outcome: \"conflict\" | \"exactMatch\" | \"aliasMatch\"; } & { alias_target_id?: string | undefined; }" + ], + "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "securitySolution", "id": "def-common.ResponseFavoriteTimeline", @@ -21142,13 +21380,13 @@ }, { "parentPluginId": "securitySolution", - "id": "def-common.SingleTimelineResponse", + "id": "def-common.SingleTimelineResolveResponse", "type": "Type", "tags": [], - "label": "SingleTimelineResponse", + "label": "SingleTimelineResolveResponse", "description": [], "signature": [ - "{ data: { getOneTimeline: { columns?: { aggregatable?: boolean | null | undefined; category?: string | null | undefined; columnHeaderType?: string | null | undefined; description?: string | null | undefined; example?: string | null | undefined; indexes?: string[] | null | undefined; id?: string | null | undefined; name?: string | null | undefined; placeholder?: string | null | undefined; searchable?: boolean | null | undefined; type?: string | null | undefined; }[] | null | undefined; dataProviders?: { id?: string | null | undefined; name?: string | null | undefined; enabled?: boolean | null | undefined; excluded?: boolean | null | undefined; kqlQuery?: string | null | undefined; queryMatch?: { field?: string | null | undefined; displayField?: string | null | undefined; value?: string | null | undefined; displayValue?: string | null | undefined; operator?: string | null | undefined; } | null | undefined; and?: { id?: string | null | undefined; name?: string | null | undefined; enabled?: boolean | null | undefined; excluded?: boolean | null | undefined; kqlQuery?: string | null | undefined; queryMatch?: { field?: string | null | undefined; displayField?: string | null | undefined; value?: string | null | undefined; displayValue?: string | null | undefined; operator?: string | null | undefined; } | null | undefined; }[] | null | undefined; type?: ", + "{ data: { timeline: { columns?: { aggregatable?: boolean | null | undefined; category?: string | null | undefined; columnHeaderType?: string | null | undefined; description?: string | null | undefined; example?: string | null | undefined; indexes?: string[] | null | undefined; id?: string | null | undefined; name?: string | null | undefined; placeholder?: string | null | undefined; searchable?: boolean | null | undefined; type?: string | null | undefined; }[] | null | undefined; dataProviders?: { id?: string | null | undefined; name?: string | null | undefined; enabled?: boolean | null | undefined; excluded?: boolean | null | undefined; kqlQuery?: string | null | undefined; queryMatch?: { field?: string | null | undefined; displayField?: string | null | undefined; value?: string | null | undefined; displayValue?: string | null | undefined; operator?: string | null | undefined; } | null | undefined; and?: { id?: string | null | undefined; name?: string | null | undefined; enabled?: boolean | null | undefined; excluded?: boolean | null | undefined; kqlQuery?: string | null | undefined; queryMatch?: { field?: string | null | undefined; displayField?: string | null | undefined; value?: string | null | undefined; displayValue?: string | null | undefined; operator?: string | null | undefined; } | null | undefined; }[] | null | undefined; type?: ", { "pluginId": "securitySolution", "scope": "common", @@ -21180,21 +21418,7 @@ "section": "def-common.TimelineStatus", "text": "TimelineStatus" }, - " | null | undefined; created?: number | null | undefined; createdBy?: string | null | undefined; updated?: number | null | undefined; updatedBy?: string | null | undefined; } & { savedObjectId: string; version: string; } & { eventIdToNoteIds?: ({ timelineId: string | null; } & { eventId?: string | null | undefined; note?: string | null | undefined; created?: number | null | undefined; createdBy?: string | null | undefined; updated?: number | null | undefined; updatedBy?: string | null | undefined; } & { noteId: string; version: string; } & { timelineVersion?: string | null | undefined; })[] | undefined; noteIds?: string[] | undefined; notes?: ({ timelineId: string | null; } & { eventId?: string | null | undefined; note?: string | null | undefined; created?: number | null | undefined; createdBy?: string | null | undefined; updated?: number | null | undefined; updatedBy?: string | null | undefined; } & { noteId: string; version: string; } & { timelineVersion?: string | null | undefined; })[] | undefined; pinnedEventIds?: string[] | undefined; pinnedEventsSaveObject?: ({ pinnedEventId: string; version: string; } & { timelineId: string; eventId: string; } & { created?: number | null | undefined; createdBy?: string | null | undefined; updated?: number | null | undefined; updatedBy?: string | null | undefined; } & { timelineVersion?: string | null | undefined; })[] | undefined; }; }; }" - ], - "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "securitySolution", - "id": "def-common.Sort", - "type": "Type", - "tags": [], - "label": "Sort", - "description": [], - "signature": [ - "{ columnId?: string | null | undefined; columnType?: string | null | undefined; sortDirection?: string | null | undefined; } | { columnId?: string | null | undefined; columnType?: string | null | undefined; sortDirection?: string | null | undefined; }[]" + " | null | undefined; created?: number | null | undefined; createdBy?: string | null | undefined; updated?: number | null | undefined; updatedBy?: string | null | undefined; } & { savedObjectId: string; version: string; } & { eventIdToNoteIds?: ({ timelineId: string | null; } & { eventId?: string | null | undefined; note?: string | null | undefined; created?: number | null | undefined; createdBy?: string | null | undefined; updated?: number | null | undefined; updatedBy?: string | null | undefined; } & { noteId: string; version: string; } & { timelineVersion?: string | null | undefined; })[] | undefined; noteIds?: string[] | undefined; notes?: ({ timelineId: string | null; } & { eventId?: string | null | undefined; note?: string | null | undefined; created?: number | null | undefined; createdBy?: string | null | undefined; updated?: number | null | undefined; updatedBy?: string | null | undefined; } & { noteId: string; version: string; } & { timelineVersion?: string | null | undefined; })[] | undefined; pinnedEventIds?: string[] | undefined; pinnedEventsSaveObject?: ({ pinnedEventId: string; version: string; } & { timelineId: string; eventId: string; } & { created?: number | null | undefined; createdBy?: string | null | undefined; updated?: number | null | undefined; updatedBy?: string | null | undefined; } & { timelineVersion?: string | null | undefined; })[] | undefined; }; outcome: \"conflict\" | \"exactMatch\" | \"aliasMatch\"; } & { alias_target_id?: string | undefined; }; }" ], "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", "deprecated": false, @@ -21202,15 +21426,75 @@ }, { "parentPluginId": "securitySolution", - "id": "def-common.SortDirection", + "id": "def-common.SingleTimelineResponse", "type": "Type", "tags": [], - "label": "SortDirection", + "label": "SingleTimelineResponse", "description": [], "signature": [ - "\"none\" | \"asc\" | \"desc\" | ", + "{ data: { getOneTimeline: { columns?: { aggregatable?: boolean | null | undefined; category?: string | null | undefined; columnHeaderType?: string | null | undefined; description?: string | null | undefined; example?: string | null | undefined; indexes?: string[] | null | undefined; id?: string | null | undefined; name?: string | null | undefined; placeholder?: string | null | undefined; searchable?: boolean | null | undefined; type?: string | null | undefined; }[] | null | undefined; dataProviders?: { id?: string | null | undefined; name?: string | null | undefined; enabled?: boolean | null | undefined; excluded?: boolean | null | undefined; kqlQuery?: string | null | undefined; queryMatch?: { field?: string | null | undefined; displayField?: string | null | undefined; value?: string | null | undefined; displayValue?: string | null | undefined; operator?: string | null | undefined; } | null | undefined; and?: { id?: string | null | undefined; name?: string | null | undefined; enabled?: boolean | null | undefined; excluded?: boolean | null | undefined; kqlQuery?: string | null | undefined; queryMatch?: { field?: string | null | undefined; displayField?: string | null | undefined; value?: string | null | undefined; displayValue?: string | null | undefined; operator?: string | null | undefined; } | null | undefined; }[] | null | undefined; type?: ", { - "pluginId": "timelines", + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.DataProviderType", + "text": "DataProviderType" + }, + " | null | undefined; }[] | null | undefined; description?: string | null | undefined; eqlOptions?: { eventCategoryField?: string | null | undefined; query?: string | null | undefined; tiebreakerField?: string | null | undefined; timestampField?: string | null | undefined; size?: string | number | null | undefined; } | null | undefined; eventType?: string | null | undefined; excludedRowRendererIds?: ", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.RowRendererId", + "text": "RowRendererId" + }, + "[] | null | undefined; favorite?: { keySearch?: string | null | undefined; favoriteDate?: number | null | undefined; fullName?: string | null | undefined; userName?: string | null | undefined; }[] | null | undefined; filters?: { exists?: string | null | undefined; meta?: { alias?: string | null | undefined; controlledBy?: string | null | undefined; disabled?: boolean | null | undefined; field?: string | null | undefined; formattedValue?: string | null | undefined; index?: string | null | undefined; key?: string | null | undefined; negate?: boolean | null | undefined; params?: string | null | undefined; type?: string | null | undefined; value?: string | null | undefined; } | null | undefined; match_all?: string | null | undefined; missing?: string | null | undefined; query?: string | null | undefined; range?: string | null | undefined; script?: string | null | undefined; }[] | null | undefined; indexNames?: string[] | null | undefined; kqlMode?: string | null | undefined; kqlQuery?: { filterQuery?: { kuery?: { kind?: string | null | undefined; expression?: string | null | undefined; } | null | undefined; serializedQuery?: string | null | undefined; } | null | undefined; } | null | undefined; title?: string | null | undefined; templateTimelineId?: string | null | undefined; templateTimelineVersion?: number | null | undefined; timelineType?: ", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineType", + "text": "TimelineType" + }, + " | null | undefined; dateRange?: { start?: string | number | null | undefined; end?: string | number | null | undefined; } | null | undefined; savedQueryId?: string | null | undefined; sort?: { columnId?: string | null | undefined; columnType?: string | null | undefined; sortDirection?: string | null | undefined; } | { columnId?: string | null | undefined; columnType?: string | null | undefined; sortDirection?: string | null | undefined; }[] | null | undefined; status?: ", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineStatus", + "text": "TimelineStatus" + }, + " | null | undefined; created?: number | null | undefined; createdBy?: string | null | undefined; updated?: number | null | undefined; updatedBy?: string | null | undefined; } & { savedObjectId: string; version: string; } & { eventIdToNoteIds?: ({ timelineId: string | null; } & { eventId?: string | null | undefined; note?: string | null | undefined; created?: number | null | undefined; createdBy?: string | null | undefined; updated?: number | null | undefined; updatedBy?: string | null | undefined; } & { noteId: string; version: string; } & { timelineVersion?: string | null | undefined; })[] | undefined; noteIds?: string[] | undefined; notes?: ({ timelineId: string | null; } & { eventId?: string | null | undefined; note?: string | null | undefined; created?: number | null | undefined; createdBy?: string | null | undefined; updated?: number | null | undefined; updatedBy?: string | null | undefined; } & { noteId: string; version: string; } & { timelineVersion?: string | null | undefined; })[] | undefined; pinnedEventIds?: string[] | undefined; pinnedEventsSaveObject?: ({ pinnedEventId: string; version: string; } & { timelineId: string; eventId: string; } & { created?: number | null | undefined; createdBy?: string | null | undefined; updated?: number | null | undefined; updatedBy?: string | null | undefined; } & { timelineVersion?: string | null | undefined; })[] | undefined; }; }; }" + ], + "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.Sort", + "type": "Type", + "tags": [], + "label": "Sort", + "description": [], + "signature": [ + "{ columnId?: string | null | undefined; columnType?: string | null | undefined; sortDirection?: string | null | undefined; } | { columnId?: string | null | undefined; columnType?: string | null | undefined; sortDirection?: string | null | undefined; }[]" + ], + "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.SortDirection", + "type": "Type", + "tags": [], + "label": "SortDirection", + "description": [], + "signature": [ + "\"none\" | \"asc\" | \"desc\" | ", + { + "pluginId": "timelines", "scope": "common", "docId": "kibTimelinesPluginApi", "section": "def-common.Direction", @@ -21253,13 +21537,13 @@ "section": "def-common.HostsQueries", "text": "HostsQueries" }, - ".riskyHosts ? ", + ".hostsRiskScore ? ", { "pluginId": "securitySolution", "scope": "common", "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.RequestBasicOptions", - "text": "RequestBasicOptions" + "section": "def-common.HostsRiskScoreRequestOptions", + "text": "HostsRiskScoreRequestOptions" }, " : T extends ", { @@ -21743,13 +22027,13 @@ "section": "def-common.HostsQueries", "text": "HostsQueries" }, - ".riskyHosts ? ", + ".hostsRiskScore ? ", { "pluginId": "securitySolution", "scope": "common", "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.HostsRiskyHostsStrategyResponse", - "text": "HostsRiskyHostsStrategyResponse" + "section": "def-common.HostsRiskScoreStrategyResponse", + "text": "HostsRiskScoreStrategyResponse" }, " : T extends ", { @@ -25224,130 +25508,20 @@ }, { "parentPluginId": "securitySolution", - "id": "def-common.responseFavoriteTimeline", + "id": "def-common.ResolvedSingleTimelineResponseType", "type": "Object", "tags": [], - "label": "responseFavoriteTimeline", + "label": "ResolvedSingleTimelineResponseType", "description": [], "signature": [ - "PartialC", - "<{ savedObjectId: ", - "StringC", - "; version: ", - "StringC", - "; code: ", - "UnionC", - "<[", - "NumberC", - ", ", - "NullC", - "]>; message: ", - "UnionC", - "<[", - "StringC", - ", ", - "NullC", - "]>; templateTimelineId: ", - "UnionC", - "<[", - "StringC", - ", ", - "NullC", - "]>; templateTimelineVersion: ", - "UnionC", - "<[", - "NumberC", - ", ", - "NullC", - "]>; timelineType: ", - "UnionC", - "<[", - "UnionC", - "<[", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.TimelineType", - "text": "TimelineType" - }, - ".template>, ", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.TimelineType", - "text": "TimelineType" - }, - ".default>]>, ", - "NullC", - "]>; favorite: ", - "UnionC", - "<[", - "ArrayC", - "<", - "PartialC", - "<{ fullName: ", - "UnionC", - "<[", - "StringC", - ", ", - "NullC", - "]>; userName: ", - "UnionC", + "TypeC", + "<{ data: ", + "IntersectionC", "<[", - "StringC", - ", ", - "NullC", - "]>; favoriteDate: ", - "UnionC", + "TypeC", + "<{ timeline: ", + "IntersectionC", "<[", - "NumberC", - ", ", - "NullC", - "]>; }>>, ", - "NullC", - "]>; }>" - ], - "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "securitySolution", - "id": "def-common.RowRendererIdRuntimeType", - "type": "Object", - "tags": [], - "label": "RowRendererIdRuntimeType", - "description": [], - "signature": [ - "Type", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.RowRendererId", - "text": "RowRendererId" - }, - ", string, unknown>" - ], - "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "securitySolution", - "id": "def-common.SavedTimelineRuntimeType", - "type": "Object", - "tags": [], - "label": "SavedTimelineRuntimeType", - "description": [], - "signature": [ "PartialC", "<{ columns: ", "UnionC", @@ -26049,92 +26223,306 @@ "StringC", ", ", "NullC", - "]>; }>" - ], - "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "securitySolution", - "id": "def-common.SingleTimelineResponseType", - "type": "Object", - "tags": [], - "label": "SingleTimelineResponseType", - "description": [], - "signature": [ - "TypeC", - "<{ data: ", + "]>; }>, ", "TypeC", - "<{ getOneTimeline: ", - "IntersectionC", - "<[", + "<{ savedObjectId: ", + "StringC", + "; version: ", + "StringC", + "; }>, ", "PartialC", - "<{ columns: ", - "UnionC", - "<[", + "<{ eventIdToNoteIds: ", "ArrayC", "<", - "PartialC", - "<{ aggregatable: ", - "UnionC", + "IntersectionC", "<[", - "BooleanC", - ", ", - "NullC", - "]>; category: ", - "UnionC", + "IntersectionC", "<[", - "StringC", - ", ", - "NullC", - "]>; columnHeaderType: ", + "TypeC", + "<{ timelineId: ", "UnionC", "<[", "StringC", ", ", "NullC", - "]>; description: ", + "]>; }>, ", + "PartialC", + "<{ eventId: ", "UnionC", "<[", "StringC", ", ", "NullC", - "]>; example: ", + "]>; note: ", "UnionC", "<[", "StringC", ", ", "NullC", - "]>; indexes: ", + "]>; created: ", "UnionC", "<[", - "ArrayC", - "<", - "StringC", - ">, ", + "NumberC", + ", ", "NullC", - "]>; id: ", + "]>; createdBy: ", "UnionC", "<[", "StringC", ", ", "NullC", - "]>; name: ", + "]>; updated: ", "UnionC", "<[", - "StringC", + "NumberC", ", ", "NullC", - "]>; placeholder: ", + "]>; updatedBy: ", "UnionC", "<[", "StringC", ", ", "NullC", - "]>; searchable: ", - "UnionC", - "<[", + "]>; }>]>, ", + "TypeC", + "<{ noteId: ", + "StringC", + "; version: ", + "StringC", + "; }>, ", + "PartialC", + "<{ timelineVersion: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>>; noteIds: ", + "ArrayC", + "<", + "StringC", + ">; notes: ", + "ArrayC", + "<", + "IntersectionC", + "<[", + "IntersectionC", + "<[", + "TypeC", + "<{ timelineId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>, ", + "PartialC", + "<{ eventId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; note: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; created: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; createdBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; updated: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; updatedBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>, ", + "TypeC", + "<{ noteId: ", + "StringC", + "; version: ", + "StringC", + "; }>, ", + "PartialC", + "<{ timelineVersion: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>>; pinnedEventIds: ", + "ArrayC", + "<", + "StringC", + ">; pinnedEventsSaveObject: ", + "ArrayC", + "<", + "IntersectionC", + "<[", + "TypeC", + "<{ pinnedEventId: ", + "StringC", + "; version: ", + "StringC", + "; }>, ", + "IntersectionC", + "<[", + "TypeC", + "<{ timelineId: ", + "StringC", + "; eventId: ", + "StringC", + "; }>, ", + "PartialC", + "<{ created: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; createdBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; updated: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; updatedBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>, ", + "PartialC", + "<{ timelineVersion: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>>; }>]>; outcome: ", + "UnionC", + "<[", + "LiteralC", + "<\"exactMatch\">, ", + "LiteralC", + "<\"aliasMatch\">, ", + "LiteralC", + "<\"conflict\">]>; }>, ", + "PartialC", + "<{ alias_target_id: ", + "StringC", + "; }>]>; }>" + ], + "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.ResolvedTimelineSavedObjectToReturnObjectRuntimeType", + "type": "Object", + "tags": [], + "label": "ResolvedTimelineSavedObjectToReturnObjectRuntimeType", + "description": [ + "Resolved Timeline Response" + ], + "signature": [ + "IntersectionC", + "<[", + "TypeC", + "<{ timeline: ", + "IntersectionC", + "<[", + "PartialC", + "<{ columns: ", + "UnionC", + "<[", + "ArrayC", + "<", + "PartialC", + "<{ aggregatable: ", + "UnionC", + "<[", + "BooleanC", + ", ", + "NullC", + "]>; category: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; columnHeaderType: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; description: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; example: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; indexes: ", + "UnionC", + "<[", + "ArrayC", + "<", + "StringC", + ">, ", + "NullC", + "]>; id: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; name: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; placeholder: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; searchable: ", + "UnionC", + "<[", "BooleanC", ", ", "NullC", @@ -26970,7 +27358,19 @@ "StringC", ", ", "NullC", - "]>; }>]>>; }>]>; }>; }>" + "]>; }>]>>; }>]>; outcome: ", + "UnionC", + "<[", + "LiteralC", + "<\"exactMatch\">, ", + "LiteralC", + "<\"aliasMatch\">, ", + "LiteralC", + "<\"conflict\">]>; }>, ", + "PartialC", + "<{ alias_target_id: ", + "StringC", + "; }>]>" ], "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", "deprecated": false, @@ -26978,69 +27378,44 @@ }, { "parentPluginId": "securitySolution", - "id": "def-common.sortFieldTimeline", + "id": "def-common.responseFavoriteTimeline", "type": "Object", "tags": [], - "label": "sortFieldTimeline", + "label": "responseFavoriteTimeline", "description": [], "signature": [ + "PartialC", + "<{ savedObjectId: ", + "StringC", + "; version: ", + "StringC", + "; code: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; message: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; templateTimelineId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; templateTimelineVersion: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; timelineType: ", "UnionC", "<[", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.SortFieldTimeline", - "text": "SortFieldTimeline" - }, - ".title>, ", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.SortFieldTimeline", - "text": "SortFieldTimeline" - }, - ".description>, ", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.SortFieldTimeline", - "text": "SortFieldTimeline" - }, - ".updated>, ", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.SortFieldTimeline", - "text": "SortFieldTimeline" - }, - ".created>]>" - ], - "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "securitySolution", - "id": "def-common.sortTimeline", - "type": "Object", - "tags": [], - "label": "sortTimeline", - "description": [], - "signature": [ - "TypeC", - "<{ sortField: ", "UnionC", "<[", "LiteralC", @@ -27049,62 +27424,48 @@ "pluginId": "securitySolution", "scope": "common", "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.SortFieldTimeline", - "text": "SortFieldTimeline" - }, - ".title>, ", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.SortFieldTimeline", - "text": "SortFieldTimeline" - }, - ".description>, ", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.SortFieldTimeline", - "text": "SortFieldTimeline" + "section": "def-common.TimelineType", + "text": "TimelineType" }, - ".updated>, ", + ".template>, ", "LiteralC", "<", { "pluginId": "securitySolution", "scope": "common", "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.SortFieldTimeline", - "text": "SortFieldTimeline" + "section": "def-common.TimelineType", + "text": "TimelineType" }, - ".created>]>; sortOrder: ", + ".default>]>, ", + "NullC", + "]>; favorite: ", "UnionC", "<[", - "LiteralC", - "<", - { - "pluginId": "timelines", - "scope": "common", - "docId": "kibTimelinesPluginApi", - "section": "def-common.Direction", - "text": "Direction" - }, - ".asc>, ", - "LiteralC", + "ArrayC", "<", - { - "pluginId": "timelines", - "scope": "common", - "docId": "kibTimelinesPluginApi", - "section": "def-common.Direction", - "text": "Direction" - }, - ".desc>]>; }>" + "PartialC", + "<{ fullName: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; userName: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; favoriteDate: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; }>>, ", + "NullC", + "]>; }>" ], "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", "deprecated": false, @@ -27112,34 +27473,22 @@ }, { "parentPluginId": "securitySolution", - "id": "def-common.TemplateTimelineTypeLiteralRt", + "id": "def-common.RowRendererIdRuntimeType", "type": "Object", "tags": [], - "label": "TemplateTimelineTypeLiteralRt", + "label": "RowRendererIdRuntimeType", "description": [], "signature": [ - "UnionC", - "<[", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.TemplateTimelineType", - "text": "TemplateTimelineType" - }, - ".elastic>, ", - "LiteralC", + "Type", "<", { "pluginId": "securitySolution", "scope": "common", "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.TemplateTimelineType", - "text": "TemplateTimelineType" + "section": "def-common.RowRendererId", + "text": "RowRendererId" }, - ".custom>]>" + ", string, unknown>" ], "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", "deprecated": false, @@ -27147,211 +27496,32 @@ }, { "parentPluginId": "securitySolution", - "id": "def-common.TemplateTimelineTypeLiteralWithNullRt", + "id": "def-common.SavedTimelineRuntimeType", "type": "Object", "tags": [], - "label": "TemplateTimelineTypeLiteralWithNullRt", + "label": "SavedTimelineRuntimeType", "description": [], "signature": [ + "PartialC", + "<{ columns: ", "UnionC", "<[", + "ArrayC", + "<", + "PartialC", + "<{ aggregatable: ", "UnionC", "<[", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.TemplateTimelineType", - "text": "TemplateTimelineType" - }, - ".elastic>, ", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.TemplateTimelineType", - "text": "TemplateTimelineType" - }, - ".custom>]>, ", + "BooleanC", + ", ", "NullC", - "]>" - ], - "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "securitySolution", - "id": "def-common.TimelineErrorResponseType", - "type": "Object", - "tags": [], - "label": "TimelineErrorResponseType", - "description": [], - "signature": [ - "TypeC", - "<{ status_code: ", - "NumberC", - "; message: ", + "]>; category: ", + "UnionC", + "<[", "StringC", - "; }>" - ], - "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "securitySolution", - "id": "def-common.TimelineIdLiteralRt", - "type": "Object", - "tags": [], - "label": "TimelineIdLiteralRt", - "description": [], - "signature": [ - "UnionC", - "<[", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.TimelineId", - "text": "TimelineId" - }, - ".hostsPageEvents>, ", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.TimelineId", - "text": "TimelineId" - }, - ".hostsPageExternalAlerts>, ", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.TimelineId", - "text": "TimelineId" - }, - ".detectionsRulesDetailsPage>, ", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.TimelineId", - "text": "TimelineId" - }, - ".detectionsPage>, ", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.TimelineId", - "text": "TimelineId" - }, - ".networkPageExternalAlerts>, ", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.TimelineId", - "text": "TimelineId" - }, - ".uebaPageExternalAlerts>, ", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.TimelineId", - "text": "TimelineId" - }, - ".active>, ", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.TimelineId", - "text": "TimelineId" - }, - ".test>]>" - ], - "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "securitySolution", - "id": "def-common.TimelineResponseType", - "type": "Object", - "tags": [], - "label": "TimelineResponseType", - "description": [ - "\nAll Timeline Saved object type with metadata" - ], - "signature": [ - "TypeC", - "<{ data: ", - "TypeC", - "<{ persistTimeline: ", - "IntersectionC", - "<[", - "PartialC", - "<{ code: ", - "UnionC", - "<[", - "NumberC", - ", ", - "NullC", - "]>; message: ", - "UnionC", - "<[", - "StringC", - ", ", - "NullC", - "]>; }>, ", - "TypeC", - "<{ timeline: ", - "IntersectionC", - "<[", - "PartialC", - "<{ columns: ", - "UnionC", - "<[", - "ArrayC", - "<", - "PartialC", - "<{ aggregatable: ", - "UnionC", - "<[", - "BooleanC", - ", ", - "NullC", - "]>; category: ", - "UnionC", - "<[", - "StringC", - ", ", - "NullC", - "]>; columnHeaderType: ", + ", ", + "NullC", + "]>; columnHeaderType: ", "UnionC", "<[", "StringC", @@ -28033,228 +28203,1289 @@ "StringC", ", ", "NullC", - "]>; }>, ", + "]>; }>" + ], + "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.SingleTimelineResponseType", + "type": "Object", + "tags": [], + "label": "SingleTimelineResponseType", + "description": [], + "signature": [ "TypeC", - "<{ savedObjectId: ", - "StringC", - "; version: ", - "StringC", - "; }>, ", + "<{ data: ", + "TypeC", + "<{ getOneTimeline: ", + "IntersectionC", + "<[", "PartialC", - "<{ eventIdToNoteIds: ", + "<{ columns: ", + "UnionC", + "<[", "ArrayC", "<", - "IntersectionC", - "<[", - "IntersectionC", + "PartialC", + "<{ aggregatable: ", + "UnionC", "<[", - "TypeC", - "<{ timelineId: ", + "BooleanC", + ", ", + "NullC", + "]>; category: ", "UnionC", "<[", "StringC", ", ", "NullC", - "]>; }>, ", - "PartialC", - "<{ eventId: ", + "]>; columnHeaderType: ", "UnionC", "<[", "StringC", ", ", "NullC", - "]>; note: ", + "]>; description: ", "UnionC", "<[", "StringC", ", ", "NullC", - "]>; created: ", + "]>; example: ", "UnionC", "<[", - "NumberC", + "StringC", ", ", "NullC", - "]>; createdBy: ", + "]>; indexes: ", "UnionC", "<[", + "ArrayC", + "<", "StringC", - ", ", + ">, ", "NullC", - "]>; updated: ", + "]>; id: ", "UnionC", "<[", - "NumberC", + "StringC", ", ", "NullC", - "]>; updatedBy: ", + "]>; name: ", "UnionC", "<[", "StringC", ", ", "NullC", - "]>; }>]>, ", - "TypeC", - "<{ noteId: ", - "StringC", - "; version: ", - "StringC", - "; }>, ", - "PartialC", - "<{ timelineVersion: ", + "]>; placeholder: ", "UnionC", "<[", "StringC", ", ", "NullC", - "]>; }>]>>; noteIds: ", - "ArrayC", - "<", - "StringC", - ">; notes: ", - "ArrayC", - "<", - "IntersectionC", - "<[", - "IntersectionC", + "]>; searchable: ", + "UnionC", "<[", - "TypeC", - "<{ timelineId: ", + "BooleanC", + ", ", + "NullC", + "]>; type: ", "UnionC", "<[", "StringC", ", ", "NullC", - "]>; }>, ", + "]>; }>>, ", + "NullC", + "]>; dataProviders: ", + "UnionC", + "<[", + "ArrayC", + "<", "PartialC", - "<{ eventId: ", + "<{ id: ", "UnionC", "<[", "StringC", ", ", "NullC", - "]>; note: ", + "]>; name: ", "UnionC", "<[", "StringC", ", ", "NullC", - "]>; created: ", + "]>; enabled: ", "UnionC", "<[", - "NumberC", + "BooleanC", ", ", "NullC", - "]>; createdBy: ", + "]>; excluded: ", "UnionC", "<[", - "StringC", + "BooleanC", ", ", "NullC", - "]>; updated: ", + "]>; kqlQuery: ", "UnionC", "<[", - "NumberC", + "StringC", ", ", "NullC", - "]>; updatedBy: ", + "]>; queryMatch: ", + "UnionC", + "<[", + "PartialC", + "<{ field: ", "UnionC", "<[", "StringC", ", ", "NullC", - "]>; }>]>, ", - "TypeC", - "<{ noteId: ", + "]>; displayField: ", + "UnionC", + "<[", "StringC", - "; version: ", + ", ", + "NullC", + "]>; value: ", + "UnionC", + "<[", "StringC", - "; }>, ", + ", ", + "NullC", + "]>; displayValue: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; operator: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>, ", + "NullC", + "]>; and: ", + "UnionC", + "<[", + "ArrayC", + "<", "PartialC", - "<{ timelineVersion: ", + "<{ id: ", "UnionC", "<[", "StringC", ", ", "NullC", - "]>; }>]>>; pinnedEventIds: ", + "]>; name: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; enabled: ", + "UnionC", + "<[", + "BooleanC", + ", ", + "NullC", + "]>; excluded: ", + "UnionC", + "<[", + "BooleanC", + ", ", + "NullC", + "]>; kqlQuery: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; queryMatch: ", + "UnionC", + "<[", + "PartialC", + "<{ field: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; displayField: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; value: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; displayValue: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; operator: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>, ", + "NullC", + "]>; }>>, ", + "NullC", + "]>; type: ", + "UnionC", + "<[", + "UnionC", + "<[", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.DataProviderType", + "text": "DataProviderType" + }, + ".default>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.DataProviderType", + "text": "DataProviderType" + }, + ".template>]>, ", + "NullC", + "]>; }>>, ", + "NullC", + "]>; description: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; eqlOptions: ", + "UnionC", + "<[", + "PartialC", + "<{ eventCategoryField: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; query: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; tiebreakerField: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; timestampField: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; size: ", + "UnionC", + "<[", + "UnionC", + "<[", + "StringC", + ", ", + "NumberC", + "]>, ", + "NullC", + "]>; }>, ", + "NullC", + "]>; eventType: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; excludedRowRendererIds: ", + "UnionC", + "<[", + "ArrayC", + "<", + "Type", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.RowRendererId", + "text": "RowRendererId" + }, + ", string, unknown>>, ", + "NullC", + "]>; favorite: ", + "UnionC", + "<[", "ArrayC", "<", + "PartialC", + "<{ keySearch: ", + "UnionC", + "<[", "StringC", - ">; pinnedEventsSaveObject: ", + ", ", + "NullC", + "]>; favoriteDate: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; fullName: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; userName: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>>, ", + "NullC", + "]>; filters: ", + "UnionC", + "<[", "ArrayC", "<", - "IntersectionC", + "PartialC", + "<{ exists: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; meta: ", + "UnionC", + "<[", + "PartialC", + "<{ alias: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; controlledBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; disabled: ", + "UnionC", + "<[", + "BooleanC", + ", ", + "NullC", + "]>; field: ", + "UnionC", "<[", + "StringC", + ", ", + "NullC", + "]>; formattedValue: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; index: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; key: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; negate: ", + "UnionC", + "<[", + "BooleanC", + ", ", + "NullC", + "]>; params: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; type: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; value: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>, ", + "NullC", + "]>; match_all: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; missing: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; query: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; range: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; script: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>>, ", + "NullC", + "]>; indexNames: ", + "UnionC", + "<[", + "ArrayC", + "<", + "StringC", + ">, ", + "NullC", + "]>; kqlMode: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; kqlQuery: ", + "UnionC", + "<[", + "PartialC", + "<{ filterQuery: ", + "UnionC", + "<[", + "PartialC", + "<{ kuery: ", + "UnionC", + "<[", + "PartialC", + "<{ kind: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; expression: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>, ", + "NullC", + "]>; serializedQuery: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>, ", + "NullC", + "]>; }>, ", + "NullC", + "]>; title: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; templateTimelineId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; templateTimelineVersion: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; timelineType: ", + "UnionC", + "<[", + "UnionC", + "<[", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineType", + "text": "TimelineType" + }, + ".template>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineType", + "text": "TimelineType" + }, + ".default>]>, ", + "NullC", + "]>; dateRange: ", + "UnionC", + "<[", + "PartialC", + "<{ start: ", + "UnionC", + "<[", + "UnionC", + "<[", + "StringC", + ", ", + "NumberC", + "]>, ", + "NullC", + "]>; end: ", + "UnionC", + "<[", + "UnionC", + "<[", + "StringC", + ", ", + "NumberC", + "]>, ", + "NullC", + "]>; }>, ", + "NullC", + "]>; savedQueryId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; sort: ", + "UnionC", + "<[", + "UnionC", + "<[", + "ArrayC", + "<", + "PartialC", + "<{ columnId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; columnType: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; sortDirection: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>>, ", + "PartialC", + "<{ columnId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; columnType: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; sortDirection: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>, ", + "NullC", + "]>; status: ", + "UnionC", + "<[", + "UnionC", + "<[", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineStatus", + "text": "TimelineStatus" + }, + ".active>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineStatus", + "text": "TimelineStatus" + }, + ".draft>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineStatus", + "text": "TimelineStatus" + }, + ".immutable>]>, ", + "NullC", + "]>; created: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; createdBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; updated: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; updatedBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>, ", + "TypeC", + "<{ savedObjectId: ", + "StringC", + "; version: ", + "StringC", + "; }>, ", + "PartialC", + "<{ eventIdToNoteIds: ", + "ArrayC", + "<", + "IntersectionC", + "<[", + "IntersectionC", + "<[", + "TypeC", + "<{ timelineId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>, ", + "PartialC", + "<{ eventId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; note: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; created: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; createdBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; updated: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; updatedBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>, ", + "TypeC", + "<{ noteId: ", + "StringC", + "; version: ", + "StringC", + "; }>, ", + "PartialC", + "<{ timelineVersion: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>>; noteIds: ", + "ArrayC", + "<", + "StringC", + ">; notes: ", + "ArrayC", + "<", + "IntersectionC", + "<[", + "IntersectionC", + "<[", + "TypeC", + "<{ timelineId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>, ", + "PartialC", + "<{ eventId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; note: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; created: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; createdBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; updated: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; updatedBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>, ", + "TypeC", + "<{ noteId: ", + "StringC", + "; version: ", + "StringC", + "; }>, ", + "PartialC", + "<{ timelineVersion: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>>; pinnedEventIds: ", + "ArrayC", + "<", + "StringC", + ">; pinnedEventsSaveObject: ", + "ArrayC", + "<", + "IntersectionC", + "<[", + "TypeC", + "<{ pinnedEventId: ", + "StringC", + "; version: ", + "StringC", + "; }>, ", + "IntersectionC", + "<[", + "TypeC", + "<{ timelineId: ", + "StringC", + "; eventId: ", + "StringC", + "; }>, ", + "PartialC", + "<{ created: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; createdBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; updated: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; updatedBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>, ", + "PartialC", + "<{ timelineVersion: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>>; }>]>; }>; }>" + ], + "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.sortFieldTimeline", + "type": "Object", + "tags": [], + "label": "sortFieldTimeline", + "description": [], + "signature": [ + "UnionC", + "<[", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.SortFieldTimeline", + "text": "SortFieldTimeline" + }, + ".title>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.SortFieldTimeline", + "text": "SortFieldTimeline" + }, + ".description>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.SortFieldTimeline", + "text": "SortFieldTimeline" + }, + ".updated>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.SortFieldTimeline", + "text": "SortFieldTimeline" + }, + ".created>]>" + ], + "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.sortTimeline", + "type": "Object", + "tags": [], + "label": "sortTimeline", + "description": [], + "signature": [ + "TypeC", + "<{ sortField: ", + "UnionC", + "<[", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.SortFieldTimeline", + "text": "SortFieldTimeline" + }, + ".title>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.SortFieldTimeline", + "text": "SortFieldTimeline" + }, + ".description>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.SortFieldTimeline", + "text": "SortFieldTimeline" + }, + ".updated>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.SortFieldTimeline", + "text": "SortFieldTimeline" + }, + ".created>]>; sortOrder: ", + "UnionC", + "<[", + "LiteralC", + "<", + { + "pluginId": "timelines", + "scope": "common", + "docId": "kibTimelinesPluginApi", + "section": "def-common.Direction", + "text": "Direction" + }, + ".asc>, ", + "LiteralC", + "<", + { + "pluginId": "timelines", + "scope": "common", + "docId": "kibTimelinesPluginApi", + "section": "def-common.Direction", + "text": "Direction" + }, + ".desc>]>; }>" + ], + "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.TemplateTimelineTypeLiteralRt", + "type": "Object", + "tags": [], + "label": "TemplateTimelineTypeLiteralRt", + "description": [], + "signature": [ + "UnionC", + "<[", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TemplateTimelineType", + "text": "TemplateTimelineType" + }, + ".elastic>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TemplateTimelineType", + "text": "TemplateTimelineType" + }, + ".custom>]>" + ], + "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.TemplateTimelineTypeLiteralWithNullRt", + "type": "Object", + "tags": [], + "label": "TemplateTimelineTypeLiteralWithNullRt", + "description": [], + "signature": [ + "UnionC", + "<[", + "UnionC", + "<[", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TemplateTimelineType", + "text": "TemplateTimelineType" + }, + ".elastic>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TemplateTimelineType", + "text": "TemplateTimelineType" + }, + ".custom>]>, ", + "NullC", + "]>" + ], + "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.TimelineErrorResponseType", + "type": "Object", + "tags": [], + "label": "TimelineErrorResponseType", + "description": [], + "signature": [ + "TypeC", + "<{ status_code: ", + "NumberC", + "; message: ", + "StringC", + "; }>" + ], + "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.TimelineIdLiteralRt", + "type": "Object", + "tags": [], + "label": "TimelineIdLiteralRt", + "description": [], + "signature": [ + "UnionC", + "<[", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineId", + "text": "TimelineId" + }, + ".hostsPageEvents>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineId", + "text": "TimelineId" + }, + ".hostsPageExternalAlerts>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineId", + "text": "TimelineId" + }, + ".detectionsRulesDetailsPage>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineId", + "text": "TimelineId" + }, + ".detectionsPage>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineId", + "text": "TimelineId" + }, + ".networkPageExternalAlerts>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineId", + "text": "TimelineId" + }, + ".uebaPageExternalAlerts>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineId", + "text": "TimelineId" + }, + ".active>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineId", + "text": "TimelineId" + }, + ".test>]>" + ], + "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.TimelineResponseType", + "type": "Object", + "tags": [], + "label": "TimelineResponseType", + "description": [ + "\nAll Timeline Saved object type with metadata" + ], + "signature": [ "TypeC", - "<{ pinnedEventId: ", - "StringC", - "; version: ", - "StringC", - "; }>, ", + "<{ data: ", + "TypeC", + "<{ persistTimeline: ", "IntersectionC", "<[", - "TypeC", - "<{ timelineId: ", - "StringC", - "; eventId: ", - "StringC", - "; }>, ", "PartialC", - "<{ created: ", - "UnionC", - "<[", - "NumberC", - ", ", - "NullC", - "]>; createdBy: ", - "UnionC", - "<[", - "StringC", - ", ", - "NullC", - "]>; updated: ", + "<{ code: ", "UnionC", "<[", "NumberC", ", ", "NullC", - "]>; updatedBy: ", - "UnionC", - "<[", - "StringC", - ", ", - "NullC", - "]>; }>]>, ", - "PartialC", - "<{ timelineVersion: ", + "]>; message: ", "UnionC", "<[", "StringC", ", ", "NullC", - "]>; }>]>>; }>]>; }>]>; }>; }>" - ], - "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "securitySolution", - "id": "def-common.TimelineSavedObjectRuntimeType", - "type": "Object", - "tags": [], - "label": "TimelineSavedObjectRuntimeType", - "description": [ - "\nTimeline Saved object type with metadata" - ], - "signature": [ + "]>; }>, ", + "TypeC", + "<{ timeline: ", "IntersectionC", "<[", - "TypeC", - "<{ id: ", - "StringC", - "; attributes: ", "PartialC", "<{ columns: ", "UnionC", @@ -28956,13 +30187,207 @@ "StringC", ", ", "NullC", - "]>; }>; version: ", + "]>; }>, ", + "TypeC", + "<{ savedObjectId: ", + "StringC", + "; version: ", "StringC", "; }>, ", "PartialC", - "<{ savedObjectId: ", + "<{ eventIdToNoteIds: ", + "ArrayC", + "<", + "IntersectionC", + "<[", + "IntersectionC", + "<[", + "TypeC", + "<{ timelineId: ", + "UnionC", + "<[", "StringC", - "; }>]>" + ", ", + "NullC", + "]>; }>, ", + "PartialC", + "<{ eventId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; note: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; created: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; createdBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; updated: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; updatedBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>, ", + "TypeC", + "<{ noteId: ", + "StringC", + "; version: ", + "StringC", + "; }>, ", + "PartialC", + "<{ timelineVersion: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>>; noteIds: ", + "ArrayC", + "<", + "StringC", + ">; notes: ", + "ArrayC", + "<", + "IntersectionC", + "<[", + "IntersectionC", + "<[", + "TypeC", + "<{ timelineId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>, ", + "PartialC", + "<{ eventId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; note: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; created: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; createdBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; updated: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; updatedBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>, ", + "TypeC", + "<{ noteId: ", + "StringC", + "; version: ", + "StringC", + "; }>, ", + "PartialC", + "<{ timelineVersion: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>>; pinnedEventIds: ", + "ArrayC", + "<", + "StringC", + ">; pinnedEventsSaveObject: ", + "ArrayC", + "<", + "IntersectionC", + "<[", + "TypeC", + "<{ pinnedEventId: ", + "StringC", + "; version: ", + "StringC", + "; }>, ", + "IntersectionC", + "<[", + "TypeC", + "<{ timelineId: ", + "StringC", + "; eventId: ", + "StringC", + "; }>, ", + "PartialC", + "<{ created: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; createdBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; updated: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; updatedBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>, ", + "PartialC", + "<{ timelineVersion: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>>; }>]>; }>]>; }>; }>" ], "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", "deprecated": false, diff --git a/api_docs/security_solution.mdx b/api_docs/security_solution.mdx index ba8a31b900684..3ff1efc0bce56 100644 --- a/api_docs/security_solution.mdx +++ b/api_docs/security_solution.mdx @@ -1,7 +1,7 @@ --- id: kibSecuritySolutionPluginApi -slug: /kibana-dev-docs/securitySolutionPluginApi -title: securitySolution +slug: /kibana-dev-docs/api/securitySolution +title: "securitySolution" image: https://source.unsplash.com/400x175/?github summary: API docs for the securitySolution plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Security solution](https://github.com/orgs/elastic/teams/security-solut | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 1350 | 8 | 1296 | 29 | +| 1361 | 8 | 1307 | 29 | ## Client diff --git a/api_docs/share.json b/api_docs/share.json index 7258e5c169bc4..4b4874a3feb73 100644 --- a/api_docs/share.json +++ b/api_docs/share.json @@ -362,7 +362,13 @@ "description": [], "signature": [ "

(locator: ", { "pluginId": "share", @@ -1907,8 +1913,22 @@ "; navigate(options: ", "RedirectOptions", "<", - "SerializableRecord", - ">): void; }" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, + ">): void; setAnonymousAccessServiceProvider: (provider: () => ", + { + "pluginId": "share", + "scope": "common", + "docId": "kibSharePluginApi", + "section": "def-common.AnonymousAccessServiceContract", + "text": "AnonymousAccessServiceContract" + }, + ") => void; }" ], "path": "src/plugins/share/public/plugin.ts", "deprecated": false, @@ -1938,7 +1958,13 @@ "; navigate(options: ", "RedirectOptions", "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">): void; }" ], "path": "src/plugins/share/public/plugin.ts", @@ -2058,7 +2084,13 @@ "(opts: ", "RedirectOptions", "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">, { lzCompress }: ", "FormatSearchParamsOptions", ") => URLSearchParams" @@ -2076,7 +2108,13 @@ "signature": [ "RedirectOptions", "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/share/common/url_service/locators/redirect/format_search_params.ts", @@ -2110,7 +2148,13 @@ "description": [], "signature": [ "

(locator: ", { "pluginId": "share", @@ -2196,6 +2240,107 @@ } ], "interfaces": [ + { + "parentPluginId": "share", + "id": "def-common.AnonymousAccessServiceContract", + "type": "Interface", + "tags": [], + "label": "AnonymousAccessServiceContract", + "description": [ + "\nThe contract that is used to check anonymous access for the purposes of sharing public links. The implementation is intended to be\nprovided by the security plugin." + ], + "path": "src/plugins/share/common/anonymous_access/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "share", + "id": "def-common.AnonymousAccessServiceContract.getState", + "type": "Function", + "tags": [], + "label": "getState", + "description": [ + "\nThis function returns the current state of anonymous access." + ], + "signature": [ + "() => Promise<", + { + "pluginId": "share", + "scope": "common", + "docId": "kibSharePluginApi", + "section": "def-common.AnonymousAccessState", + "text": "AnonymousAccessState" + }, + ">" + ], + "path": "src/plugins/share/common/anonymous_access/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "share", + "id": "def-common.AnonymousAccessServiceContract.getCapabilities", + "type": "Function", + "tags": [], + "label": "getCapabilities", + "description": [ + "\nThis function returns the capabilities of the anonymous access user." + ], + "signature": [ + "() => Promise<", + "Capabilities", + ">" + ], + "path": "src/plugins/share/common/anonymous_access/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "share", + "id": "def-common.AnonymousAccessState", + "type": "Interface", + "tags": [], + "label": "AnonymousAccessState", + "description": [ + "\nThe state of anonymous access." + ], + "path": "src/plugins/share/common/anonymous_access/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "share", + "id": "def-common.AnonymousAccessState.isEnabled", + "type": "boolean", + "tags": [], + "label": "isEnabled", + "description": [ + "\nWhether anonymous access is enabled or not." + ], + "path": "src/plugins/share/common/anonymous_access/types.ts", + "deprecated": false + }, + { + "parentPluginId": "share", + "id": "def-common.AnonymousAccessState.accessURLParameters", + "type": "CompoundType", + "tags": [], + "label": "accessURLParameters", + "description": [ + "\nIf anonymous access is enabled, this reflects what URL parameters need to be added to a Kibana link to make it publicly accessible.\nNote that if anonymous access is the only authentication method, this will be null." + ], + "signature": [ + "Record | null" + ], + "path": "src/plugins/share/common/anonymous_access/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "share", "id": "def-common.LocatorDefinition", diff --git a/api_docs/share.mdx b/api_docs/share.mdx index 30329f244d340..61c0e26f24470 100644 --- a/api_docs/share.mdx +++ b/api_docs/share.mdx @@ -1,7 +1,7 @@ --- id: kibSharePluginApi -slug: /kibana-dev-docs/sharePluginApi -title: share +slug: /kibana-dev-docs/api/share +title: "share" image: https://source.unsplash.com/400x175/?github summary: API docs for the share plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 137 | 1 | 90 | 10 | +| 143 | 1 | 90 | 10 | ## Client diff --git a/api_docs/snapshot_restore.mdx b/api_docs/snapshot_restore.mdx index ba3bae054440c..8d8e7fc210009 100644 --- a/api_docs/snapshot_restore.mdx +++ b/api_docs/snapshot_restore.mdx @@ -1,7 +1,7 @@ --- id: kibSnapshotRestorePluginApi -slug: /kibana-dev-docs/snapshotRestorePluginApi -title: snapshotRestore +slug: /kibana-dev-docs/api/snapshotRestore +title: "snapshotRestore" image: https://source.unsplash.com/400x175/?github summary: API docs for the snapshotRestore plugin date: 2020-11-16 diff --git a/api_docs/spaces.json b/api_docs/spaces.json index 4ec738fc62625..b391ca6ea0dbb 100644 --- a/api_docs/spaces.json +++ b/api_docs/spaces.json @@ -295,6 +295,45 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "spaces", + "id": "def-public.EmbeddableLegacyUrlConflictProps", + "type": "Interface", + "tags": [], + "label": "EmbeddableLegacyUrlConflictProps", + "description": [ + "\nProperties for the EmbeddableLegacyUrlConflict component." + ], + "path": "x-pack/plugins/spaces/public/legacy_urls/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "spaces", + "id": "def-public.EmbeddableLegacyUrlConflictProps.targetType", + "type": "string", + "tags": [], + "label": "targetType", + "description": [ + "\nThe target type of the legacy URL alias." + ], + "path": "x-pack/plugins/spaces/public/legacy_urls/types.ts", + "deprecated": false + }, + { + "parentPluginId": "spaces", + "id": "def-public.EmbeddableLegacyUrlConflictProps.sourceId", + "type": "string", + "tags": [], + "label": "sourceId", + "description": [ + "\nThe source ID of the legacy URL alias." + ], + "path": "x-pack/plugins/spaces/public/legacy_urls/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "spaces", "id": "def-public.GetSpaceResult", @@ -359,7 +398,7 @@ "description": [ "\nProperties for the LegacyUrlConflict component." ], - "path": "x-pack/plugins/spaces/public/share_saved_objects_to_space/types.ts", + "path": "x-pack/plugins/spaces/public/legacy_urls/types.ts", "deprecated": false, "children": [ { @@ -374,7 +413,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/spaces/public/share_saved_objects_to_space/types.ts", + "path": "x-pack/plugins/spaces/public/legacy_urls/types.ts", "deprecated": false }, { @@ -386,7 +425,7 @@ "description": [ "\nThe ID of the object that is currently shown on the page." ], - "path": "x-pack/plugins/spaces/public/share_saved_objects_to_space/types.ts", + "path": "x-pack/plugins/spaces/public/legacy_urls/types.ts", "deprecated": false }, { @@ -398,7 +437,7 @@ "description": [ "\nThe ID of the other object that the legacy URL alias points to." ], - "path": "x-pack/plugins/spaces/public/share_saved_objects_to_space/types.ts", + "path": "x-pack/plugins/spaces/public/legacy_urls/types.ts", "deprecated": false }, { @@ -408,9 +447,9 @@ "tags": [], "label": "otherObjectPath", "description": [ - "\nThe path to use for the new URL, optionally including `search` and/or `hash` URL components." + "\n The path within your application to use for the new URL, optionally including `search` and/or `hash` URL components. Do not include\n `/app/my-app` or the current base path." ], - "path": "x-pack/plugins/spaces/public/share_saved_objects_to_space/types.ts", + "path": "x-pack/plugins/spaces/public/legacy_urls/types.ts", "deprecated": false } ], @@ -1303,6 +1342,45 @@ } ] }, + { + "parentPluginId": "spaces", + "id": "def-public.SpacesApiUiComponent.getEmbeddableLegacyUrlConflict", + "type": "Function", + "tags": [], + "label": "getEmbeddableLegacyUrlConflict", + "description": [ + "\nDisplays a callout that needs to be used if an embeddable component call to `SavedObjectsClient.resolve()` results in an `\"conflict\"`\noutcome, which indicates that the user has loaded an embeddable which is associated directly with one object (A), *and* with a legacy\nURL that points to a different object (B)." + ], + "signature": [ + "(props: ", + { + "pluginId": "spaces", + "scope": "public", + "docId": "kibSpacesPluginApi", + "section": "def-public.EmbeddableLegacyUrlConflictProps", + "text": "EmbeddableLegacyUrlConflictProps" + }, + ") => React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>" + ], + "path": "x-pack/plugins/spaces/public/ui_api/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "spaces", + "id": "def-public.SpacesApiUiComponent.getEmbeddableLegacyUrlConflict.$1", + "type": "Uncategorized", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "T" + ], + "path": "x-pack/plugins/spaces/public/ui_api/types.ts", + "deprecated": false + } + ] + }, { "parentPluginId": "spaces", "id": "def-public.SpacesApiUiComponent.getLegacyUrlConflict", diff --git a/api_docs/spaces.mdx b/api_docs/spaces.mdx index 84d4f9a25360f..9f4bf1d79346a 100644 --- a/api_docs/spaces.mdx +++ b/api_docs/spaces.mdx @@ -1,7 +1,7 @@ --- id: kibSpacesPluginApi -slug: /kibana-dev-docs/spacesPluginApi -title: spaces +slug: /kibana-dev-docs/api/spaces +title: "spaces" image: https://source.unsplash.com/400x175/?github summary: API docs for the spaces plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Platform Security](https://github.com/orgs/elastic/teams/kibana-securit | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 203 | 0 | 20 | 1 | +| 208 | 0 | 21 | 1 | ## Client diff --git a/api_docs/stack_alerts.json b/api_docs/stack_alerts.json index 2bb589a0801d4..1e76bbdcd7b95 100644 --- a/api_docs/stack_alerts.json +++ b/api_docs/stack_alerts.json @@ -75,9 +75,21 @@ "label": "configSchema", "description": [], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ enabled: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; }>" ], "path": "x-pack/plugins/stack_alerts/common/config.ts", diff --git a/api_docs/stack_alerts.mdx b/api_docs/stack_alerts.mdx index 151a55e1fa99f..c993ebc1bc37d 100644 --- a/api_docs/stack_alerts.mdx +++ b/api_docs/stack_alerts.mdx @@ -1,7 +1,7 @@ --- id: kibStackAlertsPluginApi -slug: /kibana-dev-docs/stackAlertsPluginApi -title: stackAlerts +slug: /kibana-dev-docs/api/stackAlerts +title: "stackAlerts" image: https://source.unsplash.com/400x175/?github summary: API docs for the stackAlerts plugin date: 2020-11-16 diff --git a/api_docs/task_manager.mdx b/api_docs/task_manager.mdx index 5ab7b60f8b2d0..2d1d8d0ea9c59 100644 --- a/api_docs/task_manager.mdx +++ b/api_docs/task_manager.mdx @@ -1,7 +1,7 @@ --- id: kibTaskManagerPluginApi -slug: /kibana-dev-docs/taskManagerPluginApi -title: taskManager +slug: /kibana-dev-docs/api/taskManager +title: "taskManager" image: https://source.unsplash.com/400x175/?github summary: API docs for the taskManager plugin date: 2020-11-16 diff --git a/api_docs/telemetry.mdx b/api_docs/telemetry.mdx index b7b7c1179891d..7a8ecc815a938 100644 --- a/api_docs/telemetry.mdx +++ b/api_docs/telemetry.mdx @@ -1,7 +1,7 @@ --- id: kibTelemetryPluginApi -slug: /kibana-dev-docs/telemetryPluginApi -title: telemetry +slug: /kibana-dev-docs/api/telemetry +title: "telemetry" image: https://source.unsplash.com/400x175/?github summary: API docs for the telemetry plugin date: 2020-11-16 diff --git a/api_docs/telemetry_collection_manager.json b/api_docs/telemetry_collection_manager.json index 237f1cc697691..39189b20705ae 100644 --- a/api_docs/telemetry_collection_manager.json +++ b/api_docs/telemetry_collection_manager.json @@ -465,7 +465,13 @@ "label": "logger", "description": [], "signature": [ - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, " | Console" ], "path": "src/plugins/telemetry_collection_manager/server/types.ts", diff --git a/api_docs/telemetry_collection_manager.mdx b/api_docs/telemetry_collection_manager.mdx index 9a42e2c1d1342..bd586fe9fd12d 100644 --- a/api_docs/telemetry_collection_manager.mdx +++ b/api_docs/telemetry_collection_manager.mdx @@ -1,7 +1,7 @@ --- id: kibTelemetryCollectionManagerPluginApi -slug: /kibana-dev-docs/telemetryCollectionManagerPluginApi -title: telemetryCollectionManager +slug: /kibana-dev-docs/api/telemetryCollectionManager +title: "telemetryCollectionManager" image: https://source.unsplash.com/400x175/?github summary: API docs for the telemetryCollectionManager plugin date: 2020-11-16 diff --git a/api_docs/telemetry_collection_xpack.mdx b/api_docs/telemetry_collection_xpack.mdx index f1c8e4503dd36..31554b7a78a46 100644 --- a/api_docs/telemetry_collection_xpack.mdx +++ b/api_docs/telemetry_collection_xpack.mdx @@ -1,7 +1,7 @@ --- id: kibTelemetryCollectionXpackPluginApi -slug: /kibana-dev-docs/telemetryCollectionXpackPluginApi -title: telemetryCollectionXpack +slug: /kibana-dev-docs/api/telemetryCollectionXpack +title: "telemetryCollectionXpack" image: https://source.unsplash.com/400x175/?github summary: API docs for the telemetryCollectionXpack plugin date: 2020-11-16 diff --git a/api_docs/telemetry_management_section.mdx b/api_docs/telemetry_management_section.mdx index 6929aaf47f75d..d30e107f313a4 100644 --- a/api_docs/telemetry_management_section.mdx +++ b/api_docs/telemetry_management_section.mdx @@ -1,7 +1,7 @@ --- id: kibTelemetryManagementSectionPluginApi -slug: /kibana-dev-docs/telemetryManagementSectionPluginApi -title: telemetryManagementSection +slug: /kibana-dev-docs/api/telemetryManagementSection +title: "telemetryManagementSection" image: https://source.unsplash.com/400x175/?github summary: API docs for the telemetryManagementSection plugin date: 2020-11-16 diff --git a/api_docs/timelines.json b/api_docs/timelines.json index 3df35d3b8ac28..2d7e2bb04f9d2 100644 --- a/api_docs/timelines.json +++ b/api_docs/timelines.json @@ -1657,9 +1657,17 @@ "text": "ColumnHeaderType" }, "; description?: string | undefined; example?: string | undefined; format?: string | undefined; linkField?: string | undefined; placeholder?: string | undefined; subType?: ", - "IFieldSubType", + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional", " | undefined; type?: string | undefined; })[]; id: string; title: string; filters?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined; sort: ", { "pluginId": "timelines", @@ -1697,7 +1705,9 @@ "text": "ColumnHeaderType" }, "; description?: string | undefined; example?: string | undefined; format?: string | undefined; linkField?: string | undefined; placeholder?: string | undefined; subType?: ", - "IFieldSubType", + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional", " | undefined; type?: string | undefined; })[]; savedObjectId: string | null; unit?: ((n: number) => React.ReactNode) | undefined; dataProviders: ", { "pluginId": "timelines", @@ -6135,7 +6145,9 @@ "text": "ColumnHeaderType" }, "; description?: string | undefined; example?: string | undefined; format?: string | undefined; linkField?: string | undefined; placeholder?: string | undefined; subType?: ", - "IFieldSubType", + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional", " | undefined; type?: string | undefined; }" ], "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx", @@ -8394,12 +8406,14 @@ { "parentPluginId": "timelines", "id": "def-common.IndexField.subType", - "type": "Object", + "type": "CompoundType", "tags": [], "label": "subType", "description": [], "signature": [ - "IFieldSubType", + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional", " | undefined" ], "path": "x-pack/plugins/timelines/common/search_strategy/index_fields/index.ts", @@ -10157,7 +10171,13 @@ "label": "authFilter", "description": [], "signature": [ - "JsonObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + }, " | undefined" ], "path": "x-pack/plugins/timelines/common/search_strategy/timeline/events/all/index.ts", @@ -10414,7 +10434,13 @@ "label": "authFilter", "description": [], "signature": [ - "JsonObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + }, " | undefined" ], "path": "x-pack/plugins/timelines/common/search_strategy/timeline/events/details/index.ts", @@ -11251,7 +11277,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "x-pack/plugins/timelines/common/types/timeline/store.ts", @@ -11467,7 +11499,13 @@ "description": [], "signature": [ "string | ", - "JsonObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + }, " | ", "ESRangeQuery", " | ", @@ -12662,7 +12700,9 @@ "text": "ColumnHeaderType" }, "; description?: string | undefined; example?: string | undefined; format?: string | undefined; linkField?: string | undefined; placeholder?: string | undefined; subType?: ", - "IFieldSubType", + "IFieldSubTypeMultiOptional", + " | ", + "IFieldSubTypeNestedOptional", " | undefined; type?: string | undefined; }" ], "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx", @@ -13548,7 +13588,13 @@ "description": [], "signature": [ "(status: ", - "STATUS_VALUES", + { + "pluginId": "@kbn/rule-data-utils", + "scope": "server", + "docId": "kibKbnRuleDataUtilsPluginApi", + "section": "def-server.STATUS_VALUES", + "text": "STATUS_VALUES" + }, ", error: Error) => void" ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", @@ -13593,7 +13639,13 @@ "description": [], "signature": [ "(updated: number, conflicts: number, status: ", - "STATUS_VALUES", + { + "pluginId": "@kbn/rule-data-utils", + "scope": "server", + "docId": "kibKbnRuleDataUtilsPluginApi", + "section": "def-server.STATUS_VALUES", + "text": "STATUS_VALUES" + }, ") => void" ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", @@ -14220,7 +14272,13 @@ "text": "TimelineNonEcsData" }, "[][]; globalFilters?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined; pageSize: number; timelineId: string; }) => (props: ", "EuiDataGridColumnCellActionProps", ") => React.ReactNode" @@ -14254,7 +14312,13 @@ "text": "TimelineNonEcsData" }, "[][]; globalFilters?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined; pageSize: number; timelineId: string; }" ], "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx", diff --git a/api_docs/timelines.mdx b/api_docs/timelines.mdx index 95b8dba3ce10a..2bcb5f5fabb72 100644 --- a/api_docs/timelines.mdx +++ b/api_docs/timelines.mdx @@ -1,7 +1,7 @@ --- id: kibTimelinesPluginApi -slug: /kibana-dev-docs/timelinesPluginApi -title: timelines +slug: /kibana-dev-docs/api/timelines +title: "timelines" image: https://source.unsplash.com/400x175/?github summary: API docs for the timelines plugin date: 2020-11-16 diff --git a/api_docs/transform.json b/api_docs/transform.json new file mode 100644 index 0000000000000..cbf3b9dbac343 --- /dev/null +++ b/api_docs/transform.json @@ -0,0 +1,101 @@ +{ + "id": "transform", + "client": { + "classes": [], + "functions": [ + { + "parentPluginId": "transform", + "id": "def-public.getTransformHealthRuleType", + "type": "Function", + "tags": [], + "label": "getTransformHealthRuleType", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "triggersActionsUi", + "scope": "public", + "docId": "kibTriggersActionsUiPluginApi", + "section": "def-public.AlertTypeModel", + "text": "AlertTypeModel" + }, + "<", + "TransformHealthRuleParams", + ">" + ], + "path": "x-pack/plugins/transform/public/alerting/transform_health_rule_type/register_transform_health_rule.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "transform", + "id": "def-server.registerTransformHealthRuleType", + "type": "Function", + "tags": [], + "label": "registerTransformHealthRuleType", + "description": [], + "signature": [ + "(params: RegisterParams) => void" + ], + "path": "x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/register_transform_health_rule_type.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "transform", + "id": "def-server.registerTransformHealthRuleType.$1", + "type": "Object", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "RegisterParams" + ], + "path": "x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/register_transform_health_rule_type.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [ + { + "parentPluginId": "transform", + "id": "def-common.TRANSFORM_RULE_TYPE", + "type": "Object", + "tags": [], + "label": "TRANSFORM_RULE_TYPE", + "description": [], + "signature": [ + "{ readonly TRANSFORM_HEALTH: \"transform_health\"; }" + ], + "path": "x-pack/plugins/transform/common/constants.ts", + "deprecated": false, + "initialIsOpen": false + } + ] + } +} \ No newline at end of file diff --git a/api_docs/transform.mdx b/api_docs/transform.mdx new file mode 100644 index 0000000000000..21541177b3cec --- /dev/null +++ b/api_docs/transform.mdx @@ -0,0 +1,37 @@ +--- +id: kibTransformPluginApi +slug: /kibana-dev-docs/api/transform +title: "transform" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the transform plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', 'transform'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import transformObj from './transform.json'; + +This plugin provides access to the transforms features provided by Elastic. Transforms enable you to convert existing Elasticsearch indices into summarized indices, which provide opportunities for new insights and analytics. + +Contact [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 4 | 0 | 4 | 1 | + +## Client + +### Functions + + +## Server + +### Functions + + +## Common + +### Objects + + diff --git a/api_docs/triggers_actions_ui.json b/api_docs/triggers_actions_ui.json index eeb23ea589d99..b7e953917aaad 100644 --- a/api_docs/triggers_actions_ui.json +++ b/api_docs/triggers_actions_ui.json @@ -3444,7 +3444,13 @@ "// name of the indices to search" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", @@ -3460,7 +3466,13 @@ "// field in index used for date/time" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", @@ -3476,7 +3488,13 @@ "// aggregation type" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", @@ -3492,7 +3510,13 @@ "// aggregation field" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", @@ -3508,7 +3532,13 @@ "// how to group" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", @@ -3524,7 +3554,13 @@ "// field to group on (for groupBy: top)" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", @@ -3540,7 +3576,13 @@ "// limit on number of groups returned" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", @@ -3556,7 +3598,13 @@ "// size of time window for date range aggregations" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", @@ -3572,7 +3620,13 @@ "// units of time window for date range aggregations" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", diff --git a/api_docs/triggers_actions_ui.mdx b/api_docs/triggers_actions_ui.mdx index 4bdd41535d348..0b6139e8ae9db 100644 --- a/api_docs/triggers_actions_ui.mdx +++ b/api_docs/triggers_actions_ui.mdx @@ -1,7 +1,7 @@ --- id: kibTriggersActionsUiPluginApi -slug: /kibana-dev-docs/triggersActionsUiPluginApi -title: triggersActionsUi +slug: /kibana-dev-docs/api/triggersActionsUi +title: "triggersActionsUi" image: https://source.unsplash.com/400x175/?github summary: API docs for the triggersActionsUi plugin date: 2020-11-16 diff --git a/api_docs/ui_actions.mdx b/api_docs/ui_actions.mdx index 6c5d6381c3b7c..b5e8c1f69d8a7 100644 --- a/api_docs/ui_actions.mdx +++ b/api_docs/ui_actions.mdx @@ -1,7 +1,7 @@ --- id: kibUiActionsPluginApi -slug: /kibana-dev-docs/uiActionsPluginApi -title: uiActions +slug: /kibana-dev-docs/api/uiActions +title: "uiActions" image: https://source.unsplash.com/400x175/?github summary: API docs for the uiActions plugin date: 2020-11-16 diff --git a/api_docs/ui_actions_enhanced.json b/api_docs/ui_actions_enhanced.json index 0bf79e6636110..afbe1367be1d3 100644 --- a/api_docs/ui_actions_enhanced.json +++ b/api_docs/ui_actions_enhanced.json @@ -1566,7 +1566,13 @@ "text": "SerializedAction" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">, triggers: string[]) => Promise" ], "path": "x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts", @@ -1590,7 +1596,13 @@ "text": "SerializedAction" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts", @@ -1635,7 +1647,13 @@ "text": "SerializedAction" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">, triggers: string[]) => Promise" ], "path": "x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts", @@ -1675,7 +1693,13 @@ "text": "SerializedAction" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts", @@ -1856,7 +1880,13 @@ "text": "SerializedAction" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">; }[]>" ], "path": "x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_storage.ts", @@ -3051,7 +3081,13 @@ "text": "ActionFactory" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ", object, ", { "pluginId": "uiActionsEnhanced", @@ -3196,7 +3232,13 @@ "label": "BaseActionConfig", "description": [], "signature": [ - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "x-pack/plugins/ui_actions_enhanced/common/types.ts", "deprecated": false, @@ -3271,7 +3313,13 @@ "text": "SerializedAction" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">; }" ], "path": "x-pack/plugins/ui_actions_enhanced/common/types.ts", @@ -3351,7 +3399,13 @@ "text": "UiActionsService" }, ", ", - "MethodKeysOf", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.MethodKeysOf", + "text": "MethodKeysOf" + }, "<", { "pluginId": "uiActions", @@ -3765,7 +3819,13 @@ "label": "BaseActionConfig", "description": [], "signature": [ - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "x-pack/plugins/ui_actions_enhanced/common/types.ts", "deprecated": false, @@ -3826,7 +3886,13 @@ "text": "SerializedAction" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">; }" ], "path": "x-pack/plugins/ui_actions_enhanced/common/types.ts", @@ -3940,7 +4006,13 @@ "label": "BaseActionConfig", "description": [], "signature": [ - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "x-pack/plugins/ui_actions_enhanced/common/types.ts", "deprecated": false, @@ -4001,7 +4073,13 @@ "text": "SerializedAction" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">; }" ], "path": "x-pack/plugins/ui_actions_enhanced/common/types.ts", diff --git a/api_docs/ui_actions_enhanced.mdx b/api_docs/ui_actions_enhanced.mdx index b8472e2e56e08..52f5c0f38743b 100644 --- a/api_docs/ui_actions_enhanced.mdx +++ b/api_docs/ui_actions_enhanced.mdx @@ -1,7 +1,7 @@ --- id: kibUiActionsEnhancedPluginApi -slug: /kibana-dev-docs/uiActionsEnhancedPluginApi -title: uiActionsEnhanced +slug: /kibana-dev-docs/api/uiActionsEnhanced +title: "uiActionsEnhanced" image: https://source.unsplash.com/400x175/?github summary: API docs for the uiActionsEnhanced plugin date: 2020-11-16 diff --git a/api_docs/url_forwarding.mdx b/api_docs/url_forwarding.mdx index 3754a4ac184a1..a579bdc9cb744 100644 --- a/api_docs/url_forwarding.mdx +++ b/api_docs/url_forwarding.mdx @@ -1,7 +1,7 @@ --- id: kibUrlForwardingPluginApi -slug: /kibana-dev-docs/urlForwardingPluginApi -title: urlForwarding +slug: /kibana-dev-docs/api/urlForwarding +title: "urlForwarding" image: https://source.unsplash.com/400x175/?github summary: API docs for the urlForwarding plugin date: 2020-11-16 diff --git a/api_docs/usage_collection.json b/api_docs/usage_collection.json index f6e5ca81bc7ec..d091924dd664f 100644 --- a/api_docs/usage_collection.json +++ b/api_docs/usage_collection.json @@ -140,7 +140,13 @@ ], "signature": [ "(appName: string, type: ", - "UiCounterMetricType", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.UiCounterMetricType", + "text": "UiCounterMetricType" + }, ", eventNames: string | string[], count?: number | undefined) => void" ], "path": "src/plugins/usage_collection/public/plugin.tsx", @@ -168,7 +174,13 @@ "label": "type", "description": [], "signature": [ - "UiCounterMetricType" + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.UiCounterMetricType", + "text": "UiCounterMetricType" + } ], "path": "src/plugins/usage_collection/public/plugin.tsx", "deprecated": false, @@ -232,7 +244,13 @@ ], "signature": [ "(appName: string, type: ", - "UiCounterMetricType", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.UiCounterMetricType", + "text": "UiCounterMetricType" + }, ", eventNames: string | string[], count?: number | undefined) => void" ], "path": "src/plugins/usage_collection/public/plugin.tsx", @@ -260,7 +278,13 @@ "label": "type", "description": [], "signature": [ - "UiCounterMetricType" + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.UiCounterMetricType", + "text": "UiCounterMetricType" + } ], "path": "src/plugins/usage_collection/public/plugin.tsx", "deprecated": false, @@ -338,7 +362,13 @@ "Logger" ], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "src/plugins/usage_collection/server/collector/types.ts", "deprecated": false diff --git a/api_docs/usage_collection.mdx b/api_docs/usage_collection.mdx index 3395c5e5277e3..1ae8276529778 100644 --- a/api_docs/usage_collection.mdx +++ b/api_docs/usage_collection.mdx @@ -1,7 +1,7 @@ --- id: kibUsageCollectionPluginApi -slug: /kibana-dev-docs/usageCollectionPluginApi -title: usageCollection +slug: /kibana-dev-docs/api/usageCollection +title: "usageCollection" image: https://source.unsplash.com/400x175/?github summary: API docs for the usageCollection plugin date: 2020-11-16 diff --git a/api_docs/vis_default_editor.json b/api_docs/vis_default_editor.json index 883d846e67bb8..619c3734e9517 100644 --- a/api_docs/vis_default_editor.json +++ b/api_docs/vis_default_editor.json @@ -943,9 +943,9 @@ "(paramName: T, value: ", { "pluginId": "charts", - "scope": "public", + "scope": "common", "docId": "kibChartsPluginApi", - "section": "def-public.ColorSchemaParams", + "section": "def-common.ColorSchemaParams", "text": "ColorSchemaParams" }, "[T]) => void" @@ -977,9 +977,9 @@ "signature": [ { "pluginId": "charts", - "scope": "public", + "scope": "common", "docId": "kibChartsPluginApi", - "section": "def-public.ColorSchemaParams", + "section": "def-common.ColorSchemaParams", "text": "ColorSchemaParams" }, "[T]" diff --git a/api_docs/vis_default_editor.mdx b/api_docs/vis_default_editor.mdx index 608b2478b1cd0..a60d151241420 100644 --- a/api_docs/vis_default_editor.mdx +++ b/api_docs/vis_default_editor.mdx @@ -1,7 +1,7 @@ --- id: kibVisDefaultEditorPluginApi -slug: /kibana-dev-docs/visDefaultEditorPluginApi -title: visDefaultEditor +slug: /kibana-dev-docs/api/visDefaultEditor +title: "visDefaultEditor" image: https://source.unsplash.com/400x175/?github summary: API docs for the visDefaultEditor plugin date: 2020-11-16 diff --git a/api_docs/vis_type_pie.mdx b/api_docs/vis_type_pie.mdx index dfa84fd6578b4..e8d44f047911b 100644 --- a/api_docs/vis_type_pie.mdx +++ b/api_docs/vis_type_pie.mdx @@ -1,7 +1,7 @@ --- id: kibVisTypePiePluginApi -slug: /kibana-dev-docs/visTypePiePluginApi -title: visTypePie +slug: /kibana-dev-docs/api/visTypePie +title: "visTypePie" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypePie plugin date: 2020-11-16 diff --git a/api_docs/vis_type_table.mdx b/api_docs/vis_type_table.mdx index 53e8402a850ed..0ce75b5e80990 100644 --- a/api_docs/vis_type_table.mdx +++ b/api_docs/vis_type_table.mdx @@ -1,7 +1,7 @@ --- id: kibVisTypeTablePluginApi -slug: /kibana-dev-docs/visTypeTablePluginApi -title: visTypeTable +slug: /kibana-dev-docs/api/visTypeTable +title: "visTypeTable" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeTable plugin date: 2020-11-16 diff --git a/api_docs/vis_type_timelion.mdx b/api_docs/vis_type_timelion.mdx index 54ff65c2dc18a..b3db40c41a9f8 100644 --- a/api_docs/vis_type_timelion.mdx +++ b/api_docs/vis_type_timelion.mdx @@ -1,7 +1,7 @@ --- id: kibVisTypeTimelionPluginApi -slug: /kibana-dev-docs/visTypeTimelionPluginApi -title: visTypeTimelion +slug: /kibana-dev-docs/api/visTypeTimelion +title: "visTypeTimelion" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeTimelion plugin date: 2020-11-16 diff --git a/api_docs/vis_type_timeseries.mdx b/api_docs/vis_type_timeseries.mdx index abdc4801664b9..ee1f1e860dbd0 100644 --- a/api_docs/vis_type_timeseries.mdx +++ b/api_docs/vis_type_timeseries.mdx @@ -1,7 +1,7 @@ --- id: kibVisTypeTimeseriesPluginApi -slug: /kibana-dev-docs/visTypeTimeseriesPluginApi -title: visTypeTimeseries +slug: /kibana-dev-docs/api/visTypeTimeseries +title: "visTypeTimeseries" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeTimeseries plugin date: 2020-11-16 diff --git a/api_docs/vis_type_vega.mdx b/api_docs/vis_type_vega.mdx index 7bb64a0dc1721..b8a3010b808c3 100644 --- a/api_docs/vis_type_vega.mdx +++ b/api_docs/vis_type_vega.mdx @@ -1,7 +1,7 @@ --- id: kibVisTypeVegaPluginApi -slug: /kibana-dev-docs/visTypeVegaPluginApi -title: visTypeVega +slug: /kibana-dev-docs/api/visTypeVega +title: "visTypeVega" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeVega plugin date: 2020-11-16 diff --git a/api_docs/vis_type_vislib.json b/api_docs/vis_type_vislib.json index 2bd48d9e8a9ea..5d0bd281b77c7 100644 --- a/api_docs/vis_type_vislib.json +++ b/api_docs/vis_type_vislib.json @@ -107,9 +107,9 @@ "signature": [ { "pluginId": "charts", - "scope": "public", + "scope": "common", "docId": "kibChartsPluginApi", - "section": "def-public.Labels", + "section": "def-common.Labels", "text": "Labels" } ], diff --git a/api_docs/vis_type_vislib.mdx b/api_docs/vis_type_vislib.mdx index 96b922e8d2066..f0f8059161288 100644 --- a/api_docs/vis_type_vislib.mdx +++ b/api_docs/vis_type_vislib.mdx @@ -1,7 +1,7 @@ --- id: kibVisTypeVislibPluginApi -slug: /kibana-dev-docs/visTypeVislibPluginApi -title: visTypeVislib +slug: /kibana-dev-docs/api/visTypeVislib +title: "visTypeVislib" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeVislib plugin date: 2020-11-16 diff --git a/api_docs/vis_type_xy.json b/api_docs/vis_type_xy.json index 92df25763766e..0cb9fd390d188 100644 --- a/api_docs/vis_type_xy.json +++ b/api_docs/vis_type_xy.json @@ -141,9 +141,9 @@ "signature": [ { "pluginId": "charts", - "scope": "public", + "scope": "common", "docId": "kibChartsPluginApi", - "section": "def-public.Labels", + "section": "def-common.Labels", "text": "Labels" } ], @@ -231,9 +231,9 @@ "Partial<", { "pluginId": "charts", - "scope": "public", + "scope": "common", "docId": "kibChartsPluginApi", - "section": "def-public.Style", + "section": "def-common.Style", "text": "Style" }, "> | undefined" diff --git a/api_docs/vis_type_xy.mdx b/api_docs/vis_type_xy.mdx index 2efaa05e9ca2e..58a554c36bba6 100644 --- a/api_docs/vis_type_xy.mdx +++ b/api_docs/vis_type_xy.mdx @@ -1,7 +1,7 @@ --- id: kibVisTypeXyPluginApi -slug: /kibana-dev-docs/visTypeXyPluginApi -title: visTypeXy +slug: /kibana-dev-docs/api/visTypeXy +title: "visTypeXy" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeXy plugin date: 2020-11-16 diff --git a/api_docs/visualizations.json b/api_docs/visualizations.json index b27658351a3e4..e93eec8a07ee8 100644 --- a/api_docs/visualizations.json +++ b/api_docs/visualizations.json @@ -270,17 +270,17 @@ }, ") => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, "[] | Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -1256,7 +1256,13 @@ "text": "SerializedFieldFormat" }, "> | undefined; source?: string | undefined; sourceParams?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }; id: string; name: string; }[]; type: \"datatable\"; rows: Record[]; }" ], "path": "src/plugins/visualizations/common/prepare_log_table.ts", @@ -1324,7 +1330,13 @@ "text": "SavedVisState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/visualizations/public/legacy/vis_update_state.d.ts", @@ -2104,7 +2116,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }[]" ], "path": "src/plugins/visualizations/public/vis.ts", @@ -2197,9 +2215,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -2606,9 +2624,9 @@ }, ">) => void; createFilter: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -2621,16 +2639,28 @@ "text": "TimeRange" }, " | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined; createRelativeFilter: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -2643,9 +2673,21 @@ "text": "TimeRange" }, " | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined; getBounds: () => ", @@ -3015,17 +3057,17 @@ }, ") => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, "[] | Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -3749,7 +3791,13 @@ "label": "query", "description": [], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts", @@ -3763,7 +3811,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts", @@ -3934,7 +3988,13 @@ "description": [], "signature": [ "{ title: string; type: string; params: TVisParams; aggs: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }[]; }" ], "path": "src/plugins/visualizations/common/types.ts", @@ -5067,7 +5127,13 @@ "text": "SerializedFieldFormat" }, "> | undefined; source?: string | undefined; sourceParams?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }; id: string; name: string; }[]; type: \"datatable\"; rows: Record[]; }" ], "path": "src/plugins/visualizations/common/prepare_log_table.ts", @@ -5167,7 +5233,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/visualizations/common/expression_functions/range.ts", @@ -5241,7 +5313,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/visualizations/common/expression_functions/vis_dimension.ts", @@ -5511,7 +5589,13 @@ "description": [], "signature": [ "{ title: string; type: string; params: TVisParams; aggs: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }[]; }" ], "path": "src/plugins/visualizations/common/types.ts", diff --git a/api_docs/visualizations.mdx b/api_docs/visualizations.mdx index 012db4b9db9d8..a9501b59a1a55 100644 --- a/api_docs/visualizations.mdx +++ b/api_docs/visualizations.mdx @@ -1,7 +1,7 @@ --- id: kibVisualizationsPluginApi -slug: /kibana-dev-docs/visualizationsPluginApi -title: visualizations +slug: /kibana-dev-docs/api/visualizations +title: "visualizations" image: https://source.unsplash.com/400x175/?github summary: API docs for the visualizations plugin date: 2020-11-16 diff --git a/api_docs/visualize.json b/api_docs/visualize.json index 7cafece8d41af..86196b0ba34c0 100644 --- a/api_docs/visualize.json +++ b/api_docs/visualize.json @@ -60,7 +60,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/visualize/public/application/types.ts", @@ -87,7 +93,13 @@ "label": "query", "description": [], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "src/plugins/visualize/public/application/types.ts", diff --git a/api_docs/visualize.mdx b/api_docs/visualize.mdx index 0d387e370c1a0..6b10d622e473c 100644 --- a/api_docs/visualize.mdx +++ b/api_docs/visualize.mdx @@ -1,7 +1,7 @@ --- id: kibVisualizePluginApi -slug: /kibana-dev-docs/visualizePluginApi -title: visualize +slug: /kibana-dev-docs/api/visualize +title: "visualize" image: https://source.unsplash.com/400x175/?github summary: API docs for the visualize plugin date: 2020-11-16 diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/buid_api_declaration.test.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/buid_api_declaration.test.ts index 7002f72ae2db0..6697dfe53ee36 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/buid_api_declaration.test.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/buid_api_declaration.test.ts @@ -8,9 +8,9 @@ import Path from 'path'; import { Project, Node } from 'ts-morph'; -import { ToolingLog, KibanaPlatformPlugin } from '@kbn/dev-utils'; +import { ToolingLog } from '@kbn/dev-utils'; -import { TypeKind, ApiScope } from '../types'; +import { TypeKind, ApiScope, PluginOrPackage } from '../types'; import { getKibanaPlatformPlugin } from '../tests/kibana_platform_plugin_mock'; import { getDeclarationNodesForPluginScope } from '../get_declaration_nodes_for_plugin'; import { buildApiDeclarationTopNode } from './build_api_declaration'; @@ -22,7 +22,7 @@ const log = new ToolingLog({ }); let nodes: Node[]; -let plugins: KibanaPlatformPlugin[]; +let plugins: PluginOrPackage[]; function getNodeName(node: Node): string { return isNamedNode(node) ? node.getName() : ''; diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_api_declaration.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_api_declaration.ts index 2f6b03de15b7a..55ab51b1208b4 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_api_declaration.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_api_declaration.ts @@ -7,11 +7,11 @@ */ import { FunctionTypeNode, Node } from 'ts-morph'; -import { ToolingLog, KibanaPlatformPlugin } from '@kbn/dev-utils'; +import { ToolingLog } from '@kbn/dev-utils'; import { buildClassDec } from './build_class_dec'; import { buildFunctionDec } from './build_function_dec'; import { isNamedNode } from '../tsmorph_utils'; -import { ApiDeclaration } from '../types'; +import { ApiDeclaration, PluginOrPackage } from '../types'; import { buildVariableDec } from './build_variable_dec'; import { buildTypeLiteralDec } from './build_type_literal_dec'; import { ApiScope } from '../types'; @@ -25,7 +25,7 @@ import { buildApiId } from './utils'; export function buildApiDeclarationTopNode( node: Node, opts: { - plugins: KibanaPlatformPlugin[]; + plugins: PluginOrPackage[]; log: ToolingLog; currentPluginId: string; captureReferences: boolean; diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/extract_import_refs.test.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/extract_import_refs.test.ts index d381734c09aca..bf3f85114c660 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/extract_import_refs.test.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/extract_import_refs.test.ts @@ -7,14 +7,18 @@ */ import { REPO_ROOT } from '@kbn/utils'; -import { KibanaPlatformPlugin, ToolingLog } from '@kbn/dev-utils'; +import { ToolingLog } from '@kbn/dev-utils'; import { getPluginApiDocId } from '../utils'; import { extractImportReferences } from './extract_import_refs'; -import { ApiScope, Reference } from '../types'; -import { getKibanaPlatformPlugin } from '../tests/kibana_platform_plugin_mock'; +import { ApiScope, PluginOrPackage, Reference } from '../types'; +import { + getKibanaPlatformPackage, + getKibanaPlatformPlugin, +} from '../tests/kibana_platform_plugin_mock'; const plugin = getKibanaPlatformPlugin('pluginA'); -const plugins: KibanaPlatformPlugin[] = [plugin]; +const packageA = getKibanaPlatformPackage('@kbn/package-a'); +const plugins: PluginOrPackage[] = [plugin, packageA]; const log = new ToolingLog({ level: 'debug', @@ -44,6 +48,23 @@ it('test extractImportReference', () => { }); }); +it('test extractImportReference with a package', () => { + const results = extractImportReferences( + `(param: string) => import("Users/foo/node_modules/${packageA.manifest.id}/target_types").Bar`, + plugins, + log + ); + expect(results.length).toBe(2); + expect(results[0]).toBe('(param: string) => '); + expect(results[1]).toEqual({ + text: 'Bar', + docId: getPluginApiDocId(packageA.manifest.id), + section: 'def-common.Bar', + pluginId: packageA.manifest.id, + scope: ApiScope.COMMON, + }); +}); + it('test extractImportReference with public folder nested under server folder', () => { const results = extractImportReferences( `import("${plugin.directory}/server/routes/public/bar").Bar`, diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/extract_import_refs.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/extract_import_refs.ts index 74a9cbac59399..8420a0cee4cd0 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/extract_import_refs.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/extract_import_refs.ts @@ -6,9 +6,9 @@ * Side Public License, v 1. */ -import { KibanaPlatformPlugin, ToolingLog } from '@kbn/dev-utils'; +import { ToolingLog } from '@kbn/dev-utils'; import { getApiSectionId, getPluginApiDocId, getPluginForPath } from '../utils'; -import { ApiScope, TextWithLinks } from '../types'; +import { ApiScope, PluginOrPackage, TextWithLinks } from '../types'; import { getRelativePath, pathsOutsideScopes } from './utils'; /** @@ -27,7 +27,7 @@ import { getRelativePath, pathsOutsideScopes } from './utils'; */ export function extractImportReferences( text: string, - plugins: KibanaPlatformPlugin[], + plugins: PluginOrPackage[], log: ToolingLog ): TextWithLinks { const texts: TextWithLinks = []; @@ -40,7 +40,6 @@ export function extractImportReferences( texts.push(textSegment.substr(0, index)); } const plugin = getPluginForPath(path, plugins); - if (!plugin) { if (path.indexOf('plugin') >= 0) { log.warning('WARN: no plugin found for reference path ' + path); @@ -101,13 +100,15 @@ function extractImportRef( * * @param path An absolute path to a file inside a plugin directory. */ -function getScopeFromPath(path: string, plugin: KibanaPlatformPlugin, log: ToolingLog): ApiScope { +function getScopeFromPath(path: string, plugin: PluginOrPackage, log: ToolingLog): ApiScope { if (path.startsWith(`${plugin.directory}/public/`)) { return ApiScope.CLIENT; } else if (path.startsWith(`${plugin.directory}/server/`)) { return ApiScope.SERVER; } else if (path.startsWith(`${plugin.directory}/common/`)) { return ApiScope.COMMON; + } else if (!plugin.isPlugin) { + return plugin.scope ?? ApiScope.COMMON; } else { pathsOutsideScopes[path] = plugin.directory; return ApiScope.COMMON; diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/get_references.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/get_references.ts index 213db6c8d8ad9..5055723aa445a 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/get_references.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/get_references.ts @@ -7,15 +7,15 @@ */ import { Node, ReferenceFindableNode } from 'ts-morph'; -import { KibanaPlatformPlugin, ToolingLog } from '@kbn/dev-utils'; +import { ToolingLog } from '@kbn/dev-utils'; import { getPluginForPath } from '../utils'; import { getSourceForNode } from './utils'; -import { ApiDeclaration, ApiReference } from '../types'; +import { ApiDeclaration, ApiReference, PluginOrPackage } from '../types'; import { isNamedNode } from '../tsmorph_utils'; interface Opts { node: ReferenceFindableNode; - plugins: KibanaPlatformPlugin[]; + plugins: PluginOrPackage[]; /** * The name of the plugin the node belongs in. This is used to filter out internal plugin * references. @@ -53,7 +53,7 @@ export function getReferences({ node, plugins, currentPluginId, log }: Opts): Ap } interface MaybeCollectReferencesOpt { - plugins: KibanaPlatformPlugin[]; + plugins: PluginOrPackage[]; /** * The name of the plugin the node belongs in. This is used to filter out internal plugin * references. diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/get_signature.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/get_signature.ts index b6250bd9bea34..46fe93e49e448 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/get_signature.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/get_signature.ts @@ -8,10 +8,10 @@ /* eslint-disable no-bitwise */ -import { KibanaPlatformPlugin, ToolingLog } from '@kbn/dev-utils'; +import { ToolingLog } from '@kbn/dev-utils'; import { Node, TypeFormatFlags } from 'ts-morph'; import { isNamedNode } from '../tsmorph_utils'; -import { Reference } from '../types'; +import { PluginOrPackage, Reference } from '../types'; import { extractImportReferences } from './extract_import_refs'; import { getTypeKind } from './get_type_kind'; @@ -29,7 +29,7 @@ import { getTypeKind } from './get_type_kind'; */ export function getSignature( node: Node, - plugins: KibanaPlatformPlugin[], + plugins: PluginOrPackage[], log: ToolingLog ): Array | undefined { let signature = ''; diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/types.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/types.ts index bbe49cc2345a2..cf88a51d69ba4 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/types.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/types.ts @@ -6,11 +6,11 @@ * Side Public License, v 1. */ -import { KibanaPlatformPlugin, ToolingLog } from '@kbn/dev-utils'; -import { ApiScope } from '../types'; +import { ToolingLog } from '@kbn/dev-utils'; +import { ApiScope, PluginOrPackage } from '../types'; export interface BuildApiDecOpts { - plugins: KibanaPlatformPlugin[]; + plugins: PluginOrPackage[]; log: ToolingLog; currentPluginId: string; /** diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_docs_cli.ts b/packages/kbn-docs-utils/src/api_docs/build_api_docs_cli.ts index 9bd83d0b40968..1f709a52a0fc1 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_docs_cli.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_docs_cli.ts @@ -91,6 +91,7 @@ export function runBuildApiDocsCli() { ...collectApiStatsForPlugin(pluginApi, missingApiItems, referencedDeprecations), owner: plugin.manifest.owner, description: plugin.manifest.description, + isPlugin: plugin.isPlugin, }; return acc; }, {} as { [key: string]: PluginMetaInfo }); @@ -256,6 +257,7 @@ function getTsProject(repoPath: string) { }); project.addSourceFilesAtPaths(`${repoPath}/x-pack/plugins/**/*{.d.ts,.ts}`); project.addSourceFilesAtPaths(`${repoPath}/src/plugins/**/*{.d.ts,.ts}`); + project.addSourceFilesAtPaths(`${repoPath}/packages/**/*{.d.ts,.ts}`); project.resolveSourceFileDependencies(); return project; } diff --git a/packages/kbn-docs-utils/src/api_docs/find_plugins.ts b/packages/kbn-docs-utils/src/api_docs/find_plugins.ts index 004124f13889d..78cba3f3a9476 100644 --- a/packages/kbn-docs-utils/src/api_docs/find_plugins.ts +++ b/packages/kbn-docs-utils/src/api_docs/find_plugins.ts @@ -7,19 +7,71 @@ */ import Path from 'path'; +import globby from 'globby'; + +import loadJsonFile from 'load-json-file'; import { getPluginSearchPaths } from '@kbn/config'; import { simpleKibanaPlatformPluginDiscovery, REPO_ROOT } from '@kbn/dev-utils'; +import { ApiScope, PluginOrPackage } from './types'; -export function findPlugins() { +export function findPlugins(): PluginOrPackage[] { const pluginSearchPaths = getPluginSearchPaths({ rootDir: REPO_ROOT, oss: false, examples: false, }); - return simpleKibanaPlatformPluginDiscovery(pluginSearchPaths, [ - // discover "core" as a plugin - Path.resolve(REPO_ROOT, 'src/core'), - ]); + return ( + simpleKibanaPlatformPluginDiscovery(pluginSearchPaths, [ + // discover "core" as a plugin + Path.resolve(REPO_ROOT, 'src/core'), + ]).map((p) => ({ ...p, isPlugin: true, importPath: p.directory })) as PluginOrPackage[] + ).concat(...findPackages()); +} + +/** + * Helper to find packages. + */ +export function findPackages(): PluginOrPackage[] { + const packagePaths = globby + .sync(Path.resolve(REPO_ROOT, 'packages/**/package.json'), { absolute: true }) + .map((path) => + // absolute paths returned from globby are using normalize or + // something so the path separators are `/` even on windows, + // Path.resolve solves this + Path.resolve(path) + ); + + if (packagePaths.length === 0) { + throw new Error('No packages found!'); + } + + return packagePaths.reduce((acc, path) => { + const manifest: { name: string; author?: string; main?: string; browser?: string } = + loadJsonFile.sync(path); + if (manifest.name === undefined) return acc; + + let scope = ApiScope.COMMON; + if (manifest.main && !manifest.browser) { + scope = ApiScope.SERVER; + } else if (manifest.browser && !manifest.main) { + scope = ApiScope.CLIENT; + } + + acc.push({ + directory: Path.dirname(path), + manifestPath: path, + manifest: { + ...manifest, + id: manifest.name, + serviceFolders: [], + // Some of these author fields have "" in the name which mdx chokes on. Removing the < and > seems to work. + owner: { name: manifest.author?.replace(/[<>]/gi, '') || '[Owner missing]' }, + }, + isPlugin: false, + scope, + }); + return acc; + }, [] as PluginOrPackage[]); } diff --git a/packages/kbn-docs-utils/src/api_docs/get_declaration_nodes_for_plugin.ts b/packages/kbn-docs-utils/src/api_docs/get_declaration_nodes_for_plugin.ts index ee1fdc7f8803d..0d587559d3512 100644 --- a/packages/kbn-docs-utils/src/api_docs/get_declaration_nodes_for_plugin.ts +++ b/packages/kbn-docs-utils/src/api_docs/get_declaration_nodes_for_plugin.ts @@ -7,9 +7,9 @@ */ import Path from 'path'; -import { KibanaPlatformPlugin, ToolingLog } from '@kbn/dev-utils'; +import { ToolingLog } from '@kbn/dev-utils'; import { Project, SourceFile, Node } from 'ts-morph'; -import { ApiScope } from './types'; +import { ApiScope, PluginOrPackage } from './types'; import { isNamedNode, getSourceFileMatching } from './tsmorph_utils'; /** @@ -24,11 +24,17 @@ import { isNamedNode, getSourceFileMatching } from './tsmorph_utils'; */ export function getDeclarationNodesForPluginScope( project: Project, - plugin: KibanaPlatformPlugin, + plugin: PluginOrPackage, scope: ApiScope, log: ToolingLog ): Node[] { - const path = Path.join(`${plugin.directory}`, scope.toString(), 'index.ts'); + // Packages specify the intended scope in the package.json, while plugins specify the scope + // using folder structure. + if (!plugin.isPlugin && scope !== plugin.scope) return []; + + const path = plugin.isPlugin + ? Path.join(`${plugin.directory}`, scope.toString(), 'index.ts') + : Path.join(`${plugin.directory}`, 'src', 'index.ts'); const file = getSourceFileMatching(project, path); if (file) { diff --git a/packages/kbn-docs-utils/src/api_docs/get_plugin_api.ts b/packages/kbn-docs-utils/src/api_docs/get_plugin_api.ts index d41d66b5dd189..e0169f964dd99 100644 --- a/packages/kbn-docs-utils/src/api_docs/get_plugin_api.ts +++ b/packages/kbn-docs-utils/src/api_docs/get_plugin_api.ts @@ -8,8 +8,8 @@ import Path from 'path'; import { Node, Project } from 'ts-morph'; -import { ToolingLog, KibanaPlatformPlugin } from '@kbn/dev-utils'; -import { ApiScope, Lifecycle } from './types'; +import { ToolingLog } from '@kbn/dev-utils'; +import { ApiScope, Lifecycle, PluginOrPackage } from './types'; import { ApiDeclaration, PluginApi } from './types'; import { buildApiDeclarationTopNode } from './build_api_declarations/build_api_declaration'; import { getDeclarationNodesForPluginScope } from './get_declaration_nodes_for_plugin'; @@ -20,8 +20,8 @@ import { getSourceFileMatching } from './tsmorph_utils'; */ export function getPluginApi( project: Project, - plugin: KibanaPlatformPlugin, - plugins: KibanaPlatformPlugin[], + plugin: PluginOrPackage, + plugins: PluginOrPackage[], log: ToolingLog, captureReferences: boolean ): PluginApi { @@ -44,9 +44,9 @@ export function getPluginApi( */ function getDeclarations( project: Project, - plugin: KibanaPlatformPlugin, + plugin: PluginOrPackage, scope: ApiScope, - plugins: KibanaPlatformPlugin[], + plugins: PluginOrPackage[], log: ToolingLog, captureReferences: boolean ): ApiDeclaration[] { @@ -113,7 +113,7 @@ function getLifecycle( */ function getContractTypes( project: Project, - plugin: KibanaPlatformPlugin, + plugin: PluginOrPackage, scope: ApiScope ): { setup?: string; start?: string } { const contractTypes: { setup?: string; start?: string } = {}; diff --git a/packages/kbn-docs-utils/src/api_docs/get_plugin_api_map.ts b/packages/kbn-docs-utils/src/api_docs/get_plugin_api_map.ts index e6deae7b65a0a..6d3285f31a189 100644 --- a/packages/kbn-docs-utils/src/api_docs/get_plugin_api_map.ts +++ b/packages/kbn-docs-utils/src/api_docs/get_plugin_api_map.ts @@ -6,20 +6,21 @@ * Side Public License, v 1. */ -import { KibanaPlatformPlugin, ToolingLog } from '@kbn/dev-utils'; +import { ToolingLog } from '@kbn/dev-utils'; import { Project } from 'ts-morph'; import { getPluginApi } from './get_plugin_api'; import { ApiDeclaration, MissingApiItemMap, PluginApi, + PluginOrPackage, ReferencedDeprecationsByPlugin, } from './types'; import { removeBrokenLinks } from './utils'; export function getPluginApiMap( project: Project, - plugins: KibanaPlatformPlugin[], + plugins: PluginOrPackage[], log: ToolingLog, { collectReferences, pluginFilter }: { collectReferences: boolean; pluginFilter?: string[] } ): { diff --git a/packages/kbn-docs-utils/src/api_docs/mdx/split_apis_by_folder.test.ts b/packages/kbn-docs-utils/src/api_docs/mdx/split_apis_by_folder.test.ts index d91cadce10754..993e28aab50a0 100644 --- a/packages/kbn-docs-utils/src/api_docs/mdx/split_apis_by_folder.test.ts +++ b/packages/kbn-docs-utils/src/api_docs/mdx/split_apis_by_folder.test.ts @@ -8,9 +8,9 @@ import Path from 'path'; import { Project } from 'ts-morph'; -import { ToolingLog, KibanaPlatformPlugin } from '@kbn/dev-utils'; +import { ToolingLog } from '@kbn/dev-utils'; -import { PluginApi } from '../types'; +import { PluginApi, PluginOrPackage } from '../types'; import { getKibanaPlatformPlugin } from '../tests/kibana_platform_plugin_mock'; import { getPluginApi } from '../get_plugin_api'; import { splitApisByFolder } from './write_plugin_split_by_folder'; @@ -32,7 +32,7 @@ beforeAll(() => { const pluginA = getKibanaPlatformPlugin('pluginA'); pluginA.manifest.serviceFolders = ['foo']; - const plugins: KibanaPlatformPlugin[] = [pluginA]; + const plugins: PluginOrPackage[] = [pluginA]; doc = getPluginApi(project, plugins[0], plugins, log, false); }); diff --git a/packages/kbn-docs-utils/src/api_docs/mdx/types.ts b/packages/kbn-docs-utils/src/api_docs/mdx/types.ts index 38c25fe68f7bb..8ad7c22486d60 100644 --- a/packages/kbn-docs-utils/src/api_docs/mdx/types.ts +++ b/packages/kbn-docs-utils/src/api_docs/mdx/types.ts @@ -6,12 +6,12 @@ * Side Public License, v 1. */ -import { KibanaPlatformPlugin, ToolingLog } from '@kbn/dev-utils'; -import { ApiStats, PluginApi } from '../types'; +import { ToolingLog } from '@kbn/dev-utils'; +import { ApiStats, PluginApi, PluginOrPackage } from '../types'; export interface WritePluginDocsOpts { doc: PluginApi; - plugin: KibanaPlatformPlugin; + plugin: PluginOrPackage; pluginStats: ApiStats; log: ToolingLog; } diff --git a/packages/kbn-docs-utils/src/api_docs/mdx/write_deprecations_doc_by_api.ts b/packages/kbn-docs-utils/src/api_docs/mdx/write_deprecations_doc_by_api.ts index 8fbf5f89d9b0d..9681c086777d9 100644 --- a/packages/kbn-docs-utils/src/api_docs/mdx/write_deprecations_doc_by_api.ts +++ b/packages/kbn-docs-utils/src/api_docs/mdx/write_deprecations_doc_by_api.ts @@ -76,7 +76,7 @@ export function writeDeprecationDocByApi( const mdx = dedent(` --- id: kibDevDocsDeprecationsByApi -slug: /kibana-dev-docs/deprecated-api-list-by-api +slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-api title: Deprecated API usage by API summary: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. date: 2021-07-27 diff --git a/packages/kbn-docs-utils/src/api_docs/mdx/write_deprecations_doc_by_plugin.ts b/packages/kbn-docs-utils/src/api_docs/mdx/write_deprecations_doc_by_plugin.ts index ddc8245a1052d..896dd806603e3 100644 --- a/packages/kbn-docs-utils/src/api_docs/mdx/write_deprecations_doc_by_plugin.ts +++ b/packages/kbn-docs-utils/src/api_docs/mdx/write_deprecations_doc_by_plugin.ts @@ -70,7 +70,7 @@ export function writeDeprecationDocByPlugin( const mdx = dedent(` --- id: kibDevDocsDeprecationsByPlugin -slug: /kibana-dev-docs/deprecated-api-list-by-plugin +slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-plugin title: Deprecated API usage by plugin summary: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. date: 2021-05-02 diff --git a/packages/kbn-docs-utils/src/api_docs/mdx/write_plugin_directory_doc.ts b/packages/kbn-docs-utils/src/api_docs/mdx/write_plugin_directory_doc.ts index a6b2d2ce9ee5b..05613cdbd34fe 100644 --- a/packages/kbn-docs-utils/src/api_docs/mdx/write_plugin_directory_doc.ts +++ b/packages/kbn-docs-utils/src/api_docs/mdx/write_plugin_directory_doc.ts @@ -75,9 +75,9 @@ export function writePluginDirectoryDoc( dedent(` --- id: kibDevDocsPluginDirectory -slug: /kibana-dev-docs/plugin-directory -title: Plugin directory -summary: Plugin directory +slug: /kibana-dev-docs/api-meta/plugin-api-directory +title: Directory +summary: Directory of public APIs available through plugins or packages. date: 2021-09-22 tags: ['contributor', 'dev', 'apidocs', 'kibana'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. @@ -85,7 +85,7 @@ warning: This document is auto-generated and is meant to be viewed inside our ex ### Overall stats -| Plugin Count | Plugins with a
public API | Number of teams | +| Count | Plugins or Packages with a
public API | Number of teams | |--------------|----------|------------------------| | ${totalStats.pluginCnt} | ${totalStats.pluginCntWithPublicApi} | ${totalStats.teamCnt} | @@ -101,29 +101,61 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Plugin name           | Maintaining team | Description | API Cnt | Any Cnt | Missing
comments | Missing
exports | |--------------|----------------|-----------|--------------|----------|---------------|--------| -${Object.keys(pluginApiMap) - .sort() - .map((id) => { - const metaInfo = pluginStatsMap[id]; - const doc = pluginApiMap[id]; - const docWithLink = hasPublicApi(doc) - ? `` - : doc.id; - const contact = metaInfo.owner.githubTeam - ? `[${metaInfo.owner.name}](https://github.com/orgs/elastic/teams/${metaInfo.owner.githubTeam})` - : metaInfo.owner.name; - - return `| ${[ - docWithLink, - contact, - metaInfo.description || '-', - metaInfo.apiCount, - metaInfo.isAnyType.length, - metaInfo.missingComments.length, - metaInfo.missingExports, - ].join(' | ')} |`; - }) - .join('\n')}`) + '\n\n'; +${getDirectoryTable(pluginApiMap, pluginStatsMap, true)} + +## Package Directory + +| Package name           | Maintaining team | Description | API Cnt | Any Cnt | Missing
comments | Missing
exports | +|--------------|----------------|-----------|--------------|----------|---------------|--------| +${getDirectoryTable(pluginApiMap, pluginStatsMap, false)} + +`) + '\n\n'; fs.writeFileSync(Path.resolve(folder, 'plugin_directory.mdx'), mdx); } + +function getDirectoryTable( + pluginApiMap: { [key: string]: PluginApi }, + pluginStatsMap: { [key: string]: PluginMetaInfo }, + includePlugins: boolean +): string { + return Object.keys(pluginApiMap) + .sort() + .reduce((acc, id) => { + const metaInfo = pluginStatsMap[id]; + const doc = pluginApiMap[id]; + const hasApi = hasPublicApi(doc); + if (!includePlugins) { + // We are building the package list, skip plugins. + if (metaInfo.isPlugin) return acc; + + // Also don't include packages without a public API. These are much more likely to be internal build/ops code and not + // of interest to any plugin developer. + if (!hasApi) return acc; + } + + if (metaInfo.isPlugin && !includePlugins) return acc; + if (!metaInfo.isPlugin && includePlugins) return acc; + + const docWithLink = hasApi + ? `` + : doc.id; + const contact = metaInfo.owner.githubTeam + ? `[${metaInfo.owner.name}](https://github.com/orgs/elastic/teams/${metaInfo.owner.githubTeam})` + : metaInfo.owner.name; + + acc.push( + `| ${[ + docWithLink, + contact, + metaInfo.description || '-', + metaInfo.apiCount, + metaInfo.isAnyType.length, + metaInfo.missingComments.length, + metaInfo.missingExports, + ].join(' | ')} |` + ); + return acc; + }, [] as string[]) + .join('\n'); +} diff --git a/packages/kbn-docs-utils/src/api_docs/mdx/write_plugin_mdx_docs.ts b/packages/kbn-docs-utils/src/api_docs/mdx/write_plugin_mdx_docs.ts index 1eb24e99e7dd8..aae77a7508954 100644 --- a/packages/kbn-docs-utils/src/api_docs/mdx/write_plugin_mdx_docs.ts +++ b/packages/kbn-docs-utils/src/api_docs/mdx/write_plugin_mdx_docs.ts @@ -14,8 +14,9 @@ import { countScopeApi, getPluginApiDocId, snakeToCamel, - camelToSnake, groupPluginApi, + getFileName, + getSlug, } from '../utils'; import { writePluginDocSplitByFolder } from './write_plugin_split_by_folder'; import { WritePluginDocsOpts } from './types'; @@ -65,6 +66,8 @@ export function writePluginDoc( log.debug(`Writing plugin file for ${doc.id}`); const fileName = getFileName(doc.id); + const slug = getSlug(doc.id); + // Append "obj" to avoid special names in here. 'case' is one in particular that // caused issues. const json = getJsonName(fileName) + 'Obj'; @@ -73,8 +76,8 @@ export function writePluginDoc( dedent(` --- id: ${getPluginApiDocId(doc.id)} -slug: /kibana-dev-docs/${doc.id}PluginApi -title: ${doc.id} +slug: /kibana-dev-docs/api/${slug} +title: "${doc.id}" image: https://source.unsplash.com/400x175/?github summary: API docs for the ${doc.id} plugin date: 2020-11-16 @@ -122,10 +125,6 @@ function getJsonName(name: string): string { return snakeToCamel(getFileName(name)); } -function getFileName(name: string): string { - return camelToSnake(name.replace('.', '_')); -} - function scopApiToMdx(scope: ScopeApi, title: string, json: string, scopeName: string): string { let mdx = ''; if (countScopeApi(scope) > 0) { diff --git a/packages/kbn-docs-utils/src/api_docs/mdx/write_plugin_split_by_folder.test.ts b/packages/kbn-docs-utils/src/api_docs/mdx/write_plugin_split_by_folder.test.ts index 56e9ecb41911e..9e96544b0143b 100644 --- a/packages/kbn-docs-utils/src/api_docs/mdx/write_plugin_split_by_folder.test.ts +++ b/packages/kbn-docs-utils/src/api_docs/mdx/write_plugin_split_by_folder.test.ts @@ -7,10 +7,11 @@ */ import { Project } from 'ts-morph'; -import { ToolingLog, KibanaPlatformPlugin } from '@kbn/dev-utils'; +import { ToolingLog } from '@kbn/dev-utils'; import { splitApisByFolder } from './write_plugin_split_by_folder'; import { getPluginApi } from '../get_plugin_api'; import { getKibanaPlatformPlugin } from '../tests/kibana_platform_plugin_mock'; +import { PluginOrPackage } from '../types'; const log = new ToolingLog({ level: 'debug', @@ -44,7 +45,7 @@ export interface Zed = { zed: string }` ); const plugin = getKibanaPlatformPlugin('example', '/src/plugins/example'); - const plugins: KibanaPlatformPlugin[] = [ + const plugins: PluginOrPackage[] = [ { ...plugin, manifest: { diff --git a/packages/kbn-docs-utils/src/api_docs/tests/api_doc_suite.test.ts b/packages/kbn-docs-utils/src/api_docs/tests/api_doc_suite.test.ts index 389289d6576b0..b5e2deb62817a 100644 --- a/packages/kbn-docs-utils/src/api_docs/tests/api_doc_suite.test.ts +++ b/packages/kbn-docs-utils/src/api_docs/tests/api_doc_suite.test.ts @@ -10,10 +10,18 @@ import fs from 'fs'; import Path from 'path'; import { Project } from 'ts-morph'; -import { ToolingLog, KibanaPlatformPlugin } from '@kbn/dev-utils'; +import { ToolingLog } from '@kbn/dev-utils'; import { writePluginDocs } from '../mdx/write_plugin_mdx_docs'; -import { ApiDeclaration, ApiStats, PluginApi, Reference, TextWithLinks, TypeKind } from '../types'; +import { + ApiDeclaration, + ApiStats, + PluginApi, + PluginOrPackage, + Reference, + TextWithLinks, + TypeKind, +} from '../types'; import { getKibanaPlatformPlugin } from './kibana_platform_plugin_mock'; import { groupPluginApi } from '../utils'; import { getPluginApiMap } from '../get_plugin_api_map'; @@ -96,7 +104,7 @@ beforeAll(() => { Path.resolve(__dirname, '__fixtures__/src/plugin_b') ); pluginA.manifest.serviceFolders = ['foo']; - const plugins: KibanaPlatformPlugin[] = [pluginA, pluginB]; + const plugins: PluginOrPackage[] = [pluginA, pluginB]; const { pluginApiMap } = getPluginApiMap(project, plugins, log, { collectReferences: false }); const pluginStats: ApiStats = { diff --git a/packages/kbn-docs-utils/src/api_docs/tests/kibana_platform_plugin_mock.ts b/packages/kbn-docs-utils/src/api_docs/tests/kibana_platform_plugin_mock.ts index 08ddfb1ffd421..c373b9be0c6ff 100644 --- a/packages/kbn-docs-utils/src/api_docs/tests/kibana_platform_plugin_mock.ts +++ b/packages/kbn-docs-utils/src/api_docs/tests/kibana_platform_plugin_mock.ts @@ -6,28 +6,37 @@ * Side Public License, v 1. */ -import { KibanaPlatformPlugin } from '@kbn/dev-utils'; import Path from 'path'; +import { PluginOrPackage } from '../types'; -export function getKibanaPlatformPlugin(id: string, dir?: string): KibanaPlatformPlugin { +export function getKibanaPlatformPlugin(id: string, dir?: string): PluginOrPackage { const directory = dir ?? Path.resolve(__dirname, '__fixtures__/src/plugin_a'); return { manifest: { id, - ui: true, - server: true, - kibanaVersion: '1', - version: '1', owner: { name: 'Kibana Core', }, serviceFolders: [], - requiredPlugins: [], - requiredBundles: [], - optionalPlugins: [], - extraPublicDirs: [], }, directory, manifestPath: Path.resolve(directory, 'kibana.json'), + isPlugin: true, + }; +} + +export function getKibanaPlatformPackage(id: string, importPath?: string): PluginOrPackage { + const directory = Path.resolve(__dirname, '__fixtures__/src/plugin_a'); + return { + manifest: { + id, + owner: { + name: 'Kibana Core', + }, + serviceFolders: [], + }, + directory, + manifestPath: Path.resolve(directory, 'kibana.json'), + isPlugin: false, }; } diff --git a/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.foo.json b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.foo.json new file mode 100644 index 0000000000000..c7b43d9436cb9 --- /dev/null +++ b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.foo.json @@ -0,0 +1,76 @@ +{ + "id": "pluginA.foo", + "client": { + "classes": [], + "functions": [ + { + "parentPluginId": "pluginA", + "id": "def-public.doTheFooFnThing", + "type": "Function", + "tags": [], + "label": "doTheFooFnThing", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/foo/index.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "pluginA", + "id": "def-public.FooType", + "type": "Type", + "tags": [], + "label": "FooType", + "description": [], + "signature": [ + "() => \"foo\"" + ], + "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/foo/index.ts", + "deprecated": false, + "returnComment": [], + "children": [], + "initialIsOpen": false + } + ], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "pluginA", + "id": "def-common.commonFoo", + "type": "string", + "tags": [], + "label": "commonFoo", + "description": [], + "signature": [ + "\"COMMON VAR!\"" + ], + "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/common/foo/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + } +} \ No newline at end of file diff --git a/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.foo.mdx b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.foo.mdx new file mode 100644 index 0000000000000..1fd371b585ce7 --- /dev/null +++ b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.foo.mdx @@ -0,0 +1,35 @@ +--- +id: kibPluginAFooPluginApi +slug: /kibana-dev-docs/pluginA.fooPluginApi +title: pluginA.foo +image: https://source.unsplash.com/400x175/?github +summary: API docs for the pluginA.foo plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', 'pluginA.foo'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import pluginA.fooObj from './plugin_a.foo.json'; + + + +Contact Kibana Core for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 3 | 0 | 0 | 0 | + +## Client + +### Functions + + +### Consts, variables and types + + +## Common + +### Consts, variables and types + + diff --git a/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.mdx b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.mdx index e4c1eb0f0d421..2b2094d3e82e1 100644 --- a/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.mdx +++ b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.mdx @@ -1,7 +1,7 @@ --- id: kibPluginAPluginApi -slug: /kibana-dev-docs/pluginAPluginApi -title: pluginA +slug: /kibana-dev-docs/api/pluginA +title: "pluginA" image: https://source.unsplash.com/400x175/?github summary: API docs for the pluginA plugin date: 2020-11-16 diff --git a/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a_foo.mdx b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a_foo.mdx index 0d952cb34d0da..a89e036b64e77 100644 --- a/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a_foo.mdx +++ b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a_foo.mdx @@ -1,7 +1,7 @@ --- id: kibPluginAFooPluginApi -slug: /kibana-dev-docs/pluginA.fooPluginApi -title: pluginA.foo +slug: /kibana-dev-docs/api/pluginA-foo +title: "pluginA.foo" image: https://source.unsplash.com/400x175/?github summary: API docs for the pluginA.foo plugin date: 2020-11-16 diff --git a/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_b.mdx b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_b.mdx index 67b93a8db6d9c..e78752ef49524 100644 --- a/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_b.mdx +++ b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_b.mdx @@ -1,7 +1,7 @@ --- id: kibPluginBPluginApi -slug: /kibana-dev-docs/pluginBPluginApi -title: pluginB +slug: /kibana-dev-docs/api/pluginB +title: "pluginB" image: https://source.unsplash.com/400x175/?github summary: API docs for the pluginB plugin date: 2020-11-16 diff --git a/packages/kbn-docs-utils/src/api_docs/types.ts b/packages/kbn-docs-utils/src/api_docs/types.ts index e38017cacba5b..a87613075d651 100644 --- a/packages/kbn-docs-utils/src/api_docs/types.ts +++ b/packages/kbn-docs-utils/src/api_docs/types.ts @@ -6,6 +6,23 @@ * Side Public License, v 1. */ +export interface PluginOrPackage { + manifest: { + id: string; + description?: string; + owner: { name: string; githubTeam?: string }; + serviceFolders: readonly string[]; + }; + isPlugin: boolean; + directory: string; + manifestPath: string; + /** + * Only relevant if `isPlugin` is false. Plugins define functionality for each scope using folder structure, + * while a package defines it's intended usage via package.json fields. + */ + scope?: ApiScope; +} + /** * The kinds of typescript types we want to show in the docs. `Unknown` is used if * we aren't accounting for a particular type. See {@link getPropertyTypeKind} @@ -230,4 +247,5 @@ export interface ApiStats { export type PluginMetaInfo = ApiStats & { owner: { name: string; githubTeam?: string }; description?: string; + isPlugin: boolean; // True if plugin, false if a package; }; diff --git a/packages/kbn-docs-utils/src/api_docs/utils.test.ts b/packages/kbn-docs-utils/src/api_docs/utils.test.ts index 5239e3433a05c..488a115554e80 100644 --- a/packages/kbn-docs-utils/src/api_docs/utils.test.ts +++ b/packages/kbn-docs-utils/src/api_docs/utils.test.ts @@ -6,20 +6,24 @@ * Side Public License, v 1. */ -import { KibanaPlatformPlugin, ToolingLog } from '@kbn/dev-utils'; +import { ToolingLog } from '@kbn/dev-utils'; import Path from 'path'; import { Project } from 'ts-morph'; import { findPlugins } from './find_plugins'; import { getPluginApi } from './get_plugin_api'; import { getKibanaPlatformPlugin } from './tests/kibana_platform_plugin_mock'; -import { PluginApi } from './types'; -import { getPluginForPath, getServiceForPath, removeBrokenLinks } from './utils'; +import { PluginApi, PluginOrPackage } from './types'; +import { getPluginForPath, getServiceForPath, removeBrokenLinks, getFileName } from './utils'; const log = new ToolingLog({ level: 'debug', writeTo: process.stdout, }); +it('getFileName', () => { + expect(getFileName('@elastic/datemath')).toBe('elastic_datemath'); +}); + it('test getPluginForPath', () => { const plugins = findPlugins(); const path = Path.resolve(__dirname, '../../../../src/plugins/embeddable/public/service/file.ts'); @@ -65,7 +69,7 @@ it('test removeBrokenLinks', () => { const pluginA = getKibanaPlatformPlugin('pluginA'); pluginA.manifest.serviceFolders = ['foo']; - const plugins: KibanaPlatformPlugin[] = [pluginA]; + const plugins: PluginOrPackage[] = [pluginA]; const pluginApiMap: { [key: string]: PluginApi } = {}; plugins.map((plugin) => { diff --git a/packages/kbn-docs-utils/src/api_docs/utils.ts b/packages/kbn-docs-utils/src/api_docs/utils.ts index c599695502027..c4c89cd070034 100644 --- a/packages/kbn-docs-utils/src/api_docs/utils.ts +++ b/packages/kbn-docs-utils/src/api_docs/utils.ts @@ -6,8 +6,16 @@ * Side Public License, v 1. */ import path from 'path'; -import { KibanaPlatformPlugin, ToolingLog } from '@kbn/dev-utils'; -import { ApiDeclaration, ScopeApi, TypeKind, Lifecycle, PluginApi, ApiScope } from './types'; +import { ToolingLog } from '@kbn/dev-utils'; +import { + ApiDeclaration, + ScopeApi, + TypeKind, + Lifecycle, + PluginApi, + ApiScope, + PluginOrPackage, +} from './types'; function capitalize(str: string): string { return str.charAt(0).toUpperCase() + str.slice(1); @@ -25,9 +33,15 @@ export const snakeToCamel = (str: string): string => */ export function getPluginForPath( filePath: string, - plugins: KibanaPlatformPlugin[] -): KibanaPlatformPlugin | undefined { - return plugins.find((plugin) => filePath.startsWith(plugin.directory + path.sep)); + plugins: PluginOrPackage[] +): PluginOrPackage | undefined { + if (filePath.indexOf('@') >= 0) { + return plugins.find( + (plugin) => !plugin.isPlugin && filePath.indexOf(plugin.manifest.id + path.sep) >= 0 + ); + } else { + return plugins.find((plugin) => filePath.startsWith(plugin.directory + path.sep)); + } } /** @@ -86,7 +100,7 @@ export function getPluginApiDocId( } ) { let service = ''; - const cleanName = id.replace('.', '_'); + const cleanName = id.replace('@', '').replace(/[./\\]/gi, '_'); if (serviceInfo) { const serviceName = getServiceForPath(serviceInfo.apiPath, serviceInfo.directory); const serviceFolder = serviceInfo.serviceFolders?.find((f) => f === serviceName); @@ -233,6 +247,16 @@ function apiItemExists(name: string, scope: ApiScope, pluginApi: PluginApi): boo ); } +export function getFileName(name: string): string { + // Remove the initial `@` if one exists, then replace all dots, slashes and dashes with an `_`. + return camelToSnake(name.replace(/@/gi, '').replace(/[.\\/-]/gi, '_')); +} + +export function getSlug(name: string): string { + // Remove the initial `@` if one exists, then replace all dots and slashes with a `-`. + return name.replace(/@/gi, '').replace(/[.\\/]/gi, '-'); +} + function scopeAccessor(scope: ApiScope): 'server' | 'common' | 'client' { switch (scope) { case ApiScope.CLIENT: diff --git a/packages/kbn-docs-utils/src/index.ts b/packages/kbn-docs-utils/src/index.ts index 5accd1fa2984f..b216b9d5cee0a 100644 --- a/packages/kbn-docs-utils/src/index.ts +++ b/packages/kbn-docs-utils/src/index.ts @@ -6,4 +6,4 @@ * Side Public License, v 1. */ -export * from './api_docs'; +export { runBuildApiDocsCli } from './api_docs'; From b65a506361120b22319f4de13f321456c28d8701 Mon Sep 17 00:00:00 2001 From: Shahzad Date: Mon, 11 Oct 2021 20:03:31 +0200 Subject: [PATCH 024/107] [Observability] Move InspectContextProvider and utils to observability (#113842) (#114456) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- x-pack/plugins/apm/kibana.json | 1 - .../plugins/apm/public/application/uxApp.tsx | 6 +- .../RumDashboard/ActionMenu/inpector_link.tsx | 2 +- .../public/components/routing/app_root.tsx | 6 +- .../inspector_header_link.tsx | 6 +- .../plugins/apm/public/hooks/use_fetcher.tsx | 2 +- .../public/services/rest/createCallApmApi.ts | 2 +- .../create_es_client/call_async_with_debug.ts | 2 +- .../server/routes/register_routes/index.ts | 2 +- x-pack/plugins/apm/typings/common.d.ts | 3 - x-pack/plugins/observability/kibana.json | 1 + .../filter_value_label/filter_value_label.tsx | 7 +- .../public/components/shared/index.tsx | 11 +++ .../context/inspector/inspector_context.tsx | 11 +-- .../inspector/use_inspector_context.tsx | 0 .../public/hooks/use_fetcher.tsx | 1 + x-pack/plugins/observability/public/index.ts | 5 +- x-pack/plugins/observability/server/index.ts | 1 + .../server/utils}/get_inspect_response.ts | 86 +++++++------------ .../plugins/observability/typings/common.ts | 4 + 20 files changed, 79 insertions(+), 80 deletions(-) rename x-pack/plugins/{apm => observability}/public/context/inspector/inspector_context.tsx (91%) rename x-pack/plugins/{apm => observability}/public/context/inspector/use_inspector_context.tsx (100%) rename x-pack/plugins/{apm/server/lib/helpers/create_es_client => observability/server/utils}/get_inspect_response.ts (55%) diff --git a/x-pack/plugins/apm/kibana.json b/x-pack/plugins/apm/kibana.json index a6eba1aada85c..4e82d82d655b4 100644 --- a/x-pack/plugins/apm/kibana.json +++ b/x-pack/plugins/apm/kibana.json @@ -13,7 +13,6 @@ "embeddable", "features", "infra", - "inspector", "licensing", "observability", "ruleRegistry", diff --git a/x-pack/plugins/apm/public/application/uxApp.tsx b/x-pack/plugins/apm/public/application/uxApp.tsx index 16f05cbd51a2c..7ffa285f35799 100644 --- a/x-pack/plugins/apm/public/application/uxApp.tsx +++ b/x-pack/plugins/apm/public/application/uxApp.tsx @@ -34,10 +34,12 @@ import { createCallApmApi } from '../services/rest/createCallApmApi'; import { createStaticIndexPattern } from '../services/rest/index_pattern'; import { UXActionMenu } from '../components/app/RumDashboard/ActionMenu'; import { redirectTo } from '../components/routing/redirect_to'; -import { useBreadcrumbs } from '../../../observability/public'; +import { + InspectorContextProvider, + useBreadcrumbs, +} from '../../../observability/public'; import { useApmPluginContext } from '../context/apm_plugin/use_apm_plugin_context'; import { APP_WRAPPER_CLASS } from '../../../../../src/core/public'; -import { InspectorContextProvider } from '../context/inspector/inspector_context'; export const uxRoutes: APMRouteDefinition[] = [ { diff --git a/x-pack/plugins/apm/public/components/app/RumDashboard/ActionMenu/inpector_link.tsx b/x-pack/plugins/apm/public/components/app/RumDashboard/ActionMenu/inpector_link.tsx index fe686d5571eb8..fc7fad24edb56 100644 --- a/x-pack/plugins/apm/public/components/app/RumDashboard/ActionMenu/inpector_link.tsx +++ b/x-pack/plugins/apm/public/components/app/RumDashboard/ActionMenu/inpector_link.tsx @@ -10,8 +10,8 @@ import { i18n } from '@kbn/i18n'; import React from 'react'; import { useApmPluginContext } from '../../../../context/apm_plugin/use_apm_plugin_context'; import { useKibana } from '../../../../../../../../src/plugins/kibana_react/public'; -import { useInspectorContext } from '../../../../context/inspector/use_inspector_context'; import { enableInspectEsQueries } from '../../../../../../observability/common/ui_settings_keys'; +import { useInspectorContext } from '../../../../../../observability/public'; export function UxInspectorHeaderLink() { const { inspector } = useApmPluginContext(); diff --git a/x-pack/plugins/apm/public/components/routing/app_root.tsx b/x-pack/plugins/apm/public/components/routing/app_root.tsx index bae41b055874a..bc4119a3e835a 100644 --- a/x-pack/plugins/apm/public/components/routing/app_root.tsx +++ b/x-pack/plugins/apm/public/components/routing/app_root.tsx @@ -17,7 +17,10 @@ import { RedirectAppLinks, useUiSetting$, } from '../../../../../../src/plugins/kibana_react/public'; -import { HeaderMenuPortal } from '../../../../observability/public'; +import { + HeaderMenuPortal, + InspectorContextProvider, +} from '../../../../observability/public'; import { ScrollToTopOnPathChange } from '../../components/app/Main/ScrollToTopOnPathChange'; import { AnomalyDetectionJobsContextProvider } from '../../context/anomaly_detection_jobs/anomaly_detection_jobs_context'; import { @@ -26,7 +29,6 @@ import { } from '../../context/apm_plugin/apm_plugin_context'; import { useApmPluginContext } from '../../context/apm_plugin/use_apm_plugin_context'; import { BreadcrumbsContextProvider } from '../../context/breadcrumbs/context'; -import { InspectorContextProvider } from '../../context/inspector/inspector_context'; import { LicenseProvider } from '../../context/license/license_context'; import { TimeRangeIdContextProvider } from '../../context/time_range_id/time_range_id_context'; import { UrlParamsProvider } from '../../context/url_params_context/url_params_context'; diff --git a/x-pack/plugins/apm/public/components/shared/apm_header_action_menu/inspector_header_link.tsx b/x-pack/plugins/apm/public/components/shared/apm_header_action_menu/inspector_header_link.tsx index 7f1848e76d28a..8a18bf0b3eed1 100644 --- a/x-pack/plugins/apm/public/components/shared/apm_header_action_menu/inspector_header_link.tsx +++ b/x-pack/plugins/apm/public/components/shared/apm_header_action_menu/inspector_header_link.tsx @@ -9,9 +9,11 @@ import { EuiHeaderLink } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import React from 'react'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; -import { enableInspectEsQueries } from '../../../../../observability/public'; +import { + enableInspectEsQueries, + useInspectorContext, +} from '../../../../../observability/public'; import { useApmPluginContext } from '../../../context/apm_plugin/use_apm_plugin_context'; -import { useInspectorContext } from '../../../context/inspector/use_inspector_context'; export function InspectorHeaderLink() { const { inspector } = useApmPluginContext(); diff --git a/x-pack/plugins/apm/public/hooks/use_fetcher.tsx b/x-pack/plugins/apm/public/hooks/use_fetcher.tsx index d5a10a6e91539..72fb8ac0bb3cf 100644 --- a/x-pack/plugins/apm/public/hooks/use_fetcher.tsx +++ b/x-pack/plugins/apm/public/hooks/use_fetcher.tsx @@ -9,12 +9,12 @@ import { i18n } from '@kbn/i18n'; import React, { useEffect, useMemo, useState } from 'react'; import { IHttpFetchError } from 'src/core/public'; import { useKibana } from '../../../../../src/plugins/kibana_react/public'; -import { useInspectorContext } from '../context/inspector/use_inspector_context'; import { useTimeRangeId } from '../context/time_range_id/use_time_range_id'; import { AutoAbortedAPMClient, callApmApi, } from '../services/rest/createCallApmApi'; +import { useInspectorContext } from '../../../observability/public'; export enum FETCH_STATUS { LOADING = 'loading', diff --git a/x-pack/plugins/apm/public/services/rest/createCallApmApi.ts b/x-pack/plugins/apm/public/services/rest/createCallApmApi.ts index 0dda1fc56dd27..388d88bbc2a92 100644 --- a/x-pack/plugins/apm/public/services/rest/createCallApmApi.ts +++ b/x-pack/plugins/apm/public/services/rest/createCallApmApi.ts @@ -28,7 +28,7 @@ import type { APIEndpoint, // eslint-disable-next-line @kbn/eslint/no-restricted-paths } from '../../../server'; -import { InspectResponse } from '../../../typings/common'; +import { InspectResponse } from '../../../../observability/typings/common'; export type APMClientOptions = Omit< FetchOptions, diff --git a/x-pack/plugins/apm/server/lib/helpers/create_es_client/call_async_with_debug.ts b/x-pack/plugins/apm/server/lib/helpers/create_es_client/call_async_with_debug.ts index b58a11f637c21..fb58357d68437 100644 --- a/x-pack/plugins/apm/server/lib/helpers/create_es_client/call_async_with_debug.ts +++ b/x-pack/plugins/apm/server/lib/helpers/create_es_client/call_async_with_debug.ts @@ -12,7 +12,7 @@ import { KibanaRequest } from '../../../../../../../src/core/server'; import { RequestStatus } from '../../../../../../../src/plugins/inspector'; import { WrappedElasticsearchClientError } from '../../../../../observability/server'; import { inspectableEsQueriesMap } from '../../../routes/register_routes'; -import { getInspectResponse } from './get_inspect_response'; +import { getInspectResponse } from '../../../../../observability/server'; function formatObj(obj: Record) { return JSON.stringify(obj, null, 2); diff --git a/x-pack/plugins/apm/server/routes/register_routes/index.ts b/x-pack/plugins/apm/server/routes/register_routes/index.ts index fb1d67ad30c2b..d3587f1fcbe4b 100644 --- a/x-pack/plugins/apm/server/routes/register_routes/index.ts +++ b/x-pack/plugins/apm/server/routes/register_routes/index.ts @@ -21,7 +21,7 @@ import { mergeRt, jsonRt } from '@kbn/io-ts-utils'; import { pickKeys } from '../../../common/utils/pick_keys'; import { APMRouteHandlerResources, TelemetryUsageCounter } from '../typings'; import type { ApmPluginRequestHandlerContext } from '../typings'; -import { InspectResponse } from '../../../typings/common'; +import { InspectResponse } from '../../../../observability/typings/common'; const inspectRt = t.exact( t.partial({ diff --git a/x-pack/plugins/apm/typings/common.d.ts b/x-pack/plugins/apm/typings/common.d.ts index 4c0b8520924bc..b94eb6cd97b06 100644 --- a/x-pack/plugins/apm/typings/common.d.ts +++ b/x-pack/plugins/apm/typings/common.d.ts @@ -6,7 +6,6 @@ */ import type { UnwrapPromise } from '@kbn/utility-types'; -import type { Request } from '../../../../src/plugins/inspector/common'; import '../../../typings/rison_node'; import '../../infra/types/eui'; // EUIBasicTable @@ -28,5 +27,3 @@ type AllowUnknownObjectProperties = T extends object export type PromiseValueType> = UnwrapPromise; export type Maybe = T | null | undefined; - -export type InspectResponse = Request[]; diff --git a/x-pack/plugins/observability/kibana.json b/x-pack/plugins/observability/kibana.json index 07299f2e6ff1c..822e0cf9efe7c 100644 --- a/x-pack/plugins/observability/kibana.json +++ b/x-pack/plugins/observability/kibana.json @@ -23,6 +23,7 @@ "cases", "data", "features", + "inspector", "ruleRegistry", "timelines", "triggersActionsUi" diff --git a/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx b/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx index 9e7b96b02206f..9e8480107c17d 100644 --- a/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx +++ b/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx @@ -41,7 +41,7 @@ export function buildFilterLabel({ return filter; } -interface Props { +export interface FilterValueLabelProps { field: string; label: string; value: string | string[]; @@ -60,7 +60,7 @@ export function FilterValueLabel({ invertFilter, removeFilter, allowExclusion = true, -}: Props) { +}: FilterValueLabelProps) { const FilterItem = injectI18n(esFilters.FilterItem); const filter = buildFilterLabel({ field, value, label, indexPattern, negate }); @@ -92,3 +92,6 @@ export function FilterValueLabel({ /> ) : null; } + +// eslint-disable-next-line import/no-default-export +export default FilterValueLabel; diff --git a/x-pack/plugins/observability/public/components/shared/index.tsx b/x-pack/plugins/observability/public/components/shared/index.tsx index afc053604fcdf..4d841eaf4d724 100644 --- a/x-pack/plugins/observability/public/components/shared/index.tsx +++ b/x-pack/plugins/observability/public/components/shared/index.tsx @@ -9,6 +9,7 @@ import React, { lazy, Suspense } from 'react'; import { EuiLoadingSpinner } from '@elastic/eui'; import type { CoreVitalProps, HeaderMenuPortalProps } from './types'; import type { FieldValueSuggestionsProps } from './field_value_suggestions/types'; +import type { FilterValueLabelProps } from './filter_value_label/filter_value_label'; export { createLazyObservabilityPageTemplate } from './page_template'; export type { LazyObservabilityPageTemplateProps } from './page_template'; @@ -42,3 +43,13 @@ export function FieldValueSuggestions(props: FieldValueSuggestionsProps) { ); } + +const FilterValueLabelLazy = lazy(() => import('./filter_value_label/filter_value_label')); + +export function FilterValueLabel(props: FilterValueLabelProps) { + return ( + + + + ); +} diff --git a/x-pack/plugins/apm/public/context/inspector/inspector_context.tsx b/x-pack/plugins/observability/public/context/inspector/inspector_context.tsx similarity index 91% rename from x-pack/plugins/apm/public/context/inspector/inspector_context.tsx rename to x-pack/plugins/observability/public/context/inspector/inspector_context.tsx index 74a44b56ba07d..1d9bd95fa08fa 100644 --- a/x-pack/plugins/apm/public/context/inspector/inspector_context.tsx +++ b/x-pack/plugins/observability/public/context/inspector/inspector_context.tsx @@ -8,8 +8,8 @@ import React, { createContext, ReactNode, useEffect } from 'react'; import { useHistory } from 'react-router-dom'; import { RequestAdapter } from '../../../../../../src/plugins/inspector/common'; -import { InspectResponse } from '../../../typings/common'; import { FetcherResult } from '../../hooks/use_fetcher'; +import { InspectResponse } from '../../../typings/common'; export interface InspectorContextValue { addInspectorRequest: (result: FetcherResult) => void; @@ -23,11 +23,7 @@ const value: InspectorContextValue = { export const InspectorContext = createContext(value); -export function InspectorContextProvider({ - children, -}: { - children: ReactNode; -}) { +export function InspectorContextProvider({ children }: { children: ReactNode }) { const history = useHistory(); const { inspectorAdapters } = value; @@ -37,8 +33,7 @@ export function InspectorContextProvider({ _inspect?: InspectResponse; }> ) { - const operations = - result.data?._inspect ?? result.data?.mainStatisticsData?._inspect ?? []; + const operations = result.data?._inspect ?? result.data?.mainStatisticsData?._inspect ?? []; operations.forEach((operation) => { if (operation.response) { diff --git a/x-pack/plugins/apm/public/context/inspector/use_inspector_context.tsx b/x-pack/plugins/observability/public/context/inspector/use_inspector_context.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/inspector/use_inspector_context.tsx rename to x-pack/plugins/observability/public/context/inspector/use_inspector_context.tsx diff --git a/x-pack/plugins/observability/public/hooks/use_fetcher.tsx b/x-pack/plugins/observability/public/hooks/use_fetcher.tsx index ab8263b086fcd..2defc9a640f95 100644 --- a/x-pack/plugins/observability/public/hooks/use_fetcher.tsx +++ b/x-pack/plugins/observability/public/hooks/use_fetcher.tsx @@ -12,6 +12,7 @@ export enum FETCH_STATUS { SUCCESS = 'success', FAILURE = 'failure', PENDING = 'pending', + NOT_INITIATED = 'not_initiated', } export interface FetcherResult { diff --git a/x-pack/plugins/observability/public/index.ts b/x-pack/plugins/observability/public/index.ts index 99ce1effef4b4..c5dd7f5c858ef 100644 --- a/x-pack/plugins/observability/public/index.ts +++ b/x-pack/plugins/observability/public/index.ts @@ -45,6 +45,7 @@ export { getCoreVitalsComponent, HeaderMenuPortal, FieldValueSuggestions, + FilterValueLabel, } from './components/shared/'; export type { LazyObservabilityPageTemplateProps } from './components/shared'; @@ -70,7 +71,6 @@ export { useTheme } from './hooks/use_theme'; export { getApmTraceUrl } from './utils/get_apm_trace_url'; export { createExploratoryViewUrl } from './components/shared/exploratory_view/configurations/utils'; export { ALL_VALUES_SELECTED } from './components/shared/field_value_suggestions/field_value_combobox'; -export { FilterValueLabel } from './components/shared/filter_value_label/filter_value_label'; export type { AllSeries } from './components/shared/exploratory_view/hooks/use_series_storage'; export type { SeriesUrl } from './components/shared/exploratory_view/types'; @@ -81,3 +81,6 @@ export type { } from './rules/create_observability_rule_type_registry'; export { createObservabilityRuleTypeRegistryMock } from './rules/observability_rule_type_registry_mock'; export type { ExploratoryEmbeddableProps } from './components/shared/exploratory_view/embeddable/embeddable'; + +export { InspectorContextProvider } from './context/inspector/inspector_context'; +export { useInspectorContext } from './context/inspector/use_inspector_context'; diff --git a/x-pack/plugins/observability/server/index.ts b/x-pack/plugins/observability/server/index.ts index 97a17b0d11153..53c3ecb23546c 100644 --- a/x-pack/plugins/observability/server/index.ts +++ b/x-pack/plugins/observability/server/index.ts @@ -15,6 +15,7 @@ import { createOrUpdateIndex, Mappings } from './utils/create_or_update_index'; import { ScopedAnnotationsClient } from './lib/annotations/bootstrap_annotations'; import { unwrapEsResponse, WrappedElasticsearchClientError } from './utils/unwrap_es_response'; export { rangeQuery, kqlQuery } from './utils/queries'; +export { getInspectResponse } from './utils/get_inspect_response'; export * from './types'; diff --git a/x-pack/plugins/apm/server/lib/helpers/create_es_client/get_inspect_response.ts b/x-pack/plugins/observability/server/utils/get_inspect_response.ts similarity index 55% rename from x-pack/plugins/apm/server/lib/helpers/create_es_client/get_inspect_response.ts rename to x-pack/plugins/observability/server/utils/get_inspect_response.ts index ae91daf9d2e0d..a6792e0cac5fd 100644 --- a/x-pack/plugins/apm/server/lib/helpers/create_es_client/get_inspect_response.ts +++ b/x-pack/plugins/observability/server/utils/get_inspect_response.ts @@ -6,13 +6,10 @@ */ import { i18n } from '@kbn/i18n'; -import type { KibanaRequest } from '../../../../../../../src/core/server'; -import type { - RequestStatistics, - RequestStatus, -} from '../../../../../../../src/plugins/inspector'; -import { WrappedElasticsearchClientError } from '../../../../../observability/server'; -import type { InspectResponse } from '../../../../typings/common'; +import type { KibanaRequest } from 'kibana/server'; +import type { RequestStatistics, RequestStatus } from '../../../../../src/plugins/inspector'; +import { WrappedElasticsearchClientError } from '../index'; +import { InspectResponse } from '../../typings/common'; /** * Get statistics to show on inspector tab. @@ -33,14 +30,11 @@ function getStats({ }) { const stats: RequestStatistics = { kibanaApiQueryParameters: { - label: i18n.translate( - 'xpack.apm.inspector.stats.kibanaApiQueryParametersLabel', - { - defaultMessage: 'Kibana API query parameters', - } - ), + label: i18n.translate('xpack.observability.inspector.stats.kibanaApiQueryParametersLabel', { + defaultMessage: 'Kibana API query parameters', + }), description: i18n.translate( - 'xpack.apm.inspector.stats.kibanaApiQueryParametersDescription', + 'xpack.observability.inspector.stats.kibanaApiQueryParametersDescription', { defaultMessage: 'The query parameters used in the Kibana API request that initiated the Elasticsearch request.', @@ -49,42 +43,33 @@ function getStats({ value: JSON.stringify(kibanaRequest.query, null, 2), }, kibanaApiRoute: { - label: i18n.translate('xpack.apm.inspector.stats.kibanaApiRouteLabel', { + label: i18n.translate('xpack.observability.inspector.stats.kibanaApiRouteLabel', { defaultMessage: 'Kibana API route', }), - description: i18n.translate( - 'xpack.apm.inspector.stats.kibanaApiRouteDescription', - { - defaultMessage: - 'The route of the Kibana API request that initiated the Elasticsearch request.', - } - ), - value: `${kibanaRequest.route.method.toUpperCase()} ${ - kibanaRequest.route.path - }`, + description: i18n.translate('xpack.observability.inspector.stats.kibanaApiRouteDescription', { + defaultMessage: + 'The route of the Kibana API request that initiated the Elasticsearch request.', + }), + value: `${kibanaRequest.route.method.toUpperCase()} ${kibanaRequest.route.path}`, }, indexPattern: { - label: i18n.translate('xpack.apm.inspector.stats.indexPatternLabel', { + label: i18n.translate('xpack.observability.inspector.stats.indexPatternLabel', { defaultMessage: 'Index pattern', }), value: esRequestParams.index, - description: i18n.translate( - 'xpack.apm.inspector.stats.indexPatternDescription', - { - defaultMessage: - 'The index pattern that connected to the Elasticsearch indices.', - } - ), + description: i18n.translate('xpack.observability.inspector.stats.indexPatternDescription', { + defaultMessage: 'The index pattern that connected to the Elasticsearch indices.', + }), }, }; if (esResponse?.hits) { stats.hits = { - label: i18n.translate('xpack.apm.inspector.stats.hitsLabel', { + label: i18n.translate('xpack.observability.inspector.stats.hitsLabel', { defaultMessage: 'Hits', }), value: `${esResponse.hits.hits.length}`, - description: i18n.translate('xpack.apm.inspector.stats.hitsDescription', { + description: i18n.translate('xpack.observability.inspector.stats.hitsDescription', { defaultMessage: 'The number of documents returned by the query.', }), }; @@ -92,21 +77,18 @@ function getStats({ if (esResponse?.took) { stats.queryTime = { - label: i18n.translate('xpack.apm.inspector.stats.queryTimeLabel', { + label: i18n.translate('xpack.observability.inspector.stats.queryTimeLabel', { defaultMessage: 'Query time', }), - value: i18n.translate('xpack.apm.inspector.stats.queryTimeValue', { + value: i18n.translate('xpack.observability.inspector.stats.queryTimeValue', { defaultMessage: '{queryTime}ms', values: { queryTime: esResponse.took }, }), - description: i18n.translate( - 'xpack.apm.inspector.stats.queryTimeDescription', - { - defaultMessage: - 'The time it took to process the query. ' + - 'Does not include the time to send the request or parse it in the browser.', - } - ), + description: i18n.translate('xpack.observability.inspector.stats.queryTimeDescription', { + defaultMessage: + 'The time it took to process the query. ' + + 'Does not include the time to send the request or parse it in the browser.', + }), }; } @@ -115,20 +97,16 @@ function getStats({ relation: string; value: number; }; - const hitsTotalValue = - total.relation === 'eq' ? `${total.value}` : `> ${total.value}`; + const hitsTotalValue = total.relation === 'eq' ? `${total.value}` : `> ${total.value}`; stats.hitsTotal = { - label: i18n.translate('xpack.apm.inspector.stats.hitsTotalLabel', { + label: i18n.translate('xpack.observability.inspector.stats.hitsTotalLabel', { defaultMessage: 'Hits (total)', }), value: hitsTotalValue, - description: i18n.translate( - 'xpack.apm.inspector.stats.hitsTotalDescription', - { - defaultMessage: 'The number of documents that match the query.', - } - ), + description: i18n.translate('xpack.observability.inspector.stats.hitsTotalDescription', { + defaultMessage: 'The number of documents that match the query.', + }), }; } return stats; diff --git a/x-pack/plugins/observability/typings/common.ts b/x-pack/plugins/observability/typings/common.ts index d6209c737a468..2bc95447d9203 100644 --- a/x-pack/plugins/observability/typings/common.ts +++ b/x-pack/plugins/observability/typings/common.ts @@ -5,6 +5,8 @@ * 2.0. */ +import { Request } from '../../../../src/plugins/inspector'; + export type ObservabilityApp = | 'infra_metrics' | 'infra_logs' @@ -22,3 +24,5 @@ export type PromiseReturnType = Func extends (...args: any[]) => Promise Date: Mon, 11 Oct 2021 14:04:08 -0400 Subject: [PATCH 025/107] [Uptime] Move Monitor list histogram to async search (#113528) (#114230) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Shahzad --- .../assert_close_to.test.ts.snap | 0 .../lib}/assert_close_to.test.ts | 0 .../helper => common/lib}/assert_close_to.ts | 0 .../lib}/get_histogram_interval.test.ts | 0 .../lib}/get_histogram_interval.ts | 2 +- .../overview/monitor_list/monitor_list.tsx | 13 +- .../monitor_list/use_monitor_histogram.ts | 137 ++++++++++++++++++ .../plugins/uptime/server/lib/helper/index.ts | 2 - .../lib/helper/parse_relative_date.test.ts | 2 +- .../server/lib/requests/get_monitor_states.ts | 105 -------------- .../lib/requests/get_ping_histogram.test.ts | 2 +- .../server/lib/requests/get_ping_histogram.ts | 2 +- .../lib/requests/search/query_context.ts | 2 +- 13 files changed, 150 insertions(+), 117 deletions(-) rename x-pack/plugins/uptime/{server/lib/helper => common/lib}/__snapshots__/assert_close_to.test.ts.snap (100%) rename x-pack/plugins/uptime/{server/lib/helper => common/lib}/assert_close_to.test.ts (100%) rename x-pack/plugins/uptime/{server/lib/helper => common/lib}/assert_close_to.ts (100%) rename x-pack/plugins/uptime/{server/lib/helper => common/lib}/get_histogram_interval.test.ts (100%) rename x-pack/plugins/uptime/{server/lib/helper => common/lib}/get_histogram_interval.ts (96%) create mode 100644 x-pack/plugins/uptime/public/components/overview/monitor_list/use_monitor_histogram.ts diff --git a/x-pack/plugins/uptime/server/lib/helper/__snapshots__/assert_close_to.test.ts.snap b/x-pack/plugins/uptime/common/lib/__snapshots__/assert_close_to.test.ts.snap similarity index 100% rename from x-pack/plugins/uptime/server/lib/helper/__snapshots__/assert_close_to.test.ts.snap rename to x-pack/plugins/uptime/common/lib/__snapshots__/assert_close_to.test.ts.snap diff --git a/x-pack/plugins/uptime/server/lib/helper/assert_close_to.test.ts b/x-pack/plugins/uptime/common/lib/assert_close_to.test.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/helper/assert_close_to.test.ts rename to x-pack/plugins/uptime/common/lib/assert_close_to.test.ts diff --git a/x-pack/plugins/uptime/server/lib/helper/assert_close_to.ts b/x-pack/plugins/uptime/common/lib/assert_close_to.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/helper/assert_close_to.ts rename to x-pack/plugins/uptime/common/lib/assert_close_to.ts diff --git a/x-pack/plugins/uptime/server/lib/helper/get_histogram_interval.test.ts b/x-pack/plugins/uptime/common/lib/get_histogram_interval.test.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/helper/get_histogram_interval.test.ts rename to x-pack/plugins/uptime/common/lib/get_histogram_interval.test.ts diff --git a/x-pack/plugins/uptime/server/lib/helper/get_histogram_interval.ts b/x-pack/plugins/uptime/common/lib/get_histogram_interval.ts similarity index 96% rename from x-pack/plugins/uptime/server/lib/helper/get_histogram_interval.ts rename to x-pack/plugins/uptime/common/lib/get_histogram_interval.ts index edb0f7e2436bf..58b04bb041580 100644 --- a/x-pack/plugins/uptime/server/lib/helper/get_histogram_interval.ts +++ b/x-pack/plugins/uptime/common/lib/get_histogram_interval.ts @@ -6,7 +6,7 @@ */ import DateMath from '@elastic/datemath'; -import { QUERY } from '../../../common/constants'; +import { QUERY } from '../constants'; export const parseRelativeDate = (dateStr: string, options = {}) => { // We need this this parsing because if user selects This week or this date diff --git a/x-pack/plugins/uptime/public/components/overview/monitor_list/monitor_list.tsx b/x-pack/plugins/uptime/public/components/overview/monitor_list/monitor_list.tsx index 37803dff88ce9..fd9c072b9004f 100644 --- a/x-pack/plugins/uptime/public/components/overview/monitor_list/monitor_list.tsx +++ b/x-pack/plugins/uptime/public/components/overview/monitor_list/monitor_list.tsx @@ -17,7 +17,7 @@ import { EuiSpacer, getBreakpoint, } from '@elastic/eui'; -import { HistogramPoint, X509Expiry } from '../../../../common/runtime_types'; +import { X509Expiry } from '../../../../common/runtime_types'; import { MonitorSummary } from '../../../../common/runtime_types'; import { MonitorListStatusColumn } from './columns/monitor_status_column'; import { ExpandedRowMap } from './types'; @@ -35,6 +35,7 @@ import { EnableMonitorAlert } from './columns/enable_alert'; import { STATUS_ALERT_COLUMN } from './translations'; import { MonitorNameColumn } from './columns/monitor_name_col'; import { MonitorTags } from '../../common/monitor_tags'; +import { useMonitorHistogram } from './use_monitor_histogram'; interface Props extends MonitorListProps { pageSize: number; @@ -67,6 +68,8 @@ export const MonitorListComponent: ({ const items = list.summaries ?? []; + const { histogramsById, minInterval } = useMonitorHistogram({ items }); + const nextPagePagination = list.nextPagePagination ?? ''; const prevPagePagination = list.prevPagePagination ?? ''; @@ -149,15 +152,15 @@ export const MonitorListComponent: ({ ? [ { align: 'left' as const, - field: 'histogram.points', + field: 'monitor_id', name: labels.HISTORY_COLUMN_LABEL, mobileOptions: { show: false, }, - render: (histogramSeries: HistogramPoint[] | null, summary: MonitorSummary) => ( + render: (monitorId: string) => ( ), }, diff --git a/x-pack/plugins/uptime/public/components/overview/monitor_list/use_monitor_histogram.ts b/x-pack/plugins/uptime/public/components/overview/monitor_list/use_monitor_histogram.ts new file mode 100644 index 0000000000000..e1ef3d9efee89 --- /dev/null +++ b/x-pack/plugins/uptime/public/components/overview/monitor_list/use_monitor_histogram.ts @@ -0,0 +1,137 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { useContext } from 'react'; +import { useSelector } from 'react-redux'; +import { estypes } from '@elastic/elasticsearch'; +import { + Histogram, + HistogramPoint, + MonitorSummary, +} from '../../../../common/runtime_types/monitor'; +import { useGetUrlParams } from '../../../hooks'; +import { UptimeRefreshContext } from '../../../contexts'; +import { useEsSearch } from '../../../../../observability/public'; +import { esKuerySelector } from '../../../state/selectors'; +import { getHistogramInterval } from '../../../../common/lib/get_histogram_interval'; +import { Ping } from '../../../../common/runtime_types'; + +export const useMonitorHistogram = ({ items }: { items: MonitorSummary[] }) => { + const { dateRangeStart, dateRangeEnd, statusFilter } = useGetUrlParams(); + + const { lastRefresh } = useContext(UptimeRefreshContext); + + const filters = useSelector(esKuerySelector); + + const monitorIds = (items ?? []).map(({ monitor_id: monitorId }) => monitorId); + + const { queryParams, minInterval } = getQueryParams( + dateRangeStart, + dateRangeEnd, + filters, + statusFilter, + monitorIds + ); + + const { data, loading } = useEsSearch(queryParams, [ + JSON.stringify(monitorIds), + lastRefresh, + ]); + + const histogramBuckets = data?.aggregations?.histogram.buckets ?? []; + const simplified = histogramBuckets.map((histogramBucket) => { + const byId: { [key: string]: number } = {}; + histogramBucket.by_id.buckets.forEach((idBucket) => { + byId[idBucket.key] = idBucket.totalDown.value as number; + }); + return { + byId, + timestamp: histogramBucket.key, + }; + }); + + const histogramsById: { [key: string]: Histogram } = {}; + monitorIds.forEach((id: string) => { + const points: HistogramPoint[] = []; + simplified.forEach(({ byId, timestamp }) => { + points.push({ + timestamp, + up: undefined, + down: byId[id], + }); + }); + histogramsById[id] = { points }; + }); + + return { histogramsById, loading, minInterval }; +}; + +const getQueryParams = ( + dateRangeStart: string, + dateRangeEnd: string, + filters: string, + statusFilter: string, + monitorIds: string[] +) => { + const minInterval = getHistogramInterval(dateRangeStart, dateRangeEnd, 12); + + const queryParams = { + index: 'heartbeat-*', + body: { + size: 0, + query: { + bool: { + filter: [ + { + range: { + 'summary.down': { gt: 0 }, + }, + }, + { + terms: { + 'monitor.id': monitorIds, + }, + }, + { + range: { + '@timestamp': { + gte: dateRangeStart, + lte: dateRangeEnd, + }, + }, + }, + ] as estypes.QueryDslQueryContainer, + }, + }, + aggs: { + histogram: { + date_histogram: { + field: '@timestamp', + // 12 seems to be a good size for performance given + // long monitor lists of up to 100 on the overview page + fixed_interval: minInterval + 'ms', + }, + aggs: { + by_id: { + terms: { + field: 'monitor.id', + size: Math.max(monitorIds.length, 1), + }, + aggs: { + totalDown: { + sum: { field: 'summary.down' }, + }, + }, + }, + }, + }, + }, + }, + }; + + return { queryParams, minInterval }; +}; diff --git a/x-pack/plugins/uptime/server/lib/helper/index.ts b/x-pack/plugins/uptime/server/lib/helper/index.ts index dc03191369661..f0dcc75246675 100644 --- a/x-pack/plugins/uptime/server/lib/helper/index.ts +++ b/x-pack/plugins/uptime/server/lib/helper/index.ts @@ -6,6 +6,4 @@ */ export { getFilterClause } from './get_filter_clause'; -export { parseRelativeDate } from './get_histogram_interval'; -export { assertCloseTo } from './assert_close_to'; export { objectValuesToArrays } from './object_to_array'; diff --git a/x-pack/plugins/uptime/server/lib/helper/parse_relative_date.test.ts b/x-pack/plugins/uptime/server/lib/helper/parse_relative_date.test.ts index e76f7b1eb8f55..b8f5ad30671f5 100644 --- a/x-pack/plugins/uptime/server/lib/helper/parse_relative_date.test.ts +++ b/x-pack/plugins/uptime/server/lib/helper/parse_relative_date.test.ts @@ -5,8 +5,8 @@ * 2.0. */ -import { parseRelativeDate } from './get_histogram_interval'; import { Moment } from 'moment'; +import { parseRelativeDate } from '../../../common/lib/get_histogram_interval'; describe('Parsing a relative end date properly', () => { it('converts the upper range of relative end dates to now', async () => { diff --git a/x-pack/plugins/uptime/server/lib/requests/get_monitor_states.ts b/x-pack/plugins/uptime/server/lib/requests/get_monitor_states.ts index 16aca6f8238fb..3d763e59bfa38 100644 --- a/x-pack/plugins/uptime/server/lib/requests/get_monitor_states.ts +++ b/x-pack/plugins/uptime/server/lib/requests/get_monitor_states.ts @@ -9,8 +9,6 @@ import { CONTEXT_DEFAULTS, QUERY } from '../../../common/constants'; import { UMElasticsearchQueryFn } from '../adapters'; import { SortOrder, CursorDirection, MonitorSummariesResult } from '../../../common/runtime_types'; import { QueryContext, MonitorSummaryIterator } from './search'; -import { HistogramPoint, Histogram } from '../../../common/runtime_types'; -import { getHistogramInterval } from '../helper/get_histogram_interval'; export interface CursorPagination { cursorKey?: any; @@ -70,112 +68,9 @@ export const getMonitorStates: UMElasticsearchQueryFn< const iterator = new MonitorSummaryIterator(queryContext); const page = await iterator.nextPage(size); - const minInterval = getHistogramInterval( - queryContext.dateRangeStart, - queryContext.dateRangeEnd, - 12 - ); - - const histograms = await getHistogramForMonitors( - queryContext, - page.monitorSummaries.map((s) => s.monitor_id), - minInterval - ); - - page.monitorSummaries.forEach((s) => { - s.histogram = histograms[s.monitor_id]; - s.minInterval = minInterval; - }); - return { summaries: page.monitorSummaries, nextPagePagination: jsonifyPagination(page.nextPagePagination), prevPagePagination: jsonifyPagination(page.prevPagePagination), }; }; - -export const getHistogramForMonitors = async ( - queryContext: QueryContext, - monitorIds: string[], - minInterval: number -): Promise<{ [key: string]: Histogram }> => { - const params = { - size: 0, - query: { - bool: { - filter: [ - { - range: { - 'summary.down': { gt: 0 }, - }, - }, - { - terms: { - 'monitor.id': monitorIds, - }, - }, - { - range: { - '@timestamp': { - gte: queryContext.dateRangeStart, - lte: queryContext.dateRangeEnd, - }, - }, - }, - ], - }, - }, - aggs: { - histogram: { - date_histogram: { - field: '@timestamp', - // 12 seems to be a good size for performance given - // long monitor lists of up to 100 on the overview page - fixed_interval: minInterval + 'ms', - missing: 0, - }, - aggs: { - by_id: { - terms: { - field: 'monitor.id', - size: Math.max(monitorIds.length, 1), - }, - aggs: { - totalDown: { - sum: { field: 'summary.down' }, - }, - }, - }, - }, - }, - }, - }; - const { body: result } = await queryContext.search({ body: params }); - - const histoBuckets: any[] = (result.aggregations as any)?.histogram.buckets ?? []; - const simplified = histoBuckets.map((histoBucket: any): { timestamp: number; byId: any } => { - const byId: { [key: string]: number } = {}; - histoBucket.by_id.buckets.forEach((idBucket: any) => { - byId[idBucket.key] = idBucket.totalDown.value; - }); - return { - timestamp: parseInt(histoBucket.key, 10), - byId, - }; - }); - - const histosById: { [key: string]: Histogram } = {}; - monitorIds.forEach((id: string) => { - const points: HistogramPoint[] = []; - simplified.forEach((simpleHisto) => { - points.push({ - timestamp: simpleHisto.timestamp, - up: undefined, - down: simpleHisto.byId[id], - }); - }); - histosById[id] = { points }; - }); - - return histosById; -}; diff --git a/x-pack/plugins/uptime/server/lib/requests/get_ping_histogram.test.ts b/x-pack/plugins/uptime/server/lib/requests/get_ping_histogram.test.ts index 5d03110e5cf28..22f714e408a1c 100644 --- a/x-pack/plugins/uptime/server/lib/requests/get_ping_histogram.test.ts +++ b/x-pack/plugins/uptime/server/lib/requests/get_ping_histogram.test.ts @@ -6,7 +6,7 @@ */ import { getPingHistogram } from './get_ping_histogram'; -import * as intervalHelper from '../helper/get_histogram_interval'; +import * as intervalHelper from '../../../common/lib/get_histogram_interval'; import { getUptimeESMockClient } from './helper'; describe('getPingHistogram', () => { diff --git a/x-pack/plugins/uptime/server/lib/requests/get_ping_histogram.ts b/x-pack/plugins/uptime/server/lib/requests/get_ping_histogram.ts index 4490ab67651c9..107a0f29e55fa 100644 --- a/x-pack/plugins/uptime/server/lib/requests/get_ping_histogram.ts +++ b/x-pack/plugins/uptime/server/lib/requests/get_ping_histogram.ts @@ -8,9 +8,9 @@ import { getFilterClause } from '../helper'; import { GetPingHistogramParams, HistogramResult } from '../../../common/runtime_types'; import { QUERY } from '../../../common/constants'; -import { getHistogramInterval } from '../helper/get_histogram_interval'; import { UMElasticsearchQueryFn } from '../adapters/framework'; import { createEsQuery } from '../../../common/utils/es_search'; +import { getHistogramInterval } from '../../../common/lib/get_histogram_interval'; export const getPingHistogram: UMElasticsearchQueryFn = async ({ diff --git a/x-pack/plugins/uptime/server/lib/requests/search/query_context.ts b/x-pack/plugins/uptime/server/lib/requests/search/query_context.ts index d443411ef4c6e..0bc503093f131 100644 --- a/x-pack/plugins/uptime/server/lib/requests/search/query_context.ts +++ b/x-pack/plugins/uptime/server/lib/requests/search/query_context.ts @@ -7,10 +7,10 @@ import moment from 'moment'; import { CursorPagination } from './types'; -import { parseRelativeDate } from '../../helper'; import { CursorDirection, SortOrder } from '../../../../common/runtime_types'; import { UptimeESClient } from '../../lib'; import { ESFilter } from '../../../../../../../src/core/types/elasticsearch'; +import { parseRelativeDate } from '../../../../common/lib/get_histogram_interval'; export class QueryContext { callES: UptimeESClient; From ed48b1195e5872723806096d56fd1e7010632a8b Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 11 Oct 2021 14:07:37 -0400 Subject: [PATCH 026/107] [Fleet] Fix previous configuration modal title (#114475) (#114519) * Fix previous configuration modal title * Revert translation Co-authored-by: Kyle Pollich --- .../sections/agent_policy/edit_package_policy_page/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/index.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/index.tsx index 7a2f46247d14a..4d940534c4a7b 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/index.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/index.tsx @@ -687,7 +687,7 @@ const UpgradeStatusCallout: React.FunctionComponent<{

From 10c8408d897ad346ca5355b361c296eef4560064 Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Mon, 11 Oct 2021 13:30:33 -0500 Subject: [PATCH 027/107] skip flaky suite. #114541, #114542 --- x-pack/test/accessibility/apps/index_lifecycle_management.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/x-pack/test/accessibility/apps/index_lifecycle_management.ts b/x-pack/test/accessibility/apps/index_lifecycle_management.ts index da56cfd702abf..65faa77fc497b 100644 --- a/x-pack/test/accessibility/apps/index_lifecycle_management.ts +++ b/x-pack/test/accessibility/apps/index_lifecycle_management.ts @@ -57,7 +57,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { throw new Error(`Could not find ${policyName} in policy table`); }; - describe('Index Lifecycle Management', async () => { + // FLAKY + // https://github.com/elastic/kibana/issues/114541 + // https://github.com/elastic/kibana/issues/114542 + describe.skip('Index Lifecycle Management', async () => { before(async () => { await esClient.ilm.putLifecycle({ policy: POLICY_NAME, body: POLICY_ALL_PHASES }); await esClient.indices.putIndexTemplate({ From 2dde41b432304cf53cd2b59eb0b18de2ed124b74 Mon Sep 17 00:00:00 2001 From: Madison Caldwell Date: Mon, 11 Oct 2021 14:41:49 -0400 Subject: [PATCH 028/107] Use 'max' agg instead of 'top_hits' as we just need the timestamp field now (#113667) (#114525) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../rule_types/__mocks__/threshold.ts | 16 +--- .../bulk_create_threshold_signals.test.ts | 14 +-- .../bulk_create_threshold_signals.ts | 28 ++---- .../threshold/find_threshold_signals.test.ts | 95 +++---------------- .../threshold/find_threshold_signals.ts | 20 +--- .../lib/detection_engine/signals/types.ts | 14 +-- .../security_solution/server/lib/types.ts | 6 +- 7 files changed, 42 insertions(+), 151 deletions(-) diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/__mocks__/threshold.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/__mocks__/threshold.ts index 554672806c12e..2d33ce7e155b4 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/__mocks__/threshold.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/__mocks__/threshold.ts @@ -25,7 +25,6 @@ import { TypeOfFieldMap } from '../../../../../../rule_registry/common/field_map import { SERVER_APP_ID } from '../../../../../common/constants'; import { ANCHOR_DATE } from '../../../../../common/detection_engine/schemas/response/rules_schema.mocks'; import { getListArrayMock } from '../../../../../common/detection_engine/schemas/types/lists.mock'; -import { sampleDocNoSortId } from '../../signals/__mocks__/es_results'; import { flattenWithPrefix } from '../factories/utils/flatten_with_prefix'; import { RulesFieldMap } from '../field_maps'; import { @@ -60,19 +59,8 @@ export const mockThresholdResults = { { key: 'tardigrade', doc_count: 3, - top_threshold_hits: { - hits: { - total: { - value: 1, - relation: 'eq', - }, - hits: [ - { - ...sampleDocNoSortId(), - 'host.name': 'tardigrade', - }, - ], - }, + max_timestamp: { + value_as_string: '2020-04-20T21:26:30.000Z', }, cardinality_count: { value: 3, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/bulk_create_threshold_signals.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/bulk_create_threshold_signals.test.ts index 79c2d86f35e7b..2d0907b045014 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/bulk_create_threshold_signals.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/bulk_create_threshold_signals.test.ts @@ -7,7 +7,7 @@ import { loggingSystemMock } from '../../../../../../../../src/core/server/mocks'; import { ThresholdNormalized } from '../../../../../common/detection_engine/schemas/common/schemas'; -import { sampleDocNoSortId, sampleDocSearchResultsNoSortId } from '../__mocks__/es_results'; +import { sampleDocSearchResultsNoSortId } from '../__mocks__/es_results'; import { sampleThresholdSignalHistory } from '../__mocks__/threshold_signal_history.mock'; import { calculateThresholdSignalUuid } from '../utils'; import { transformThresholdResultsToEcs } from './bulk_create_threshold_signals'; @@ -40,10 +40,8 @@ describe('transformThresholdNormalizedResultsToEcs', () => { { key: 'garden-gnomes', doc_count: 12, - top_threshold_hits: { - hits: { - hits: [sampleDocNoSortId('abcd')], - }, + max_timestamp: { + value_as_string: '2020-04-20T21:27:45+0000', }, cardinality_count: { value: 7, @@ -208,10 +206,8 @@ describe('transformThresholdNormalizedResultsToEcs', () => { { key: '', doc_count: 15, - top_threshold_hits: { - hits: { - hits: [sampleDocNoSortId('abcd')], - }, + max_timestamp: { + value_as_string: '2020-04-20T21:27:45+0000', }, cardinality_count: { value: 7, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/bulk_create_threshold_signals.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/bulk_create_threshold_signals.ts index ce8ee4542d603..31bf7674b4f92 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/bulk_create_threshold_signals.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/bulk_create_threshold_signals.ts @@ -4,6 +4,9 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ + +import { TIMESTAMP } from '@kbn/rule-data-utils'; + import { get } from 'lodash/fp'; import set from 'set-value'; import { @@ -96,7 +99,7 @@ const getTransformedHits = ( ...val.terms, ].filter((term) => term.field != null), cardinality: val.cardinality, - topThresholdHits: val.topThresholdHits, + maxTimestamp: val.maxTimestamp, docCount: val.docCount, }; acc.push(el as MultiAggBucket); @@ -117,7 +120,7 @@ const getTransformedHits = ( }, ] : undefined, - topThresholdHits: bucket.top_threshold_hits, + maxTimestamp: bucket.max_timestamp.value_as_string, docCount: bucket.doc_count, }; acc.push(el as MultiAggBucket); @@ -132,28 +135,15 @@ const getTransformedHits = ( 0, aggParts.field ).reduce((acc: Array>, bucket) => { - const hit = bucket.topThresholdHits?.hits.hits[0]; - if (hit == null) { - return acc; - } - - const timestampArray = get(timestampOverride ?? '@timestamp', hit.fields); - if (timestampArray == null) { - return acc; - } - - const timestamp = timestampArray[0]; - if (typeof timestamp !== 'string') { - return acc; - } - const termsHash = getThresholdTermsHash(bucket.terms); const signalHit = signalHistory[termsHash]; const source = { - '@timestamp': timestamp, + [TIMESTAMP]: bucket.maxTimestamp, ...bucket.terms.reduce((termAcc, term) => { if (!term.field.startsWith('signal.')) { + // We don't want to overwrite `signal.*` fields. + // See: https://github.com/elastic/kibana/issues/83218 return { ...termAcc, [term.field]: term.value, @@ -170,7 +160,7 @@ const getTransformedHits = ( // the `original_time` of the signal (the timestamp of the latest event // in the set). from: - signalHit?.lastSignalTimestamp != null ? new Date(signalHit!.lastSignalTimestamp) : from, + signalHit?.lastSignalTimestamp != null ? new Date(signalHit.lastSignalTimestamp) : from, }, }; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/find_threshold_signals.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/find_threshold_signals.test.ts index 41d46925770bd..bb2e8d3650e8a 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/find_threshold_signals.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/find_threshold_signals.test.ts @@ -58,22 +58,9 @@ describe('findThresholdSignals', () => { min_doc_count: 100, }, aggs: { - top_threshold_hits: { - top_hits: { - sort: [ - { - '@timestamp': { - order: 'desc', - }, - }, - ], - fields: [ - { - field: '*', - include_unmapped: true, - }, - ], - size: 1, + max_timestamp: { + max: { + field: '@timestamp', }, }, }, @@ -108,22 +95,9 @@ describe('findThresholdSignals', () => { size: 10000, }, aggs: { - top_threshold_hits: { - top_hits: { - sort: [ - { - '@timestamp': { - order: 'desc', - }, - }, - ], - fields: [ - { - field: '*', - include_unmapped: true, - }, - ], - size: 1, + max_timestamp: { + max: { + field: '@timestamp', }, }, }, @@ -166,22 +140,9 @@ describe('findThresholdSignals', () => { size: 10000, }, aggs: { - top_threshold_hits: { - top_hits: { - sort: [ - { - '@timestamp': { - order: 'desc', - }, - }, - ], - fields: [ - { - field: '*', - include_unmapped: true, - }, - ], - size: 1, + max_timestamp: { + max: { + field: '@timestamp', }, }, }, @@ -245,22 +206,9 @@ describe('findThresholdSignals', () => { script: 'params.cardinalityCount >= 2', }, }, - top_threshold_hits: { - top_hits: { - sort: [ - { - '@timestamp': { - order: 'desc', - }, - }, - ], - fields: [ - { - field: '*', - include_unmapped: true, - }, - ], - size: 1, + max_timestamp: { + max: { + field: '@timestamp', }, }, }, @@ -319,22 +267,9 @@ describe('findThresholdSignals', () => { script: 'params.cardinalityCount >= 5', }, }, - top_threshold_hits: { - top_hits: { - sort: [ - { - '@timestamp': { - order: 'desc', - }, - }, - ], - fields: [ - { - field: '*', - include_unmapped: true, - }, - ], - size: 1, + max_timestamp: { + max: { + field: '@timestamp', }, }, }, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/find_threshold_signals.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/find_threshold_signals.ts index 740ba281cfcfb..ad0ff99c019af 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/find_threshold_signals.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/find_threshold_signals.ts @@ -6,6 +6,7 @@ */ import { set } from '@elastic/safer-lodash-set'; +import { TIMESTAMP } from '@kbn/rule-data-utils'; import { ThresholdNormalized, @@ -50,22 +51,9 @@ export const findThresholdSignals = async ({ }> => { // Leaf aggregations used below const leafAggs = { - top_threshold_hits: { - top_hits: { - sort: [ - { - [timestampOverride ?? '@timestamp']: { - order: 'desc' as const, - }, - }, - ], - fields: [ - { - field: '*', - include_unmapped: true, - }, - ], - size: 1, + max_timestamp: { + max: { + field: timestampOverride != null ? timestampOverride : TIMESTAMP, }, }, ...(threshold.cardinality?.length diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/types.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/types.ts index 1e745fa78022c..82b4a46f482b6 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/types.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/types.ts @@ -19,7 +19,7 @@ import { AlertExecutorOptions, AlertServices, } from '../../../../../alerting/server'; -import { BaseSearchResponse, SearchHit, TermAggregationBucket } from '../../types'; +import { TermAggregationBucket } from '../../types'; import { EqlSearchResponse, BaseHit, @@ -333,7 +333,9 @@ export interface SearchAfterAndBulkCreateReturnType { } export interface ThresholdAggregationBucket extends TermAggregationBucket { - top_threshold_hits: BaseSearchResponse; + max_timestamp: { + value_as_string: string; + }; cardinality_count: { value: number; }; @@ -349,13 +351,7 @@ export interface MultiAggBucket { value: string; }>; docCount: number; - topThresholdHits?: - | { - hits: { - hits: SearchHit[]; - }; - } - | undefined; + maxTimestamp: string; } export interface ThresholdQueryBucket extends TermAggregationBucket { diff --git a/x-pack/plugins/security_solution/server/lib/types.ts b/x-pack/plugins/security_solution/server/lib/types.ts index 31211869d054d..2a1452e7b2fd3 100644 --- a/x-pack/plugins/security_solution/server/lib/types.ts +++ b/x-pack/plugins/security_solution/server/lib/types.ts @@ -74,10 +74,8 @@ export type SearchHit = SearchResponse['hits']['hits'][0]; export interface TermAggregationBucket { key: string; doc_count: number; - top_threshold_hits?: { - hits: { - hits: SearchHit[]; - }; + max_timestamp: { + value_as_string: string; }; cardinality_count?: { value: number; From d69cf14f5e9f0176cdd877aa169fe7db63fc48ae Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 11 Oct 2021 15:18:31 -0400 Subject: [PATCH 029/107] [Cases][Observability] Do not sync alerts status with case status (#114318) (#114531) * set sync status according to disable alerts * Adding test Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Jonathan Buttner <56361221+jonathan-buttner@users.noreply.github.com> --- .../components/create/form_context.test.tsx | 23 +++++++++++++++++++ .../public/components/create/form_context.tsx | 10 +++++++- .../cases/public/components/create/index.tsx | 2 ++ 3 files changed, 34 insertions(+), 1 deletion(-) diff --git a/x-pack/plugins/cases/public/components/create/form_context.test.tsx b/x-pack/plugins/cases/public/components/create/form_context.test.tsx index b988f13ee34ce..b55542499fbe4 100644 --- a/x-pack/plugins/cases/public/components/create/form_context.test.tsx +++ b/x-pack/plugins/cases/public/components/create/form_context.test.tsx @@ -239,6 +239,29 @@ describe('Create case', () => { ); }); + it('should set sync alerts to false when the sync setting is passed in as false and alerts are disabled', async () => { + useConnectorsMock.mockReturnValue({ + ...sampleConnectorData, + connectors: connectorsMock, + }); + + const wrapper = mount( + + + + + + + ); + + fillForm(wrapper); + wrapper.find(`[data-test-subj="create-case-submit"]`).first().simulate('click'); + + await waitFor(() => + expect(postCase).toBeCalledWith({ ...sampleData, settings: { syncAlerts: false } }) + ); + }); + it('it should select the default connector set in the configuration', async () => { useCaseConfigureMock.mockImplementation(() => ({ ...useCaseConfigureResponse, diff --git a/x-pack/plugins/cases/public/components/create/form_context.tsx b/x-pack/plugins/cases/public/components/create/form_context.tsx index f59e1822c70be..03d8ec56fb0ae 100644 --- a/x-pack/plugins/cases/public/components/create/form_context.tsx +++ b/x-pack/plugins/cases/public/components/create/form_context.tsx @@ -34,6 +34,7 @@ interface Props { children?: JSX.Element | JSX.Element[]; hideConnectorServiceNowSir?: boolean; onSuccess?: (theCase: Case) => Promise; + syncAlertsDefaultValue?: boolean; } export const FormContext: React.FC = ({ @@ -42,6 +43,7 @@ export const FormContext: React.FC = ({ children, hideConnectorServiceNowSir, onSuccess, + syncAlertsDefaultValue = true, }) => { const { connectors, loading: isLoadingConnectors } = useConnectors(); const owner = useOwnerContext(); @@ -51,7 +53,12 @@ export const FormContext: React.FC = ({ const submitCase = useCallback( async ( - { connectorId: dataConnectorId, fields, syncAlerts = true, ...dataWithoutConnectorId }, + { + connectorId: dataConnectorId, + fields, + syncAlerts = syncAlertsDefaultValue, + ...dataWithoutConnectorId + }, isValid ) => { if (isValid) { @@ -94,6 +101,7 @@ export const FormContext: React.FC = ({ onSuccess, postComment, pushCaseToExternalService, + syncAlertsDefaultValue, ] ); diff --git a/x-pack/plugins/cases/public/components/create/index.tsx b/x-pack/plugins/cases/public/components/create/index.tsx index 7f8b8f664529e..d3eaba1ea0bc4 100644 --- a/x-pack/plugins/cases/public/components/create/index.tsx +++ b/x-pack/plugins/cases/public/components/create/index.tsx @@ -58,6 +58,8 @@ const CreateCaseComponent = ({ caseType={caseType} hideConnectorServiceNowSir={hideConnectorServiceNowSir} onSuccess={onSuccess} + // if we are disabling alerts, then we should not sync alerts + syncAlertsDefaultValue={!disableAlerts} > Date: Mon, 11 Oct 2021 16:46:37 -0400 Subject: [PATCH 030/107] [Alerting] Allow rule types to specify a default and minimum interval (#113650) (#114547) * WIP * Remove test defaults * Fix types * Add tests * Add missing files * Fix issue with using default interval after user manually changed it * PR feedback * Fix types * Remove debug --- x-pack/plugins/alerting/README.md | 2 + x-pack/plugins/alerting/common/alert_type.ts | 2 + .../alerting/server/routes/rule_types.test.ts | 6 + .../alerting/server/routes/rule_types.ts | 4 + .../server/rule_type_registry.test.ts | 57 +++- .../alerting/server/rule_type_registry.ts | 44 +++ .../server/rules_client/rules_client.ts | 22 ++ .../server/rules_client/tests/create.test.ts | 26 ++ .../server/rules_client/tests/update.test.ts | 46 +++ x-pack/plugins/alerting/server/types.ts | 2 + .../public/application/constants/index.ts | 2 + .../components/alert_details.tsx | 1 + .../sections/alert_form/alert_add.test.tsx | 24 +- .../sections/alert_form/alert_add.tsx | 57 +++- .../sections/alert_form/alert_edit.test.tsx | 34 ++- .../sections/alert_form/alert_edit.tsx | 33 +- .../sections/alert_form/alert_errors.test.tsx | 284 ++++++++++++++++++ .../sections/alert_form/alert_errors.ts | 132 ++++++++ .../sections/alert_form/alert_form.tsx | 149 +++------ .../alerts_list/components/alerts_list.tsx | 25 +- .../triggers_actions_ui/public/types.ts | 6 +- 21 files changed, 822 insertions(+), 136 deletions(-) create mode 100644 x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_errors.test.tsx create mode 100644 x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_errors.ts diff --git a/x-pack/plugins/alerting/README.md b/x-pack/plugins/alerting/README.md index 58d2ca35dea7e..343960aee9dfb 100644 --- a/x-pack/plugins/alerting/README.md +++ b/x-pack/plugins/alerting/README.md @@ -122,6 +122,8 @@ The following table describes the properties of the `options` object. |useSavedObjectReferences.extractReferences|(Optional) When developing a rule type, you can choose to implement hooks for extracting saved object references from rule parameters. This hook will be invoked when a rule is created or updated. Implementing this hook is optional, but if an extract hook is implemented, an inject hook must also be implemented.|Function |useSavedObjectReferences.injectReferences|(Optional) When developing a rule type, you can choose to implement hooks for injecting saved object references into rule parameters. This hook will be invoked when a rule is retrieved (get or find). Implementing this hook is optional, but if an inject hook is implemented, an extract hook must also be implemented.|Function |isExportable|Whether the rule type is exportable from the Saved Objects Management UI.|boolean| +|defaultScheduleInterval|The default interval that will show up in the UI when creating a rule of this rule type.|boolean| +|minimumScheduleInterval|The minimum interval that will be allowed for all rules of this rule type.|boolean| ### Executor diff --git a/x-pack/plugins/alerting/common/alert_type.ts b/x-pack/plugins/alerting/common/alert_type.ts index e56034a4c41f8..d71540b4418e8 100644 --- a/x-pack/plugins/alerting/common/alert_type.ts +++ b/x-pack/plugins/alerting/common/alert_type.ts @@ -21,6 +21,8 @@ export interface AlertType< producer: string; minimumLicenseRequired: LicenseType; isExportable: boolean; + defaultScheduleInterval?: string; + minimumScheduleInterval?: string; } export interface ActionGroup { diff --git a/x-pack/plugins/alerting/server/routes/rule_types.test.ts b/x-pack/plugins/alerting/server/routes/rule_types.test.ts index 2e8f43508a969..e4247c9de6cad 100644 --- a/x-pack/plugins/alerting/server/routes/rule_types.test.ts +++ b/x-pack/plugins/alerting/server/routes/rule_types.test.ts @@ -57,6 +57,8 @@ describe('ruleTypesRoute', () => { }, producer: 'test', enabledInLicense: true, + minimumScheduleInterval: '1m', + defaultScheduleInterval: '10m', } as RegistryAlertTypeWithAuth, ]; const expectedResult: Array> = [ @@ -70,7 +72,9 @@ describe('ruleTypesRoute', () => { }, ], default_action_group_id: 'default', + default_schedule_interval: '10m', minimum_license_required: 'basic', + minimum_schedule_interval: '1m', is_exportable: true, recovery_action_group: RecoveredActionGroup, authorized_consumers: {}, @@ -102,10 +106,12 @@ describe('ruleTypesRoute', () => { }, "authorized_consumers": Object {}, "default_action_group_id": "default", + "default_schedule_interval": "10m", "enabled_in_license": true, "id": "1", "is_exportable": true, "minimum_license_required": "basic", + "minimum_schedule_interval": "1m", "name": "name", "producer": "test", "recovery_action_group": Object { diff --git a/x-pack/plugins/alerting/server/routes/rule_types.ts b/x-pack/plugins/alerting/server/routes/rule_types.ts index 153ae96ff68ea..72502b25e9aff 100644 --- a/x-pack/plugins/alerting/server/routes/rule_types.ts +++ b/x-pack/plugins/alerting/server/routes/rule_types.ts @@ -22,6 +22,8 @@ const rewriteBodyRes: RewriteResponseCase = (result isExportable, actionVariables, authorizedConsumers, + minimumScheduleInterval, + defaultScheduleInterval, ...rest }) => ({ ...rest, @@ -33,6 +35,8 @@ const rewriteBodyRes: RewriteResponseCase = (result is_exportable: isExportable, action_variables: actionVariables, authorized_consumers: authorizedConsumers, + minimum_schedule_interval: minimumScheduleInterval, + default_schedule_interval: defaultScheduleInterval, }) ); }; diff --git a/x-pack/plugins/alerting/server/rule_type_registry.test.ts b/x-pack/plugins/alerting/server/rule_type_registry.test.ts index 1c44e862c261c..beb5f264eb725 100644 --- a/x-pack/plugins/alerting/server/rule_type_registry.test.ts +++ b/x-pack/plugins/alerting/server/rule_type_registry.test.ts @@ -114,7 +114,7 @@ describe('register()', () => { test('throws if AlertType ruleTaskTimeout is not a valid duration', () => { const alertType: AlertType = { - id: 123 as unknown as string, + id: '123', name: 'Test', actionGroups: [ { @@ -138,6 +138,59 @@ describe('register()', () => { ); }); + test('throws if defaultScheduleInterval isnt valid', () => { + const alertType: AlertType = { + id: '123', + name: 'Test', + actionGroups: [ + { + id: 'default', + name: 'Default', + }, + ], + + defaultActionGroupId: 'default', + minimumLicenseRequired: 'basic', + isExportable: true, + executor: jest.fn(), + producer: 'alerts', + defaultScheduleInterval: 'foobar', + }; + const registry = new RuleTypeRegistry(ruleTypeRegistryParams); + + expect(() => registry.register(alertType)).toThrowError( + new Error( + `Rule type \"123\" has invalid default interval: string is not a valid duration: foobar.` + ) + ); + }); + + test('throws if minimumScheduleInterval isnt valid', () => { + const alertType: AlertType = { + id: '123', + name: 'Test', + actionGroups: [ + { + id: 'default', + name: 'Default', + }, + ], + defaultActionGroupId: 'default', + minimumLicenseRequired: 'basic', + isExportable: true, + executor: jest.fn(), + producer: 'alerts', + minimumScheduleInterval: 'foobar', + }; + const registry = new RuleTypeRegistry(ruleTypeRegistryParams); + + expect(() => registry.register(alertType)).toThrowError( + new Error( + `Rule type \"123\" has invalid minimum interval: string is not a valid duration: foobar.` + ) + ); + }); + test('throws if RuleType action groups contains reserved group id', () => { const alertType: AlertType = { id: 'test', @@ -465,10 +518,12 @@ describe('list()', () => { "state": Array [], }, "defaultActionGroupId": "testActionGroup", + "defaultScheduleInterval": undefined, "enabledInLicense": false, "id": "test", "isExportable": true, "minimumLicenseRequired": "basic", + "minimumScheduleInterval": undefined, "name": "Test", "producer": "alerts", "recoveryActionGroup": Object { diff --git a/x-pack/plugins/alerting/server/rule_type_registry.ts b/x-pack/plugins/alerting/server/rule_type_registry.ts index dc72b644b2c7b..db02edf4d19dd 100644 --- a/x-pack/plugins/alerting/server/rule_type_registry.ts +++ b/x-pack/plugins/alerting/server/rule_type_registry.ts @@ -48,6 +48,8 @@ export interface RegistryRuleType | 'producer' | 'minimumLicenseRequired' | 'isExportable' + | 'minimumScheduleInterval' + | 'defaultScheduleInterval' > { id: string; enabledInLicense: boolean; @@ -188,6 +190,44 @@ export class RuleTypeRegistry { } alertType.actionVariables = normalizedActionVariables(alertType.actionVariables); + // validate defaultScheduleInterval here + if (alertType.defaultScheduleInterval) { + const invalidDefaultTimeout = validateDurationSchema(alertType.defaultScheduleInterval); + if (invalidDefaultTimeout) { + throw new Error( + i18n.translate( + 'xpack.alerting.ruleTypeRegistry.register.invalidDefaultTimeoutAlertTypeError', + { + defaultMessage: 'Rule type "{id}" has invalid default interval: {errorMessage}.', + values: { + id: alertType.id, + errorMessage: invalidDefaultTimeout, + }, + } + ) + ); + } + } + + // validate minimumScheduleInterval here + if (alertType.minimumScheduleInterval) { + const invalidMinimumTimeout = validateDurationSchema(alertType.minimumScheduleInterval); + if (invalidMinimumTimeout) { + throw new Error( + i18n.translate( + 'xpack.alerting.ruleTypeRegistry.register.invalidMinimumTimeoutAlertTypeError', + { + defaultMessage: 'Rule type "{id}" has invalid minimum interval: {errorMessage}.', + values: { + id: alertType.id, + errorMessage: invalidMinimumTimeout, + }, + } + ) + ); + } + } + const normalizedAlertType = augmentActionGroupsWithReserved< Params, ExtractedParams, @@ -287,6 +327,8 @@ export class RuleTypeRegistry { producer, minimumLicenseRequired, isExportable, + minimumScheduleInterval, + defaultScheduleInterval, }, ]: [string, UntypedNormalizedAlertType]) => ({ id, @@ -298,6 +340,8 @@ export class RuleTypeRegistry { producer, minimumLicenseRequired, isExportable, + minimumScheduleInterval, + defaultScheduleInterval, enabledInLicense: !!this.licenseState.getLicenseCheckForAlertType( id, name, diff --git a/x-pack/plugins/alerting/server/rules_client/rules_client.ts b/x-pack/plugins/alerting/server/rules_client/rules_client.ts index b4b071d426bc0..bc2c92ec4eda7 100644 --- a/x-pack/plugins/alerting/server/rules_client/rules_client.ts +++ b/x-pack/plugins/alerting/server/rules_client/rules_client.ts @@ -293,6 +293,17 @@ export class RulesClient { await this.validateActions(ruleType, data.actions); + // Validate intervals, if configured + if (ruleType.minimumScheduleInterval) { + const intervalInMs = parseDuration(data.schedule.interval); + const minimumScheduleIntervalInMs = parseDuration(ruleType.minimumScheduleInterval); + if (intervalInMs < minimumScheduleIntervalInMs) { + throw Boom.badRequest( + `Error updating rule: the interval is less than the minimum interval of ${ruleType.minimumScheduleInterval}` + ); + } + } + // Extract saved object references for this rule const { references, @@ -827,6 +838,17 @@ export class RulesClient { ); await this.validateActions(ruleType, data.actions); + // Validate intervals, if configured + if (ruleType.minimumScheduleInterval) { + const intervalInMs = parseDuration(data.schedule.interval); + const minimumScheduleIntervalInMs = parseDuration(ruleType.minimumScheduleInterval); + if (intervalInMs < minimumScheduleIntervalInMs) { + throw Boom.badRequest( + `Error updating rule: the interval is less than the minimum interval of ${ruleType.minimumScheduleInterval}` + ); + } + } + // Extract saved object references for this rule const { references, diff --git a/x-pack/plugins/alerting/server/rules_client/tests/create.test.ts b/x-pack/plugins/alerting/server/rules_client/tests/create.test.ts index 2bb92046db68f..fc8f272702e0d 100644 --- a/x-pack/plugins/alerting/server/rules_client/tests/create.test.ts +++ b/x-pack/plugins/alerting/server/rules_client/tests/create.test.ts @@ -2268,4 +2268,30 @@ describe('create()', () => { expect(unsecuredSavedObjectsClient.create).not.toHaveBeenCalled(); expect(taskManager.schedule).not.toHaveBeenCalled(); }); + + test('throws error when updating with an interval less than the minimum configured one', async () => { + ruleTypeRegistry.get.mockImplementation(() => ({ + id: '123', + name: 'Test', + actionGroups: [{ id: 'default', name: 'Default' }], + recoveryActionGroup: RecoveredActionGroup, + defaultActionGroupId: 'default', + minimumLicenseRequired: 'basic', + isExportable: true, + async executor() {}, + producer: 'alerts', + minimumScheduleInterval: '5m', + useSavedObjectReferences: { + extractReferences: jest.fn(), + injectReferences: jest.fn(), + }, + })); + + const data = getMockData({ schedule: { interval: '1m' } }); + await expect(rulesClient.create({ data })).rejects.toThrowErrorMatchingInlineSnapshot( + `"Error updating rule: the interval is less than the minimum interval of 5m"` + ); + expect(unsecuredSavedObjectsClient.create).not.toHaveBeenCalled(); + expect(taskManager.schedule).not.toHaveBeenCalled(); + }); }); diff --git a/x-pack/plugins/alerting/server/rules_client/tests/update.test.ts b/x-pack/plugins/alerting/server/rules_client/tests/update.test.ts index 1328b666f96e7..55ffc49fd3394 100644 --- a/x-pack/plugins/alerting/server/rules_client/tests/update.test.ts +++ b/x-pack/plugins/alerting/server/rules_client/tests/update.test.ts @@ -140,6 +140,7 @@ describe('update()', () => { recoveryActionGroup: RecoveredActionGroup, async executor() {}, producer: 'alerts', + minimumScheduleInterval: '5s', }); }); @@ -1966,4 +1967,49 @@ describe('update()', () => { ); }); }); + + test('throws error when updating with an interval less than the minimum configured one', async () => { + await expect( + rulesClient.update({ + id: '1', + data: { + schedule: { interval: '1s' }, + name: 'abc', + tags: ['foo'], + params: { + bar: true, + }, + throttle: null, + notifyWhen: 'onActiveAlert', + actions: [ + { + group: 'default', + id: '1', + params: { + foo: true, + }, + }, + { + group: 'default', + id: '1', + params: { + foo: true, + }, + }, + { + group: 'default', + id: '2', + params: { + foo: true, + }, + }, + ], + }, + }) + ).rejects.toThrowErrorMatchingInlineSnapshot( + `"Error updating rule: the interval is less than the minimum interval of 5s"` + ); + expect(unsecuredSavedObjectsClient.create).not.toHaveBeenCalled(); + expect(taskManager.schedule).not.toHaveBeenCalled(); + }); }); diff --git a/x-pack/plugins/alerting/server/types.ts b/x-pack/plugins/alerting/server/types.ts index 87648e3f633b3..127f91b273a14 100644 --- a/x-pack/plugins/alerting/server/types.ts +++ b/x-pack/plugins/alerting/server/types.ts @@ -157,6 +157,8 @@ export interface AlertType< injectReferences: (params: ExtractedParams, references: SavedObjectReference[]) => Params; }; isExportable: boolean; + defaultScheduleInterval?: string; + minimumScheduleInterval?: string; ruleTaskTimeout?: string; } export type UntypedAlertType = AlertType< diff --git a/x-pack/plugins/triggers_actions_ui/public/application/constants/index.ts b/x-pack/plugins/triggers_actions_ui/public/application/constants/index.ts index bed7b09110d87..c69cbcfe8ac04 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/constants/index.ts +++ b/x-pack/plugins/triggers_actions_ui/public/application/constants/index.ts @@ -36,3 +36,5 @@ export enum SORT_ORDERS { } export const DEFAULT_SEARCH_PAGE_SIZE: number = 10; + +export const DEFAULT_ALERT_INTERVAL = '1m'; diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_details/components/alert_details.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_details/components/alert_details.tsx index 2b13bdf613d96..3b15295cf7a3a 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_details/components/alert_details.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_details/components/alert_details.tsx @@ -171,6 +171,7 @@ export const AlertDetails: React.FunctionComponent = ({ }} actionTypeRegistry={actionTypeRegistry} ruleTypeRegistry={ruleTypeRegistry} + ruleType={alertType} onSave={setAlert} /> )} diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_add.test.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_add.test.tsx index 514594ffb855b..4ae570a62f7d9 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_add.test.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_add.test.tsx @@ -69,7 +69,8 @@ describe('alert_add', () => { async function setup( initialValues?: Partial, - onClose: AlertAddProps['onClose'] = jest.fn() + onClose: AlertAddProps['onClose'] = jest.fn(), + defaultScheduleInterval?: string ) { const mocks = coreMock.createSetup(); const { loadAlertTypes } = jest.requireMock('../../lib/alert_api'); @@ -84,6 +85,7 @@ describe('alert_add', () => { }, ], defaultActionGroupId: 'testActionGroup', + defaultScheduleInterval, minimumLicenseRequired: 'basic', recoveryActionGroup: { id: 'recovered', name: 'Recovered' }, producer: ALERTS_FEATURE_ID, @@ -243,6 +245,26 @@ describe('alert_add', () => { expect(onClose).toHaveBeenCalledWith(AlertFlyoutCloseReason.SAVED); }); + + it('should enforce any default inteval', async () => { + await setup({ alertTypeId: 'my-alert-type' }, jest.fn(), '3h'); + await delay(1000); + + // Wait for handlers to fire + await act(async () => { + await nextTick(); + wrapper.update(); + }); + + const intervalInputUnit = wrapper + .find('[data-test-subj="intervalInputUnit"]') + .first() + .getElement().props.value; + const intervalInput = wrapper.find('[data-test-subj="intervalInput"]').first().getElement() + .props.value; + expect(intervalInputUnit).toBe('h'); + expect(intervalInput).toBe(3); + }); }); function mockAlert(overloads: Partial = {}): Alert { diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_add.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_add.tsx index 5e4ca42523b39..2b376ea0d0b30 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_add.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_add.tsx @@ -17,10 +17,12 @@ import { AlertFlyoutCloseReason, IErrorObject, AlertAddProps, + RuleTypeIndex, } from '../../../types'; -import { AlertForm, getAlertActionErrors, getAlertErrors, isValidAlert } from './alert_form'; +import { AlertForm } from './alert_form'; +import { getAlertActionErrors, getAlertErrors, isValidAlert } from './alert_errors'; import { alertReducer, InitialAlert, InitialAlertReducer } from './alert_reducer'; -import { createAlert } from '../../lib/alert_api'; +import { createAlert, loadAlertTypes } from '../../lib/alert_api'; import { HealthCheck } from '../../components/health_check'; import { ConfirmAlertSave } from './confirm_alert_save'; import { ConfirmAlertClose } from './confirm_alert_close'; @@ -30,6 +32,7 @@ import { HealthContextProvider } from '../../context/health_context'; import { useKibana } from '../../../common/lib/kibana'; import { hasAlertChanged, haveAlertParamsChanged } from './has_alert_changed'; import { getAlertWithInvalidatedFields } from '../../lib/value_validators'; +import { DEFAULT_ALERT_INTERVAL } from '../../constants'; const AlertAdd = ({ consumer, @@ -39,26 +42,28 @@ const AlertAdd = ({ canChangeTrigger, alertTypeId, initialValues, + reloadAlerts, onSave, metadata, + ...props }: AlertAddProps) => { const onSaveHandler = onSave ?? reloadAlerts; - const initialAlert: InitialAlert = useMemo( - () => ({ + + const initialAlert: InitialAlert = useMemo(() => { + return { params: {}, consumer, alertTypeId, schedule: { - interval: '1m', + interval: DEFAULT_ALERT_INTERVAL, }, actions: [], tags: [], notifyWhen: 'onActionGroupChange', ...(initialValues ? initialValues : {}), - }), - [alertTypeId, consumer, initialValues] - ); + }; + }, [alertTypeId, consumer, initialValues]); const [{ alert }, dispatch] = useReducer(alertReducer as InitialAlertReducer, { alert: initialAlert, @@ -67,6 +72,10 @@ const AlertAdd = ({ const [isSaving, setIsSaving] = useState(false); const [isConfirmAlertSaveModalOpen, setIsConfirmAlertSaveModalOpen] = useState(false); const [isConfirmAlertCloseModalOpen, setIsConfirmAlertCloseModalOpen] = useState(false); + const [ruleTypeIndex, setRuleTypeIndex] = useState( + props.ruleTypeIndex + ); + const [changedFromDefaultInterval, setChangedFromDefaultInterval] = useState(false); const setAlert = (value: InitialAlert) => { dispatch({ command: { type: 'setAlert' }, payload: { key: 'alert', value } }); @@ -90,6 +99,19 @@ const AlertAdd = ({ } }, [alertTypeId]); + useEffect(() => { + if (!props.ruleTypeIndex) { + (async () => { + const alertTypes = await loadAlertTypes({ http }); + const index: RuleTypeIndex = new Map(); + for (const alertType of alertTypes) { + index.set(alertType.id, alertType); + } + setRuleTypeIndex(index); + })(); + } + }, [props.ruleTypeIndex, http]); + useEffect(() => { if (isEmpty(alert.params) && !isEmpty(initialAlertParams)) { // alert params are explicitly cleared when the alert type is cleared. @@ -115,6 +137,21 @@ const AlertAdd = ({ })(); }, [alert, actionTypeRegistry]); + useEffect(() => { + if (alert.alertTypeId && ruleTypeIndex) { + const type = ruleTypeIndex.get(alert.alertTypeId); + if (type?.defaultScheduleInterval && !changedFromDefaultInterval) { + setAlertProperty('schedule', { interval: type.defaultScheduleInterval }); + } + } + }, [alert.alertTypeId, ruleTypeIndex, alert.schedule.interval, changedFromDefaultInterval]); + + useEffect(() => { + if (alert.schedule.interval !== DEFAULT_ALERT_INTERVAL && !changedFromDefaultInterval) { + setChangedFromDefaultInterval(true); + } + }, [alert.schedule.interval, changedFromDefaultInterval]); + const checkForChangesAndCloseFlyout = () => { if ( hasAlertChanged(alert, initialAlert, false) || @@ -138,9 +175,11 @@ const AlertAdd = ({ }; const alertType = alert.alertTypeId ? ruleTypeRegistry.get(alert.alertTypeId) : null; + const { alertBaseErrors, alertErrors, alertParamsErrors } = getAlertErrors( alert as Alert, - alertType + alertType, + alert.alertTypeId ? ruleTypeIndex?.get(alert.alertTypeId) : undefined ); // Confirm before saving if user is able to add actions but hasn't added any to this alert diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_edit.test.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_edit.test.tsx index 1aea6c68acbf8..467f2af6ed704 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_edit.test.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_edit.test.tsx @@ -35,6 +35,23 @@ jest.mock('../../lib/alert_api', () => ({ })), })); +jest.mock('./alert_errors', () => ({ + getAlertActionErrors: jest.fn().mockImplementation(() => { + return []; + }), + getAlertErrors: jest.fn().mockImplementation(() => ({ + alertParamsErrors: {}, + alertBaseErrors: {}, + alertErrors: { + name: new Array(), + interval: new Array(), + alertTypeId: new Array(), + actionConnectors: new Array(), + }, + })), + isValidAlert: jest.fn(), +})); + jest.mock('../../../common/lib/health_api', () => ({ triggersActionsUiHealth: jest.fn(() => ({ isAlertsAvailable: true })), })); @@ -47,7 +64,7 @@ describe('alert_edit', () => { mockedCoreSetup = coreMock.createSetup(); }); - async function setup() { + async function setup(initialAlertFields = {}) { const [ { application: { capabilities }, @@ -154,6 +171,7 @@ describe('alert_edit', () => { status: 'unknown', lastExecutionDate: new Date('2020-08-20T19:23:38Z'), }, + ...initialAlertFields, }; actionTypeRegistry.get.mockReturnValueOnce(actionTypeModel); actionTypeRegistry.has.mockReturnValue(true); @@ -188,7 +206,11 @@ describe('alert_edit', () => { }); it('displays a toast message on save for server errors', async () => { - await setup(); + const { isValidAlert } = jest.requireMock('./alert_errors'); + (isValidAlert as jest.Mock).mockImplementation(() => { + return true; + }); + await setup({ name: undefined }); await act(async () => { wrapper.find('[data-test-subj="saveEditedAlertButton"]').first().simulate('click'); @@ -197,4 +219,12 @@ describe('alert_edit', () => { 'Fail message' ); }); + + it('should pass in the server alert type into `getAlertErrors`', async () => { + const { getAlertErrors } = jest.requireMock('./alert_errors'); + await setup(); + const lastCall = getAlertErrors.mock.calls[getAlertErrors.mock.calls.length - 1]; + expect(lastCall[2]).toBeDefined(); + expect(lastCall[2].id).toBe('my-alert-type'); + }); }); diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_edit.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_edit.tsx index 8b79950d03ac9..f8c506fa1e8ba 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_edit.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_edit.tsx @@ -24,10 +24,17 @@ import { } from '@elastic/eui'; import { cloneDeep } from 'lodash'; import { i18n } from '@kbn/i18n'; -import { Alert, AlertFlyoutCloseReason, AlertEditProps, IErrorObject } from '../../../types'; -import { AlertForm, getAlertActionErrors, getAlertErrors, isValidAlert } from './alert_form'; +import { + Alert, + AlertFlyoutCloseReason, + AlertEditProps, + IErrorObject, + AlertType, +} from '../../../types'; +import { AlertForm } from './alert_form'; +import { getAlertActionErrors, getAlertErrors, isValidAlert } from './alert_errors'; import { alertReducer, ConcreteAlertReducer } from './alert_reducer'; -import { updateAlert } from '../../lib/alert_api'; +import { updateAlert, loadAlertTypes } from '../../lib/alert_api'; import { HealthCheck } from '../../components/health_check'; import { HealthContextProvider } from '../../context/health_context'; import { useKibana } from '../../../common/lib/kibana'; @@ -43,6 +50,7 @@ export const AlertEdit = ({ ruleTypeRegistry, actionTypeRegistry, metadata, + ...props }: AlertEditProps) => { const onSaveHandler = onSave ?? reloadAlerts; const [{ alert }, dispatch] = useReducer(alertReducer as ConcreteAlertReducer, { @@ -55,6 +63,9 @@ export const AlertEdit = ({ const [isConfirmAlertCloseModalOpen, setIsConfirmAlertCloseModalOpen] = useState(false); const [alertActionsErrors, setAlertActionsErrors] = useState([]); const [isLoading, setIsLoading] = useState(false); + const [serverRuleType, setServerRuleType] = useState | undefined>( + props.ruleType + ); const { http, @@ -75,9 +86,23 @@ export const AlertEdit = ({ })(); }, [alert, actionTypeRegistry]); + useEffect(() => { + if (!props.ruleType && !serverRuleType) { + (async () => { + const serverRuleTypes = await loadAlertTypes({ http }); + for (const _serverRuleType of serverRuleTypes) { + if (alertType.id === _serverRuleType.id) { + setServerRuleType(_serverRuleType); + } + } + })(); + } + }, [props.ruleType, alertType.id, serverRuleType, http]); + const { alertBaseErrors, alertErrors, alertParamsErrors } = getAlertErrors( alert as Alert, - alertType + alertType, + serverRuleType ); const checkForChangesAndCloseFlyout = () => { diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_errors.test.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_errors.test.tsx new file mode 100644 index 0000000000000..5ca0fd9dafc18 --- /dev/null +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_errors.test.tsx @@ -0,0 +1,284 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import uuid from 'uuid'; +import React, { Fragment } from 'react'; +import { + validateBaseProperties, + getAlertErrors, + getAlertActionErrors, + hasObjectErrors, + isValidAlert, +} from './alert_errors'; +import { Alert, AlertType, AlertTypeModel } from '../../../types'; +import { actionTypeRegistryMock } from '../../action_type_registry.mock'; + +describe('alert_errors', () => { + describe('validateBaseProperties()', () => { + it('should validate the name', () => { + const alert = mockAlert(); + alert.name = ''; + const result = validateBaseProperties(alert); + expect(result.errors).toStrictEqual({ + name: ['Name is required.'], + interval: [], + alertTypeId: [], + actionConnectors: [], + }); + }); + + it('should validate the interval', () => { + const alert = mockAlert(); + alert.schedule.interval = ''; + const result = validateBaseProperties(alert); + expect(result.errors).toStrictEqual({ + name: [], + interval: ['Check interval is required.'], + alertTypeId: [], + actionConnectors: [], + }); + }); + + it('should validate the minimumScheduleInterval', () => { + const alert = mockAlert(); + alert.schedule.interval = '2m'; + const result = validateBaseProperties( + alert, + mockserverRuleType({ minimumScheduleInterval: '5m' }) + ); + expect(result.errors).toStrictEqual({ + name: [], + interval: ['Interval is below minimum (5m) for this rule type'], + alertTypeId: [], + actionConnectors: [], + }); + }); + + it('should validate the alertTypeId', () => { + const alert = mockAlert(); + alert.alertTypeId = ''; + const result = validateBaseProperties(alert); + expect(result.errors).toStrictEqual({ + name: [], + interval: [], + alertTypeId: ['Rule type is required.'], + actionConnectors: [], + }); + }); + + it('should validate the connectors', () => { + const alert = mockAlert(); + alert.actions = [ + { + id: '1234', + actionTypeId: 'myActionType', + group: '', + params: { + name: 'yes', + }, + }, + ]; + const result = validateBaseProperties(alert); + expect(result.errors).toStrictEqual({ + name: [], + interval: [], + alertTypeId: [], + actionConnectors: ['Action for myActionType connector is required.'], + }); + }); + }); + + describe('getAlertErrors()', () => { + it('should return all errors', () => { + const result = getAlertErrors( + mockAlert({ + name: '', + }), + mockAlertTypeModel({ + validate: () => ({ + errors: { + field: ['This is wrong'], + }, + }), + }), + mockserverRuleType() + ); + expect(result).toStrictEqual({ + alertParamsErrors: { field: ['This is wrong'] }, + alertBaseErrors: { + name: ['Name is required.'], + interval: [], + alertTypeId: [], + actionConnectors: [], + }, + alertErrors: { + name: ['Name is required.'], + field: ['This is wrong'], + interval: [], + alertTypeId: [], + actionConnectors: [], + }, + }); + }); + }); + + describe('getAlertActionErrors()', () => { + it('should return an array of errors', async () => { + const actionTypeRegistry = actionTypeRegistryMock.create(); + actionTypeRegistry.get.mockImplementation((actionTypeId: string) => ({ + ...actionTypeRegistryMock.createMockActionTypeModel(), + validateParams: jest.fn().mockImplementation(() => ({ + errors: { + [actionTypeId]: ['Yes, this failed'], + }, + })), + })); + const result = await getAlertActionErrors( + mockAlert({ + actions: [ + { + id: '1234', + actionTypeId: 'myActionType', + group: '', + params: { + name: 'yes', + }, + }, + { + id: '5678', + actionTypeId: 'myActionType2', + group: '', + params: { + name: 'yes', + }, + }, + ], + }), + actionTypeRegistry + ); + expect(result).toStrictEqual([ + { + myActionType: ['Yes, this failed'], + }, + { + myActionType2: ['Yes, this failed'], + }, + ]); + }); + }); + + describe('hasObjectErrors()', () => { + it('should return true for any errors', () => { + expect( + hasObjectErrors({ + foo: ['1'], + }) + ).toBe(true); + expect( + hasObjectErrors({ + foo: { + foo: ['1'], + }, + }) + ).toBe(true); + }); + it('should return false for no errors', () => { + expect(hasObjectErrors({})).toBe(false); + }); + }); + + describe('isValidAlert()', () => { + it('should return true for a valid alert', () => { + const result = isValidAlert(mockAlert(), {}, []); + expect(result).toBe(true); + }); + it('should return false for an invalid alert', () => { + expect( + isValidAlert( + mockAlert(), + { + name: ['This is wrong'], + }, + [] + ) + ).toBe(false); + expect( + isValidAlert(mockAlert(), {}, [ + { + name: ['This is wrong'], + }, + ]) + ).toBe(false); + }); + }); +}); + +function mockserverRuleType( + overloads: Partial> = {} +): AlertType { + return { + actionGroups: [], + defaultActionGroupId: 'default', + minimumLicenseRequired: 'basic', + recoveryActionGroup: { + id: 'recovery', + name: 'doRecovery', + }, + id: 'myAppAlertType', + name: 'myAppAlertType', + producer: 'myApp', + authorizedConsumers: {}, + enabledInLicense: true, + actionVariables: { + context: [], + state: [], + params: [], + }, + ...overloads, + }; +} + +function mockAlertTypeModel(overloads: Partial = {}): AlertTypeModel { + return { + id: 'alertTypeModel', + description: 'some alert', + iconClass: 'something', + documentationUrl: null, + validate: () => ({ errors: {} }), + alertParamsExpression: () => , + requiresAppContext: false, + ...overloads, + }; +} + +function mockAlert(overloads: Partial = {}): Alert { + return { + id: uuid.v4(), + enabled: true, + name: `alert-${uuid.v4()}`, + tags: [], + alertTypeId: '.noop', + consumer: 'consumer', + schedule: { interval: '1m' }, + actions: [], + params: {}, + createdBy: null, + updatedBy: null, + createdAt: new Date(), + updatedAt: new Date(), + apiKeyOwner: null, + throttle: null, + notifyWhen: null, + muteAll: false, + mutedInstanceIds: [], + executionStatus: { + status: 'unknown', + lastExecutionDate: new Date('2020-08-20T19:23:38Z'), + }, + ...overloads, + }; +} diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_errors.ts b/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_errors.ts new file mode 100644 index 0000000000000..3ca6a822b2d2d --- /dev/null +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_errors.ts @@ -0,0 +1,132 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import { isObject } from 'lodash'; +import { i18n } from '@kbn/i18n'; +import { parseDuration } from '../../../../../alerting/common/parse_duration'; +import { + AlertTypeModel, + Alert, + IErrorObject, + AlertAction, + AlertType, + ValidationResult, + ActionTypeRegistryContract, +} from '../../../types'; +import { InitialAlert } from './alert_reducer'; + +export function validateBaseProperties( + alertObject: InitialAlert, + serverRuleType?: AlertType +): ValidationResult { + const validationResult = { errors: {} }; + const errors = { + name: new Array(), + interval: new Array(), + alertTypeId: new Array(), + actionConnectors: new Array(), + }; + validationResult.errors = errors; + if (!alertObject.name) { + errors.name.push( + i18n.translate('xpack.triggersActionsUI.sections.alertForm.error.requiredNameText', { + defaultMessage: 'Name is required.', + }) + ); + } + if (alertObject.schedule.interval.length < 2) { + errors.interval.push( + i18n.translate('xpack.triggersActionsUI.sections.alertForm.error.requiredIntervalText', { + defaultMessage: 'Check interval is required.', + }) + ); + } else if (serverRuleType?.minimumScheduleInterval) { + const duration = parseDuration(alertObject.schedule.interval); + const minimumDuration = parseDuration(serverRuleType.minimumScheduleInterval); + if (duration < minimumDuration) { + errors.interval.push( + i18n.translate('xpack.triggersActionsUI.sections.alertForm.error.belowMinimumText', { + defaultMessage: 'Interval is below minimum ({minimum}) for this rule type', + values: { + minimum: serverRuleType.minimumScheduleInterval, + }, + }) + ); + } + } + + if (!alertObject.alertTypeId) { + errors.alertTypeId.push( + i18n.translate('xpack.triggersActionsUI.sections.alertForm.error.requiredRuleTypeIdText', { + defaultMessage: 'Rule type is required.', + }) + ); + } + const emptyConnectorActions = alertObject.actions.find( + (actionItem) => /^\d+$/.test(actionItem.id) && Object.keys(actionItem.params).length > 0 + ); + if (emptyConnectorActions !== undefined) { + errors.actionConnectors.push( + i18n.translate('xpack.triggersActionsUI.sections.alertForm.error.requiredActionConnector', { + defaultMessage: 'Action for {actionTypeId} connector is required.', + values: { actionTypeId: emptyConnectorActions.actionTypeId }, + }) + ); + } + return validationResult; +} + +export function getAlertErrors( + alert: Alert, + alertTypeModel: AlertTypeModel | null, + serverRuleType?: AlertType +) { + const alertParamsErrors: IErrorObject = alertTypeModel + ? alertTypeModel.validate(alert.params).errors + : []; + const alertBaseErrors = validateBaseProperties(alert, serverRuleType).errors as IErrorObject; + const alertErrors = { + ...alertParamsErrors, + ...alertBaseErrors, + } as IErrorObject; + + return { + alertParamsErrors, + alertBaseErrors, + alertErrors, + }; +} + +export async function getAlertActionErrors( + alert: Alert, + actionTypeRegistry: ActionTypeRegistryContract +): Promise { + return await Promise.all( + alert.actions.map( + async (alertAction: AlertAction) => + ( + await actionTypeRegistry.get(alertAction.actionTypeId)?.validateParams(alertAction.params) + ).errors + ) + ); +} + +export const hasObjectErrors: (errors: IErrorObject) => boolean = (errors) => + !!Object.values(errors).find((errorList) => { + if (isObject(errorList)) return hasObjectErrors(errorList as IErrorObject); + return errorList.length >= 1; + }); + +export function isValidAlert( + alertObject: InitialAlert | Alert, + validationResult: IErrorObject, + actionsErrors: IErrorObject[] +): alertObject is Alert { + return ( + !hasObjectErrors(validationResult) && + actionsErrors.every((error: IErrorObject) => !hasObjectErrors(error)) + ); +} diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_form.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_form.tsx index 5facda85e6c89..3f6bf3c955e8b 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_form.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_form.tsx @@ -35,7 +35,7 @@ import { EuiToolTip, EuiCallOut, } from '@elastic/eui'; -import { capitalize, isObject } from 'lodash'; +import { capitalize } from 'lodash'; import { KibanaFeature } from '../../../../../features/public'; import { getDurationNumberInItsUnit, @@ -48,9 +48,8 @@ import { Alert, IErrorObject, AlertAction, - AlertTypeIndex, + RuleTypeIndex, AlertType, - ValidationResult, RuleTypeRegistryContract, ActionTypeRegistryContract, } from '../../../types'; @@ -74,101 +73,10 @@ import { checkAlertTypeEnabled } from '../../lib/check_alert_type_enabled'; import { alertTypeCompare, alertTypeGroupCompare } from '../../lib/alert_type_compare'; import { VIEW_LICENSE_OPTIONS_LINK } from '../../../common/constants'; import { SectionLoading } from '../../components/section_loading'; +import { DEFAULT_ALERT_INTERVAL } from '../../constants'; const ENTER_KEY = 13; -export function validateBaseProperties(alertObject: InitialAlert): ValidationResult { - const validationResult = { errors: {} }; - const errors = { - name: new Array(), - interval: new Array(), - alertTypeId: new Array(), - actionConnectors: new Array(), - }; - validationResult.errors = errors; - if (!alertObject.name) { - errors.name.push( - i18n.translate('xpack.triggersActionsUI.sections.alertForm.error.requiredNameText', { - defaultMessage: 'Name is required.', - }) - ); - } - if (alertObject.schedule.interval.length < 2) { - errors.interval.push( - i18n.translate('xpack.triggersActionsUI.sections.alertForm.error.requiredIntervalText', { - defaultMessage: 'Check interval is required.', - }) - ); - } - if (!alertObject.alertTypeId) { - errors.alertTypeId.push( - i18n.translate('xpack.triggersActionsUI.sections.alertForm.error.requiredRuleTypeIdText', { - defaultMessage: 'Rule type is required.', - }) - ); - } - const emptyConnectorActions = alertObject.actions.find( - (actionItem) => /^\d+$/.test(actionItem.id) && Object.keys(actionItem.params).length > 0 - ); - if (emptyConnectorActions !== undefined) { - errors.actionConnectors.push( - i18n.translate('xpack.triggersActionsUI.sections.alertForm.error.requiredActionConnector', { - defaultMessage: 'Action for {actionTypeId} connector is required.', - values: { actionTypeId: emptyConnectorActions.actionTypeId }, - }) - ); - } - return validationResult; -} - -export function getAlertErrors(alert: Alert, alertTypeModel: AlertTypeModel | null) { - const alertParamsErrors: IErrorObject = alertTypeModel - ? alertTypeModel.validate(alert.params).errors - : []; - const alertBaseErrors = validateBaseProperties(alert).errors as IErrorObject; - const alertErrors = { - ...alertParamsErrors, - ...alertBaseErrors, - } as IErrorObject; - - return { - alertParamsErrors, - alertBaseErrors, - alertErrors, - }; -} - -export async function getAlertActionErrors( - alert: Alert, - actionTypeRegistry: ActionTypeRegistryContract -): Promise { - return await Promise.all( - alert.actions.map( - async (alertAction: AlertAction) => - ( - await actionTypeRegistry.get(alertAction.actionTypeId)?.validateParams(alertAction.params) - ).errors - ) - ); -} - -export const hasObjectErrors: (errors: IErrorObject) => boolean = (errors) => - !!Object.values(errors).find((errorList) => { - if (isObject(errorList)) return hasObjectErrors(errorList as IErrorObject); - return errorList.length >= 1; - }); - -export function isValidAlert( - alertObject: InitialAlert | Alert, - validationResult: IErrorObject, - actionsErrors: IErrorObject[] -): alertObject is Alert { - return ( - !hasObjectErrors(validationResult) && - actionsErrors.every((error: IErrorObject) => !hasObjectErrors(error)) - ); -} - function getProducerFeatureName(producer: string, kibanaFeatures: KibanaFeature[]) { return kibanaFeatures.find((featureItem) => featureItem.id === producer)?.name; } @@ -186,6 +94,9 @@ interface AlertFormProps> { metadata?: MetaData; } +const defaultScheduleInterval = getDurationNumberInItsUnit(DEFAULT_ALERT_INTERVAL); +const defaultScheduleIntervalUnit = getDurationUnitValue(DEFAULT_ALERT_INTERVAL); + export const AlertForm = ({ alert, canChangeTrigger = true, @@ -212,10 +123,14 @@ export const AlertForm = ({ const [alertTypeModel, setAlertTypeModel] = useState(null); const [alertInterval, setAlertInterval] = useState( - alert.schedule.interval ? getDurationNumberInItsUnit(alert.schedule.interval) : undefined + alert.schedule.interval + ? getDurationNumberInItsUnit(alert.schedule.interval) + : defaultScheduleInterval ); const [alertIntervalUnit, setAlertIntervalUnit] = useState( - alert.schedule.interval ? getDurationUnitValue(alert.schedule.interval) : 'm' + alert.schedule.interval + ? getDurationUnitValue(alert.schedule.interval) + : defaultScheduleIntervalUnit ); const [alertThrottle, setAlertThrottle] = useState( alert.throttle ? getDurationNumberInItsUnit(alert.throttle) : null @@ -224,7 +139,7 @@ export const AlertForm = ({ alert.throttle ? getDurationUnitValue(alert.throttle) : 'h' ); const [defaultActionGroupId, setDefaultActionGroupId] = useState(undefined); - const [alertTypesIndex, setAlertTypesIndex] = useState(null); + const [ruleTypeIndex, setRuleTypeIndex] = useState(null); const [availableAlertTypes, setAvailableAlertTypes] = useState< Array<{ alertTypeModel: AlertTypeModel; alertType: AlertType }> @@ -243,14 +158,14 @@ export const AlertForm = ({ (async () => { try { const alertTypesResult = await loadAlertTypes({ http }); - const index: AlertTypeIndex = new Map(); + const index: RuleTypeIndex = new Map(); for (const alertTypeItem of alertTypesResult) { index.set(alertTypeItem.id, alertTypeItem); } if (alert.alertTypeId && index.has(alert.alertTypeId)) { setDefaultActionGroupId(index.get(alert.alertTypeId)!.defaultActionGroupId); } - setAlertTypesIndex(index); + setRuleTypeIndex(index); const availableAlertTypesResult = getAvailableAlertTypes(alertTypesResult); setAvailableAlertTypes(availableAlertTypesResult); @@ -287,10 +202,24 @@ export const AlertForm = ({ useEffect(() => { setAlertTypeModel(alert.alertTypeId ? ruleTypeRegistry.get(alert.alertTypeId) : null); - if (alert.alertTypeId && alertTypesIndex && alertTypesIndex.has(alert.alertTypeId)) { - setDefaultActionGroupId(alertTypesIndex.get(alert.alertTypeId)!.defaultActionGroupId); + if (alert.alertTypeId && ruleTypeIndex && ruleTypeIndex.has(alert.alertTypeId)) { + setDefaultActionGroupId(ruleTypeIndex.get(alert.alertTypeId)!.defaultActionGroupId); + } + }, [alert, alert.alertTypeId, ruleTypeIndex, ruleTypeRegistry]); + + useEffect(() => { + if (alert.schedule.interval) { + const interval = getDurationNumberInItsUnit(alert.schedule.interval); + const intervalUnit = getDurationUnitValue(alert.schedule.interval); + + if (interval !== defaultScheduleInterval) { + setAlertInterval(interval); + } + if (intervalUnit !== defaultScheduleIntervalUnit) { + setAlertIntervalUnit(intervalUnit); + } } - }, [alert, alert.alertTypeId, alertTypesIndex, ruleTypeRegistry]); + }, [alert.schedule.interval]); const setAlertProperty = useCallback( (key: Key, value: Alert[Key] | null) => { @@ -372,9 +301,7 @@ export const AlertForm = ({ ? !item.alertTypeModel.requiresAppContext : item.alertType!.producer === alert.consumer ); - const selectedAlertType = alert?.alertTypeId - ? alertTypesIndex?.get(alert?.alertTypeId) - : undefined; + const selectedAlertType = alert?.alertTypeId ? ruleTypeIndex?.get(alert?.alertTypeId) : undefined; const recoveryActionGroup = selectedAlertType?.recoveryActionGroup?.id; const getDefaultActionParams = useCallback( (actionTypeId: string, actionGroupId: string): Record | undefined => @@ -499,8 +426,8 @@ export const AlertForm = ({ setActions([]); setAlertTypeModel(item.alertTypeItem); setAlertProperty('params', {}); - if (alertTypesIndex && alertTypesIndex.has(item.id)) { - setDefaultActionGroupId(alertTypesIndex.get(item.id)!.defaultActionGroupId); + if (ruleTypeIndex && ruleTypeIndex.has(item.id)) { + setDefaultActionGroupId(ruleTypeIndex.get(item.id)!.defaultActionGroupId); } }} /> @@ -518,8 +445,8 @@ export const AlertForm = ({
- {alert.alertTypeId && alertTypesIndex && alertTypesIndex.has(alert.alertTypeId) - ? alertTypesIndex.get(alert.alertTypeId)!.name + {alert.alertTypeId && ruleTypeIndex && ruleTypeIndex.has(alert.alertTypeId) + ? ruleTypeIndex.get(alert.alertTypeId)!.name : ''}
@@ -870,7 +797,7 @@ export const AlertForm = ({ ) : null} {alertTypeNodes} - ) : alertTypesIndex ? ( + ) : ruleTypeIndex ? ( ) : ( diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/alerts_list.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/alerts_list.tsx index 941d400104082..1daaf3b996126 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/alerts_list.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/alerts_list.tsx @@ -33,7 +33,14 @@ import { import { useHistory } from 'react-router-dom'; import { isEmpty } from 'lodash'; -import { ActionType, Alert, AlertTableItem, AlertTypeIndex, Pagination } from '../../../../types'; +import { + ActionType, + Alert, + AlertTableItem, + AlertType, + RuleTypeIndex, + Pagination, +} from '../../../../types'; import { AlertAdd, AlertEdit } from '../../alert_form'; import { BulkOperationPopover } from '../../common/components/bulk_operation_popover'; import { AlertQuickEditButtonsWithApi as AlertQuickEditButtons } from '../../common/components/alert_quick_edit_buttons'; @@ -74,7 +81,7 @@ const ENTER_KEY = 13; interface AlertTypeState { isLoading: boolean; isInitialized: boolean; - data: AlertTypeIndex; + data: RuleTypeIndex; } interface AlertState { isLoading: boolean; @@ -161,7 +168,7 @@ export const AlertsList: React.FunctionComponent = () => { try { setAlertTypesState({ ...alertTypesState, isLoading: true }); const alertTypes = await loadAlertTypes({ http }); - const index: AlertTypeIndex = new Map(); + const index: RuleTypeIndex = new Map(); for (const alertType of alertTypes) { index.set(alertType.id, alertType); } @@ -895,6 +902,7 @@ export const AlertsList: React.FunctionComponent = () => { }} actionTypeRegistry={actionTypeRegistry} ruleTypeRegistry={ruleTypeRegistry} + ruleTypeIndex={alertTypesState.data} onSave={loadAlertsData} /> )} @@ -906,6 +914,9 @@ export const AlertsList: React.FunctionComponent = () => { }} actionTypeRegistry={actionTypeRegistry} ruleTypeRegistry={ruleTypeRegistry} + ruleType={ + alertTypesState.data.get(currentRuleToEdit.alertTypeId) as AlertType + } onSave={loadAlertsData} /> )} @@ -944,17 +955,17 @@ function filterAlertsById(alerts: Alert[], ids: string[]): Alert[] { function convertAlertsToTableItems( alerts: Alert[], - alertTypesIndex: AlertTypeIndex, + ruleTypeIndex: RuleTypeIndex, canExecuteActions: boolean ) { return alerts.map((alert) => ({ ...alert, actionsCount: alert.actions.length, tagsText: alert.tags.join(', '), - alertType: alertTypesIndex.get(alert.alertTypeId)?.name ?? alert.alertTypeId, + alertType: ruleTypeIndex.get(alert.alertTypeId)?.name ?? alert.alertTypeId, isEditable: - hasAllPrivilege(alert, alertTypesIndex.get(alert.alertTypeId)) && + hasAllPrivilege(alert, ruleTypeIndex.get(alert.alertTypeId)) && (canExecuteActions || (!canExecuteActions && !alert.actions.length)), - enabledInLicense: !!alertTypesIndex.get(alert.alertTypeId)?.enabledInLicense, + enabledInLicense: !!ruleTypeIndex.get(alert.alertTypeId)?.enabledInLicense, })); } diff --git a/x-pack/plugins/triggers_actions_ui/public/types.ts b/x-pack/plugins/triggers_actions_ui/public/types.ts index ae4fd5152794f..2ef20f36b7ca9 100644 --- a/x-pack/plugins/triggers_actions_ui/public/types.ts +++ b/x-pack/plugins/triggers_actions_ui/public/types.ts @@ -66,7 +66,7 @@ export { }; export type ActionTypeIndex = Record; -export type AlertTypeIndex = Map; +export type RuleTypeIndex = Map; export type ActionTypeRegistryContract< ActionConnector = unknown, ActionParams = unknown @@ -197,6 +197,8 @@ export interface AlertType< | 'minimumLicenseRequired' | 'recoveryActionGroup' | 'defaultActionGroupId' + | 'defaultScheduleInterval' + | 'minimumScheduleInterval' > { actionVariables: ActionVariables; authorizedConsumers: Record; @@ -285,6 +287,7 @@ export interface AlertEditProps> { reloadAlerts?: () => Promise; onSave?: () => Promise; metadata?: MetaData; + ruleType?: AlertType; } export interface AlertAddProps> { @@ -299,4 +302,5 @@ export interface AlertAddProps> { reloadAlerts?: () => Promise; onSave?: () => Promise; metadata?: MetaData; + ruleTypeIndex?: RuleTypeIndex; } From 3a7b66d561e7e5af327a1032cd2794c941c25c91 Mon Sep 17 00:00:00 2001 From: Chris Cowan Date: Mon, 11 Oct 2021 15:00:07 -0600 Subject: [PATCH 031/107] [7.x] [Stack Monitoring] Adding alerts to react app (#114029) (#114538) * [Stack Monitoring] Adding alerts to react app (#114029) * [Stack Monitoring] Adding alerts to react app * Fixing global state context path * adding alerts to pages; adding alerts model to cluster_overview; removing loadAlerts from page template * Fixing request for enable alerts * remove loadAlerts from page template * Adding request error handlers * removing redundent error handling * Changing useRequestErrorHandler function to be async due to error.response.json call * removing old comment * Fixing contexts paths * Converting ajaxRequestErrorHandler to useRequestErrorHandler * Refactoring error handler for page template and setup mode * Removing unnecessary async/await * Removing unnecessary async/await in useClusters * adding alertTypeIds to each page * fixing instance count * Adding alertTypeIds to index page * Adding alert filters for specific pages * Adding alerts to Logstash nodes Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> * Fixing types from merge Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../plugins/monitoring/common/types/alerts.ts | 1 + .../public/alerts/alerts_dropdown.tsx | 5 +- .../external_config_context.tsx | 0 .../{ => contexts}/global_state_context.tsx | 8 +- .../contexts/header_action_menu_context.tsx | 15 + .../application/hooks/use_alerts_modal.ts | 10 +- .../public/application/hooks/use_clusters.ts | 6 +- .../application/hooks/use_monitoring_time.ts | 2 +- .../hooks/use_request_error_handler.tsx | 79 ++++ .../monitoring/public/application/index.tsx | 389 +++++++++--------- .../public/application/pages/apm/instance.tsx | 2 +- .../application/pages/apm/instances.tsx | 2 +- .../public/application/pages/apm/overview.tsx | 2 +- .../application/pages/beats/instance.tsx | 2 +- .../application/pages/beats/instances.tsx | 2 +- .../application/pages/beats/overview.tsx | 2 +- .../pages/cluster/overview_page.tsx | 49 ++- .../pages/elasticsearch/ccr_page.tsx | 40 +- .../pages/elasticsearch/ccr_shard_page.tsx | 46 ++- .../elasticsearch/index_advanced_page.tsx | 45 +- .../pages/elasticsearch/index_page.tsx | 57 ++- .../pages/elasticsearch/indices_page.tsx | 50 ++- .../pages/elasticsearch/ml_jobs_page.tsx | 2 +- .../elasticsearch/node_advanced_page.tsx | 63 ++- .../pages/elasticsearch/node_page.tsx | 68 ++- .../pages/elasticsearch/nodes_page.tsx | 64 ++- .../pages/elasticsearch/overview.tsx | 2 +- .../pages/home/cluster_listing.tsx | 32 +- .../application/pages/kibana/instance.tsx | 178 ++++++++ .../application/pages/kibana/instances.tsx | 116 ++++++ .../application/pages/kibana/overview.tsx | 2 +- .../public/application/pages/license_page.tsx | 2 +- .../application/pages/logstash/advanced.tsx | 41 +- .../application/pages/logstash/node.tsx | 41 +- .../pages/logstash/node_pipelines.tsx | 2 +- .../application/pages/logstash/nodes.tsx | 39 +- .../application/pages/logstash/overview.tsx | 2 +- .../application/pages/logstash/pipeline.tsx | 4 +- .../application/pages/logstash/pipelines.tsx | 2 +- .../pages/no_data/no_data_page.tsx | 6 +- .../application/pages/page_template.tsx | 44 +- .../public/application/route_init.tsx | 2 +- .../application/setup_mode/setup_mode.tsx | 15 +- .../setup_mode/setup_mode_renderer.js | 16 +- .../public/components/action_menu/index.tsx | 34 ++ .../public/components/shared/toolbar.tsx | 2 +- .../monitoring/public/lib/fetch_alerts.ts | 36 ++ 47 files changed, 1186 insertions(+), 443 deletions(-) rename x-pack/plugins/monitoring/public/application/{ => contexts}/external_config_context.tsx (100%) rename x-pack/plugins/monitoring/public/application/{ => contexts}/global_state_context.tsx (90%) create mode 100644 x-pack/plugins/monitoring/public/application/contexts/header_action_menu_context.tsx create mode 100644 x-pack/plugins/monitoring/public/application/hooks/use_request_error_handler.tsx create mode 100644 x-pack/plugins/monitoring/public/application/pages/kibana/instance.tsx create mode 100644 x-pack/plugins/monitoring/public/application/pages/kibana/instances.tsx create mode 100644 x-pack/plugins/monitoring/public/components/action_menu/index.tsx create mode 100644 x-pack/plugins/monitoring/public/lib/fetch_alerts.ts diff --git a/x-pack/plugins/monitoring/common/types/alerts.ts b/x-pack/plugins/monitoring/common/types/alerts.ts index 1f68b0c55a046..bbd217169469d 100644 --- a/x-pack/plugins/monitoring/common/types/alerts.ts +++ b/x-pack/plugins/monitoring/common/types/alerts.ts @@ -32,6 +32,7 @@ export interface CommonAlertState { export interface CommonAlertFilter { nodeUuid?: string; shardId?: string; + shardIndex?: string; } export interface CommonAlertParamDetail { diff --git a/x-pack/plugins/monitoring/public/alerts/alerts_dropdown.tsx b/x-pack/plugins/monitoring/public/alerts/alerts_dropdown.tsx index 261685a532882..976569f39de4c 100644 --- a/x-pack/plugins/monitoring/public/alerts/alerts_dropdown.tsx +++ b/x-pack/plugins/monitoring/public/alerts/alerts_dropdown.tsx @@ -14,13 +14,12 @@ import { import { i18n } from '@kbn/i18n'; import React, { useState } from 'react'; import { FormattedMessage } from '@kbn/i18n/react'; -import { Legacy } from '../legacy_shims'; import { useKibana } from '../../../../../src/plugins/kibana_react/public'; import { MonitoringStartPluginDependencies } from '../types'; +import { useAlertsModal } from '../application/hooks/use_alerts_modal'; export const AlertsDropdown: React.FC<{}> = () => { - const $injector = Legacy.shims.getAngularInjector(); - const alertsEnableModalProvider: any = $injector.get('enableAlertsModal'); + const alertsEnableModalProvider = useAlertsModal(); const { navigateToApp } = useKibana().services.application; diff --git a/x-pack/plugins/monitoring/public/application/external_config_context.tsx b/x-pack/plugins/monitoring/public/application/contexts/external_config_context.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/external_config_context.tsx rename to x-pack/plugins/monitoring/public/application/contexts/external_config_context.tsx diff --git a/x-pack/plugins/monitoring/public/application/global_state_context.tsx b/x-pack/plugins/monitoring/public/application/contexts/global_state_context.tsx similarity index 90% rename from x-pack/plugins/monitoring/public/application/global_state_context.tsx rename to x-pack/plugins/monitoring/public/application/contexts/global_state_context.tsx index 6c952f80eff57..e6638b4c4fede 100644 --- a/x-pack/plugins/monitoring/public/application/global_state_context.tsx +++ b/x-pack/plugins/monitoring/public/application/contexts/global_state_context.tsx @@ -5,10 +5,10 @@ * 2.0. */ import React, { createContext } from 'react'; -import { GlobalState } from '../url_state'; -import { MonitoringStartPluginDependencies } from '../types'; -import { TimeRange, RefreshInterval } from '../../../../../src/plugins/data/public'; -import { Legacy } from '../legacy_shims'; +import { GlobalState } from '../../url_state'; +import { MonitoringStartPluginDependencies } from '../../types'; +import { TimeRange, RefreshInterval } from '../../../../../../src/plugins/data/public'; +import { Legacy } from '../../legacy_shims'; interface GlobalStateProviderProps { query: MonitoringStartPluginDependencies['data']['query']; diff --git a/x-pack/plugins/monitoring/public/application/contexts/header_action_menu_context.tsx b/x-pack/plugins/monitoring/public/application/contexts/header_action_menu_context.tsx new file mode 100644 index 0000000000000..88862d9e6a807 --- /dev/null +++ b/x-pack/plugins/monitoring/public/application/contexts/header_action_menu_context.tsx @@ -0,0 +1,15 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { AppMountParameters } from 'kibana/public'; + +interface ContextProps { + setHeaderActionMenu?: AppMountParameters['setHeaderActionMenu']; +} + +export const HeaderActionMenuContext = React.createContext({}); diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_alerts_modal.ts b/x-pack/plugins/monitoring/public/application/hooks/use_alerts_modal.ts index 9a2a2b80cc40f..123dd39f7b54d 100644 --- a/x-pack/plugins/monitoring/public/application/hooks/use_alerts_modal.ts +++ b/x-pack/plugins/monitoring/public/application/hooks/use_alerts_modal.ts @@ -6,10 +6,11 @@ */ import { useKibana } from '../../../../../../src/plugins/kibana_react/public'; import { showAlertsToast } from '../../alerts/lib/alerts_toast'; -import { ajaxErrorHandlersProvider } from '../../lib/ajax_error_handler'; +import { useRequestErrorHandler } from './use_request_error_handler'; export const useAlertsModal = () => { const { services } = useKibana(); + const handleRequestError = useRequestErrorHandler(); function shouldShowAlertsModal(alerts: {}) { const modalHasBeenShown = @@ -28,12 +29,11 @@ export const useAlertsModal = () => { async function enableAlerts() { try { - const { data } = await services.http?.post('../api/monitoring/v1/alerts/enable', {}); + const response = await services.http?.post('../api/monitoring/v1/alerts/enable', {}); window.localStorage.setItem('ALERTS_MODAL_DECISION_MADE', 'true'); - showAlertsToast(data); + showAlertsToast(response); } catch (err) { - const ajaxErrorHandlers = ajaxErrorHandlersProvider(); - return ajaxErrorHandlers(err); + await handleRequestError(err); } } diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_clusters.ts b/x-pack/plugins/monitoring/public/application/hooks/use_clusters.ts index b4b8c21ca4d40..1961bd53b909f 100644 --- a/x-pack/plugins/monitoring/public/application/hooks/use_clusters.ts +++ b/x-pack/plugins/monitoring/public/application/hooks/use_clusters.ts @@ -7,6 +7,7 @@ import { useState, useEffect } from 'react'; import { useKibana } from '../../../../../../src/plugins/kibana_react/public'; import { fetchClusters } from '../../lib/fetch_clusters'; +import { useRequestErrorHandler } from './use_request_error_handler'; export function useClusters(clusterUuid?: string | null, ccs?: any, codePaths?: string[]) { const { services } = useKibana<{ data: any }>(); @@ -17,6 +18,7 @@ export function useClusters(clusterUuid?: string | null, ccs?: any, codePaths?: const [clusters, setClusters] = useState([] as any); const [loaded, setLoaded] = useState(false); + const handleRequestError = useRequestErrorHandler(); useEffect(() => { async function makeRequest() { @@ -34,13 +36,13 @@ export function useClusters(clusterUuid?: string | null, ccs?: any, codePaths?: setClusters(response); } } catch (e) { - // TODO: Handle errors + handleRequestError(e); } finally { setLoaded(true); } } makeRequest(); - }, [clusterUuid, ccs, services.http, codePaths, min, max]); + }, [handleRequestError, clusterUuid, ccs, services.http, codePaths, min, max]); return { clusters, loaded }; } diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_monitoring_time.ts b/x-pack/plugins/monitoring/public/application/hooks/use_monitoring_time.ts index 3054714ec3aa6..e8973ce18232c 100644 --- a/x-pack/plugins/monitoring/public/application/hooks/use_monitoring_time.ts +++ b/x-pack/plugins/monitoring/public/application/hooks/use_monitoring_time.ts @@ -8,7 +8,7 @@ import { useCallback, useState, useContext, useEffect } from 'react'; import createContainer from 'constate'; import { useKibana } from '../../../../../../src/plugins/kibana_react/public'; import { Legacy } from '../../legacy_shims'; -import { GlobalStateContext } from '../../application/global_state_context'; +import { GlobalStateContext } from '../contexts/global_state_context'; interface TimeOptions { from: string; diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_request_error_handler.tsx b/x-pack/plugins/monitoring/public/application/hooks/use_request_error_handler.tsx new file mode 100644 index 0000000000000..3a64531844451 --- /dev/null +++ b/x-pack/plugins/monitoring/public/application/hooks/use_request_error_handler.tsx @@ -0,0 +1,79 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import React, { useCallback } from 'react'; +import { includes } from 'lodash'; +import { IHttpFetchError } from 'kibana/public'; +import { FormattedMessage } from '@kbn/i18n/react'; +import { EuiButton, EuiSpacer, EuiText } from '@elastic/eui'; +import { formatMsg } from '../../../../../../src/plugins/kibana_legacy/public'; +import { toMountPoint, useKibana } from '../../../../../../src/plugins/kibana_react/public'; +import { MonitoringStartPluginDependencies } from '../../types'; + +export function formatMonitoringError(err: IHttpFetchError) { + if (err.response?.status && err.response?.status !== -1) { + return ( + +

{err.body?.message}

+ + + +
+ ); + } + + return formatMsg(err); +} + +export const useRequestErrorHandler = () => { + const { services } = useKibana(); + return useCallback( + (err: IHttpFetchError) => { + if (err.response?.status === 403) { + // redirect to error message view + history.replaceState(null, '', '#/access-denied'); + } else if (err.response?.status === 404 && !includes(window.location.hash, 'no-data')) { + // pass through if this is a 404 and we're already on the no-data page + const formattedError = formatMonitoringError(err); + services.notifications?.toasts.addDanger({ + title: toMountPoint( + + ), + text: toMountPoint( +
+ {formattedError} + + window.location.reload()}> + + +
+ ), + }); + } else { + services.notifications?.toasts.addDanger({ + title: toMountPoint( + + ), + text: toMountPoint(formatMonitoringError(err)), + }); + } + }, + [services.notifications] + ); +}; diff --git a/x-pack/plugins/monitoring/public/application/index.tsx b/x-pack/plugins/monitoring/public/application/index.tsx index 488384afdee93..455b1347c010b 100644 --- a/x-pack/plugins/monitoring/public/application/index.tsx +++ b/x-pack/plugins/monitoring/public/application/index.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import { CoreStart, AppMountParameters } from 'kibana/public'; +import { CoreStart, AppMountParameters, MountPoint } from 'kibana/public'; import React from 'react'; import ReactDOM from 'react-dom'; import { Route, Switch, Redirect, Router } from 'react-router-dom'; @@ -15,8 +15,8 @@ import { LicensePage } from './pages/license_page'; import { ClusterOverview } from './pages/cluster/overview_page'; import { ClusterListing } from './pages/home/cluster_listing'; import { MonitoringStartPluginDependencies } from '../types'; -import { GlobalStateProvider } from './global_state_context'; -import { ExternalConfigContext, ExternalConfig } from './external_config_context'; +import { GlobalStateProvider } from './contexts/global_state_context'; +import { ExternalConfigContext, ExternalConfig } from './contexts/external_config_context'; import { createPreserveQueryHistory } from './preserve_query_history'; import { RouteInit } from './route_init'; import { NoDataPage } from './pages/no_data'; @@ -43,6 +43,7 @@ import { ElasticsearchCcrPage } from './pages/elasticsearch/ccr_page'; import { ElasticsearchCcrShardPage } from './pages/elasticsearch/ccr_shard_page'; import { MonitoringTimeContainer } from './hooks/use_monitoring_time'; import { BreadcrumbContainer } from './hooks/use_breadcrumbs'; +import { HeaderActionMenuContext } from './contexts/header_action_menu_context'; import { LogStashOverviewPage } from './pages/logstash/overview'; import { LogStashNodesPage } from './pages/logstash/nodes'; import { LogStashPipelinesPage } from './pages/logstash/pipelines'; @@ -56,11 +57,16 @@ import { LogStashNodePipelinesPage } from './pages/logstash/node_pipelines'; export const renderApp = ( core: CoreStart, plugins: MonitoringStartPluginDependencies, - { element }: AppMountParameters, + { element, setHeaderActionMenu }: AppMountParameters, externalConfig: ExternalConfig ) => { ReactDOM.render( - , + , element ); @@ -73,222 +79,225 @@ const MonitoringApp: React.FC<{ core: CoreStart; plugins: MonitoringStartPluginDependencies; externalConfig: ExternalConfig; -}> = ({ core, plugins, externalConfig }) => { + setHeaderActionMenu: (element: MountPoint | undefined) => void; +}> = ({ core, plugins, externalConfig, setHeaderActionMenu }) => { const history = createPreserveQueryHistory(); return ( - - - - - - - - - + + + + + + + + + + - {/* ElasticSearch Views */} - + {/* ElasticSearch Views */} + - + - + - + - + - + - + - + - + - + - {/* Kibana Views */} - + {/* Kibana Views */} + - {/* Beats Views */} - + {/* Beats Views */} + - + - + - {/* Logstash Routes */} - + {/* Logstash Routes */} + - + - + - + - + - + - + - {/* APM Views */} - + {/* APM Views */} + - + - + - - - - - + + + + + + diff --git a/x-pack/plugins/monitoring/public/application/pages/apm/instance.tsx b/x-pack/plugins/monitoring/public/application/pages/apm/instance.tsx index dc55ecb22b61a..3fa7819c5e417 100644 --- a/x-pack/plugins/monitoring/public/application/pages/apm/instance.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/apm/instance.tsx @@ -10,7 +10,7 @@ import { useParams } from 'react-router-dom'; import { i18n } from '@kbn/i18n'; import { find } from 'lodash'; import { ComponentProps } from '../../route_init'; -import { GlobalStateContext } from '../../global_state_context'; +import { GlobalStateContext } from '../../contexts/global_state_context'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; import { useCharts } from '../../hooks/use_charts'; import { BreadcrumbContainer } from '../../hooks/use_breadcrumbs'; diff --git a/x-pack/plugins/monitoring/public/application/pages/apm/instances.tsx b/x-pack/plugins/monitoring/public/application/pages/apm/instances.tsx index 86ea8079277c7..66748e3d1b0bc 100644 --- a/x-pack/plugins/monitoring/public/application/pages/apm/instances.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/apm/instances.tsx @@ -9,7 +9,7 @@ import React, { useContext, useState, useCallback, useEffect } from 'react'; import { i18n } from '@kbn/i18n'; import { find } from 'lodash'; import { ComponentProps } from '../../route_init'; -import { GlobalStateContext } from '../../global_state_context'; +import { GlobalStateContext } from '../../contexts/global_state_context'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; import { useTable } from '../../hooks/use_table'; import { ApmTemplate } from './apm_template'; diff --git a/x-pack/plugins/monitoring/public/application/pages/apm/overview.tsx b/x-pack/plugins/monitoring/public/application/pages/apm/overview.tsx index cca31c0a7e65d..516c293c53546 100644 --- a/x-pack/plugins/monitoring/public/application/pages/apm/overview.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/apm/overview.tsx @@ -10,7 +10,7 @@ import { i18n } from '@kbn/i18n'; import { find } from 'lodash'; import { ComponentProps } from '../../route_init'; import { ApmTemplate } from './apm_template'; -import { GlobalStateContext } from '../../global_state_context'; +import { GlobalStateContext } from '../../contexts/global_state_context'; import { useCharts } from '../../hooks/use_charts'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; import { BreadcrumbContainer } from '../../hooks/use_breadcrumbs'; diff --git a/x-pack/plugins/monitoring/public/application/pages/beats/instance.tsx b/x-pack/plugins/monitoring/public/application/pages/beats/instance.tsx index f7ff03898fda6..4c66bbba631fb 100644 --- a/x-pack/plugins/monitoring/public/application/pages/beats/instance.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/beats/instance.tsx @@ -10,7 +10,7 @@ import { useParams } from 'react-router-dom'; import { i18n } from '@kbn/i18n'; import { find } from 'lodash'; import { ComponentProps } from '../../route_init'; -import { GlobalStateContext } from '../../global_state_context'; +import { GlobalStateContext } from '../../contexts/global_state_context'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; import { useCharts } from '../../hooks/use_charts'; // @ts-ignore diff --git a/x-pack/plugins/monitoring/public/application/pages/beats/instances.tsx b/x-pack/plugins/monitoring/public/application/pages/beats/instances.tsx index 7a65022d8ff53..d369c9428e135 100644 --- a/x-pack/plugins/monitoring/public/application/pages/beats/instances.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/beats/instances.tsx @@ -9,7 +9,7 @@ import React, { useContext, useState, useCallback, useEffect } from 'react'; import { i18n } from '@kbn/i18n'; import { find } from 'lodash'; import { ComponentProps } from '../../route_init'; -import { GlobalStateContext } from '../../global_state_context'; +import { GlobalStateContext } from '../../contexts/global_state_context'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; import { useTable } from '../../hooks/use_table'; import { BeatsTemplate } from './beats_template'; diff --git a/x-pack/plugins/monitoring/public/application/pages/beats/overview.tsx b/x-pack/plugins/monitoring/public/application/pages/beats/overview.tsx index 8d28119c4ec1b..1fa37a2c7b3e6 100644 --- a/x-pack/plugins/monitoring/public/application/pages/beats/overview.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/beats/overview.tsx @@ -10,7 +10,7 @@ import { i18n } from '@kbn/i18n'; import { find } from 'lodash'; import { ComponentProps } from '../../route_init'; import { BeatsTemplate } from './beats_template'; -import { GlobalStateContext } from '../../global_state_context'; +import { GlobalStateContext } from '../../contexts/global_state_context'; import { useCharts } from '../../hooks/use_charts'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; // @ts-ignore diff --git a/x-pack/plugins/monitoring/public/application/pages/cluster/overview_page.tsx b/x-pack/plugins/monitoring/public/application/pages/cluster/overview_page.tsx index a0a6749e49641..0f7851ca145bf 100644 --- a/x-pack/plugins/monitoring/public/application/pages/cluster/overview_page.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/cluster/overview_page.tsx @@ -10,14 +10,17 @@ import { i18n } from '@kbn/i18n'; import { CODE_PATH_ALL } from '../../../../common/constants'; import { PageTemplate } from '../page_template'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; -import { GlobalStateContext } from '../../global_state_context'; +import { GlobalStateContext } from '../../contexts/global_state_context'; import { TabMenuItem } from '../page_template'; import { Overview } from '../../../components/cluster/overview'; -import { ExternalConfigContext } from '../../external_config_context'; +import { ExternalConfigContext } from '../../contexts/external_config_context'; import { SetupModeRenderer } from '../../setup_mode/setup_mode_renderer'; import { SetupModeContext } from '../../../components/setup_mode/setup_mode_context'; import { BreadcrumbContainer } from '../../hooks/use_breadcrumbs'; import { fetchClusters } from '../../../lib/fetch_clusters'; +import { AlertsByName } from '../../../alerts/types'; +import { fetchAlerts } from '../../../lib/fetch_alerts'; +import { EnableAlertsModal } from '../../../alerts/enable_alerts_modal'; const CODE_PATHS = [CODE_PATH_ALL]; interface SetupModeProps { @@ -33,6 +36,7 @@ export const ClusterOverview: React.FC<{}> = () => { const clusterUuid = state.cluster_uuid; const ccs = state.ccs; const [clusters, setClusters] = useState([] as any); + const [alerts, setAlerts] = useState({}); const [loaded, setLoaded] = useState(false); const { generate: generateBreadcrumbs } = useContext(BreadcrumbContainer.Context); @@ -59,23 +63,27 @@ export const ClusterOverview: React.FC<{}> = () => { const getPageData = useCallback(async () => { const bounds = services.data?.query.timefilter.timefilter.getBounds(); - try { - if (services.http?.fetch) { - const response = await fetchClusters({ - fetch: services.http.fetch, - timeRange: { - min: bounds.min.toISOString(), - max: bounds.max.toISOString(), - }, - ccs, - clusterUuid, - codePaths: CODE_PATHS, - }); - setClusters(response); - } - } catch (err) { - // TODO: handle errors - } finally { + if (services.http?.fetch && clusterUuid) { + const response = await fetchClusters({ + fetch: services.http.fetch, + timeRange: { + min: bounds.min.toISOString(), + max: bounds.max.toISOString(), + }, + ccs, + clusterUuid, + codePaths: CODE_PATHS, + }); + setClusters(response); + const alertsResponse = await fetchAlerts({ + fetch: services.http.fetch, + clusterUuid, + timeRange: { + min: bounds.min.valueOf(), + max: bounds.max.valueOf(), + }, + }); + setAlerts(alertsResponse); setLoaded(true); } }, [ccs, clusterUuid, services.data?.query.timefilter.timefilter, services.http]); @@ -94,7 +102,7 @@ export const ClusterOverview: React.FC<{}> = () => { {flyoutComponent} @@ -103,6 +111,7 @@ export const ClusterOverview: React.FC<{}> = () => { )} /> + ); }; diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_page.tsx b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_page.tsx index 0bc55e98746cb..f03e73000f6bf 100644 --- a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_page.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_page.tsx @@ -9,12 +9,15 @@ import { i18n } from '@kbn/i18n'; import { find } from 'lodash'; import { ElasticsearchTemplate } from './elasticsearch_template'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; -import { GlobalStateContext } from '../../global_state_context'; +import { GlobalStateContext } from '../../contexts/global_state_context'; // @ts-ignore import { Ccr } from '../../../components/elasticsearch/ccr'; import { ComponentProps } from '../../route_init'; import { SetupModeRenderer } from '../../setup_mode/setup_mode_renderer'; import { SetupModeContext } from '../../../components/setup_mode/setup_mode_context'; +import { AlertsByName } from '../../../alerts/types'; +import { fetchAlerts } from '../../../lib/fetch_alerts'; +import { RULE_CCR_READ_EXCEPTIONS } from '../../../../common/constants'; interface SetupModeProps { setupMode: any; @@ -32,6 +35,7 @@ export const ElasticsearchCcrPage: React.FC = ({ clusters }) => }) as any; const ccs = globalState.ccs; const [data, setData] = useState({} as any); + const [alerts, setAlerts] = useState({}); const title = i18n.translate('xpack.monitoring.elasticsearch.ccr.title', { defaultMessage: 'Elasticsearch - Ccr', @@ -45,18 +49,30 @@ export const ElasticsearchCcrPage: React.FC = ({ clusters }) => const bounds = services.data?.query.timefilter.timefilter.getBounds(); const url = `../api/monitoring/v1/clusters/${clusterUuid}/elasticsearch/ccr`; - const response = await services.http?.fetch(url, { - method: 'POST', - body: JSON.stringify({ - ccs, + if (services.http?.fetch && clusterUuid) { + const response = await services.http?.fetch(url, { + method: 'POST', + body: JSON.stringify({ + ccs, + timeRange: { + min: bounds.min.toISOString(), + max: bounds.max.toISOString(), + }, + }), + }); + + setData(response); + const alertsResponse = await fetchAlerts({ + fetch: services.http.fetch, + alertTypeIds: [RULE_CCR_READ_EXCEPTIONS], + clusterUuid, timeRange: { - min: bounds.min.toISOString(), - max: bounds.max.toISOString(), + min: bounds.min.valueOf(), + max: bounds.max.valueOf(), }, - }), - }); - - setData(response); + }); + setAlerts(alertsResponse); + } }, [ccs, clusterUuid, services.data?.query.timefilter.timefilter, services.http]); return ( @@ -71,7 +87,7 @@ export const ElasticsearchCcrPage: React.FC = ({ clusters }) => render={({ flyoutComponent, bottomBarComponent }: SetupModeProps) => ( {flyoutComponent} - + {bottomBarComponent} )} diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_shard_page.tsx b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_shard_page.tsx index 56de1cace3546..fdcc273c94532 100644 --- a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_shard_page.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_shard_page.tsx @@ -10,12 +10,15 @@ import { get } from 'lodash'; import { i18n } from '@kbn/i18n'; import { PageTemplate } from '../page_template'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; -import { GlobalStateContext } from '../../global_state_context'; +import { GlobalStateContext } from '../../contexts/global_state_context'; // @ts-ignore import { CcrShardReact } from '../../../components/elasticsearch/ccr_shard'; import { ComponentProps } from '../../route_init'; import { SetupModeRenderer } from '../../setup_mode/setup_mode_renderer'; import { SetupModeContext } from '../../../components/setup_mode/setup_mode_context'; +import { AlertsByName } from '../../../alerts/types'; +import { fetchAlerts } from '../../../lib/fetch_alerts'; +import { RULE_CCR_READ_EXCEPTIONS } from '../../../../common/constants'; interface SetupModeProps { setupMode: any; @@ -23,7 +26,7 @@ interface SetupModeProps { bottomBarComponent: any; } -export const ElasticsearchCcrShardPage: React.FC = ({ clusters }) => { +export const ElasticsearchCcrShardPage: React.FC = () => { const globalState = useContext(GlobalStateContext); const { services } = useKibana<{ data: any }>(); const { index, shardId }: { index: string; shardId: string } = useParams(); @@ -31,6 +34,7 @@ export const ElasticsearchCcrShardPage: React.FC = ({ clusters } const clusterUuid = globalState.cluster_uuid; const ccs = globalState.ccs; const [data, setData] = useState({} as any); + const [alerts, setAlerts] = useState({}); const title = i18n.translate('xpack.monitoring.elasticsearch.ccr.shard.title', { defaultMessage: 'Elasticsearch - Ccr - Shard', @@ -56,18 +60,34 @@ export const ElasticsearchCcrShardPage: React.FC = ({ clusters } const bounds = services.data?.query.timefilter.timefilter.getBounds(); const url = `../api/monitoring/v1/clusters/${clusterUuid}/elasticsearch/ccr/${index}/shard/${shardId}`; - const response = await services.http?.fetch(url, { - method: 'POST', - body: JSON.stringify({ - ccs, + if (services.http?.fetch && clusterUuid) { + const response = await services.http?.fetch(url, { + method: 'POST', + body: JSON.stringify({ + ccs, + timeRange: { + min: bounds.min.toISOString(), + max: bounds.max.toISOString(), + }, + }), + }); + setData(response); + const alertsResponse = await fetchAlerts({ + fetch: services.http.fetch, + alertTypeIds: [RULE_CCR_READ_EXCEPTIONS], + clusterUuid, + filters: [ + { + shardId, + }, + ], timeRange: { - min: bounds.min.toISOString(), - max: bounds.max.toISOString(), + min: bounds.min.valueOf(), + max: bounds.max.valueOf(), }, - }), - }); - - setData(response); + }); + setAlerts(alertsResponse); + } }, [ccs, clusterUuid, services.data?.query.timefilter.timefilter, services.http, index, shardId]); return ( @@ -82,7 +102,7 @@ export const ElasticsearchCcrShardPage: React.FC = ({ clusters } render={({ flyoutComponent, bottomBarComponent }: SetupModeProps) => ( {flyoutComponent} - + {bottomBarComponent} )} diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_advanced_page.tsx b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_advanced_page.tsx index ccaf23c7ade8e..058877b4ea841 100644 --- a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_advanced_page.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_advanced_page.tsx @@ -8,7 +8,7 @@ import React, { useContext, useState, useCallback } from 'react'; import { i18n } from '@kbn/i18n'; import { useParams } from 'react-router-dom'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; -import { GlobalStateContext } from '../../global_state_context'; +import { GlobalStateContext } from '../../contexts/global_state_context'; import { ComponentProps } from '../../route_init'; import { SetupModeRenderer } from '../../setup_mode/setup_mode_renderer'; import { SetupModeContext } from '../../../components/setup_mode/setup_mode_context'; @@ -22,14 +22,18 @@ interface SetupModeProps { flyoutComponent: any; bottomBarComponent: any; } +import { AlertsByName } from '../../../alerts/types'; +import { fetchAlerts } from '../../../lib/fetch_alerts'; +import { RULE_LARGE_SHARD_SIZE } from '../../../../common/constants'; -export const ElasticsearchIndexAdvancedPage: React.FC = ({ clusters }) => { +export const ElasticsearchIndexAdvancedPage: React.FC = () => { const globalState = useContext(GlobalStateContext); const { services } = useKibana<{ data: any }>(); const { index }: { index: string } = useParams(); const { zoomInfo, onBrush } = useCharts(); const clusterUuid = globalState.cluster_uuid; const [data, setData] = useState({} as any); + const [alerts, setAlerts] = useState({}); const title = i18n.translate('xpack.monitoring.elasticsearch.index.advanced.title', { defaultMessage: 'Elasticsearch - Indices - {indexName} - Advanced', @@ -41,17 +45,34 @@ export const ElasticsearchIndexAdvancedPage: React.FC = ({ clust const getPageData = useCallback(async () => { const bounds = services.data?.query.timefilter.timefilter.getBounds(); const url = `../api/monitoring/v1/clusters/${clusterUuid}/elasticsearch/indices/${index}`; - const response = await services.http?.fetch(url, { - method: 'POST', - body: JSON.stringify({ + if (services.http?.fetch && clusterUuid) { + const response = await services.http?.fetch(url, { + method: 'POST', + body: JSON.stringify({ + timeRange: { + min: bounds.min.toISOString(), + max: bounds.max.toISOString(), + }, + is_advanced: true, + }), + }); + setData(response); + const alertsResponse = await fetchAlerts({ + fetch: services.http.fetch, + alertTypeIds: [RULE_LARGE_SHARD_SIZE], + filters: [ + { + shardIndex: index, + }, + ], + clusterUuid, timeRange: { - min: bounds.min.toISOString(), - max: bounds.max.toISOString(), + min: bounds.min.valueOf(), + max: bounds.max.valueOf(), }, - is_advanced: true, - }), - }); - setData(response); + }); + setAlerts(alertsResponse); + } }, [clusterUuid, services.data?.query.timefilter.timefilter, services.http, index]); return ( @@ -62,7 +83,7 @@ export const ElasticsearchIndexAdvancedPage: React.FC = ({ clust {flyoutComponent} = ({ clusters }) => { +export const ElasticsearchIndexPage: React.FC = () => { const globalState = useContext(GlobalStateContext); const { services } = useKibana<{ data: any }>(); const { index }: { index: string } = useParams(); @@ -36,6 +39,7 @@ export const ElasticsearchIndexPage: React.FC = ({ clusters }) = const [data, setData] = useState({} as any); const [indexLabel, setIndexLabel] = useState(labels.index as any); const [nodesByIndicesData, setNodesByIndicesData] = useState([]); + const [alerts, setAlerts] = useState({}); const title = i18n.translate('xpack.monitoring.elasticsearch.index.overview.title', { defaultMessage: 'Elasticsearch - Indices - {indexName} - Overview', @@ -54,23 +58,40 @@ export const ElasticsearchIndexPage: React.FC = ({ clusters }) = const getPageData = useCallback(async () => { const bounds = services.data?.query.timefilter.timefilter.getBounds(); const url = `../api/monitoring/v1/clusters/${clusterUuid}/elasticsearch/indices/${index}`; - const response = await services.http?.fetch(url, { - method: 'POST', - body: JSON.stringify({ + if (services.http?.fetch && clusterUuid) { + const response = await services.http?.fetch(url, { + method: 'POST', + body: JSON.stringify({ + timeRange: { + min: bounds.min.toISOString(), + max: bounds.max.toISOString(), + }, + is_advanced: false, + }), + }); + setData(response); + const transformer = indicesByNodes(); + setNodesByIndicesData(transformer(response.shards, response.nodes)); + + const shards = response.shards; + if (shards.some((shard: any) => shard.state === 'UNASSIGNED')) { + setIndexLabel(labels.indexWithUnassigned); + } + const alertsResponse = await fetchAlerts({ + fetch: services.http.fetch, + alertTypeIds: [RULE_LARGE_SHARD_SIZE], + filters: [ + { + shardIndex: index, + }, + ], + clusterUuid, timeRange: { - min: bounds.min.toISOString(), - max: bounds.max.toISOString(), + min: bounds.min.valueOf(), + max: bounds.max.valueOf(), }, - is_advanced: false, - }), - }); - setData(response); - const transformer = indicesByNodes(); - setNodesByIndicesData(transformer(response.shards, response.nodes)); - - const shards = response.shards; - if (shards.some((shard: any) => shard.state === 'UNASSIGNED')) { - setIndexLabel(labels.indexWithUnassigned); + }); + setAlerts(alertsResponse); } }, [clusterUuid, services.data?.query.timefilter.timefilter, services.http, index]); @@ -89,7 +110,7 @@ export const ElasticsearchIndexPage: React.FC = ({ clusters }) = = ({ clusters }) 'showSystemIndices', false ); + const [alerts, setAlerts] = useState({}); const title = i18n.translate('xpack.monitoring.elasticsearch.indices.routeTitle', { defaultMessage: 'Elasticsearch - Indices', @@ -54,26 +58,38 @@ export const ElasticsearchIndicesPage: React.FC = ({ clusters }) const getPageData = useCallback(async () => { const bounds = services.data?.query.timefilter.timefilter.getBounds(); const url = `../api/monitoring/v1/clusters/${clusterUuid}/elasticsearch/indices`; - const response = await services.http?.fetch(url, { - method: 'POST', - query: { - show_system_indices: showSystemIndices, - }, - body: JSON.stringify({ - ccs, + if (services.http?.fetch && clusterUuid) { + const response = await services.http?.fetch(url, { + method: 'POST', + query: { + show_system_indices: showSystemIndices, + }, + body: JSON.stringify({ + ccs, + timeRange: { + min: bounds.min.toISOString(), + max: bounds.max.toISOString(), + }, + }), + }); + setData(response); + const alertsResponse = await fetchAlerts({ + fetch: services.http.fetch, + clusterUuid, + alertTypeIds: [RULE_LARGE_SHARD_SIZE], timeRange: { - min: bounds.min.toISOString(), - max: bounds.max.toISOString(), + min: bounds.min.valueOf(), + max: bounds.max.valueOf(), }, - }), - }); - setData(response); + }); + setAlerts(alertsResponse); + } }, [ - ccs, - showSystemIndices, - clusterUuid, services.data?.query.timefilter.timefilter, services.http, + clusterUuid, + showSystemIndices, + ccs, ]); return ( @@ -92,7 +108,7 @@ export const ElasticsearchIndicesPage: React.FC = ({ clusters }) = ({ clusters }) => { +export const ElasticsearchNodeAdvancedPage: React.FC = () => { const globalState = useContext(GlobalStateContext); const { zoomInfo, onBrush } = useCharts(); @@ -25,6 +35,7 @@ export const ElasticsearchNodeAdvancedPage: React.FC = ({ cluste const clusterUuid = globalState.cluster_uuid; const ccs = globalState.ccs; const [data, setData] = useState({} as any); + const [alerts, setAlerts] = useState({}); const title = i18n.translate('xpack.monitoring.elasticsearch.node.advanced.title', { defaultMessage: 'Elasticsearch - Nodes - {nodeName} - Advanced', @@ -43,20 +54,42 @@ export const ElasticsearchNodeAdvancedPage: React.FC = ({ cluste const getPageData = useCallback(async () => { const bounds = services.data?.query.timefilter.timefilter.getBounds(); const url = `../api/monitoring/v1/clusters/${clusterUuid}/elasticsearch/nodes/${node}`; - - const response = await services.http?.fetch(url, { - method: 'POST', - body: JSON.stringify({ - ccs, + if (services.http?.fetch && clusterUuid) { + const response = await services.http?.fetch(url, { + method: 'POST', + body: JSON.stringify({ + ccs, + timeRange: { + min: bounds.min.toISOString(), + max: bounds.max.toISOString(), + }, + is_advanced: true, + }), + }); + setData(response); + const alertsResponse = await fetchAlerts({ + fetch: services.http.fetch, + clusterUuid, + alertTypeIds: [ + RULE_CPU_USAGE, + RULE_THREAD_POOL_SEARCH_REJECTIONS, + RULE_THREAD_POOL_WRITE_REJECTIONS, + RULE_MISSING_MONITORING_DATA, + RULE_DISK_USAGE, + RULE_MEMORY_USAGE, + ], + filters: [ + { + nodeUuid: node, + }, + ], timeRange: { - min: bounds.min.toISOString(), - max: bounds.max.toISOString(), + min: bounds.min.valueOf(), + max: bounds.max.valueOf(), }, - is_advanced: true, - }), - }); - - setData(response); + }); + setAlerts(alertsResponse); + } }, [ccs, clusterUuid, services.data?.query.timefilter.timefilter, services.http, node]); return ( @@ -69,7 +102,7 @@ export const ElasticsearchNodeAdvancedPage: React.FC = ({ cluste > = ({ clusters }) => { +export const ElasticsearchNodePage: React.FC = () => { const globalState = useContext(GlobalStateContext); const { zoomInfo, onBrush } = useCharts(); const [showSystemIndices, setShowSystemIndices] = useLocalStorage( 'showSystemIndices', false ); + const [alerts, setAlerts] = useState({}); const { node }: { node: string } = useParams(); const { services } = useKibana<{ data: any }>(); @@ -59,30 +70,49 @@ export const ElasticsearchNodePage: React.FC = ({ clusters }) => const getPageData = useCallback(async () => { const bounds = services.data?.query.timefilter.timefilter.getBounds(); const url = `../api/monitoring/v1/clusters/${clusterUuid}/elasticsearch/nodes/${node}`; + if (services.http?.fetch && clusterUuid) { + const response = await services.http?.fetch(url, { + method: 'POST', + body: JSON.stringify({ + showSystemIndices, + ccs, + timeRange: { + min: bounds.min.toISOString(), + max: bounds.max.toISOString(), + }, + is_advanced: false, + }), + }); - const response = await services.http?.fetch(url, { - method: 'POST', - body: JSON.stringify({ - showSystemIndices, - ccs, + setData(response); + const transformer = nodesByIndices(); + setNodesByIndicesData(transformer(response.shards, response.nodes)); + const alertsResponse = await fetchAlerts({ + fetch: services.http.fetch, + alertTypeIds: [ + RULE_CPU_USAGE, + RULE_THREAD_POOL_SEARCH_REJECTIONS, + RULE_THREAD_POOL_WRITE_REJECTIONS, + RULE_MISSING_MONITORING_DATA, + RULE_DISK_USAGE, + RULE_MEMORY_USAGE, + ], + filters: [{ nodeUuid: node }], + clusterUuid, timeRange: { - min: bounds.min.toISOString(), - max: bounds.max.toISOString(), + min: bounds.min.valueOf(), + max: bounds.max.valueOf(), }, - is_advanced: false, - }), - }); - - setData(response); - const transformer = nodesByIndices(); - setNodesByIndicesData(transformer(response.shards, response.nodes)); + }); + setAlerts(alertsResponse); + } }, [ - ccs, - clusterUuid, services.data?.query.timefilter.timefilter, services.http, + clusterUuid, node, showSystemIndices, + ccs, ]); const toggleShowSystemIndices = useCallback(() => { @@ -102,7 +132,7 @@ export const ElasticsearchNodePage: React.FC = ({ clusters }) => {flyoutComponent} = ({ clusters }) = cluster_uuid: clusterUuid, }) as any; const [data, setData] = useState({} as any); + const [alerts, setAlerts] = useState({}); const title = i18n.translate('xpack.monitoring.elasticsearch.nodes.routeTitle', { defaultMessage: 'Elasticsearch - Nodes', @@ -57,25 +68,44 @@ export const ElasticsearchNodesPage: React.FC = ({ clusters }) = const getPageData = useCallback(async () => { const bounds = services.data?.query.timefilter.timefilter.getBounds(); const url = `../api/monitoring/v1/clusters/${clusterUuid}/elasticsearch/nodes`; - const response = await services.http?.fetch(url, { - method: 'POST', - body: JSON.stringify({ - ccs, + if (services.http?.fetch && clusterUuid) { + const response = await services.http?.fetch(url, { + method: 'POST', + body: JSON.stringify({ + ccs, + timeRange: { + min: bounds.min.toISOString(), + max: bounds.max.toISOString(), + }, + ...getPaginationRouteOptions(), + }), + }); + + setData(response); + updateTotalItemCount(response.totalNodeCount); + const alertsResponse = await fetchAlerts({ + fetch: services.http.fetch, + clusterUuid, + alertTypeIds: [ + RULE_CPU_USAGE, + RULE_DISK_USAGE, + RULE_THREAD_POOL_SEARCH_REJECTIONS, + RULE_THREAD_POOL_WRITE_REJECTIONS, + RULE_MEMORY_USAGE, + RULE_MISSING_MONITORING_DATA, + ], timeRange: { - min: bounds.min.toISOString(), - max: bounds.max.toISOString(), + min: bounds.min.valueOf(), + max: bounds.max.valueOf(), }, - ...getPaginationRouteOptions(), - }), - }); - - setData(response); - updateTotalItemCount(response.totalNodeCount); + }); + setAlerts(alertsResponse); + } }, [ - ccs, - clusterUuid, services.data?.query.timefilter.timefilter, services.http, + clusterUuid, + ccs, getPaginationRouteOptions, updateTotalItemCount, ]); @@ -98,7 +128,7 @@ export const ElasticsearchNodesPage: React.FC = ({ clusters }) = clusterUuid={globalState.cluster_uuid} setupMode={setupMode} nodes={data.nodes} - alerts={{}} + alerts={alerts} showCgroupMetricsElasticsearch={showCgroupMetricsElasticsearch} {...getPaginationTableProps()} /> diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/overview.tsx b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/overview.tsx index 3334c7e7b880a..c58aaa5dffb04 100644 --- a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/overview.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/overview.tsx @@ -9,7 +9,7 @@ import { i18n } from '@kbn/i18n'; import { find } from 'lodash'; import { ElasticsearchTemplate } from './elasticsearch_template'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; -import { GlobalStateContext } from '../../global_state_context'; +import { GlobalStateContext } from '../../contexts/global_state_context'; import { ElasticsearchOverview } from '../../../components/elasticsearch'; import { ComponentProps } from '../../route_init'; import { useCharts } from '../../hooks/use_charts'; diff --git a/x-pack/plugins/monitoring/public/application/pages/home/cluster_listing.tsx b/x-pack/plugins/monitoring/public/application/pages/home/cluster_listing.tsx index 906db1b57f0f5..a31f2bc317fa6 100644 --- a/x-pack/plugins/monitoring/public/application/pages/home/cluster_listing.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/home/cluster_listing.tsx @@ -12,8 +12,8 @@ import { useKibana } from '../../../../../../../src/plugins/kibana_react/public' // @ts-ignore import { Listing } from '../../../components/cluster/listing'; import { EnableAlertsModal } from '../../../alerts/enable_alerts_modal'; -import { GlobalStateContext } from '../../global_state_context'; -import { ExternalConfigContext } from '../../external_config_context'; +import { GlobalStateContext } from '../../contexts/global_state_context'; +import { ExternalConfigContext } from '../../contexts/external_config_context'; import { ComponentProps } from '../../route_init'; import { useTable } from '../../hooks/use_table'; import { PageTemplate, TabMenuItem } from '../page_template'; @@ -69,23 +69,19 @@ export const ClusterListing: React.FC = () => { const getPageData = useCallback(async () => { const bounds = services.data?.query.timefilter.timefilter.getBounds(); - try { - if (services.http?.fetch) { - const response = await fetchClusters({ - fetch: services.http.fetch, - timeRange: { - min: bounds.min.toISOString(), - max: bounds.max.toISOString(), - }, - ccs: globalState.ccs, - codePaths: ['all'], - }); - setClusters(response); - } - } catch (err) { - // TODO: handle errors + if (services.http?.fetch) { + const response = await fetchClusters({ + fetch: services.http.fetch, + timeRange: { + min: bounds.min.toISOString(), + max: bounds.max.toISOString(), + }, + ccs: globalState.ccs, + codePaths: ['all'], + }); + setClusters(response); } - }, [globalState, services.data?.query.timefilter.timefilter, services.http]); + }, [globalState.ccs, services.data?.query.timefilter.timefilter, services.http]); if (globalState.save && clusters.length === 1) { globalState.cluster_uuid = clusters[0].cluster_uuid; diff --git a/x-pack/plugins/monitoring/public/application/pages/kibana/instance.tsx b/x-pack/plugins/monitoring/public/application/pages/kibana/instance.tsx new file mode 100644 index 0000000000000..444794d118b0f --- /dev/null +++ b/x-pack/plugins/monitoring/public/application/pages/kibana/instance.tsx @@ -0,0 +1,178 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { useContext, useState, useCallback, useEffect } from 'react'; +import { useParams } from 'react-router-dom'; +import { i18n } from '@kbn/i18n'; +import { find } from 'lodash'; +import { + EuiPage, + EuiPageBody, + EuiPageContent, + EuiSpacer, + EuiFlexGrid, + EuiFlexItem, + EuiPanel, +} from '@elastic/eui'; +import { ComponentProps } from '../../route_init'; +import { GlobalStateContext } from '../../contexts/global_state_context'; +import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; +import { useCharts } from '../../hooks/use_charts'; +// @ts-ignore +import { BreadcrumbContainer } from '../../hooks/use_breadcrumbs'; +// @ts-ignore +import { MonitoringTimeseriesContainer } from '../../../components/chart'; +// @ts-ignore +import { DetailStatus } from '../../../components/kibana/detail_status'; +import { PageTemplate } from '../page_template'; +import { AlertsCallout } from '../../../alerts/callout'; +import { AlertsByName } from '../../../alerts/types'; +import { fetchAlerts } from '../../../lib/fetch_alerts'; +import { RULE_KIBANA_VERSION_MISMATCH } from '../../../../common/constants'; + +const KibanaInstance = ({ data, alerts }: { data: any; alerts: any }) => { + const { zoomInfo, onBrush } = useCharts(); + + return ( + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ); +}; + +export const KibanaInstancePage: React.FC = ({ clusters }) => { + const { instance }: { instance: string } = useParams(); + + const globalState = useContext(GlobalStateContext); + const { services } = useKibana<{ data: any }>(); + const { generate: generateBreadcrumbs } = useContext(BreadcrumbContainer.Context); + const clusterUuid = globalState.cluster_uuid; + const ccs = globalState.ccs; + const cluster = find(clusters, { + cluster_uuid: clusterUuid, + }) as any; + const [data, setData] = useState({} as any); + const [instanceName, setInstanceName] = useState(''); + const [alerts, setAlerts] = useState({}); + + const title = `Kibana - ${instanceName}`; + const pageTitle = i18n.translate('xpack.monitoring.kibana.instance.pageTitle', { + defaultMessage: 'Kibana instance: {instance}', + values: { + instance: instanceName, + }, + }); + + useEffect(() => { + if (cluster) { + generateBreadcrumbs(cluster.cluster_name, { + inKibana: true, + instance: instanceName, + }); + } + }, [cluster, instanceName, generateBreadcrumbs]); + + const getPageData = useCallback(async () => { + const bounds = services.data?.query.timefilter.timefilter.getBounds(); + const url = `../api/monitoring/v1/clusters/${clusterUuid}/kibana/${instance}`; + if (services.http?.fetch && clusterUuid) { + const response = await services.http?.fetch(url, { + method: 'POST', + body: JSON.stringify({ + ccs, + timeRange: { + min: bounds.min.toISOString(), + max: bounds.max.toISOString(), + }, + }), + }); + setData(response); + setInstanceName(response.kibanaSummary.name); + const alertsResponse = await fetchAlerts({ + fetch: services.http.fetch, + alertTypeIds: [RULE_KIBANA_VERSION_MISMATCH], + clusterUuid, + timeRange: { + min: bounds.min.valueOf(), + max: bounds.max.valueOf(), + }, + }); + setAlerts(alertsResponse); + } + }, [ccs, clusterUuid, instance, services.data?.query.timefilter.timefilter, services.http]); + + return ( + +
+ +
+
+ ); +}; diff --git a/x-pack/plugins/monitoring/public/application/pages/kibana/instances.tsx b/x-pack/plugins/monitoring/public/application/pages/kibana/instances.tsx new file mode 100644 index 0000000000000..ae0237ea40472 --- /dev/null +++ b/x-pack/plugins/monitoring/public/application/pages/kibana/instances.tsx @@ -0,0 +1,116 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { useContext, useState, useCallback, useEffect } from 'react'; +import { i18n } from '@kbn/i18n'; +import { find } from 'lodash'; +import { ComponentProps } from '../../route_init'; +import { GlobalStateContext } from '../../contexts/global_state_context'; +import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; +import { useTable } from '../../hooks/use_table'; +import { KibanaTemplate } from './kibana_template'; +// @ts-ignore +import { KibanaInstances } from '../../../components/kibana/instances'; +// @ts-ignore +import { SetupModeRenderer, SetupModeProps } from '../../setup_mode/setup_mode_renderer'; +import { SetupModeContext } from '../../../components/setup_mode/setup_mode_context'; +import { BreadcrumbContainer } from '../../hooks/use_breadcrumbs'; +import { AlertsByName } from '../../../alerts/types'; +import { fetchAlerts } from '../../../lib/fetch_alerts'; +import { KIBANA_SYSTEM_ID, RULE_KIBANA_VERSION_MISMATCH } from '../../../../common/constants'; + +export const KibanaInstancesPage: React.FC = ({ clusters }) => { + const { cluster_uuid: clusterUuid, ccs } = useContext(GlobalStateContext); + const { services } = useKibana<{ data: any }>(); + const { generate: generateBreadcrumbs } = useContext(BreadcrumbContainer.Context); + const { updateTotalItemCount, getPaginationTableProps } = useTable('kibana.instances'); + const cluster = find(clusters, { + cluster_uuid: clusterUuid, + }) as any; + const [data, setData] = useState({} as any); + const [alerts, setAlerts] = useState({}); + + const title = i18n.translate('xpack.monitoring.kibana.instances.routeTitle', { + defaultMessage: 'Kibana - Instances', + }); + + const pageTitle = i18n.translate('xpack.monitoring.kibana.instances.pageTitle', { + defaultMessage: 'Kibana instances', + }); + + useEffect(() => { + if (cluster) { + generateBreadcrumbs(cluster.cluster_name, { + inKibana: true, + }); + } + }, [cluster, generateBreadcrumbs]); + + const getPageData = useCallback(async () => { + const bounds = services.data?.query.timefilter.timefilter.getBounds(); + const url = `../api/monitoring/v1/clusters/${clusterUuid}/kibana/instances`; + if (services.http?.fetch && clusterUuid) { + const response = await services.http?.fetch(url, { + method: 'POST', + body: JSON.stringify({ + ccs, + timeRange: { + min: bounds.min.toISOString(), + max: bounds.max.toISOString(), + }, + }), + }); + + setData(response); + updateTotalItemCount(response.kibanas.length); + const alertsResponse = await fetchAlerts({ + fetch: services.http.fetch, + alertTypeIds: [RULE_KIBANA_VERSION_MISMATCH], + clusterUuid, + timeRange: { + min: bounds.min.valueOf(), + max: bounds.max.valueOf(), + }, + }); + setAlerts(alertsResponse); + } + }, [ + ccs, + clusterUuid, + services.data?.query.timefilter.timefilter, + services.http, + updateTotalItemCount, + ]); + + return ( + +
+ ( + + {flyoutComponent} + + {bottomBarComponent} + + )} + /> +
+
+ ); +}; diff --git a/x-pack/plugins/monitoring/public/application/pages/kibana/overview.tsx b/x-pack/plugins/monitoring/public/application/pages/kibana/overview.tsx index 2356011a3f77b..a47da048e1936 100644 --- a/x-pack/plugins/monitoring/public/application/pages/kibana/overview.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/kibana/overview.tsx @@ -19,7 +19,7 @@ import { import { KibanaTemplate } from './kibana_template'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; -import { GlobalStateContext } from '../../global_state_context'; +import { GlobalStateContext } from '../../contexts/global_state_context'; import { ComponentProps } from '../../route_init'; // @ts-ignore import { MonitoringTimeseriesContainer } from '../../../components/chart'; diff --git a/x-pack/plugins/monitoring/public/application/pages/license_page.tsx b/x-pack/plugins/monitoring/public/application/pages/license_page.tsx index 309291535f7c5..05dcb32b75b98 100644 --- a/x-pack/plugins/monitoring/public/application/pages/license_page.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/license_page.tsx @@ -10,7 +10,7 @@ import { i18n } from '@kbn/i18n'; import moment from 'moment-timezone'; import { PageTemplate } from './page_template'; import { License } from '../../components'; -import { GlobalStateContext } from '../global_state_context'; +import { GlobalStateContext } from '../contexts/global_state_context'; import { CODE_PATH_LICENSE, STANDALONE_CLUSTER_CLUSTER_UUID } from '../../../common/constants'; import { useKibana } from '../../../../../../src/plugins/kibana_react/public'; import { MonitoringTimeContainer } from '../hooks/use_monitoring_time'; diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/advanced.tsx b/x-pack/plugins/monitoring/public/application/pages/logstash/advanced.tsx index 8a33190d39c94..3532a24f3da37 100644 --- a/x-pack/plugins/monitoring/public/application/pages/logstash/advanced.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/logstash/advanced.tsx @@ -18,7 +18,7 @@ import { } from '@elastic/eui'; import { useRouteMatch } from 'react-router-dom'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; -import { GlobalStateContext } from '../../global_state_context'; +import { GlobalStateContext } from '../../contexts/global_state_context'; import { ComponentProps } from '../../route_init'; // @ts-ignore import { Listing } from '../../../components/logstash/listing'; @@ -29,6 +29,9 @@ import { DetailStatus } from '../../../components/logstash/detail_status'; import { MonitoringTimeseriesContainer } from '../../../components/chart'; import { AlertsCallout } from '../../../alerts/callout'; import { useCharts } from '../../hooks/use_charts'; +import { AlertsByName } from '../../../alerts/types'; +import { fetchAlerts } from '../../../lib/fetch_alerts'; +import { RULE_LOGSTASH_VERSION_MISMATCH } from '../../../../common/constants'; export const LogStashNodeAdvancedPage: React.FC = ({ clusters }) => { const globalState = useContext(GlobalStateContext); @@ -42,6 +45,7 @@ export const LogStashNodeAdvancedPage: React.FC = ({ clusters }) }); const [data, setData] = useState({} as any); + const [alerts, setAlerts] = useState({}); const title = i18n.translate('xpack.monitoring.logstash.node.advanced.routeTitle', { defaultMessage: 'Logstash - {nodeName} - Advanced', @@ -60,19 +64,30 @@ export const LogStashNodeAdvancedPage: React.FC = ({ clusters }) const getPageData = useCallback(async () => { const bounds = services.data?.query.timefilter.timefilter.getBounds(); const url = `../api/monitoring/v1/clusters/${clusterUuid}/logstash/node/${match.params.uuid}`; - const response = await services.http?.fetch(url, { - method: 'POST', - body: JSON.stringify({ - ccs, + if (services.http?.fetch && clusterUuid) { + const response = await services.http?.fetch(url, { + method: 'POST', + body: JSON.stringify({ + ccs, + timeRange: { + min: bounds.min.toISOString(), + max: bounds.max.toISOString(), + }, + is_advanced: true, + }), + }); + setData(response); + const alertsResponse = await fetchAlerts({ + fetch: services.http.fetch, + alertTypeIds: [RULE_LOGSTASH_VERSION_MISMATCH], + clusterUuid, timeRange: { - min: bounds.min.toISOString(), - max: bounds.max.toISOString(), + min: bounds.min.valueOf(), + max: bounds.max.valueOf(), }, - is_advanced: true, - }), - }); - - setData(response); + }); + setAlerts(alertsResponse); + } }, [ ccs, clusterUuid, @@ -105,7 +120,7 @@ export const LogStashNodeAdvancedPage: React.FC = ({ clusters }) {data.nodeSummary && } - + {metricsToShow.map((metric, index) => ( diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/node.tsx b/x-pack/plugins/monitoring/public/application/pages/logstash/node.tsx index 301d3c45dedb5..1163a619dd84b 100644 --- a/x-pack/plugins/monitoring/public/application/pages/logstash/node.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/logstash/node.tsx @@ -18,7 +18,7 @@ import { EuiFlexItem, } from '@elastic/eui'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; -import { GlobalStateContext } from '../../global_state_context'; +import { GlobalStateContext } from '../../contexts/global_state_context'; import { ComponentProps } from '../../route_init'; // @ts-ignore import { List } from '../../../components/logstash/pipeline_viewer/models/list'; @@ -30,6 +30,9 @@ import { DetailStatus } from '../../../components/logstash/detail_status'; import { MonitoringTimeseriesContainer } from '../../../components/chart'; import { AlertsCallout } from '../../../alerts/callout'; import { useCharts } from '../../hooks/use_charts'; +import { AlertsByName } from '../../../alerts/types'; +import { fetchAlerts } from '../../../lib/fetch_alerts'; +import { RULE_LOGSTASH_VERSION_MISMATCH } from '../../../../common/constants'; export const LogStashNodePage: React.FC = ({ clusters }) => { const match = useRouteMatch<{ uuid: string | undefined }>(); @@ -41,6 +44,7 @@ export const LogStashNodePage: React.FC = ({ clusters }) => { cluster_uuid: clusterUuid, }); const [data, setData] = useState({} as any); + const [alerts, setAlerts] = useState({}); const { zoomInfo, onBrush } = useCharts(); const title = i18n.translate('xpack.monitoring.logstash.node.routeTitle', { defaultMessage: 'Logstash - {nodeName}', @@ -59,19 +63,30 @@ export const LogStashNodePage: React.FC = ({ clusters }) => { const getPageData = useCallback(async () => { const url = `../api/monitoring/v1/clusters/${clusterUuid}/logstash/node/${match.params.uuid}`; const bounds = services.data?.query.timefilter.timefilter.getBounds(); - const response = await services.http?.fetch(url, { - method: 'POST', - body: JSON.stringify({ - ccs, + if (services.http?.fetch && clusterUuid) { + const response = await services.http?.fetch(url, { + method: 'POST', + body: JSON.stringify({ + ccs, + timeRange: { + min: bounds.min.toISOString(), + max: bounds.max.toISOString(), + }, + is_advanced: false, + }), + }); + setData(response); + const alertsResponse = await fetchAlerts({ + fetch: services.http.fetch, + alertTypeIds: [RULE_LOGSTASH_VERSION_MISMATCH], + clusterUuid, timeRange: { - min: bounds.min.toISOString(), - max: bounds.max.toISOString(), + min: bounds.min.valueOf(), + max: bounds.max.valueOf(), }, - is_advanced: false, - }), - }); - - setData(response); + }); + setAlerts(alertsResponse); + } }, [ccs, clusterUuid, services.data?.query.timefilter.timefilter, services.http, match.params]); const metricsToShow = useMemo(() => { @@ -99,7 +114,7 @@ export const LogStashNodePage: React.FC = ({ clusters }) => { {data.nodeSummary && } - + {metricsToShow.map((metric, index) => ( diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/node_pipelines.tsx b/x-pack/plugins/monitoring/public/application/pages/logstash/node_pipelines.tsx index 1c956603f99bd..e09850eaad5c9 100644 --- a/x-pack/plugins/monitoring/public/application/pages/logstash/node_pipelines.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/logstash/node_pipelines.tsx @@ -12,7 +12,7 @@ import { useRouteMatch } from 'react-router-dom'; // @ts-ignore import { isPipelineMonitoringSupportedInVersion } from '../../../lib/logstash/pipelines'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; -import { GlobalStateContext } from '../../global_state_context'; +import { GlobalStateContext } from '../../contexts/global_state_context'; import { ComponentProps } from '../../route_init'; // @ts-ignore import { Listing } from '../../../components/logstash/listing'; diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/nodes.tsx b/x-pack/plugins/monitoring/public/application/pages/logstash/nodes.tsx index 633e47339f467..11f806174584e 100644 --- a/x-pack/plugins/monitoring/public/application/pages/logstash/nodes.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/logstash/nodes.tsx @@ -8,7 +8,7 @@ import React, { useContext, useState, useCallback } from 'react'; import { i18n } from '@kbn/i18n'; import { find } from 'lodash'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; -import { GlobalStateContext } from '../../global_state_context'; +import { GlobalStateContext } from '../../contexts/global_state_context'; import { ComponentProps } from '../../route_init'; // @ts-ignore import { Listing } from '../../../components/logstash/listing'; @@ -16,6 +16,9 @@ import { LogstashTemplate } from './logstash_template'; import { SetupModeRenderer } from '../../setup_mode/setup_mode_renderer'; import { SetupModeContext } from '../../../components/setup_mode/setup_mode_context'; import { useTable } from '../../hooks/use_table'; +import { RULE_LOGSTASH_VERSION_MISMATCH } from '../../../../common/constants'; +import { AlertsByName } from '../../../alerts/types'; +import { fetchAlerts } from '../../../lib/fetch_alerts'; interface SetupModeProps { setupMode: any; @@ -32,6 +35,7 @@ export const LogStashNodesPage: React.FC = ({ clusters }) => { cluster_uuid: clusterUuid, }); const [data, setData] = useState({} as any); + const [alerts, setAlerts] = useState({}); const { getPaginationTableProps } = useTable('logstash.nodes'); const title = i18n.translate('xpack.monitoring.logstash.nodes.routeTitle', { @@ -45,18 +49,30 @@ export const LogStashNodesPage: React.FC = ({ clusters }) => { const getPageData = useCallback(async () => { const bounds = services.data?.query.timefilter.timefilter.getBounds(); const url = `../api/monitoring/v1/clusters/${clusterUuid}/logstash/nodes`; - const response = await services.http?.fetch(url, { - method: 'POST', - body: JSON.stringify({ - ccs, + if (services.http?.fetch && clusterUuid) { + const response = await services.http?.fetch(url, { + method: 'POST', + body: JSON.stringify({ + ccs, + timeRange: { + min: bounds.min.toISOString(), + max: bounds.max.toISOString(), + }, + }), + }); + + setData(response); + const alertsResponse = await fetchAlerts({ + fetch: services.http.fetch, + alertTypeIds: [RULE_LOGSTASH_VERSION_MISMATCH], + clusterUuid, timeRange: { - min: bounds.min.toISOString(), - max: bounds.max.toISOString(), + min: bounds.min.valueOf(), + max: bounds.max.valueOf(), }, - }), - }); - - setData(response); + }); + setAlerts(alertsResponse); + } }, [ccs, clusterUuid, services.data?.query.timefilter.timefilter, services.http]); return ( @@ -77,6 +93,7 @@ export const LogStashNodesPage: React.FC = ({ clusters }) => { metrics={data.metrics} data={data.nodes} setupMode={setupMode} + alerts={alerts} {...getPaginationTableProps()} /> {bottomBarComponent} diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/overview.tsx b/x-pack/plugins/monitoring/public/application/pages/logstash/overview.tsx index 1edbe5cf71e7d..339b9e9395569 100644 --- a/x-pack/plugins/monitoring/public/application/pages/logstash/overview.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/logstash/overview.tsx @@ -8,7 +8,7 @@ import React, { useContext, useState, useCallback } from 'react'; import { i18n } from '@kbn/i18n'; import { find } from 'lodash'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; -import { GlobalStateContext } from '../../global_state_context'; +import { GlobalStateContext } from '../../contexts/global_state_context'; import { ComponentProps } from '../../route_init'; import { useCharts } from '../../hooks/use_charts'; // @ts-ignore diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/pipeline.tsx b/x-pack/plugins/monitoring/public/application/pages/logstash/pipeline.tsx index abff0ab17b992..20f1caee2b1d8 100644 --- a/x-pack/plugins/monitoring/public/application/pages/logstash/pipeline.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/logstash/pipeline.tsx @@ -10,7 +10,7 @@ import { find } from 'lodash'; import moment from 'moment'; import { useRouteMatch } from 'react-router-dom'; import { useKibana, useUiSetting } from '../../../../../../../src/plugins/kibana_react/public'; -import { GlobalStateContext } from '../../global_state_context'; +import { GlobalStateContext } from '../../contexts/global_state_context'; import { ComponentProps } from '../../route_init'; // @ts-ignore import { List } from '../../../components/logstash/pipeline_viewer/models/list'; @@ -24,7 +24,7 @@ import { PipelineState } from '../../../components/logstash/pipeline_viewer/mode import { vertexFactory } from '../../../components/logstash/pipeline_viewer/models/graph/vertex_factory'; import { LogstashTemplate } from './logstash_template'; import { useTable } from '../../hooks/use_table'; -import { ExternalConfigContext } from '../../external_config_context'; +import { ExternalConfigContext } from '../../contexts/external_config_context'; import { formatTimestampToDuration } from '../../../../common'; import { CALCULATE_DURATION_SINCE } from '../../../../common/constants'; import { getSafeForExternalLink } from '../../../lib/get_safe_for_external_link'; diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/pipelines.tsx b/x-pack/plugins/monitoring/public/application/pages/logstash/pipelines.tsx index 5f4fe634177de..ac750ff81ddaa 100644 --- a/x-pack/plugins/monitoring/public/application/pages/logstash/pipelines.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/logstash/pipelines.tsx @@ -8,7 +8,7 @@ import React, { useContext, useState, useCallback } from 'react'; import { i18n } from '@kbn/i18n'; import { find } from 'lodash'; import { useKibana, useUiSetting } from '../../../../../../../src/plugins/kibana_react/public'; -import { GlobalStateContext } from '../../global_state_context'; +import { GlobalStateContext } from '../../contexts/global_state_context'; import { ComponentProps } from '../../route_init'; import { useCharts } from '../../hooks/use_charts'; // @ts-ignore diff --git a/x-pack/plugins/monitoring/public/application/pages/no_data/no_data_page.tsx b/x-pack/plugins/monitoring/public/application/pages/no_data/no_data_page.tsx index b05bd783b2ff2..26072f53f4752 100644 --- a/x-pack/plugins/monitoring/public/application/pages/no_data/no_data_page.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/no_data/no_data_page.tsx @@ -18,7 +18,8 @@ import { Legacy } from '../../../legacy_shims'; import { Enabler } from './enabler'; import { BreadcrumbContainer } from '../../hooks/use_breadcrumbs'; import { initSetupModeState } from '../../setup_mode/setup_mode'; -import { GlobalStateContext } from '../../global_state_context'; +import { GlobalStateContext } from '../../contexts/global_state_context'; +import { useRequestErrorHandler } from '../../hooks/use_request_error_handler'; const CODE_PATHS = [CODE_PATH_LICENSE]; @@ -77,7 +78,8 @@ export const NoDataPage = () => { ]); const globalState = useContext(GlobalStateContext); - initSetupModeState(globalState, services.http); + const handleRequestError = useRequestErrorHandler(); + initSetupModeState(globalState, services.http, handleRequestError); // From x-pack/plugins/monitoring/public/views/no_data/model_updater.js const updateModel = useCallback( diff --git a/x-pack/plugins/monitoring/public/application/pages/page_template.tsx b/x-pack/plugins/monitoring/public/application/pages/page_template.tsx index 927c464552087..5c030814d9cdf 100644 --- a/x-pack/plugins/monitoring/public/application/pages/page_template.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/page_template.tsx @@ -6,8 +6,9 @@ */ import { EuiTab, EuiTabs } from '@elastic/eui'; -import React, { useContext, useState, useEffect } from 'react'; +import React, { useContext, useState, useEffect, useCallback } from 'react'; import { useHistory } from 'react-router-dom'; +import { IHttpFetchError } from 'kibana/public'; import { useTitle } from '../hooks/use_title'; import { MonitoringToolbar } from '../../components/shared/toolbar'; import { MonitoringTimeContainer } from '../hooks/use_monitoring_time'; @@ -18,6 +19,9 @@ import { updateSetupModeData, } from '../setup_mode/setup_mode'; import { SetupModeFeature } from '../../../common/enums'; +import { AlertsDropdown } from '../../alerts/alerts_dropdown'; +import { ActionMenu } from '../../components/action_menu'; +import { useRequestErrorHandler } from '../hooks/use_request_error_handler'; export interface TabMenuItem { id: string; @@ -46,34 +50,52 @@ export const PageTemplate: React.FC = ({ const { currentTimerange } = useContext(MonitoringTimeContainer.Context); const [loaded, setLoaded] = useState(false); const history = useHistory(); + const [hasError, setHasError] = useState(false); + const handleRequestError = useRequestErrorHandler(); + + const getPageDataResponseHandler = useCallback( + (result: any) => { + setHasError(false); + return result; + }, + [setHasError] + ); useEffect(() => { getPageData?.() - .catch((err) => { - // TODO: handle errors + .then(getPageDataResponseHandler) + .catch((err: IHttpFetchError) => { + handleRequestError(err); + setHasError(true); }) .finally(() => { setLoaded(true); }); - }, [getPageData, currentTimerange]); + }, [getPageData, currentTimerange, getPageDataResponseHandler, handleRequestError]); const onRefresh = () => { - const requests = [getPageData?.()]; + getPageData?.().then(getPageDataResponseHandler).catch(handleRequestError); + if (isSetupModeFeatureEnabled(SetupModeFeature.MetricbeatMigration)) { - requests.push(updateSetupModeData()); + updateSetupModeData(); } - - Promise.allSettled(requests).then((results) => { - // TODO: handle errors - }); }; const createHref = (route: string) => history.createHref({ pathname: route }); const isTabSelected = (route: string) => history.location.pathname === route; + const renderContent = () => { + if (hasError) return null; + if (getPageData && !loaded) return ; + return children; + }; + return (
+ + + {tabs && ( @@ -93,7 +115,7 @@ export const PageTemplate: React.FC = ({ })} )} -
{!getPageData ? children : loaded ? children : }
+
{renderContent()}
); }; diff --git a/x-pack/plugins/monitoring/public/application/route_init.tsx b/x-pack/plugins/monitoring/public/application/route_init.tsx index 8a9a906dbd563..8a11df3de50ae 100644 --- a/x-pack/plugins/monitoring/public/application/route_init.tsx +++ b/x-pack/plugins/monitoring/public/application/route_init.tsx @@ -7,7 +7,7 @@ import React, { useContext } from 'react'; import { Route, Redirect, useLocation } from 'react-router-dom'; import { useClusters } from './hooks/use_clusters'; -import { GlobalStateContext } from './global_state_context'; +import { GlobalStateContext } from './contexts/global_state_context'; import { getClusterFromClusters } from '../lib/get_cluster_from_clusters'; export interface ComponentProps { diff --git a/x-pack/plugins/monitoring/public/application/setup_mode/setup_mode.tsx b/x-pack/plugins/monitoring/public/application/setup_mode/setup_mode.tsx index 70932e5177337..bfdf96ef5b2c1 100644 --- a/x-pack/plugins/monitoring/public/application/setup_mode/setup_mode.tsx +++ b/x-pack/plugins/monitoring/public/application/setup_mode/setup_mode.tsx @@ -9,13 +9,13 @@ import React from 'react'; import { render } from 'react-dom'; import { get, includes } from 'lodash'; import { i18n } from '@kbn/i18n'; -import { HttpStart } from 'kibana/public'; +import { HttpStart, IHttpFetchError } from 'kibana/public'; import { KibanaContextProvider } from '../../../../../../src/plugins/kibana_react/public'; import { Legacy } from '../../legacy_shims'; import { SetupModeEnterButton } from '../../components/setup_mode/enter_button'; import { SetupModeFeature } from '../../../common/enums'; import { ISetupModeContext } from '../../components/setup_mode/setup_mode_context'; -import { State as GlobalState } from '../../application/global_state_context'; +import { State as GlobalState } from '../contexts/global_state_context'; function isOnPage(hash: string) { return includes(window.location.hash, hash); @@ -23,6 +23,7 @@ function isOnPage(hash: string) { let globalState: GlobalState; let httpService: HttpStart; +let errorHandler: (error: IHttpFetchError) => void; interface ISetupModeState { enabled: boolean; @@ -65,8 +66,8 @@ export const fetchCollectionData = async (uuid?: string, fetchWithoutClusterUuid }); return response; } catch (err) { - // TODO: handle errors - throw new Error(err); + errorHandler(err); + throw err; } }; @@ -122,8 +123,8 @@ export const disableElasticsearchInternalCollection = async () => { const response = await httpService.post(url); return response; } catch (err) { - // TODO: handle errors - throw new Error(err); + errorHandler(err); + throw err; } }; @@ -161,10 +162,12 @@ export const setSetupModeMenuItem = () => { export const initSetupModeState = async ( state: GlobalState, http: HttpStart, + handleErrors: (error: IHttpFetchError) => void, callback?: () => void ) => { globalState = state; httpService = http; + errorHandler = handleErrors; if (callback) { setupModeState.callback = callback; } diff --git a/x-pack/plugins/monitoring/public/application/setup_mode/setup_mode_renderer.js b/x-pack/plugins/monitoring/public/application/setup_mode/setup_mode_renderer.js index 337dacd4ecae9..a9ee2464cd423 100644 --- a/x-pack/plugins/monitoring/public/application/setup_mode/setup_mode_renderer.js +++ b/x-pack/plugins/monitoring/public/application/setup_mode/setup_mode_renderer.js @@ -27,8 +27,9 @@ import { import { findNewUuid } from '../../components/renderers/lib/find_new_uuid'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n/react'; -import { GlobalStateContext } from '../../application/global_state_context'; +import { GlobalStateContext } from '../../application/contexts/global_state_context'; import { withKibana } from '../../../../../../src/plugins/kibana_react/public'; +import { useRequestErrorHandler } from '../hooks/use_request_error_handler'; class WrappedSetupModeRenderer extends React.Component { globalState; @@ -42,8 +43,8 @@ class WrappedSetupModeRenderer extends React.Component { UNSAFE_componentWillMount() { this.globalState = this.context; - const { kibana } = this.props; - initSetupModeState(this.globalState, kibana.services.http, (_oldData) => { + const { kibana, onHttpError } = this.props; + initSetupModeState(this.globalState, kibana.services.http, onHttpError, (_oldData) => { const newState = { renderState: true }; const { productName } = this.props; @@ -213,5 +214,12 @@ class WrappedSetupModeRenderer extends React.Component { } } +function withErrorHandler(Component) { + return function WrappedComponent(props) { + const handleRequestError = useRequestErrorHandler(); + return ; + }; +} + WrappedSetupModeRenderer.contextType = GlobalStateContext; -export const SetupModeRenderer = withKibana(WrappedSetupModeRenderer); +export const SetupModeRenderer = withKibana(withErrorHandler(WrappedSetupModeRenderer)); diff --git a/x-pack/plugins/monitoring/public/components/action_menu/index.tsx b/x-pack/plugins/monitoring/public/components/action_menu/index.tsx new file mode 100644 index 0000000000000..1348ac170395e --- /dev/null +++ b/x-pack/plugins/monitoring/public/components/action_menu/index.tsx @@ -0,0 +1,34 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { useContext, useEffect } from 'react'; +import { + KibanaContextProvider, + toMountPoint, + useKibana, +} from '../../../../../../src/plugins/kibana_react/public'; +import { HeaderActionMenuContext } from '../../application/contexts/header_action_menu_context'; + +export const ActionMenu: React.FC<{}> = ({ children }) => { + const { services } = useKibana(); + const { setHeaderActionMenu } = useContext(HeaderActionMenuContext); + useEffect(() => { + if (setHeaderActionMenu) { + setHeaderActionMenu((element) => { + const mount = toMountPoint( + {children} + ); + return mount(element); + }); + return () => { + setHeaderActionMenu(undefined); + }; + } + }, [children, setHeaderActionMenu, services]); + + return null; +}; diff --git a/x-pack/plugins/monitoring/public/components/shared/toolbar.tsx b/x-pack/plugins/monitoring/public/components/shared/toolbar.tsx index 32bbdd6ecbeda..6a1ed1dd16f48 100644 --- a/x-pack/plugins/monitoring/public/components/shared/toolbar.tsx +++ b/x-pack/plugins/monitoring/public/components/shared/toolbar.tsx @@ -14,7 +14,7 @@ import { } from '@elastic/eui'; import React, { useContext, useCallback } from 'react'; import { MonitoringTimeContainer } from '../../application/hooks/use_monitoring_time'; -import { GlobalStateContext } from '../../application/global_state_context'; +import { GlobalStateContext } from '../../application/contexts/global_state_context'; import { Legacy } from '../../legacy_shims'; interface MonitoringToolbarProps { diff --git a/x-pack/plugins/monitoring/public/lib/fetch_alerts.ts b/x-pack/plugins/monitoring/public/lib/fetch_alerts.ts new file mode 100644 index 0000000000000..c0ce7ed260889 --- /dev/null +++ b/x-pack/plugins/monitoring/public/lib/fetch_alerts.ts @@ -0,0 +1,36 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import { HttpHandler } from 'kibana/public'; +import { CommonAlertFilter } from '../../common/types/alerts'; +import { AlertsByName } from '../alerts/types'; + +interface FetchAlertsParams { + alertTypeIds?: string[]; + filters?: CommonAlertFilter[]; + timeRange: { min: number; max: number }; + clusterUuid: string; + fetch: HttpHandler; +} + +export const fetchAlerts = async ({ + alertTypeIds, + filters, + timeRange, + clusterUuid, + fetch, +}: FetchAlertsParams): Promise => { + const url = `../api/monitoring/v1/alert/${clusterUuid}/status`; + const response = await fetch(url, { + method: 'POST', + body: JSON.stringify({ + alertTypeIds, + filters, + timeRange, + }), + }); + return response as unknown as AlertsByName; +}; From 8f701bb8ff4c14c164ba85aa4bfc91277b27330d Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 11 Oct 2021 18:45:08 -0400 Subject: [PATCH 032/107] add default sort props (#114294) (#114561) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Sandra G --- .../plugins/monitoring/public/application/hooks/use_table.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_table.ts b/x-pack/plugins/monitoring/public/application/hooks/use_table.ts index 2e6018ec89809..6fad144576f7e 100644 --- a/x-pack/plugins/monitoring/public/application/hooks/use_table.ts +++ b/x-pack/plugins/monitoring/public/application/hooks/use_table.ts @@ -8,6 +8,7 @@ import { useState, useCallback } from 'react'; import { euiTableStorageGetter, euiTableStorageSetter } from '../../components/table'; import { Storage } from '../../../../../../src/plugins/kibana_utils/public'; +import { EUI_SORT_ASCENDING } from '../../../common/constants'; interface Pagination { pageSize: number; @@ -81,7 +82,9 @@ export function useTable(storageKey: string) { ); // get initial state from localStorage - const [sorting, setSorting] = useState(storageData.sort || { sort: {} }); + const [sorting, setSorting] = useState( + storageData.sort || { sort: { field: 'name', direction: EUI_SORT_ASCENDING } } + ); const [query, setQuery] = useState(''); From 26e76707c740af267bf21c413bbb29d09551abcd Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 11 Oct 2021 18:45:50 -0400 Subject: [PATCH 033/107] [Stack Monitoring] add test subject to tab (#114319) (#114560) * pass test subject to advanced link and change name in angular version to be generic * change name in functional test Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Sandra G --- .../public/application/pages/elasticsearch/item_template.tsx | 1 + x-pack/plugins/monitoring/public/directives/main/index.html | 2 +- .../functional/services/monitoring/elasticsearch_node_detail.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/item_template.tsx b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/item_template.tsx index 1f06ba18bf102..05d567a9b3ff7 100644 --- a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/item_template.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/item_template.tsx @@ -25,6 +25,7 @@ export const ItemTemplate: React.FC = (props) => { }, { id: 'advanced', + testSubj: 'esItemDetailAdvancedLink', label: i18n.translate('xpack.monitoring.esItemNavigation.advancedLinkText', { defaultMessage: 'Advanced', }), diff --git a/x-pack/plugins/monitoring/public/directives/main/index.html b/x-pack/plugins/monitoring/public/directives/main/index.html index fb24d9e678d56..558ed5e874cd6 100644 --- a/x-pack/plugins/monitoring/public/directives/main/index.html +++ b/x-pack/plugins/monitoring/public/directives/main/index.html @@ -103,7 +103,7 @@

{{pageTitle || monitoringMain.instance}} Date: Mon, 11 Oct 2021 16:49:41 -0700 Subject: [PATCH 034/107] [7.x] [Reporting] Re-enable test for large CSV export from Discover (#113675) (#114374) * [Reporting] Re-enable test for large CSV export from Discover (#113675) * [Reporting] Re-enable test for large CSV export from Discover * update snapshot Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> * update snapshots Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../discover/__snapshots__/reporting.snap | 65 +++++++++++++++++++ .../functional/apps/discover/reporting.ts | 5 +- 2 files changed, 67 insertions(+), 3 deletions(-) diff --git a/x-pack/test/functional/apps/discover/__snapshots__/reporting.snap b/x-pack/test/functional/apps/discover/__snapshots__/reporting.snap index 95dc1e1de26d8..02fc01401a492 100644 --- a/x-pack/test/functional/apps/discover/__snapshots__/reporting.snap +++ b/x-pack/test/functional/apps/discover/__snapshots__/reporting.snap @@ -1649,6 +1649,71 @@ exports[`discover Discover CSV Export Generate CSV: archived search generates a " `; +exports[`discover Discover CSV Export Generate CSV: new search generates a large export 1`] = ` +"\\"_id\\",\\"_index\\",\\"_score\\",\\"_type\\",category,\\"category.keyword\\",currency,\\"customer_first_name\\",\\"customer_first_name.keyword\\",\\"customer_full_name\\",\\"customer_full_name.keyword\\",\\"customer_gender\\",\\"customer_id\\",\\"customer_last_name\\",\\"customer_last_name.keyword\\",\\"customer_phone\\",\\"day_of_week\\",\\"day_of_week_i\\",email,\\"geoip.city_name\\",\\"geoip.continent_name\\",\\"geoip.country_iso_code\\",\\"geoip.location\\",\\"geoip.region_name\\",manufacturer,\\"manufacturer.keyword\\",\\"order_date\\",\\"order_id\\",\\"products._id\\",\\"products._id.keyword\\",\\"products.base_price\\",\\"products.base_unit_price\\",\\"products.category\\",\\"products.category.keyword\\",\\"products.created_on\\",\\"products.discount_amount\\",\\"products.discount_percentage\\",\\"products.manufacturer\\",\\"products.manufacturer.keyword\\",\\"products.min_price\\",\\"products.price\\",\\"products.product_id\\",\\"products.product_name\\",\\"products.product_name.keyword\\",\\"products.quantity\\",\\"products.sku\\",\\"products.tax_amount\\",\\"products.taxful_price\\",\\"products.taxless_price\\",\\"products.unit_discount_amount\\",sku,\\"taxful_total_price\\",\\"taxless_total_price\\",\\"total_quantity\\",\\"total_unique_products\\",type,user +3AMtOW0BH63Xcmy432DJ,ecommerce,\\"-\\",\\"_doc\\",\\"Men's Shoes, Men's Clothing, Women's Accessories, Men's Accessories\\",\\"Men's Shoes, Men's Clothing, Women's Accessories, Men's Accessories\\",EUR,\\"Sultan Al\\",\\"Sultan Al\\",\\"Sultan Al Boone\\",\\"Sultan Al Boone\\",MALE,19,Boone,Boone,\\"(empty)\\",Saturday,5,\\"sultan al@boone-family.zzz\\",\\"Abu Dhabi\\",Asia,AE,\\"{ + \\"\\"coordinates\\"\\": [ + 54.4, + 24.5 + ], + \\"\\"type\\"\\": \\"\\"Point\\"\\" +}\\",\\"Abu Dhabi\\",\\"Angeldale, Oceanavigations, Microlutions\\",\\"Angeldale, Oceanavigations, Microlutions\\",\\"Jul 12, 2019 @ 00:00:00.000\\",716724,\\"sold_product_716724_23975, sold_product_716724_6338, sold_product_716724_14116, sold_product_716724_15290\\",\\"sold_product_716724_23975, sold_product_716724_6338, sold_product_716724_14116, sold_product_716724_15290\\",\\"80, 60, 21.984, 11.992\\",\\"80, 60, 21.984, 11.992\\",\\"Men's Shoes, Men's Clothing, Women's Accessories, Men's Accessories\\",\\"Men's Shoes, Men's Clothing, Women's Accessories, Men's Accessories\\",\\"Dec 31, 2016 @ 00:00:00.000, Dec 31, 2016 @ 00:00:00.000, Dec 31, 2016 @ 00:00:00.000, Dec 31, 2016 @ 00:00:00.000\\",\\"0, 0, 0, 0\\",\\"0, 0, 0, 0\\",\\"Angeldale, Oceanavigations, Microlutions, Oceanavigations\\",\\"Angeldale, Oceanavigations, Microlutions, Oceanavigations\\",\\"42.375, 33, 10.344, 6.109\\",\\"80, 60, 21.984, 11.992\\",\\"23,975, 6,338, 14,116, 15,290\\",\\"Winter boots - cognac, Trenchcoat - black, Watch - black, Hat - light grey multicolor\\",\\"Winter boots - cognac, Trenchcoat - black, Watch - black, Hat - light grey multicolor\\",\\"1, 1, 1, 1\\",\\"ZO0687606876, ZO0290502905, ZO0126701267, ZO0308503085\\",\\"0, 0, 0, 0\\",\\"80, 60, 21.984, 11.992\\",\\"80, 60, 21.984, 11.992\\",\\"0, 0, 0, 0\\",\\"ZO0687606876, ZO0290502905, ZO0126701267, ZO0308503085\\",174,174,4,4,order,sultan +9gMtOW0BH63Xcmy432DJ,ecommerce,\\"-\\",\\"_doc\\",\\"Women's Shoes, Women's Clothing\\",\\"Women's Shoes, Women's Clothing\\",EUR,Pia,Pia,\\"Pia Richards\\",\\"Pia Richards\\",FEMALE,45,Richards,Richards,\\"(empty)\\",Saturday,5,\\"pia@richards-family.zzz\\",Cannes,Europe,FR,\\"{ + \\"\\"coordinates\\"\\": [ + 7, + 43.6 + ], + \\"\\"type\\"\\": \\"\\"Point\\"\\" +}\\",\\"Alpes-Maritimes\\",\\"Tigress Enterprises, Pyramidustries\\",\\"Tigress Enterprises, Pyramidustries\\",\\"Jul 12, 2019 @ 00:00:00.000\\",591503,\\"sold_product_591503_14761, sold_product_591503_11632\\",\\"sold_product_591503_14761, sold_product_591503_11632\\",\\"20.984, 20.984\\",\\"20.984, 20.984\\",\\"Women's Shoes, Women's Clothing\\",\\"Women's Shoes, Women's Clothing\\",\\"Dec 31, 2016 @ 00:00:00.000, Dec 31, 2016 @ 00:00:00.000\\",\\"0, 0\\",\\"0, 0\\",\\"Tigress Enterprises, Pyramidustries\\",\\"Tigress Enterprises, Pyramidustries\\",\\"10.703, 9.867\\",\\"20.984, 20.984\\",\\"14,761, 11,632\\",\\"Classic heels - blue, Summer dress - coral/pink\\",\\"Classic heels - blue, Summer dress - coral/pink\\",\\"1, 1\\",\\"ZO0006400064, ZO0150601506\\",\\"0, 0\\",\\"20.984, 20.984\\",\\"20.984, 20.984\\",\\"0, 0\\",\\"ZO0006400064, ZO0150601506\\",\\"41.969\\",\\"41.969\\",2,2,order,pia +BgMtOW0BH63Xcmy432LJ,ecommerce,\\"-\\",\\"_doc\\",\\"Women's Clothing\\",\\"Women's Clothing\\",EUR,Brigitte,Brigitte,\\"Brigitte Meyer\\",\\"Brigitte Meyer\\",FEMALE,12,Meyer,Meyer,\\"(empty)\\",Saturday,5,\\"brigitte@meyer-family.zzz\\",\\"New York\\",\\"North America\\",US,\\"{ + \\"\\"coordinates\\"\\": [ + -74, + 40.8 + ], + \\"\\"type\\"\\": \\"\\"Point\\"\\" +}\\",\\"New York\\",\\"Spherecords, Tigress Enterprises\\",\\"Spherecords, Tigress Enterprises\\",\\"Jul 12, 2019 @ 00:00:00.000\\",591709,\\"sold_product_591709_20734, sold_product_591709_7539\\",\\"sold_product_591709_20734, sold_product_591709_7539\\",\\"7.988, 33\\",\\"7.988, 33\\",\\"Women's Clothing, Women's Clothing\\",\\"Women's Clothing, Women's Clothing\\",\\"Dec 31, 2016 @ 00:00:00.000, Dec 31, 2016 @ 00:00:00.000\\",\\"0, 0\\",\\"0, 0\\",\\"Spherecords, Tigress Enterprises\\",\\"Spherecords, Tigress Enterprises\\",\\"3.6, 17.484\\",\\"7.988, 33\\",\\"20,734, 7,539\\",\\"Basic T-shirt - dark blue, Summer dress - scarab\\",\\"Basic T-shirt - dark blue, Summer dress - scarab\\",\\"1, 1\\",\\"ZO0638206382, ZO0038800388\\",\\"0, 0\\",\\"7.988, 33\\",\\"7.988, 33\\",\\"0, 0\\",\\"ZO0638206382, ZO0038800388\\",\\"40.969\\",\\"40.969\\",2,2,order,brigitte +KQMtOW0BH63Xcmy432LJ,ecommerce,\\"-\\",\\"_doc\\",\\"Me" +`; + +exports[`discover Discover CSV Export Generate CSV: new search generates a large export 2`] = ` +"rce,\\"-\\",\\"_doc\\",\\"Women's Clothing, Women's Accessories\\",\\"Women's Clothing, Women's Accessories\\",EUR,Elyssa,Elyssa,\\"Elyssa Graves\\",\\"Elyssa Graves\\",FEMALE,27,Graves,Graves,\\"(empty)\\",Thursday,3,\\"elyssa@graves-family.zzz\\",\\"New York\\",\\"North America\\",US,\\"{ + \\"\\"coordinates\\"\\": [ + -74, + 40.8 + ], + \\"\\"type\\"\\": \\"\\"Point\\"\\" +}\\",\\"New York\\",Pyramidustries,Pyramidustries,\\"Jun 12, 2019 @ 00:00:00.000\\",551204,\\"sold_product_551204_16805, sold_product_551204_12896\\",\\"sold_product_551204_16805, sold_product_551204_12896\\",\\"13.992, 20.984\\",\\"13.992, 20.984\\",\\"Women's Clothing, Women's Accessories\\",\\"Women's Clothing, Women's Accessories\\",\\"Dec 1, 2016 @ 00:00:00.000, Dec 1, 2016 @ 00:00:00.000\\",\\"0, 0\\",\\"0, 0\\",\\"Pyramidustries, Pyramidustries\\",\\"Pyramidustries, Pyramidustries\\",\\"7.129, 9.656\\",\\"13.992, 20.984\\",\\"16,805, 12,896\\",\\"Bustier - white, Across body bag - cognac\\",\\"Bustier - white, Across body bag - cognac\\",\\"1, 1\\",\\"ZO0212602126, ZO0200702007\\",\\"0, 0\\",\\"13.992, 20.984\\",\\"13.992, 20.984\\",\\"0, 0\\",\\"ZO0212602126, ZO0200702007\\",\\"34.969\\",\\"34.969\\",2,2,order,elyssa +7gMtOW0BH63Xcmy46HLV,ecommerce,\\"-\\",\\"_doc\\",\\"Women's Clothing, Women's Shoes\\",\\"Women's Clothing, Women's Shoes\\",EUR,Pia,Pia,\\"Pia Rose\\",\\"Pia Rose\\",FEMALE,45,Rose,Rose,\\"(empty)\\",Thursday,3,\\"pia@rose-family.zzz\\",Cannes,Europe,FR,\\"{ + \\"\\"coordinates\\"\\": [ + 7, + 43.6 + ], + \\"\\"type\\"\\": \\"\\"Point\\"\\" +}\\",\\"Alpes-Maritimes\\",\\"Oceanavigations, Primemaster\\",\\"Oceanavigations, Primemaster\\",\\"Jun 12, 2019 @ 00:00:00.000\\",550466,\\"sold_product_550466_19198, sold_product_550466_16409\\",\\"sold_product_550466_19198, sold_product_550466_16409\\",\\"50, 100\\",\\"50, 100\\",\\"Women's Clothing, Women's Shoes\\",\\"Women's Clothing, Women's Shoes\\",\\"Dec 1, 2016 @ 00:00:00.000, Dec 1, 2016 @ 00:00:00.000\\",\\"0, 0\\",\\"0, 0\\",\\"Oceanavigations, Primemaster\\",\\"Oceanavigations, Primemaster\\",\\"24, 52\\",\\"50, 100\\",\\"19,198, 16,409\\",\\"Summer dress - grey, Boots - passion\\",\\"Summer dress - grey, Boots - passion\\",\\"1, 1\\",\\"ZO0260702607, ZO0363203632\\",\\"0, 0\\",\\"50, 100\\",\\"50, 100\\",\\"0, 0\\",\\"ZO0260702607, ZO0363203632\\",150,150,2,2,order,pia +7wMtOW0BH63Xcmy46HLV,ecommerce,\\"-\\",\\"_doc\\",\\"Men's Clothing\\",\\"Men's Clothing\\",EUR,Wagdi,Wagdi,\\"Wagdi Boone\\",\\"Wagdi Boone\\",MALE,15,Boone,Boone,\\"(empty)\\",Thursday,3,\\"wagdi@boone-family.zzz\\",\\"-\\",Asia,SA,\\"{ + \\"\\"coordinates\\"\\": [ + 45, + 25 + ], + \\"\\"type\\"\\": \\"\\"Point\\"\\" +}\\",\\"-\\",Elitelligence,Elitelligence,\\"Jun 12, 2019 @ 00:00:00.000\\",550503,\\"sold_product_550503_13211, sold_product_550503_24369\\",\\"sold_product_550503_13211, sold_product_550503_24369\\",\\"34, 11.992\\",\\"34, 11.992\\",\\"Men's Clothing, Men's Clothing\\",\\"Men's Clothing, Men's Clothing\\",\\"Dec 1, 2016 @ 00:00:00.000, Dec 1, 2016 @ 00:00:00.000\\",\\"0, 0\\",\\"0, 0\\",\\"Elitelligence, Elitelligence\\",\\"Elitelligence, Elitelligence\\",\\"15.641, 6.109\\",\\"34, 11.992\\",\\"13,211, 24,369\\",\\"Tracksuit top - black, Print T-shirt - khaki\\",\\"Tracksuit top - black, Print T-shirt - khaki\\",\\"1, 1\\",\\"ZO0587505875, ZO0566405664\\",\\"0, 0\\",\\"34, 11.992\\",\\"34, 11.992\\",\\"0, 0\\",\\"ZO0587505875, ZO0566405664\\",\\"45.969\\",\\"45.969\\",2,2,order,wagdi +8AMtOW0BH63Xcmy46HLV,ecommerce,\\"-\\",\\"_doc\\",\\"Women's Accessories, Women's Shoes\\",\\"Women's Accessories, Women's Shoes\\",EUR,Elyssa,Elyssa,\\"Elyssa Hale\\",\\"Elyssa Hale\\",FEMALE,27,Hale,Hale,\\"(empty)\\",Thursday,3,\\"elyssa@hale-family.zzz\\",\\"New York\\",\\"North America\\",US,\\"{ + \\"\\"coordinates\\"\\": [ + -74, + 40.8 + ], + \\"\\"type\\"\\": \\"\\"Point\\"\\" +}\\",\\"New York\\",\\"Angeldale, Oceanavigations\\",\\"Angeldale, Oceanavigations\\",\\"Jun 12, 2019 @ 00:00:00.000\\",550538,\\"sold_product_550538_15047, sold_product_550538_18189\\",\\"sold_product_550538_15047, sold_product_550538_18189\\",\\"75, 60\\",\\"75, 60\\",\\"Women's Accessories, Women's Shoes\\",\\"Women's Accessories, Women's Shoes\\",\\"Dec 1, 2016 @ 00:00:00.000, Dec 1, 2016 @ 00:00:00.000\\",\\"0, 0\\",\\"0, 0\\",\\"Angeldale, Oceanavigations\\",\\"Angeldale, Oceanavigations\\",\\"34.5, 28.797\\",\\"75, 60\\",\\"15,047, 18,189\\",\\"Handbag - black, Ankle boots - grey\\",\\"Handbag - black, Ankle boots - grey\\",\\"1, 1\\",\\"ZO0699406994, ZO0246202462\\",\\"0, 0\\",\\"75, 60\\",\\"75, 60\\",\\"0, 0\\",\\"ZO0699406994, ZO0246202462\\",135,135,2,2,order,elyssa +8QMtOW0BH63Xcmy46HLV,ecommerce,\\"-\\",\\"_doc\\",\\"Men's Shoes, Men's Clothing\\",\\"Men's Shoes, Men's Clothing\\",EUR,Jackson,Jackson,\\"Jackson Love\\",\\"Jackson Love\\",MALE,13,Love,Love,\\"(empty)\\",Thursday,3,\\"jackson@love-family.zzz\\",\\"Los Angeles\\",\\"North America\\",US,\\"{ + \\"\\"coordinates\\"\\": [ + -118.2, + 34.1 + ], + \\"\\"type\\"\\": \\"\\"Point\\"\\" +}\\",California,\\"Low Tide Media\\",\\"Low Tide Media\\",\\"Jun 12, 2019 @ 00:00:00.000\\",550568,\\"sold_product_550568_17210, sold_product_550568_12524\\",\\"sold_product_550568_17210, sold_product_550568_12524\\",\\"50, 24.984\\",\\"50, 24.984\\",\\"Men's Shoes, Men's Clothing\\",\\"Men's Shoes, Men's Clothing\\",\\"Dec 1, 2016 @ 00:00:00.000, Dec 1, 2016 @ 00:00:00.000\\",\\"0, 0\\",\\"0, 0\\",\\"Low Tide Media, Low Tide Media\\",\\"Low Tide Media, Low Tide Media\\",\\"25, 12.492\\",\\"50, 24.984\\",\\"17,210, 12,524\\",\\"Casual lace-ups - navy, Jumper - dark grey multicolor\\",\\"Casual lace-ups - navy, Jumper - dark grey multicolor\\",\\"1, 1\\",\\"ZO0388403884, ZO0447604476\\",\\"0, 0\\",\\"50, 24.984\\",\\"50, 24.984\\",\\"0, 0\\",\\"ZO0388403884, ZO0447604476\\",75,75,2,2,order,jackson +" +`; + exports[`discover Discover CSV Export Generate CSV: new search generates a report from a new search with data: default 1`] = ` "\\"_id\\",\\"_index\\",\\"_score\\",\\"_type\\",category,\\"category.keyword\\",currency,\\"customer_first_name\\",\\"customer_first_name.keyword\\",\\"customer_full_name\\",\\"customer_full_name.keyword\\",\\"customer_gender\\",\\"customer_id\\",\\"customer_last_name\\",\\"customer_last_name.keyword\\",\\"customer_phone\\",\\"day_of_week\\",\\"day_of_week_i\\",email,\\"geoip.city_name\\",\\"geoip.continent_name\\",\\"geoip.country_iso_code\\",\\"geoip.location\\",\\"geoip.region_name\\",manufacturer,\\"manufacturer.keyword\\",\\"order_date\\",\\"order_id\\",\\"products._id\\",\\"products._id.keyword\\",\\"products.base_price\\",\\"products.base_unit_price\\",\\"products.category\\",\\"products.category.keyword\\",\\"products.created_on\\",\\"products.discount_amount\\",\\"products.discount_percentage\\",\\"products.manufacturer\\",\\"products.manufacturer.keyword\\",\\"products.min_price\\",\\"products.price\\",\\"products.product_id\\",\\"products.product_name\\",\\"products.product_name.keyword\\",\\"products.quantity\\",\\"products.sku\\",\\"products.tax_amount\\",\\"products.taxful_price\\",\\"products.taxless_price\\",\\"products.unit_discount_amount\\",sku,\\"taxful_total_price\\",\\"taxless_total_price\\",\\"total_quantity\\",\\"total_unique_products\\",type,user 9AMtOW0BH63Xcmy432DJ,ecommerce,\\"-\\",\\"_doc\\",\\"Men's Clothing\\",\\"Men's Clothing\\",EUR,Boris,Boris,\\"Boris Bradley\\",\\"Boris Bradley\\",MALE,36,Bradley,Bradley,\\"(empty)\\",Wednesday,2,\\"boris@bradley-family.zzz\\",\\"-\\",Europe,GB,\\"{ diff --git a/x-pack/test/functional/apps/discover/reporting.ts b/x-pack/test/functional/apps/discover/reporting.ts index 99bdb20580ce8..73447c3a60977 100644 --- a/x-pack/test/functional/apps/discover/reporting.ts +++ b/x-pack/test/functional/apps/discover/reporting.ts @@ -98,8 +98,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { expect(res.text).to.be(`\n`); }); - // FIXME: https://github.com/elastic/kibana/issues/112186 - it.skip('generates a large export', async () => { + it('generates a large export', async () => { const fromTime = 'Apr 27, 2019 @ 23:56:51.374'; const toTime = 'Aug 23, 2019 @ 16:18:51.821'; await PageObjects.timePicker.setAbsoluteRange(fromTime, toTime); @@ -112,7 +111,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { // match file length, the beginning and the end of the csv file contents const { text: csvFile } = await getReport(); - expect(csvFile.length).to.be(4954749); + expect(csvFile.length).to.be(5107481); expectSnapshot(csvFile.slice(0, 5000)).toMatch(); expectSnapshot(csvFile.slice(-5000)).toMatch(); }); From ea5e8475660c505152cd246383670326e06f4f5b Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 11 Oct 2021 20:11:30 -0400 Subject: [PATCH 035/107] High level walkthrough of repo folder structure (#114293) (#114370) * Create code_walkthrough.mdx * Remove unused utilities folder and mention of it in the repo structure doc. * Update dev_docs/contributing/code_walkthrough.mdx Co-authored-by: Luke Elmers * Update dev_docs/contributing/code_walkthrough.mdx Co-authored-by: Luke Elmers * Update dev_docs/contributing/code_walkthrough.mdx omg my grammar is horrible. Co-authored-by: Luke Elmers * Update dev_docs/contributing/code_walkthrough.mdx Co-authored-by: Luke Elmers * Update dev_docs/contributing/code_walkthrough.mdx Co-authored-by: Luke Elmers * Update dev_docs/contributing/code_walkthrough.mdx Co-authored-by: Luke Elmers * Update dev_docs/contributing/code_walkthrough.mdx Co-authored-by: Luke Elmers * review updates * Update dev_docs/contributing/code_walkthrough.mdx Co-authored-by: Brandon Kobel * Update dev_docs/contributing/code_walkthrough.mdx Co-authored-by: Brandon Kobel Co-authored-by: Luke Elmers Co-authored-by: Brandon Kobel Co-authored-by: Stacey Gammon Co-authored-by: Luke Elmers Co-authored-by: Brandon Kobel --- dev_docs/contributing/code_walkthrough.mdx | 139 ++++++++ .../visual_regression_gallery.handlebars | 297 ------------------ utilities/visual_regression.js | 141 --------- 3 files changed, 139 insertions(+), 438 deletions(-) create mode 100644 dev_docs/contributing/code_walkthrough.mdx delete mode 100644 utilities/templates/visual_regression_gallery.handlebars delete mode 100644 utilities/visual_regression.js diff --git a/dev_docs/contributing/code_walkthrough.mdx b/dev_docs/contributing/code_walkthrough.mdx new file mode 100644 index 0000000000000..47eb05a95c424 --- /dev/null +++ b/dev_docs/contributing/code_walkthrough.mdx @@ -0,0 +1,139 @@ +--- +id: kibRepoStructure +slug: /kibana-dev-docs/contributing/repo-structure +title: Repository structure +summary: High level walk-through of our repository structure. +date: 2021-10-07 +tags: ['contributor', 'dev', 'github', 'getting started', 'onboarding', 'kibana'] +--- + +A high-level walk through of the folder structure of our [repository](https://github.com/elastic/kibana). + +Tip: Look for a `README.md` in a folder to learn about its contents. + +## [.buildkite](https://github.com/elastic/kibana/tree/master/.buildkite) + +Managed by the operations team to set up a new buildkite ci system. Can be ignored by folks outside the Operations team. + +## [.ci](https://github.com/elastic/kibana/tree/master/.ci) + +Managed by the operations team to contain Jenkins settings. Can be ignored by folks outside the Operations team. + +## [.github](https://github.com/elastic/kibana/tree/master/.github) + +Contains GitHub configuration settings. This file contains issue templates, and the [CODEOWNERS](https://github.com/elastic/kibana/blob/master/.github/CODEOWNERS) file. It's important for teams to keep the CODEOWNERS file up-to-date so the right team is pinged for a code owner review on PRs that edit certain files. Note that the `CODEOWNERS` file only exists on the main/master branch, and is not backported to other branches in the repo. + +## [api_docs](https://github.com/elastic/kibana/tree/master/api_docs) + +Every file in here is auto-generated by the and used to render our API documentation. If you edit a public plugin or package API and run `node scripts/build_api_docs` you will see files changed in this folder. Do not edit the contents of this folder directly! + +Note that currently you may see _a lot_ of changes because that command is not run on every PR and so the content in this folder is often outdated. + +## [config](https://github.com/elastic/kibana/tree/master/config) + +This contains the base configuration file, `kibana.yml`. If you want to tweak any settings, create a `kibana.dev.yml` in here which will get picked up during development, and not checked into GitHub. + +## [docs](https://github.com/elastic/kibana/tree/master/docs) + +Every folder in here _except_ the [development one](https://github.com/elastic/kibana/tree/master/docs/development) contains manually generated asciidocs that end up hosted in our [Elastic guide](https://www.elastic.co/guide/). + +The `development` folder contains markdown that is auto-generated with our legacy API docs tool. We are aiming to remove it shortly after 8.0FF. + +## [dev_docs](https://github.com/elastic/kibana/tree/master/dev_docs) + +This is where a lot of manually written content for our Developer Guide resides. Developers may also keep the information closer to what it's describing, but it's a good spot for high-level information, or information that describes how multiple plugins work together. + +## [examples](https://github.com/elastic/kibana/tree/master/examples) + +These are our tested example plugins that also get built and hosted [here](https://demo.kibana.dev/8.0/app/developerExamples). If a plugin is written for testing purposes only, it won't go in here. These example plugins should be written with the intention of helping developers understand how to use our services. + +## [legacy_rfcs](https://github.com/elastic/kibana/tree/master/legacy_rfcs) + +We used to write RFCs in `md` format and keep them in the repository, but we have since moved to Google Docs. We kept the folder around, since some folks still read these old docs. If you are an internal contributor you can visit to read about our current RFC process. + +## [licenses](https://github.com/elastic/kibana/tree/master/licenses) + +Contains our two license header texts, one for the Elastic license and one for the Elastic+SSPL license. All code files inside x-pack should have the Elastic license text at the top, all code files outside x-pack should contain the other. If you have your environment set up to auto-fix on save, eslint should take care of adding it for you. If you don't have it, ci will fail. Can be ignored for the most part, this rarely changes. + +## [packages](https://github.com/elastic/kibana/tree/master/packages) + +The packages folder contains a mixture of build-time related code (like the [code needed to build the api docs](https://github.com/elastic/kibana/tree/master/packages/kbn-docs-utils)), as well as static code that some plugins rely on (like the [kbn-monaco package](https://github.com/elastic/kibana/tree/master/packages/kbn-monaco)). covers how packages differ from plugins. + +## [plugins](https://github.com/elastic/kibana/tree/master/plugins) + +This is an empty folder in GitHub. It's where third party developers should put their plugin folders. Internal developers can ignore this folder. + +## [scripts](https://github.com/elastic/kibana/tree/master/scripts) + +Contains a bunch of developer scripts. These are usually very small files with just two lines that kick off a command, the logic of which resides elsewhere (sometimes `src/dev`, sometimes inside `packages`). +Example: +``` +require('../src/setup_node_env'); +require('@kbn/es-archiver').runCli(); +``` + +## [src](https://github.com/elastic/kibana/tree/master/src) + +This folder and the packages folder contain the most code and where developers usually find themselves. I'll touch on a few of the subfolder, the rest can generally be ignored, or are build/ops related code. + +### [src/cli*](https://github.com/elastic/kibana/tree/master/src/cli) + +Maintained primarily by the Operations team, this folder contains code that initializes the Kibana runtime and a bit of work to handle authorization for interactive setup mode. Most devs should be able to ignore this code. + +### [src/core](https://github.com/elastic/kibana/tree/master/src/core) + +This code primarily belongs to the Core team and contains the plugin infrastructure, as well as a bunch of fundamental services like migrations, saved objects, and some UI utilities (toasts, flyouts, etc.). + +### [src/dev](https://github.com/elastic/kibana/tree/master/src/dev) + +Maintained by the Operations team, this code contains build and development tooling related code. This folder existed before `packages`, so contains mostly older code that hasn't been migrated to packages. Prefer creating a `package` if possible. Can be ignored for the most part if you are not on the Ops team. Prefer + +### [src/plugins](https://github.com/elastic/kibana/tree/master/src/plugins) + +Contains all of our Basic-licensed plugins. Most folders in this directory will contain `README.md` files explaining what they do. If there are none, you can look at the `owner.gitHub` field inside all `kibana.json`s that will tell you which team to get in touch with for questions. + +Note that as plugins can be nested, each folder in this directory may contain multiple plugins. + +## [test](https://github.com/elastic/kibana/tree/master/test) + +Contains functional tests and related FTR (functional test runner) code for the plugins inside `src/plugins`, although there is a push to move the tests to reside inside the plugins themselves. + +## [typings](https://github.com/elastic/kibana/tree/master/typings) + +Maintained by Ops and Core, this contains global typings for dependencies that do not provide their own types, or don't have types available via [DefinitelyTyped](https://definitelytyped.org). This directory is intended to be minimal; types should only be added here as a last resort. + +## [vars](https://github.com/elastic/kibana/tree/master/vars) + +A bunch of groovy scripts maintained by the Operations team. + +## [x-pack](https://github.com/elastic/kibana/tree/master/x-pack) + +Contains all code and infrasturcture that powers our gold+ (non-basic) features that are provided under a more restrictive license. + +### [x-pack/build_chromium](https://github.com/elastic/kibana/tree/master/x-pack/build_chromium) + +Maintained by the App Services UX team, this contains Reporting-related code for building Chromium in order to take server side screenshots. + +### [x-pack/dev-tools](https://github.com/elastic/kibana/tree/master/x-pack/dev-tools) + +Maintained by the Operations team. + +### [x-pack/examples](https://github.com/elastic/kibana/tree/master/x-pack/examples) + +Contains all example plugins that rely on gold+ features. + +### [x-pack/plugins](https://github.com/elastic/kibana/tree/master/x-pack/plugins) + +Contains code for all the plugins that power our gold+ features. + +### [x-pack/scripts](https://github.com/elastic/kibana/tree/master/x-pack/scripts) + +Maintained by the Ops team, this folder contains some scripts for running x-pack utilities, like the functional test runner that runs with a license higher than Basic. + +### [x-pack/test](https://github.com/elastic/kibana/tree/master/x-pack/test) + +Functional tests for our gold+ features. + + + + diff --git a/utilities/templates/visual_regression_gallery.handlebars b/utilities/templates/visual_regression_gallery.handlebars deleted file mode 100644 index 60817dec5fcf2..0000000000000 --- a/utilities/templates/visual_regression_gallery.handlebars +++ /dev/null @@ -1,297 +0,0 @@ - - - - Kibana Visual Regression Gallery - - - - - - - - -
- Kibana Visual Regression Gallery -
- -
- {{branch}} - {{date}} -
- - {{#each comparisons as |comparison|}} -
- -
- ({{comparison.percentage}}%) {{comparison.name}} -
- -
-
Diff
- -
- Baseline -
-
- -
- -
- -
- - - - - -
- -
-
-
- {{/each}} - - - - - diff --git a/utilities/visual_regression.js b/utilities/visual_regression.js deleted file mode 100644 index fa4d48a2280d5..0000000000000 --- a/utilities/visual_regression.js +++ /dev/null @@ -1,141 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import bluebird, { promisify } from 'bluebird'; -import Handlebars from 'handlebars'; -import fs from 'fs'; -import path from 'path'; -import { PNG } from 'pngjs'; -import pixelmatch from 'pixelmatch'; -import moment from 'moment'; -import SimpleGit from 'simple-git'; - -const readDirAsync = promisify(fs.readdir); -const readFileAsync = promisify(fs.readFile); -const writeFileAsync = promisify(fs.writeFile); - -Handlebars.registerHelper('lte', function lessThanEquals(value, threshold, options) { - if (value <= threshold) { - return options.fn(this); - } - return options.inverse(this); -}); - -Handlebars.registerHelper('gte', function greaterThanEquals(value, threshold, options) { - if (value >= threshold) { - return options.fn(this); - } - return options.inverse(this); -}); - -async function buildGallery(comparisons) { - const simpleGit = new SimpleGit(); - const asyncBranch = promisify(simpleGit.branch, simpleGit); - const branch = await asyncBranch(); - - const template = Handlebars.compile( - await readFileAsync( - path.resolve('./utilities/templates/visual_regression_gallery.handlebars'), - 'utf8' - ), - { knownHelpersOnly: true } - ); - - const html = template({ - date: moment().format('MMMM Do YYYY, h:mm:ss a'), - branch: branch.current, - hiddenThreshold: 0, - warningThreshold: 0.03, - comparisons, - }); - - return writeFileAsync( - path.resolve('./test/functional/screenshots/visual_regression_gallery.html'), - html - ); -} - -async function compareScreenshots() { - const SCREENSHOTS_DIR = 'test/functional/screenshots'; - const BASELINE_SCREENSHOTS_DIR = path.resolve(SCREENSHOTS_DIR, 'baseline'); - const DIFF_SCREENSHOTS_DIR = path.resolve(SCREENSHOTS_DIR, 'diff'); - const SESSION_SCREENSHOTS_DIR = path.resolve(SCREENSHOTS_DIR, 'session'); - - // We don't need to create the baseline dir because it's committed. - fs.mkdirSync(DIFF_SCREENSHOTS_DIR, { recursive: true }); - fs.mkdirSync(SESSION_SCREENSHOTS_DIR, { recursive: true }); - const files = await readDirAsync(SESSION_SCREENSHOTS_DIR); - const screenshots = files.filter((file) => file.indexOf('.png') !== -1); - - // We'll use this data to build a screenshot gallery in HTML. - return await bluebird.map(screenshots, async (screenshot) => { - // We're going to load image data and cache it in this object. - const comparison = { - name: screenshot, - change: undefined, - percentage: undefined, - imageData: { - session: undefined, - baseline: undefined, - diff: undefined, - }, - }; - - const sessionImagePath = path.resolve(SESSION_SCREENSHOTS_DIR, screenshot); - - const baselineImagePath = path.resolve(BASELINE_SCREENSHOTS_DIR, screenshot); - - const diffImagePath = path.resolve(DIFF_SCREENSHOTS_DIR, screenshot); - - const sessionImage = PNG.sync.read(await readFileAsync(sessionImagePath)); - const baselineImage = PNG.sync.read(await readFileAsync(baselineImagePath)); - const { width, height } = sessionImage; - const diff = new PNG({ width, height }); - - const numDiffPixels = pixelmatch( - sessionImage.data, - baselineImage.data, - diff.data, - width, - height, - { threshold: 0 } - ); - - await writeFileAsync(diffImagePath, PNG.sync.write(diff)); - - const change = numDiffPixels / (width * height); - const changePercentage = (change * 100).toFixed(2); - console.log(`(${changePercentage}%) ${screenshot}`); - comparison.percentage = changePercentage; - comparison.change = change; - - // Once the images have been diffed, we can load and store the image data. - comparison.imageData.session = await readFileAsync(sessionImagePath, 'base64'); - - comparison.imageData.baseline = await readFileAsync(baselineImagePath, 'base64'); - - comparison.imageData.diff = await readFileAsync(diffImagePath, 'base64'); - - return comparison; - }); -} - -export function run(done) { - compareScreenshots().then( - (screenshotComparisons) => { - // Once all of the data has been loaded, we can build the gallery. - buildGallery(screenshotComparisons).then(() => { - done(); - }); - }, - (error) => { - console.error(error); - done(false); - } - ); -} From fd25cfa0e741fd91098e827e4da310cc5a1b0b6d Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 11 Oct 2021 20:14:25 -0400 Subject: [PATCH 036/107] Log Unhandled rejection stack (#113614) (#114572) * Refactor state types * Log the stack trace of unhandled promise rejections * Revert "Refactor state types" This reverts commit 6a5123a1b2d2b40089c94109619c471b3c33acf2. * Fix types * code review feedback Co-authored-by: Rudolf Meijering --- .../environment/environment_service.test.ts | 26 +++++++++++++++++++ .../server/environment/environment_service.ts | 5 ++-- 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/src/core/server/environment/environment_service.test.ts b/src/core/server/environment/environment_service.test.ts index 34647d090b995..4b074482248b4 100644 --- a/src/core/server/environment/environment_service.test.ts +++ b/src/core/server/environment/environment_service.test.ts @@ -135,6 +135,32 @@ describe('UuidService', () => { expect(logger.get('process').warn).not.toHaveBeenCalled(); }); }); + + describe('unhandledRejection warnings', () => { + it('logs warn for an unhandeld promise rejected with an Error', async () => { + await service.preboot(); + + const err = new Error('something went wrong'); + process.emit('unhandledRejection', err, new Promise((res, rej) => rej(err))); + + expect(logger.get('process').warn).toHaveBeenCalledTimes(1); + expect(loggingSystemMock.collect(logger).warn[0][0]).toMatch( + /Detected an unhandled Promise rejection: Error: something went wrong\n.*at / + ); + }); + + it('logs warn for an unhandeld promise rejected with a string', async () => { + await service.preboot(); + + const err = 'something went wrong'; + process.emit('unhandledRejection', err, new Promise((res, rej) => rej(err))); + + expect(logger.get('process').warn).toHaveBeenCalledTimes(1); + expect(loggingSystemMock.collect(logger).warn[0][0]).toMatch( + /Detected an unhandled Promise rejection: "something went wrong"/ + ); + }); + }); }); describe('#setup()', () => { diff --git a/src/core/server/environment/environment_service.ts b/src/core/server/environment/environment_service.ts index f96b616256577..472883c1f482c 100644 --- a/src/core/server/environment/environment_service.ts +++ b/src/core/server/environment/environment_service.ts @@ -54,9 +54,10 @@ export class EnvironmentService { this.configService.atPath(pidConfigDef.path).pipe(take(1)).toPromise(), ]); - // was present in the legacy `pid` file. + // Log unhandled rejections so that we can fix them in preparation for https://github.com/elastic/kibana/issues/77469 process.on('unhandledRejection', (reason) => { - this.log.warn(`Detected an unhandled Promise rejection.\n${reason}`); + const message = (reason as Error)?.stack ?? JSON.stringify(reason); + this.log.warn(`Detected an unhandled Promise rejection: ${message}`); }); process.on('warning', (warning) => { From 5a3521b9c469a87e76c84ac76f8d75bbac4b0764 Mon Sep 17 00:00:00 2001 From: Spencer Date: Mon, 11 Oct 2021 19:33:24 -0500 Subject: [PATCH 037/107] [7.x] [monitoring] fixup types (#114342) (#114570) * [monitoring] fixup types (#114342) Co-authored-by: spalger Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> # Conflicts: # x-pack/plugins/monitoring/public/application/setup_mode/setup_mode_renderer.d.ts * fix import Co-authored-by: spalger --- .../public/application/hooks/use_table.ts | 8 +--- .../setup_mode/setup_mode_renderer.d.ts | 9 +++- .../public/components/apm/status_icon.js | 6 +-- .../components/cluster/overview/index.d.ts | 11 ++++- .../elasticsearch/cluster_status/index.d.ts | 9 +++- .../components/elasticsearch/index.d.ts | 12 ------ .../elasticsearch/{index.js => index.ts} | 0 .../indices/{index.js => index.ts} | 0 .../elasticsearch/indices/indices.d.ts | 20 +++++++++ .../ml_job_listing/status_icon.tsx | 10 ++--- .../elasticsearch/ml_jobs/ml_jobs.tsx | 2 +- .../elasticsearch/node/{index.js => index.ts} | 0 .../components/elasticsearch/node/node.d.ts | 20 +++++++++ .../elasticsearch/node/node_react.d.ts | 19 +++++++++ .../node/status_icon.d.ts} | 8 +++- .../elasticsearch/node/status_icon.js | 4 +- .../nodes/{index.js => index.ts} | 0 .../components/elasticsearch/nodes/nodes.d.ts | 15 +++++++ .../overview/{index.js => index.ts} | 0 .../elasticsearch/overview/overview.d.ts | 18 ++++++++ .../transformers/nodes_by_indices.d.ts | 2 +- .../components/elasticsearch/status_icon.js | 4 +- .../public/components/{index.js => index.ts} | 0 .../components/kibana/instances/instances.tsx | 5 +-- .../public/components/kibana/status_icon.js | 6 +-- .../license/{index.js => index.tsx} | 35 ++++++++++++---- .../components/no_data/{index.js => index.ts} | 0 .../{index.d.ts => no_data/no_data.d.ts} | 5 ++- .../page_loading/{index.js => index.tsx} | 12 ++++-- .../{formatting.js => formatting.ts} | 4 +- .../public/components/status_icon/index.js | 28 ------------- .../public/components/status_icon/index.tsx | 42 +++++++++++++++++++ .../summary_status/summary_status.js | 2 +- .../table/{eui_table.js => eui_table.tsx} | 16 +++---- .../table/eui_table_ssp.d.ts} | 8 ++-- .../public/components/table/index.d.ts | 10 ----- .../components/table/{index.js => index.ts} | 0 .../table/{storage.js => storage.ts} | 29 +++++++++---- ...usters.js => get_cluster_from_clusters.ts} | 13 ++++-- 39 files changed, 273 insertions(+), 119 deletions(-) delete mode 100644 x-pack/plugins/monitoring/public/components/elasticsearch/index.d.ts rename x-pack/plugins/monitoring/public/components/elasticsearch/{index.js => index.ts} (100%) rename x-pack/plugins/monitoring/public/components/elasticsearch/indices/{index.js => index.ts} (100%) create mode 100644 x-pack/plugins/monitoring/public/components/elasticsearch/indices/indices.d.ts rename x-pack/plugins/monitoring/public/components/elasticsearch/node/{index.js => index.ts} (100%) create mode 100644 x-pack/plugins/monitoring/public/components/elasticsearch/node/node.d.ts create mode 100644 x-pack/plugins/monitoring/public/components/elasticsearch/node/node_react.d.ts rename x-pack/plugins/monitoring/public/components/{status_icon/index.d.ts => elasticsearch/node/status_icon.d.ts} (56%) rename x-pack/plugins/monitoring/public/components/elasticsearch/nodes/{index.js => index.ts} (100%) create mode 100644 x-pack/plugins/monitoring/public/components/elasticsearch/nodes/nodes.d.ts rename x-pack/plugins/monitoring/public/components/elasticsearch/overview/{index.js => index.ts} (100%) create mode 100644 x-pack/plugins/monitoring/public/components/elasticsearch/overview/overview.d.ts rename x-pack/plugins/monitoring/public/components/{index.js => index.ts} (100%) rename x-pack/plugins/monitoring/public/components/license/{index.js => index.tsx} (86%) rename x-pack/plugins/monitoring/public/components/no_data/{index.js => index.ts} (100%) rename x-pack/plugins/monitoring/public/components/{index.d.ts => no_data/no_data.d.ts} (71%) rename x-pack/plugins/monitoring/public/components/page_loading/{index.js => index.tsx} (89%) rename x-pack/plugins/monitoring/public/components/setup_mode/{formatting.js => formatting.ts} (93%) delete mode 100644 x-pack/plugins/monitoring/public/components/status_icon/index.js create mode 100644 x-pack/plugins/monitoring/public/components/status_icon/index.tsx rename x-pack/plugins/monitoring/public/components/table/{eui_table.js => eui_table.tsx} (88%) rename x-pack/plugins/monitoring/public/{lib/get_cluster_from_clusters.d.ts => components/table/eui_table_ssp.d.ts} (68%) delete mode 100644 x-pack/plugins/monitoring/public/components/table/index.d.ts rename x-pack/plugins/monitoring/public/components/table/{index.js => index.ts} (100%) rename x-pack/plugins/monitoring/public/components/table/{storage.js => storage.ts} (71%) rename x-pack/plugins/monitoring/public/lib/{get_cluster_from_clusters.js => get_cluster_from_clusters.ts} (73%) diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_table.ts b/x-pack/plugins/monitoring/public/application/hooks/use_table.ts index 6fad144576f7e..be1983c373c27 100644 --- a/x-pack/plugins/monitoring/public/application/hooks/use_table.ts +++ b/x-pack/plugins/monitoring/public/application/hooks/use_table.ts @@ -6,6 +6,7 @@ */ import { useState, useCallback } from 'react'; +import { EuiTableSortingType } from '@elastic/eui'; import { euiTableStorageGetter, euiTableStorageSetter } from '../../components/table'; import { Storage } from '../../../../../../src/plugins/kibana_utils/public'; import { EUI_SORT_ASCENDING } from '../../../common/constants'; @@ -24,12 +25,7 @@ interface Page { index: number; } -interface Sorting { - sort: { - field: string; - direction: string; - }; -} +type Sorting = EuiTableSortingType; const PAGE_SIZE_OPTIONS = [5, 10, 20, 50]; diff --git a/x-pack/plugins/monitoring/public/application/setup_mode/setup_mode_renderer.d.ts b/x-pack/plugins/monitoring/public/application/setup_mode/setup_mode_renderer.d.ts index 27462f07c07be..c0eda496a09b2 100644 --- a/x-pack/plugins/monitoring/public/application/setup_mode/setup_mode_renderer.d.ts +++ b/x-pack/plugins/monitoring/public/application/setup_mode/setup_mode_renderer.d.ts @@ -5,4 +5,11 @@ * 2.0. */ -export const SetupModeRenderer: FunctionComponent; +import { FunctionComponent } from 'react'; + +export const SetupModeRenderer: FunctionComponent>; +export interface SetupModeProps { + setupMode: any; + flyoutComponent: any; + bottomBarComponent: any; +} diff --git a/x-pack/plugins/monitoring/public/components/apm/status_icon.js b/x-pack/plugins/monitoring/public/components/apm/status_icon.js index f27bcefc20bcb..14a51313e4aa7 100644 --- a/x-pack/plugins/monitoring/public/components/apm/status_icon.js +++ b/x-pack/plugins/monitoring/public/components/apm/status_icon.js @@ -6,17 +6,17 @@ */ import React from 'react'; -import { StatusIcon } from '../../components/status_icon'; +import { StatusIcon, STATUS_ICON_TYPES } from '../../components/status_icon'; import { i18n } from '@kbn/i18n'; export function ApmStatusIcon({ status, availability = true }) { const type = (() => { if (!availability) { - return StatusIcon.TYPES.GRAY; + return STATUS_ICON_TYPES.GRAY; } const statusKey = status.toUpperCase(); - return StatusIcon.TYPES[statusKey] || StatusIcon.TYPES.YELLOW; + return STATUS_ICON_TYPES[statusKey] || STATUS_ICON_TYPES.YELLOW; })(); return ( diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/index.d.ts b/x-pack/plugins/monitoring/public/components/cluster/overview/index.d.ts index 2cfd37e8e27eb..3dc7121446a7a 100644 --- a/x-pack/plugins/monitoring/public/components/cluster/overview/index.d.ts +++ b/x-pack/plugins/monitoring/public/components/cluster/overview/index.d.ts @@ -5,4 +5,13 @@ * 2.0. */ -export const Overview: FunctionComponent; +import { FunctionComponent } from 'react'; + +export const Overview: FunctionComponent; + +export interface OverviewProps { + cluster: unknown; + setupMode: unknown; + showLicenseExpiration: boolean; + alerts: unknown; +} diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/cluster_status/index.d.ts b/x-pack/plugins/monitoring/public/components/elasticsearch/cluster_status/index.d.ts index b7196d25d1791..4f314101ed299 100644 --- a/x-pack/plugins/monitoring/public/components/elasticsearch/cluster_status/index.d.ts +++ b/x-pack/plugins/monitoring/public/components/elasticsearch/cluster_status/index.d.ts @@ -5,4 +5,11 @@ * 2.0. */ -export const ClusterStatus: FunctionComponent; +import { FunctionComponent } from 'react'; + +export const ClusterStatus: FunctionComponent; + +export interface ClusterStatusProps { + stats: unknown; + alerts?: unknown; +} diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/index.d.ts b/x-pack/plugins/monitoring/public/components/elasticsearch/index.d.ts deleted file mode 100644 index 09f6c1085cfa3..0000000000000 --- a/x-pack/plugins/monitoring/public/components/elasticsearch/index.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -export const ElasticsearchOverview: FunctionComponent; -export const ElasticsearchNodes: FunctionComponent; -export const ElasticsearchIndices: FunctionComponent; -export const ElasticsearchMLJobs: FunctionComponent; -export const NodeReact: FunctionComponent; diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/index.js b/x-pack/plugins/monitoring/public/components/elasticsearch/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/index.js rename to x-pack/plugins/monitoring/public/components/elasticsearch/index.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/indices/index.js b/x-pack/plugins/monitoring/public/components/elasticsearch/indices/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/indices/index.js rename to x-pack/plugins/monitoring/public/components/elasticsearch/indices/index.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/indices/indices.d.ts b/x-pack/plugins/monitoring/public/components/elasticsearch/indices/indices.d.ts new file mode 100644 index 0000000000000..2b8ea60b651a6 --- /dev/null +++ b/x-pack/plugins/monitoring/public/components/elasticsearch/indices/indices.d.ts @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { FunctionComponent } from 'react'; + +export const ElasticsearchIndices: FunctionComponent; +export interface ElasticsearchIndicesProps { + clusterStatus: unknown; + indices: unknown; + sorting: unknown; + pagination: unknown; + onTableChange: unknown; + toggleShowSystemIndices: unknown; + showSystemIndices: unknown; + alerts: unknown; +} diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ml_job_listing/status_icon.tsx b/x-pack/plugins/monitoring/public/components/elasticsearch/ml_job_listing/status_icon.tsx index d5c65aecdec21..a45c8316d1aa3 100644 --- a/x-pack/plugins/monitoring/public/components/elasticsearch/ml_job_listing/status_icon.tsx +++ b/x-pack/plugins/monitoring/public/components/elasticsearch/ml_job_listing/status_icon.tsx @@ -7,22 +7,22 @@ import React from 'react'; import { i18n } from '@kbn/i18n'; -import { StatusIcon } from '../../status_icon'; +import { StatusIcon, STATUS_ICON_TYPES } from '../../status_icon'; export function MachineLearningJobStatusIcon({ status }: { status: string }) { const type = (() => { const statusKey = status.toUpperCase(); if (statusKey === 'OPENED') { - return StatusIcon.TYPES.GREEN; + return STATUS_ICON_TYPES.GREEN; } else if (statusKey === 'CLOSED') { - return StatusIcon.TYPES.GRAY; + return STATUS_ICON_TYPES.GRAY; } else if (statusKey === 'FAILED') { - return StatusIcon.TYPES.RED; + return STATUS_ICON_TYPES.RED; } // basically a "changing" state like OPENING or CLOSING - return StatusIcon.TYPES.YELLOW; + return STATUS_ICON_TYPES.YELLOW; })(); return ( diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ml_jobs/ml_jobs.tsx b/x-pack/plugins/monitoring/public/components/elasticsearch/ml_jobs/ml_jobs.tsx index 635f9ecd1e10a..dba9c40fabb2b 100644 --- a/x-pack/plugins/monitoring/public/components/elasticsearch/ml_jobs/ml_jobs.tsx +++ b/x-pack/plugins/monitoring/public/components/elasticsearch/ml_jobs/ml_jobs.tsx @@ -31,7 +31,7 @@ import { ClusterStatus } from '../cluster_status'; interface Props { clusterStatus: boolean; jobs: MLJobs; - onTableChange: () => void; + onTableChange: (props: any) => void; sorting: EuiTableSortingType; pagination: Pagination; } diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node/index.js b/x-pack/plugins/monitoring/public/components/elasticsearch/node/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/node/index.js rename to x-pack/plugins/monitoring/public/components/elasticsearch/node/index.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node/node.d.ts b/x-pack/plugins/monitoring/public/components/elasticsearch/node/node.d.ts new file mode 100644 index 0000000000000..9d7a062e942bb --- /dev/null +++ b/x-pack/plugins/monitoring/public/components/elasticsearch/node/node.d.ts @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { FunctionComponent } from 'react'; + +export const Node: FunctionComponent; +export interface NodeProps { + nodeSummary: unknown; + metrics: unknown; + logs: unknown; + alerts: unknown; + nodeId: unknown; + clusterUuid: unknown; + scope: unknown; + [key: string]: any; +} diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node/node_react.d.ts b/x-pack/plugins/monitoring/public/components/elasticsearch/node/node_react.d.ts new file mode 100644 index 0000000000000..e0c4f6b301fdb --- /dev/null +++ b/x-pack/plugins/monitoring/public/components/elasticsearch/node/node_react.d.ts @@ -0,0 +1,19 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { FunctionComponent } from 'react'; + +export const NodeReact: FunctionComponent; +export interface NodeReactProps { + nodeSummary: unknown; + metrics: unknown; + logs: unknown; + alerts: unknown; + nodeId: unknown; + clusterUuid: unknown; + [key: string]: any; +} diff --git a/x-pack/plugins/monitoring/public/components/status_icon/index.d.ts b/x-pack/plugins/monitoring/public/components/elasticsearch/node/status_icon.d.ts similarity index 56% rename from x-pack/plugins/monitoring/public/components/status_icon/index.d.ts rename to x-pack/plugins/monitoring/public/components/elasticsearch/node/status_icon.d.ts index 147c2821e3a2a..dfa07524619c9 100644 --- a/x-pack/plugins/monitoring/public/components/status_icon/index.d.ts +++ b/x-pack/plugins/monitoring/public/components/elasticsearch/node/status_icon.d.ts @@ -5,4 +5,10 @@ * 2.0. */ -export const StatusIcon: FunctionComponent; +import { FunctionComponent } from 'react'; + +export const NodeStatusIcon: FunctionComponent; +export interface NodeStatusIconProps { + isOnline: boolean; + status: string; +} diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node/status_icon.js b/x-pack/plugins/monitoring/public/components/elasticsearch/node/status_icon.js index 7bfffc7b73954..9905a6c3573f7 100644 --- a/x-pack/plugins/monitoring/public/components/elasticsearch/node/status_icon.js +++ b/x-pack/plugins/monitoring/public/components/elasticsearch/node/status_icon.js @@ -6,11 +6,11 @@ */ import React from 'react'; -import { StatusIcon } from '../../status_icon'; +import { StatusIcon, STATUS_ICON_TYPES } from '../../status_icon'; import { i18n } from '@kbn/i18n'; export function NodeStatusIcon({ isOnline, status }) { - const type = isOnline ? StatusIcon.TYPES.GREEN : StatusIcon.TYPES.GRAY; + const type = isOnline ? STATUS_ICON_TYPES.GREEN : STATUS_ICON_TYPES.GRAY; return ( ; +export interface ElasticsearchNodesProps { + clusterStatus: unknown; + showCgroupMetricsElasticsearch: unknown; + [key: string]: any; +} diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/overview/index.js b/x-pack/plugins/monitoring/public/components/elasticsearch/overview/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/overview/index.js rename to x-pack/plugins/monitoring/public/components/elasticsearch/overview/index.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/overview/overview.d.ts b/x-pack/plugins/monitoring/public/components/elasticsearch/overview/overview.d.ts new file mode 100644 index 0000000000000..d4c893f87cbd2 --- /dev/null +++ b/x-pack/plugins/monitoring/public/components/elasticsearch/overview/overview.d.ts @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { FunctionComponent } from 'react'; + +export const ElasticsearchOverview: FunctionComponent; +export interface ElasticsearchOverviewProps { + clusterStatus: unknown; + metrics: unknown; + logs: unknown; + cluster: unknown; + shardActivity: unknown; + [key: string]: any; +} diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/transformers/nodes_by_indices.d.ts b/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/transformers/nodes_by_indices.d.ts index d0ec9b85edae7..c430c0ee7b48a 100644 --- a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/transformers/nodes_by_indices.d.ts +++ b/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/transformers/nodes_by_indices.d.ts @@ -5,4 +5,4 @@ * 2.0. */ -export const nodesByIndices: () => (shards, nodes) => any; +export const nodesByIndices: () => (shards: any, nodes: any) => any; diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/status_icon.js b/x-pack/plugins/monitoring/public/components/elasticsearch/status_icon.js index 7c51a1e89d91e..ec027d71a192d 100644 --- a/x-pack/plugins/monitoring/public/components/elasticsearch/status_icon.js +++ b/x-pack/plugins/monitoring/public/components/elasticsearch/status_icon.js @@ -6,13 +6,13 @@ */ import React from 'react'; -import { StatusIcon } from '../status_icon'; +import { StatusIcon, STATUS_ICON_TYPES } from '../status_icon'; import { i18n } from '@kbn/i18n'; export function ElasticsearchStatusIcon({ status }) { const type = (() => { const statusKey = status.toUpperCase(); - return StatusIcon.TYPES[statusKey] || StatusIcon.TYPES.GRAY; + return STATUS_ICON_TYPES[statusKey] || STATUS_ICON_TYPES.GRAY; })(); return ( diff --git a/x-pack/plugins/monitoring/public/components/index.js b/x-pack/plugins/monitoring/public/components/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/index.js rename to x-pack/plugins/monitoring/public/components/index.ts diff --git a/x-pack/plugins/monitoring/public/components/kibana/instances/instances.tsx b/x-pack/plugins/monitoring/public/components/kibana/instances/instances.tsx index 4e939682b1dba..3766a09f91b80 100644 --- a/x-pack/plugins/monitoring/public/components/kibana/instances/instances.tsx +++ b/x-pack/plugins/monitoring/public/components/kibana/instances/instances.tsx @@ -25,8 +25,7 @@ import { capitalize, get } from 'lodash'; import { ClusterStatus } from '../cluster_status'; // @ts-ignore import { EuiMonitoringTable } from '../../table'; -// @ts-ignore -import { StatusIcon } from '../../status_icon'; +import { STATUS_ICON_TYPES } from '../../status_icon'; // @ts-ignore import { formatMetric, formatNumber } from '../../../lib/format_number'; import { getSafeForExternalLink } from '../../../lib/get_safe_for_external_link'; @@ -205,7 +204,7 @@ export const KibanaInstances: React.FC = (props: Props) => { _instances.push({ kibana: { ...(instance as any).instance.kibana, - status: StatusIcon.TYPES.GRAY, + status: STATUS_ICON_TYPES.GRAY, }, }); } diff --git a/x-pack/plugins/monitoring/public/components/kibana/status_icon.js b/x-pack/plugins/monitoring/public/components/kibana/status_icon.js index e5b501b1e15e7..976b3ff992e3b 100644 --- a/x-pack/plugins/monitoring/public/components/kibana/status_icon.js +++ b/x-pack/plugins/monitoring/public/components/kibana/status_icon.js @@ -6,17 +6,17 @@ */ import React from 'react'; -import { StatusIcon } from '../status_icon'; +import { StatusIcon, STATUS_ICON_TYPES } from '../status_icon'; import { i18n } from '@kbn/i18n'; export function KibanaStatusIcon({ status, availability = true }) { const type = (() => { if (!availability) { - return StatusIcon.TYPES.GRAY; + return STATUS_ICON_TYPES.GRAY; } const statusKey = status.toUpperCase(); - return StatusIcon.TYPES[statusKey] || StatusIcon.TYPES.YELLOW; + return STATUS_ICON_TYPES[statusKey] || STATUS_ICON_TYPES.YELLOW; })(); return ( diff --git a/x-pack/plugins/monitoring/public/components/license/index.js b/x-pack/plugins/monitoring/public/components/license/index.tsx similarity index 86% rename from x-pack/plugins/monitoring/public/components/license/index.js rename to x-pack/plugins/monitoring/public/components/license/index.tsx index ad16663c88ea7..766f0af3bccc8 100644 --- a/x-pack/plugins/monitoring/public/components/license/index.js +++ b/x-pack/plugins/monitoring/public/components/license/index.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import React, { Fragment } from 'react'; +import React, { Fragment, FunctionComponent } from 'react'; import { EuiPage, EuiPageBody, @@ -27,7 +27,10 @@ import { import { FormattedMessage } from '@kbn/i18n/react'; import { Legacy } from '../../legacy_shims'; -export const AddLicense = ({ uploadPath }) => { +interface AddLicenseProps { + uploadPath?: string; +} +const AddLicense: FunctionComponent = ({ uploadPath }) => { return ( { ); }; -export class LicenseStatus extends React.PureComponent { +export interface LicenseStatusProps { + isExpired: boolean; + status: string; + type: string; + expiryDate: string | Date; +} + +class LicenseStatus extends React.PureComponent { render() { const { isExpired, status, type, expiryDate } = this.props; const typeTitleCase = type.charAt(0).toUpperCase() + type.substr(1).toLowerCase(); @@ -133,7 +143,15 @@ export class LicenseStatus extends React.PureComponent { } } -const LicenseUpdateInfoForPrimary = ({ isPrimaryCluster, uploadLicensePath }) => { +export interface LicenseUpdateInfoProps { + isPrimaryCluster: boolean; + uploadLicensePath?: string; +} + +const LicenseUpdateInfoForPrimary: FunctionComponent = ({ + isPrimaryCluster, + uploadLicensePath, +}) => { if (!isPrimaryCluster) { return null; } @@ -142,7 +160,9 @@ const LicenseUpdateInfoForPrimary = ({ isPrimaryCluster, uploadLicensePath }) => return ; }; -const LicenseUpdateInfoForRemote = ({ isPrimaryCluster }) => { +const LicenseUpdateInfoForRemote: FunctionComponent = ({ + isPrimaryCluster, +}) => { if (isPrimaryCluster) { return null; } @@ -168,7 +188,8 @@ const LicenseUpdateInfoForRemote = ({ isPrimaryCluster }) => { ); }; -export function License(props) { +export interface LicenseProps extends LicenseStatusProps, LicenseUpdateInfoProps {} +export const License: FunctionComponent = (props) => { const { status, type, isExpired, expiryDate } = props; const licenseManagement = `${Legacy.shims.getBasePath()}/app/management/stack/license_management`; return ( @@ -199,4 +220,4 @@ export function License(props) { ); -} +}; diff --git a/x-pack/plugins/monitoring/public/components/no_data/index.js b/x-pack/plugins/monitoring/public/components/no_data/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/index.js rename to x-pack/plugins/monitoring/public/components/no_data/index.ts diff --git a/x-pack/plugins/monitoring/public/components/index.d.ts b/x-pack/plugins/monitoring/public/components/no_data/no_data.d.ts similarity index 71% rename from x-pack/plugins/monitoring/public/components/index.d.ts rename to x-pack/plugins/monitoring/public/components/no_data/no_data.d.ts index fc1a81cc4dba2..b87d326e834af 100644 --- a/x-pack/plugins/monitoring/public/components/index.d.ts +++ b/x-pack/plugins/monitoring/public/components/no_data/no_data.d.ts @@ -5,5 +5,6 @@ * 2.0. */ -export const PageLoading: FunctionComponent; -export const License: FunctionComponent; +import { FunctionComponent } from 'react'; + +export const NoData: FunctionComponent>; diff --git a/x-pack/plugins/monitoring/public/components/page_loading/index.js b/x-pack/plugins/monitoring/public/components/page_loading/index.tsx similarity index 89% rename from x-pack/plugins/monitoring/public/components/page_loading/index.js rename to x-pack/plugins/monitoring/public/components/page_loading/index.tsx index fd4aa9d848150..e7535fc3dc859 100644 --- a/x-pack/plugins/monitoring/public/components/page_loading/index.js +++ b/x-pack/plugins/monitoring/public/components/page_loading/index.tsx @@ -48,17 +48,21 @@ function PageLoadingUI() { ); } -function PageLoadingTracking({ pageViewTitle }) { +const PageLoadingTracking: React.FunctionComponent<{ pageViewTitle: string }> = ({ + pageViewTitle, +}) => { const path = pageViewTitle.toLowerCase().replace(/-/g, '').replace(/\s+/g, '_'); useTrackPageview({ app: 'stack_monitoring', path }); useTrackPageview({ app: 'stack_monitoring', path, delay: 15000 }); return ; -} +}; -export function PageLoading({ pageViewTitle }) { +export const PageLoading: React.FunctionComponent<{ pageViewTitle?: string }> = ({ + pageViewTitle, +}) => { if (pageViewTitle) { return ; } return ; -} +}; diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/formatting.js b/x-pack/plugins/monitoring/public/components/setup_mode/formatting.ts similarity index 93% rename from x-pack/plugins/monitoring/public/components/setup_mode/formatting.js rename to x-pack/plugins/monitoring/public/components/setup_mode/formatting.ts index 11e8ca48719fd..06eb029fcc4a0 100644 --- a/x-pack/plugins/monitoring/public/components/setup_mode/formatting.js +++ b/x-pack/plugins/monitoring/public/components/setup_mode/formatting.ts @@ -34,7 +34,7 @@ const SERVER_IDENTIFIER_PLURAL = i18n.translate('xpack.monitoring.setupMode.serv defaultMessage: `servers`, }); -export function formatProductName(productName) { +export function formatProductName(productName: string) { if (productName === APM_SYSTEM_ID) { return productName.toUpperCase(); } @@ -43,7 +43,7 @@ export function formatProductName(productName) { const PRODUCTS_THAT_USE_NODES = [LOGSTASH_SYSTEM_ID, ELASTICSEARCH_SYSTEM_ID]; const PRODUCTS_THAT_USE_INSTANCES = [KIBANA_SYSTEM_ID, BEATS_SYSTEM_ID]; -export function getIdentifier(productName, usePlural = false) { +export function getIdentifier(productName: string, usePlural = false) { if (PRODUCTS_THAT_USE_INSTANCES.includes(productName)) { return usePlural ? INSTANCE_IDENTIFIER_PLURAL : INSTANCE_IDENTIFIER_SINGULAR; } diff --git a/x-pack/plugins/monitoring/public/components/status_icon/index.js b/x-pack/plugins/monitoring/public/components/status_icon/index.js deleted file mode 100644 index bcd4b58d6912f..0000000000000 --- a/x-pack/plugins/monitoring/public/components/status_icon/index.js +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import React from 'react'; -import { EuiIcon } from '@elastic/eui'; - -export function StatusIcon({ type, label }) { - const typeToIconMap = { - [StatusIcon.TYPES.RED]: 'danger', - [StatusIcon.TYPES.YELLOW]: 'warning', - [StatusIcon.TYPES.GREEN]: 'success', - [StatusIcon.TYPES.GRAY]: 'subdued', - }; - const icon = typeToIconMap[type]; - - return ; -} - -StatusIcon.TYPES = { - RED: 'RED', - YELLOW: 'YELLOW', - GREEN: 'GREEN', - GRAY: 'GRAY', -}; diff --git a/x-pack/plugins/monitoring/public/components/status_icon/index.tsx b/x-pack/plugins/monitoring/public/components/status_icon/index.tsx new file mode 100644 index 0000000000000..59c87866d57d3 --- /dev/null +++ b/x-pack/plugins/monitoring/public/components/status_icon/index.tsx @@ -0,0 +1,42 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { EuiIcon } from '@elastic/eui'; + +export const STATUS_ICON_TYPES = { + RED: 'RED' as const, + YELLOW: 'YELLOW' as const, + GREEN: 'GREEN' as const, + GRAY: 'GRAY' as const, +}; + +const typeToIconMap = { + [STATUS_ICON_TYPES.RED]: 'danger', + [STATUS_ICON_TYPES.YELLOW]: 'warning', + [STATUS_ICON_TYPES.GREEN]: 'success', + [STATUS_ICON_TYPES.GRAY]: 'subdued', +}; + +export interface StatusIconProps { + type: keyof typeof STATUS_ICON_TYPES; + label: string; +} +export const StatusIcon: React.FunctionComponent = ({ type, label }) => { + const icon = typeToIconMap[type]; + + return ( + + ); +}; diff --git a/x-pack/plugins/monitoring/public/components/summary_status/summary_status.js b/x-pack/plugins/monitoring/public/components/summary_status/summary_status.js index 71fcf4e193f20..db4ac9098532b 100644 --- a/x-pack/plugins/monitoring/public/components/summary_status/summary_status.js +++ b/x-pack/plugins/monitoring/public/components/summary_status/summary_status.js @@ -9,7 +9,7 @@ import React, { Fragment } from 'react'; import PropTypes from 'prop-types'; import { isEmpty, capitalize } from 'lodash'; import { EuiFlexGroup, EuiFlexItem, EuiStat } from '@elastic/eui'; -import { StatusIcon } from '../status_icon/index.js'; +import { StatusIcon } from '../status_icon'; import { AlertsStatus } from '../../alerts/status'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n/react'; diff --git a/x-pack/plugins/monitoring/public/components/table/eui_table.js b/x-pack/plugins/monitoring/public/components/table/eui_table.tsx similarity index 88% rename from x-pack/plugins/monitoring/public/components/table/eui_table.js rename to x-pack/plugins/monitoring/public/components/table/eui_table.tsx index a702fdc033572..a383fcf1cd666 100644 --- a/x-pack/plugins/monitoring/public/components/table/eui_table.js +++ b/x-pack/plugins/monitoring/public/components/table/eui_table.tsx @@ -5,21 +5,21 @@ * 2.0. */ -import React, { Fragment } from 'react'; +import React, { Fragment, FunctionComponent } from 'react'; import { EuiInMemoryTable, EuiButton, EuiSpacer, EuiSearchBar } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { getIdentifier } from '../setup_mode/formatting'; import { isSetupModeFeatureEnabled } from '../../lib/setup_mode'; import { SetupModeFeature } from '../../../common/enums'; -export function EuiMonitoringTable({ +export const EuiMonitoringTable: FunctionComponent> = ({ rows: items, search = {}, columns: _columns, setupMode, productName, ...props -}) { +}) => { const [hasItems, setHasItem] = React.useState(items.length > 0); if (search.box && !search.box['data-test-subj']) { @@ -32,15 +32,17 @@ export function EuiMonitoringTable({ if (search) { const oldOnChange = search.onChange; - search.onChange = (arg) => { + search.onChange = (arg: any) => { const filteredItems = EuiSearchBar.Query.execute(arg.query, items, props.executeQueryOptions); setHasItem(filteredItems.length > 0); - oldOnChange && oldOnChange(arg); + if (oldOnChange) { + oldOnChange(arg); + } return true; }; } - const columns = _columns.map((column) => { + const columns = _columns.map((column: any) => { if (!('sortable' in column)) { column.sortable = true; } @@ -78,4 +80,4 @@ export function EuiMonitoringTable({ {footerContent} ); -} +}; diff --git a/x-pack/plugins/monitoring/public/lib/get_cluster_from_clusters.d.ts b/x-pack/plugins/monitoring/public/components/table/eui_table_ssp.d.ts similarity index 68% rename from x-pack/plugins/monitoring/public/lib/get_cluster_from_clusters.d.ts rename to x-pack/plugins/monitoring/public/components/table/eui_table_ssp.d.ts index 5a310c977efae..bdc8199b3c57c 100644 --- a/x-pack/plugins/monitoring/public/lib/get_cluster_from_clusters.d.ts +++ b/x-pack/plugins/monitoring/public/components/table/eui_table_ssp.d.ts @@ -5,8 +5,6 @@ * 2.0. */ -export const getClusterFromClusters: ( - clusters: any, - globalState: State, - unsetGlobalState: boolean -) => any; +import { FunctionComponent } from 'react'; + +export const EuiMonitoringSSPTable: FunctionComponent>; diff --git a/x-pack/plugins/monitoring/public/components/table/index.d.ts b/x-pack/plugins/monitoring/public/components/table/index.d.ts deleted file mode 100644 index 23406ba9e3a5e..0000000000000 --- a/x-pack/plugins/monitoring/public/components/table/index.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -export const euiTableStorageGetter: (string) => any; -export const euiTableStorageSetter: (string) => any; -export const EuiMonitoringTable: FunctionComponent; diff --git a/x-pack/plugins/monitoring/public/components/table/index.js b/x-pack/plugins/monitoring/public/components/table/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/table/index.js rename to x-pack/plugins/monitoring/public/components/table/index.ts diff --git a/x-pack/plugins/monitoring/public/components/table/storage.js b/x-pack/plugins/monitoring/public/components/table/storage.ts similarity index 71% rename from x-pack/plugins/monitoring/public/components/table/storage.js rename to x-pack/plugins/monitoring/public/components/table/storage.ts index b9694dc5db420..411bd09872858 100644 --- a/x-pack/plugins/monitoring/public/components/table/storage.js +++ b/x-pack/plugins/monitoring/public/components/table/storage.ts @@ -8,9 +8,22 @@ import { set } from '@elastic/safer-lodash-set'; import { get } from 'lodash'; import { STORAGE_KEY } from '../../../common/constants'; +import { Storage } from '../../../../../../src/plugins/kibana_utils/public'; -export const tableStorageGetter = (keyPrefix) => { - return (storage) => { +interface TableValues { + filterText: any; + pageIndex: any; + sortKey: any; + sortOrder: any; +} + +interface EuiTableValues { + sort: any; + page: any; +} + +export const tableStorageGetter = (keyPrefix: string) => { + return (storage: Storage): TableValues => { const localStorageData = storage.get(STORAGE_KEY) || {}; const filterText = get(localStorageData, [keyPrefix, 'filterText']); const pageIndex = get(localStorageData, [keyPrefix, 'pageIndex']); @@ -21,8 +34,8 @@ export const tableStorageGetter = (keyPrefix) => { }; }; -export const tableStorageSetter = (keyPrefix) => { - return (storage, { filterText, pageIndex, sortKey, sortOrder }) => { +export const tableStorageSetter = (keyPrefix: string) => { + return (storage: Storage, { filterText, pageIndex, sortKey, sortOrder }: TableValues) => { const localStorageData = storage.get(STORAGE_KEY) || {}; set(localStorageData, [keyPrefix, 'filterText'], filterText || undefined); // don`t store empty data @@ -36,8 +49,8 @@ export const tableStorageSetter = (keyPrefix) => { }; }; -export const euiTableStorageGetter = (keyPrefix) => { - return (storage) => { +export const euiTableStorageGetter = (keyPrefix: string) => { + return (storage: Storage): EuiTableValues => { const localStorageData = storage.get(STORAGE_KEY) || {}; const sort = get(localStorageData, [keyPrefix, 'sort']); const page = get(localStorageData, [keyPrefix, 'page']); @@ -46,8 +59,8 @@ export const euiTableStorageGetter = (keyPrefix) => { }; }; -export const euiTableStorageSetter = (keyPrefix) => { - return (storage, { sort, page }) => { +export const euiTableStorageSetter = (keyPrefix: string) => { + return (storage: Storage, { sort, page }: EuiTableValues) => { const localStorageData = storage.get(STORAGE_KEY) || {}; set(localStorageData, [keyPrefix, 'sort'], sort || undefined); // don`t store empty data diff --git a/x-pack/plugins/monitoring/public/lib/get_cluster_from_clusters.js b/x-pack/plugins/monitoring/public/lib/get_cluster_from_clusters.ts similarity index 73% rename from x-pack/plugins/monitoring/public/lib/get_cluster_from_clusters.js rename to x-pack/plugins/monitoring/public/lib/get_cluster_from_clusters.ts index 94bd39aa769fd..93d0c5a6f790e 100644 --- a/x-pack/plugins/monitoring/public/lib/get_cluster_from_clusters.js +++ b/x-pack/plugins/monitoring/public/lib/get_cluster_from_clusters.ts @@ -6,15 +6,20 @@ */ import { find, first } from 'lodash'; +import { State } from '../application/contexts/global_state_context'; -export function getClusterFromClusters(clusters, globalState, unsetGlobalState = false) { +export function getClusterFromClusters( + clusters: any, + globalState: State, + unsetGlobalState = false +) { const cluster = (() => { const existingCurrent = find(clusters, { cluster_uuid: globalState.cluster_uuid }); if (existingCurrent) { return existingCurrent; } - const firstCluster = first(clusters); + const firstCluster: any = first(clusters); if (firstCluster && firstCluster.cluster_uuid) { return firstCluster; } @@ -25,7 +30,9 @@ export function getClusterFromClusters(clusters, globalState, unsetGlobalState = if (cluster && cluster.license) { globalState.cluster_uuid = unsetGlobalState ? undefined : cluster.cluster_uuid; globalState.ccs = unsetGlobalState ? undefined : cluster.ccs; - globalState.save(); + if (globalState.save) { + globalState.save(); + } return cluster; } From f6e5093c45591c750374781cda307b6da353d12b Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 11 Oct 2021 20:58:01 -0400 Subject: [PATCH 038/107] [Core][Deprecations] omit deprecationDetails if needed it in the reques (#114399) (#114574) * omit deprecationDetails if needed it * review I * doc update Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com> --- ...r.deprecationsdetails.correctiveactions.md | 1 + ...-plugin-core-server.deprecationsdetails.md | 2 +- .../deprecations/deprecations_client.test.ts | 33 +++++++++++++++++++ .../deprecations/deprecations_client.ts | 4 +-- src/core/server/deprecations/README.mdx | 2 +- src/core/server/deprecations/types.ts | 2 ++ src/core/server/server.api.md | 1 + 7 files changed, 41 insertions(+), 4 deletions(-) diff --git a/docs/development/core/server/kibana-plugin-core-server.deprecationsdetails.correctiveactions.md b/docs/development/core/server/kibana-plugin-core-server.deprecationsdetails.correctiveactions.md index 657c62a21c581..d7d10651033bf 100644 --- a/docs/development/core/server/kibana-plugin-core-server.deprecationsdetails.correctiveactions.md +++ b/docs/development/core/server/kibana-plugin-core-server.deprecationsdetails.correctiveactions.md @@ -16,6 +16,7 @@ correctiveActions: { body?: { [key: string]: any; }; + omitContextFromBody?: boolean; }; manualSteps: string[]; }; diff --git a/docs/development/core/server/kibana-plugin-core-server.deprecationsdetails.md b/docs/development/core/server/kibana-plugin-core-server.deprecationsdetails.md index 86418a1d0c1c3..2ff9f4b792f5d 100644 --- a/docs/development/core/server/kibana-plugin-core-server.deprecationsdetails.md +++ b/docs/development/core/server/kibana-plugin-core-server.deprecationsdetails.md @@ -15,7 +15,7 @@ export interface DeprecationsDetails | Property | Type | Description | | --- | --- | --- | -| [correctiveActions](./kibana-plugin-core-server.deprecationsdetails.correctiveactions.md) | {
api?: {
path: string;
method: 'POST' | 'PUT';
body?: {
[key: string]: any;
};
};
manualSteps: string[];
} | corrective action needed to fix this deprecation. | +| [correctiveActions](./kibana-plugin-core-server.deprecationsdetails.correctiveactions.md) | {
api?: {
path: string;
method: 'POST' | 'PUT';
body?: {
[key: string]: any;
};
omitContextFromBody?: boolean;
};
manualSteps: string[];
} | corrective action needed to fix this deprecation. | | [deprecationType](./kibana-plugin-core-server.deprecationsdetails.deprecationtype.md) | 'config' | 'feature' | (optional) Used to identify between different deprecation types. Example use case: in Upgrade Assistant, we may want to allow the user to sort by deprecation type or show each type in a separate tab.Feel free to add new types if necessary. Predefined types are necessary to reduce having similar definitions with different keywords across kibana deprecations. | | [documentationUrl](./kibana-plugin-core-server.deprecationsdetails.documentationurl.md) | string | (optional) link to the documentation for more details on the deprecation. | | [level](./kibana-plugin-core-server.deprecationsdetails.level.md) | 'warning' | 'critical' | 'fetch_error' | levels: - warning: will not break deployment upon upgrade - critical: needs to be addressed before upgrade. - fetch\_error: Deprecations service failed to grab the deprecation details for the domain. | diff --git a/src/core/public/deprecations/deprecations_client.test.ts b/src/core/public/deprecations/deprecations_client.test.ts index cca81f4687a97..3c45b76cfecd2 100644 --- a/src/core/public/deprecations/deprecations_client.test.ts +++ b/src/core/public/deprecations/deprecations_client.test.ts @@ -197,5 +197,38 @@ describe('DeprecationsClient', () => { expect(result).toEqual({ status: 'fail', reason: mockResponse }); }); + + it('omit deprecationDetails in the request of the body', async () => { + const deprecationsClient = new DeprecationsClient({ http }); + const mockDeprecationDetails: DomainDeprecationDetails = { + title: 'some-title', + domainId: 'testPluginId-1', + message: 'some-message', + level: 'warning', + correctiveActions: { + api: { + path: 'some-path', + method: 'POST', + body: { + extra_param: 123, + }, + omitContextFromBody: true, + }, + manualSteps: ['manual-step'], + }, + }; + const result = await deprecationsClient.resolveDeprecation(mockDeprecationDetails); + + expect(http.fetch).toBeCalledTimes(1); + expect(http.fetch).toBeCalledWith({ + path: 'some-path', + method: 'POST', + asSystemRequest: true, + body: JSON.stringify({ + extra_param: 123, + }), + }); + expect(result).toEqual({ status: 'ok' }); + }); }); }); diff --git a/src/core/public/deprecations/deprecations_client.ts b/src/core/public/deprecations/deprecations_client.ts index 4b9cfca1986ba..01906c930d730 100644 --- a/src/core/public/deprecations/deprecations_client.ts +++ b/src/core/public/deprecations/deprecations_client.ts @@ -59,7 +59,7 @@ export class DeprecationsClient { }; } - const { body, method, path } = correctiveActions.api; + const { body, method, path, omitContextFromBody = false } = correctiveActions.api; try { await this.http.fetch({ path, @@ -67,7 +67,7 @@ export class DeprecationsClient { asSystemRequest: true, body: JSON.stringify({ ...body, - deprecationDetails: { domainId }, + ...(omitContextFromBody ? {} : { deprecationDetails: { domainId } }), }), }); return { status: 'ok' }; diff --git a/src/core/server/deprecations/README.mdx b/src/core/server/deprecations/README.mdx index 533f607c3d4c2..388d89ae20b01 100644 --- a/src/core/server/deprecations/README.mdx +++ b/src/core/server/deprecations/README.mdx @@ -212,7 +212,7 @@ async function getDeprecations({ esClient, savedObjectsClient }: GetDeprecations The deprecations API allows plugins to provide an API call that can be used to automatically fix specific deprecations. To do so create a `PUT` or `POST` route in your plugin and specify data you want to be passed in the payload for the deprecation. -In the example above, `/internal/security/users/test_dashboard_user` will be called when users click on `Quick Resolve` in the UA. The service will automatically pass the body provided in the api corrective action to provide context to the route for fixing the deprecation. +In the example above, `/internal/security/users/test_dashboard_user` will be called when users click on `Quick Resolve` in the UA. The service will automatically pass the body provided in the api corrective action to provide context to the route for fixing the deprecation. If you need to omit the deprecation details context in the request of the body, you can use the property `omitContextFromBody`. The deprecations service expects a `200` status code to recognize the corrective action as a success. diff --git a/src/core/server/deprecations/types.ts b/src/core/server/deprecations/types.ts index 7e276514a64d3..e24c6a13fceea 100644 --- a/src/core/server/deprecations/types.ts +++ b/src/core/server/deprecations/types.ts @@ -69,6 +69,8 @@ export interface DeprecationsDetails { body?: { [key: string]: any; }; + /* Allow to omit context in the request of the body */ + omitContextFromBody?: boolean; }; /** * Specify a list of manual steps users need to follow to diff --git a/src/core/server/server.api.md b/src/core/server/server.api.md index 51b9cdb854dde..a1e5d61744648 100644 --- a/src/core/server/server.api.md +++ b/src/core/server/server.api.md @@ -790,6 +790,7 @@ export interface DeprecationsDetails { body?: { [key: string]: any; }; + omitContextFromBody?: boolean; }; manualSteps: string[]; }; From c0ad7aba70abcd767dae2a139a52cc2348c783fc Mon Sep 17 00:00:00 2001 From: Nathan Reese Date: Mon, 11 Oct 2021 19:02:33 -0600 Subject: [PATCH 039/107] =?UTF-8?q?[Maps]=20fix=20docvalue=5Ffields=C2=B7j?= =?UTF-8?q?s=20functional=20test=20(#114527)=20(#114577)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [Maps] fix docvalue_fields·js functional test * remove unused * eslint * remove _type from check list, copied from 7.x branch and is not in 8.0 Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> # Conflicts: # x-pack/test/functional/apps/maps/documents_source/docvalue_fields.js --- .../maps/documents_source/docvalue_fields.js | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/x-pack/test/functional/apps/maps/documents_source/docvalue_fields.js b/x-pack/test/functional/apps/maps/documents_source/docvalue_fields.js index c5fd1534bbbcb..9dde84b57cbdd 100644 --- a/x-pack/test/functional/apps/maps/documents_source/docvalue_fields.js +++ b/x-pack/test/functional/apps/maps/documents_source/docvalue_fields.js @@ -11,11 +11,9 @@ export default function ({ getPageObjects, getService }) { const PageObjects = getPageObjects(['maps']); const security = getService('security'); - // FLAKY: https://github.com/elastic/kibana/issues/114418 - describe.skip('docvalue_fields', () => { + describe('docvalue_fields', () => { before(async () => { await security.testUser.setRoles(['global_maps_read', 'test_logstash_reader'], false); - await PageObjects.maps.loadSavedMap('document example'); }); after(async () => { @@ -46,11 +44,14 @@ export default function ({ getPageObjects, getService }) { it('should format date fields as epoch_millis when data driven styling is applied to a date field', async () => { await PageObjects.maps.loadSavedMap('document example with data driven styles on date field'); const { rawResponse: response } = await PageObjects.maps.getResponse(); - const firstHit = response.hits.hits[0]; - expect(firstHit).to.only.have.keys(['_id', '_index', '_type', '_score', 'fields']); - expect(firstHit.fields).to.only.have.keys(['@timestamp', 'bytes', 'geo.coordinates']); - expect(firstHit.fields['@timestamp']).to.be.an('array'); - expect(firstHit.fields['@timestamp'][0]).to.eql('1442709321445'); + const targetHit = response.hits.hits.find((hit) => { + return hit._id === 'AU_x3_g4GFA8no6QjkSR'; + }); + expect(targetHit).not.to.be(undefined); + expect(targetHit).to.only.have.keys(['_id', '_index', '_type', '_score', 'fields']); + expect(targetHit.fields).to.only.have.keys(['@timestamp', 'bytes', 'geo.coordinates']); + expect(targetHit.fields['@timestamp']).to.be.an('array'); + expect(targetHit.fields['@timestamp'][0]).to.eql('1442709321445'); }); }); } From 1b51fca83d033e1cab261e28435598069b691d4a Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 11 Oct 2021 21:57:07 -0400 Subject: [PATCH 040/107] [ftr] ensure indentation is reset between configs (#114359) (#114579) Co-authored-by: spalger Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Spencer Co-authored-by: spalger --- .../src/tooling_log/tooling_log.test.ts | 28 ++++++++++ .../src/tooling_log/tooling_log.ts | 37 +++++++++++-- packages/kbn-pm/dist/index.js | 40 ++++++++++++-- .../src/functional_test_runner/cli.ts | 2 +- .../kbn-test/src/functional_tests/tasks.ts | 54 +++++++++---------- 5 files changed, 121 insertions(+), 40 deletions(-) diff --git a/packages/kbn-dev-utils/src/tooling_log/tooling_log.test.ts b/packages/kbn-dev-utils/src/tooling_log/tooling_log.test.ts index 2a1099587d0c4..ec63a9fb7e6f2 100644 --- a/packages/kbn-dev-utils/src/tooling_log/tooling_log.test.ts +++ b/packages/kbn-dev-utils/src/tooling_log/tooling_log.test.ts @@ -12,6 +12,10 @@ import { toArray, takeUntil } from 'rxjs/operators'; import { ToolingLog } from './tooling_log'; import { Writer } from './writer'; import { ToolingLogTextWriter } from './tooling_log_text_writer'; +import { ToolingLogCollectingWriter } from './tooling_log_collecting_writer'; +import { createStripAnsiSerializer } from '../serializers/strip_ansi_serializer'; + +expect.addSnapshotSerializer(createStripAnsiSerializer()); it('creates zero writers without a config', () => { const log = new ToolingLog(); @@ -67,6 +71,30 @@ describe('#indent()', () => { expect(write.mock.calls).toMatchSnapshot(); }); + + it('resets the indentation after block executes and promise resolves', async () => { + const log = new ToolingLog(); + const writer = new ToolingLogCollectingWriter(); + log.setWriters([writer]); + + log.info('base'); + await log.indent(2, async () => { + log.indent(2); + log.info('hello'); + log.indent(2); + log.info('world'); + }); + log.info('back to base'); + + expect(writer.messages).toMatchInlineSnapshot(` + Array [ + " info base", + " │ info hello", + " │ info world", + " info back to base", + ] + `); + }); }); (['verbose', 'debug', 'info', 'success', 'warning', 'error', 'write'] as const).forEach( diff --git a/packages/kbn-dev-utils/src/tooling_log/tooling_log.ts b/packages/kbn-dev-utils/src/tooling_log/tooling_log.ts index d60bf9bcb1d70..e9fd15afefe4e 100644 --- a/packages/kbn-dev-utils/src/tooling_log/tooling_log.ts +++ b/packages/kbn-dev-utils/src/tooling_log/tooling_log.ts @@ -13,7 +13,7 @@ import { Writer } from './writer'; import { Message, MessageTypes } from './message'; export class ToolingLog { - private identWidth = 0; + private indentWidth = 0; private writers: Writer[]; private readonly written$: Rx.Subject; @@ -22,9 +22,36 @@ export class ToolingLog { this.written$ = new Rx.Subject(); } - public indent(delta = 0) { - this.identWidth = Math.max(this.identWidth + delta, 0); - return this.identWidth; + /** + * Get the current indentation level of the ToolingLog + */ + public getIndent() { + return this.indentWidth; + } + + /** + * Indent the output of the ToolingLog by some character (4 is a good choice usually). + * + * If provided, the `block` function will be executed and once it's promise is resolved + * or rejected the indentation will be reset to its original state. + * + * @param delta the number of spaces to increase/decrease the indentation + * @param block a function to run and reset any indentation changes after + */ + public indent(delta = 0, block?: () => Promise) { + const originalWidth = this.indentWidth; + this.indentWidth = Math.max(this.indentWidth + delta, 0); + if (!block) { + return; + } + + return (async () => { + try { + return await block(); + } finally { + this.indentWidth = originalWidth; + } + })(); } public verbose(...args: any[]) { @@ -70,7 +97,7 @@ export class ToolingLog { private sendToWriters(type: MessageTypes, args: any[]) { const msg = { type, - indent: this.identWidth, + indent: this.indentWidth, args, }; diff --git a/packages/kbn-pm/dist/index.js b/packages/kbn-pm/dist/index.js index f395636379141..a231fe21ea838 100644 --- a/packages/kbn-pm/dist/index.js +++ b/packages/kbn-pm/dist/index.js @@ -626,16 +626,46 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && */ class ToolingLog { constructor(writerConfig) { - (0, _defineProperty2.default)(this, "identWidth", 0); + (0, _defineProperty2.default)(this, "indentWidth", 0); (0, _defineProperty2.default)(this, "writers", void 0); (0, _defineProperty2.default)(this, "written$", void 0); this.writers = writerConfig ? [new _tooling_log_text_writer.ToolingLogTextWriter(writerConfig)] : []; this.written$ = new Rx.Subject(); } + /** + * Get the current indentation level of the ToolingLog + */ + + + getIndent() { + return this.indentWidth; + } + /** + * Indent the output of the ToolingLog by some character (4 is a good choice usually). + * + * If provided, the `block` function will be executed and once it's promise is resolved + * or rejected the indentation will be reset to its original state. + * + * @param delta the number of spaces to increase/decrease the indentation + * @param block a function to run and reset any indentation changes after + */ - indent(delta = 0) { - this.identWidth = Math.max(this.identWidth + delta, 0); - return this.identWidth; + + indent(delta = 0, block) { + const originalWidth = this.indentWidth; + this.indentWidth = Math.max(this.indentWidth + delta, 0); + + if (!block) { + return; + } + + return (async () => { + try { + return await block(); + } finally { + this.indentWidth = originalWidth; + } + })(); } verbose(...args) { @@ -681,7 +711,7 @@ class ToolingLog { sendToWriters(type, args) { const msg = { type, - indent: this.identWidth, + indent: this.indentWidth, args }; let written = false; diff --git a/packages/kbn-test/src/functional_test_runner/cli.ts b/packages/kbn-test/src/functional_test_runner/cli.ts index 4fe0ee9e71f53..48e23aa4e6eb1 100644 --- a/packages/kbn-test/src/functional_test_runner/cli.ts +++ b/packages/kbn-test/src/functional_test_runner/cli.ts @@ -71,7 +71,7 @@ export function runFtrCli() { err: err.message, ...flags, }); - log.indent(-log.indent()); + log.indent(-log.getIndent()); log.error(err); process.exitCode = 1; } else { diff --git a/packages/kbn-test/src/functional_tests/tasks.ts b/packages/kbn-test/src/functional_tests/tasks.ts index 3bc697c143f40..c8265c032cbcc 100644 --- a/packages/kbn-test/src/functional_tests/tasks.ts +++ b/packages/kbn-test/src/functional_tests/tasks.ts @@ -78,12 +78,9 @@ export async function runTests(options: RunTestsParams) { log.write('--- asserting that all tests belong to a ciGroup'); for (const configPath of options.configs) { log.info('loading', configPath); - log.indent(4); - try { + await log.indent(4, async () => { await assertNoneExcluded({ configPath, options: { ...options, log } }); - } finally { - log.indent(-4); - } + }); continue; } @@ -94,42 +91,41 @@ export async function runTests(options: RunTestsParams) { const configPathsWithTests: string[] = []; for (const configPath of options.configs) { log.info('testing', configPath); - log.indent(4); - try { + await log.indent(4, async () => { if (await hasTests({ configPath, options: { ...options, log } })) { configPathsWithTests.push(configPath); } - } finally { - log.indent(-4); - } + }); } for (const configPath of configPathsWithTests) { - log.write(`--- Running ${relative(REPO_ROOT, configPath)}`); + await log.indent(0, async () => { + log.write(`--- Running ${relative(REPO_ROOT, configPath)}`); - await withProcRunner(log, async (procs) => { - const config = await readConfigFile(log, configPath); + await withProcRunner(log, async (procs) => { + const config = await readConfigFile(log, configPath); - let es; - try { - es = await runElasticsearch({ config, options: { ...options, log } }); - await runKibanaServer({ procs, config, options }); - await runFtr({ configPath, options: { ...options, log } }); - } finally { + let es; try { - const delay = config.get('kbnTestServer.delayShutdown'); - if (typeof delay === 'number') { - log.info('Delaying shutdown of Kibana for', delay, 'ms'); - await new Promise((r) => setTimeout(r, delay)); - } - - await procs.stop('kibana'); + es = await runElasticsearch({ config, options: { ...options, log } }); + await runKibanaServer({ procs, config, options }); + await runFtr({ configPath, options: { ...options, log } }); } finally { - if (es) { - await es.cleanup(); + try { + const delay = config.get('kbnTestServer.delayShutdown'); + if (typeof delay === 'number') { + log.info('Delaying shutdown of Kibana for', delay, 'ms'); + await new Promise((r) => setTimeout(r, delay)); + } + + await procs.stop('kibana'); + } finally { + if (es) { + await es.cleanup(); + } } } - } + }); }); } } From 6899207802e13786f8c88236d9add0a2ffa717f9 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 11 Oct 2021 22:40:56 -0400 Subject: [PATCH 041/107] [Enterprise Search] Warn about Kibana access when adding single user role mappings (#114567) (#114582) * Warn about Kibana access when adding single user role mappings to Enterprise Search * i18n and sentence case for the Kibana access warning title Co-authored-by: James Rucker --- .../components/role_mappings/user.tsx | 1 + .../shared/role_mapping/constants.ts | 22 ++++++ .../role_mapping/user_added_info.test.tsx | 67 +++++++++++++++++++ .../shared/role_mapping/user_added_info.tsx | 29 +++++++- .../public/applications/shared/types.ts | 1 + .../views/role_mappings/user.tsx | 1 + 6 files changed, 118 insertions(+), 3 deletions(-) diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/user.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/user.tsx index 57f08c22220f7..9e041dd83a293 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/user.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/user.tsx @@ -69,6 +69,7 @@ export const User: React.FC = () => { username={singleUserRoleMapping.elasticsearchUser.username} email={singleUserRoleMapping.elasticsearchUser.email as string} roleType={singleUserRoleMapping.roleMapping.roleType} + showKibanaAccessWarning={!singleUserRoleMapping.hasEnterpriseSearchRole} /> ); diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/constants.ts b/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/constants.ts index 25a1e084a3a60..d2229b428932f 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/constants.ts +++ b/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/constants.ts @@ -448,3 +448,25 @@ export const SMTP_CALLOUT_LABEL = i18n.translate( export const SMTP_LINK_LABEL = i18n.translate('xpack.enterpriseSearch.roleMapping.smtpLinkLabel', { defaultMessage: 'SMTP configuration is provided', }); + +export const KIBANA_ACCESS_WARNING_TITLE = i18n.translate( + 'xpack.enterpriseSearch.roleMapping.kibanaAccessWarningTitle', + { + defaultMessage: 'Kibana access warning', + } +); + +export const KIBANA_ACCESS_WARNING_ERROR_MESSAGE = i18n.translate( + 'xpack.enterpriseSearch.roleMapping.kibanaAccessWarningErrorMessage', + { + defaultMessage: + 'This Elasticsearch user does not have an Enterprise Search role in Elasticsearch. They may not have access to Kibana.', + } +); + +export const KIBANA_ACCESS_WARNING_DESCRIPTION = i18n.translate( + 'xpack.enterpriseSearch.roleMapping.kibanaAccessWarningDescription', + { + defaultMessage: 'Consider giving them the "enterprise-search-user" role.', + } +); diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/user_added_info.test.tsx b/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/user_added_info.test.tsx index 57200b389591d..05ccafbe3e38f 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/user_added_info.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/user_added_info.test.tsx @@ -16,6 +16,7 @@ describe('UserAddedInfo', () => { username: 'user1', email: 'test@test.com', roleType: 'user', + showKibanaAccessWarning: false, }; it('renders with email', () => { @@ -117,4 +118,70 @@ describe('UserAddedInfo', () => { `); }); + + it('renders with the Kibana access warning', () => { + const wrapper = shallow(); + + expect(wrapper).toMatchInlineSnapshot(` + + + + This Elasticsearch user does not have an Enterprise Search role in Elasticsearch. They may not have access to Kibana. + + + + Consider giving them the "enterprise-search-user" role. + + + + + + Username + + + + user1 + + + + + Email + + + + test@test.com + + + + + Role + + + + user + + + + `); + }); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/user_added_info.tsx b/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/user_added_info.tsx index 37804414a94a9..71fb3d76295f0 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/user_added_info.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/user_added_info.tsx @@ -7,22 +7,45 @@ import React from 'react'; -import { EuiSpacer, EuiText, EuiTextColor } from '@elastic/eui'; +import { EuiCallOut, EuiSpacer, EuiText, EuiTextColor } from '@elastic/eui'; import { USERNAME_LABEL, EMAIL_LABEL } from '../constants'; -import { ROLE_LABEL } from './constants'; +import { + KIBANA_ACCESS_WARNING_TITLE, + KIBANA_ACCESS_WARNING_DESCRIPTION, + KIBANA_ACCESS_WARNING_ERROR_MESSAGE, + ROLE_LABEL, +} from './constants'; interface Props { username: string; email: string; roleType: string; + showKibanaAccessWarning: boolean; } +const kibanaAccessWarning = ( + <> + + {KIBANA_ACCESS_WARNING_ERROR_MESSAGE} + + {KIBANA_ACCESS_WARNING_DESCRIPTION} + + + +); + const noItemsPlaceholder = ; -export const UserAddedInfo: React.FC = ({ username, email, roleType }) => ( +export const UserAddedInfo: React.FC = ({ + username, + email, + roleType, + showKibanaAccessWarning, +}) => ( <> + {showKibanaAccessWarning && kibanaAccessWarning} {USERNAME_LABEL} diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/types.ts b/x-pack/plugins/enterprise_search/public/applications/shared/types.ts index 4743e808cc6ea..51a83cb15cca5 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/types.ts +++ b/x-pack/plugins/enterprise_search/public/applications/shared/types.ts @@ -55,4 +55,5 @@ export interface SingleUserRoleMapping { invitation: Invitation | null; elasticsearchUser: ElasticsearchUser; roleMapping: T; + hasEnterpriseSearchRole?: boolean; } diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/user.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/user.tsx index 33785b4a4ce0e..e6244a0c7b2e0 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/user.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/user.tsx @@ -66,6 +66,7 @@ export const User: React.FC = () => { username={singleUserRoleMapping.elasticsearchUser.username} email={singleUserRoleMapping.elasticsearchUser.email as string} roleType={singleUserRoleMapping.roleMapping.roleType} + showKibanaAccessWarning={!singleUserRoleMapping.hasEnterpriseSearchRole} /> ); From 762bc1d19e5fc9c35c125dbc6450d46b938712bd Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 11 Oct 2021 23:40:23 -0400 Subject: [PATCH 042/107] [Alerting] Showing last execution duration on Rule Management view (#113935) (#114584) * Adding last duration to execution status and returning in alerting routes * Fixing types * Adding helper function to format duration * Returning rule timeout value in list rules API * Updating rules table to add duration column and tweaks to match mockup * Updating rules table to add duration column and tweaks to match mockup * i18n fix * Only showing duration warning if duration is long * Unit tests * i18n fix * Fixing functional test * Aligning warning icon * Reset last duration when rule is disabled then reenabled * Fixing functional test * Fixing functional test * Restoring muted badge. Fixing scss * Dont show muted badge if rule is disabled * Moving disabled icontip to right of rule name * Updating tooltips * Updating last run Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: ymao1 --- x-pack/plugins/alerting/common/alert.ts | 1 + x-pack/plugins/alerting/common/alert_type.ts | 1 + .../alerting/common/parse_duration.test.ts | 39 ++- .../plugins/alerting/common/parse_duration.ts | 16 + .../server/lib/alert_execution_status.test.ts | 49 +++ .../server/lib/alert_execution_status.ts | 20 +- .../alerting/server/routes/create_rule.ts | 3 +- .../alerting/server/routes/find_rules.ts | 3 +- .../alerting/server/routes/get_rule.ts | 3 +- .../alerting/server/routes/resolve_rule.ts | 3 +- .../alerting/server/routes/rule_types.test.ts | 3 + .../alerting/server/routes/rule_types.ts | 2 + .../alerting/server/routes/update_rule.ts | 1 + .../server/rule_type_registry.test.ts | 2 + .../alerting/server/rule_type_registry.ts | 3 + .../server/rules_client/rules_client.ts | 1 + .../server/rules_client/tests/enable.test.ts | 2 + .../server/saved_objects/mappings.json | 3 + .../server/task_runner/task_runner.test.ts | 2 + .../server/task_runner/task_runner.ts | 5 + x-pack/plugins/alerting/server/types.ts | 1 + .../translations/translations/ja-JP.json | 12 +- .../translations/translations/zh-CN.json | 14 +- .../lib/alert_api/common_transformations.ts | 2 + .../application/lib/alert_api/rule_types.ts | 2 + .../components/alert_status_filter.tsx | 4 +- .../alerts_list/components/alerts_list.scss | 11 + .../components/alerts_list.test.tsx | 57 +++- .../alerts_list/components/alerts_list.tsx | 311 ++++++++++++------ .../collapsed_item_actions.test.tsx | 2 +- .../components/rule_enabled_switch.test.tsx | 4 +- .../triggers_actions_ui/public/types.ts | 3 +- .../tests/alerting/rule_types.ts | 2 + .../spaces_only/tests/alerting/rule_types.ts | 2 + .../apps/triggers_actions_ui/alerts_list.ts | 130 +++----- .../page_objects/triggers_actions_ui_page.ts | 12 +- 36 files changed, 512 insertions(+), 219 deletions(-) diff --git a/x-pack/plugins/alerting/common/alert.ts b/x-pack/plugins/alerting/common/alert.ts index 1274e7b95b114..bf0c8e382c9d4 100644 --- a/x-pack/plugins/alerting/common/alert.ts +++ b/x-pack/plugins/alerting/common/alert.ts @@ -35,6 +35,7 @@ export enum AlertExecutionStatusErrorReasons { export interface AlertExecutionStatus { status: AlertExecutionStatuses; lastExecutionDate: Date; + lastDuration?: number; error?: { reason: AlertExecutionStatusErrorReasons; message: string; diff --git a/x-pack/plugins/alerting/common/alert_type.ts b/x-pack/plugins/alerting/common/alert_type.ts index d71540b4418e8..1b0ac28c9fa74 100644 --- a/x-pack/plugins/alerting/common/alert_type.ts +++ b/x-pack/plugins/alerting/common/alert_type.ts @@ -21,6 +21,7 @@ export interface AlertType< producer: string; minimumLicenseRequired: LicenseType; isExportable: boolean; + ruleTaskTimeout?: string; defaultScheduleInterval?: string; minimumScheduleInterval?: string; } diff --git a/x-pack/plugins/alerting/common/parse_duration.test.ts b/x-pack/plugins/alerting/common/parse_duration.test.ts index 9fbb662e21147..e68a3f479f228 100644 --- a/x-pack/plugins/alerting/common/parse_duration.test.ts +++ b/x-pack/plugins/alerting/common/parse_duration.test.ts @@ -5,7 +5,12 @@ * 2.0. */ -import { parseDuration, getDurationNumberInItsUnit, getDurationUnitValue } from './parse_duration'; +import { + parseDuration, + formatDuration, + getDurationNumberInItsUnit, + getDurationUnitValue, +} from './parse_duration'; test('parses seconds', () => { const result = parseDuration('10s'); @@ -39,6 +44,38 @@ test('throws error when suffix is missing', () => { ); }); +test('formats seconds', () => { + const result = formatDuration('10s'); + expect(result).toEqual('10 sec'); +}); + +test('formats minutes', () => { + const result = formatDuration('10m'); + expect(result).toEqual('10 min'); +}); + +test('formats hours', () => { + const result = formatDuration('10h'); + expect(result).toEqual('10 hr'); +}); + +test('formats days', () => { + const result = formatDuration('10d'); + expect(result).toEqual('10 day'); +}); + +test('format throws error when the format is invalid', () => { + expect(() => formatDuration('10x')).toThrowErrorMatchingInlineSnapshot( + `"Invalid duration \\"10x\\". Durations must be of the form {number}x. Example: 5s, 5m, 5h or 5d\\""` + ); +}); + +test('format throws error when suffix is missing', () => { + expect(() => formatDuration('1000')).toThrowErrorMatchingInlineSnapshot( + `"Invalid duration \\"1000\\". Durations must be of the form {number}x. Example: 5s, 5m, 5h or 5d\\""` + ); +}); + test('throws error when 0 based', () => { expect(() => parseDuration('0s')).toThrowErrorMatchingInlineSnapshot( `"Invalid duration \\"0s\\". Durations must be of the form {number}x. Example: 5s, 5m, 5h or 5d\\""` diff --git a/x-pack/plugins/alerting/common/parse_duration.ts b/x-pack/plugins/alerting/common/parse_duration.ts index 3494a48fc8ab9..af4f1d2c14099 100644 --- a/x-pack/plugins/alerting/common/parse_duration.ts +++ b/x-pack/plugins/alerting/common/parse_duration.ts @@ -27,6 +27,22 @@ export function parseDuration(duration: string): number { ); } +export function formatDuration(duration: string): string { + const parsed = parseInt(duration, 10); + if (isSeconds(duration)) { + return `${parsed} sec`; + } else if (isMinutes(duration)) { + return `${parsed} min`; + } else if (isHours(duration)) { + return `${parsed} hr`; + } else if (isDays(duration)) { + return `${parsed} day`; + } + throw new Error( + `Invalid duration "${duration}". Durations must be of the form {number}x. Example: 5s, 5m, 5h or 5d"` + ); +} + export function getDurationNumberInItsUnit(duration: string): number { return parseInt(duration.replace(/[^0-9.]/g, ''), 10); } diff --git a/x-pack/plugins/alerting/server/lib/alert_execution_status.test.ts b/x-pack/plugins/alerting/server/lib/alert_execution_status.test.ts index 0a8d5632f169f..93cf0c656c692 100644 --- a/x-pack/plugins/alerting/server/lib/alert_execution_status.test.ts +++ b/x-pack/plugins/alerting/server/lib/alert_execution_status.test.ts @@ -81,6 +81,7 @@ describe('AlertExecutionStatus', () => { expect(alertExecutionStatusToRaw({ lastExecutionDate: date, status })).toMatchInlineSnapshot(` Object { "error": null, + "lastDuration": 0, "lastExecutionDate": "2020-09-03T16:26:58.000Z", "status": "ok", } @@ -95,11 +96,24 @@ describe('AlertExecutionStatus', () => { "message": "wops", "reason": "decrypt", }, + "lastDuration": 0, "lastExecutionDate": "2020-09-03T16:26:58.000Z", "status": "ok", } `); }); + + test('status with a duration', () => { + expect(alertExecutionStatusToRaw({ lastExecutionDate: date, status, lastDuration: 1234 })) + .toMatchInlineSnapshot(` + Object { + "error": null, + "lastDuration": 1234, + "lastExecutionDate": "2020-09-03T16:26:58.000Z", + "status": "ok", + } + `); + }); }); describe('alertExecutionStatusFromRaw()', () => { @@ -177,6 +191,41 @@ describe('AlertExecutionStatus', () => { } `); }); + + test('valid status, date and duration', () => { + const result = alertExecutionStatusFromRaw(MockLogger, 'alert-id', { + status, + lastExecutionDate: date, + lastDuration: 1234, + }); + expect(result).toMatchInlineSnapshot(` + Object { + "lastDuration": 1234, + "lastExecutionDate": 2020-09-03T16:26:58.000Z, + "status": "active", + } + `); + }); + + test('valid status, date, error and duration', () => { + const result = alertExecutionStatusFromRaw(MockLogger, 'alert-id', { + status, + lastExecutionDate: date, + error, + lastDuration: 1234, + }); + expect(result).toMatchInlineSnapshot(` + Object { + "error": Object { + "message": "wops", + "reason": "execute", + }, + "lastDuration": 1234, + "lastExecutionDate": 2020-09-03T16:26:58.000Z, + "status": "active", + } + `); + }); }); }); diff --git a/x-pack/plugins/alerting/server/lib/alert_execution_status.ts b/x-pack/plugins/alerting/server/lib/alert_execution_status.ts index 47dfc659307a2..82d8514331704 100644 --- a/x-pack/plugins/alerting/server/lib/alert_execution_status.ts +++ b/x-pack/plugins/alerting/server/lib/alert_execution_status.ts @@ -32,11 +32,13 @@ export function executionStatusFromError(error: Error): AlertExecutionStatus { export function alertExecutionStatusToRaw({ lastExecutionDate, + lastDuration, status, error, }: AlertExecutionStatus): RawAlertExecutionStatus { return { lastExecutionDate: lastExecutionDate.toISOString(), + lastDuration: lastDuration ?? 0, status, // explicitly setting to null (in case undefined) due to partial update concerns error: error ?? null, @@ -50,7 +52,7 @@ export function alertExecutionStatusFromRaw( ): AlertExecutionStatus | undefined { if (!rawAlertExecutionStatus) return undefined; - const { lastExecutionDate, status = 'unknown', error } = rawAlertExecutionStatus; + const { lastExecutionDate, lastDuration, status = 'unknown', error } = rawAlertExecutionStatus; let parsedDateMillis = lastExecutionDate ? Date.parse(lastExecutionDate) : Date.now(); if (isNaN(parsedDateMillis)) { @@ -60,12 +62,20 @@ export function alertExecutionStatusFromRaw( parsedDateMillis = Date.now(); } - const parsedDate = new Date(parsedDateMillis); + const executionStatus: AlertExecutionStatus = { + status, + lastExecutionDate: new Date(parsedDateMillis), + }; + + if (null != lastDuration) { + executionStatus.lastDuration = lastDuration; + } + if (error) { - return { lastExecutionDate: parsedDate, status, error }; - } else { - return { lastExecutionDate: parsedDate, status }; + executionStatus.error = error; } + + return executionStatus; } export const getAlertExecutionStatusPending = (lastExecutionDate: string) => ({ diff --git a/x-pack/plugins/alerting/server/routes/create_rule.ts b/x-pack/plugins/alerting/server/routes/create_rule.ts index 1042dcd6d7336..26dbb7e96f57f 100644 --- a/x-pack/plugins/alerting/server/routes/create_rule.ts +++ b/x-pack/plugins/alerting/server/routes/create_rule.ts @@ -67,7 +67,7 @@ const rewriteBodyRes: RewriteResponseCase> = ({ notifyWhen, muteAll, mutedInstanceIds, - executionStatus: { lastExecutionDate, ...executionStatus }, + executionStatus: { lastExecutionDate, lastDuration, ...executionStatus }, ...rest }) => ({ ...rest, @@ -84,6 +84,7 @@ const rewriteBodyRes: RewriteResponseCase> = ({ execution_status: { ...executionStatus, last_execution_date: lastExecutionDate, + last_duration: lastDuration, }, actions: actions.map(({ group, id, actionTypeId, params }) => ({ group, diff --git a/x-pack/plugins/alerting/server/routes/find_rules.ts b/x-pack/plugins/alerting/server/routes/find_rules.ts index a4a066728555d..7826e924acdc5 100644 --- a/x-pack/plugins/alerting/server/routes/find_rules.ts +++ b/x-pack/plugins/alerting/server/routes/find_rules.ts @@ -93,8 +93,9 @@ const rewriteBodyRes: RewriteResponseCase> = ({ muted_alert_ids: mutedInstanceIds, scheduled_task_id: scheduledTaskId, execution_status: executionStatus && { - ...omit(executionStatus, 'lastExecutionDate'), + ...omit(executionStatus, 'lastExecutionDate', 'lastDuration'), last_execution_date: executionStatus.lastExecutionDate, + last_duration: executionStatus.lastDuration, }, actions: actions.map(({ group, id, actionTypeId, params }) => ({ group, diff --git a/x-pack/plugins/alerting/server/routes/get_rule.ts b/x-pack/plugins/alerting/server/routes/get_rule.ts index c860ae725a253..4da9410517fe1 100644 --- a/x-pack/plugins/alerting/server/routes/get_rule.ts +++ b/x-pack/plugins/alerting/server/routes/get_rule.ts @@ -48,8 +48,9 @@ const rewriteBodyRes: RewriteResponseCase> = ({ muted_alert_ids: mutedInstanceIds, scheduled_task_id: scheduledTaskId, execution_status: executionStatus && { - ...omit(executionStatus, 'lastExecutionDate'), + ...omit(executionStatus, 'lastExecutionDate', 'lastDuration'), last_execution_date: executionStatus.lastExecutionDate, + last_duration: executionStatus.lastDuration, }, actions: actions.map(({ group, id, actionTypeId, params }) => ({ group, diff --git a/x-pack/plugins/alerting/server/routes/resolve_rule.ts b/x-pack/plugins/alerting/server/routes/resolve_rule.ts index 011d28780e718..a31cf5059b99f 100644 --- a/x-pack/plugins/alerting/server/routes/resolve_rule.ts +++ b/x-pack/plugins/alerting/server/routes/resolve_rule.ts @@ -48,8 +48,9 @@ const rewriteBodyRes: RewriteResponseCase muted_alert_ids: mutedInstanceIds, scheduled_task_id: scheduledTaskId, execution_status: executionStatus && { - ...omit(executionStatus, 'lastExecutionDate'), + ...omit(executionStatus, 'lastExecutionDate', 'lastDuration'), last_execution_date: executionStatus.lastExecutionDate, + last_duration: executionStatus.lastDuration, }, actions: actions.map(({ group, id, actionTypeId, params }) => ({ group, diff --git a/x-pack/plugins/alerting/server/routes/rule_types.test.ts b/x-pack/plugins/alerting/server/routes/rule_types.test.ts index e4247c9de6cad..7deb2704fb7ec 100644 --- a/x-pack/plugins/alerting/server/routes/rule_types.test.ts +++ b/x-pack/plugins/alerting/server/routes/rule_types.test.ts @@ -49,6 +49,7 @@ describe('ruleTypesRoute', () => { defaultActionGroupId: 'default', minimumLicenseRequired: 'basic', isExportable: true, + ruleTaskTimeout: '10m', recoveryActionGroup: RecoveredActionGroup, authorizedConsumers: {}, actionVariables: { @@ -76,6 +77,7 @@ describe('ruleTypesRoute', () => { minimum_license_required: 'basic', minimum_schedule_interval: '1m', is_exportable: true, + rule_task_timeout: '10m', recovery_action_group: RecoveredActionGroup, authorized_consumers: {}, action_variables: { @@ -118,6 +120,7 @@ describe('ruleTypesRoute', () => { "id": "recovered", "name": "Recovered", }, + "rule_task_timeout": "10m", }, ], } diff --git a/x-pack/plugins/alerting/server/routes/rule_types.ts b/x-pack/plugins/alerting/server/routes/rule_types.ts index 72502b25e9aff..d1f24538d76d8 100644 --- a/x-pack/plugins/alerting/server/routes/rule_types.ts +++ b/x-pack/plugins/alerting/server/routes/rule_types.ts @@ -20,6 +20,7 @@ const rewriteBodyRes: RewriteResponseCase = (result defaultActionGroupId, minimumLicenseRequired, isExportable, + ruleTaskTimeout, actionVariables, authorizedConsumers, minimumScheduleInterval, @@ -33,6 +34,7 @@ const rewriteBodyRes: RewriteResponseCase = (result default_action_group_id: defaultActionGroupId, minimum_license_required: minimumLicenseRequired, is_exportable: isExportable, + rule_task_timeout: ruleTaskTimeout, action_variables: actionVariables, authorized_consumers: authorizedConsumers, minimum_schedule_interval: minimumScheduleInterval, diff --git a/x-pack/plugins/alerting/server/routes/update_rule.ts b/x-pack/plugins/alerting/server/routes/update_rule.ts index 6e8024a0ddbf5..007d24bb8251b 100644 --- a/x-pack/plugins/alerting/server/routes/update_rule.ts +++ b/x-pack/plugins/alerting/server/routes/update_rule.ts @@ -88,6 +88,7 @@ const rewriteBodyRes: RewriteResponseCase> = ({ execution_status: { status: executionStatus.status, last_execution_date: executionStatus.lastExecutionDate, + last_duration: executionStatus.lastDuration, }, } : {}), diff --git a/x-pack/plugins/alerting/server/rule_type_registry.test.ts b/x-pack/plugins/alerting/server/rule_type_registry.test.ts index beb5f264eb725..895a5047339ef 100644 --- a/x-pack/plugins/alerting/server/rule_type_registry.test.ts +++ b/x-pack/plugins/alerting/server/rule_type_registry.test.ts @@ -494,6 +494,7 @@ describe('list()', () => { ], defaultActionGroupId: 'testActionGroup', isExportable: true, + ruleTaskTimeout: '20m', minimumLicenseRequired: 'basic', executor: jest.fn(), producer: 'alerts', @@ -530,6 +531,7 @@ describe('list()', () => { "id": "recovered", "name": "Recovered", }, + "ruleTaskTimeout": "20m", }, } `); diff --git a/x-pack/plugins/alerting/server/rule_type_registry.ts b/x-pack/plugins/alerting/server/rule_type_registry.ts index db02edf4d19dd..452729a9a01e9 100644 --- a/x-pack/plugins/alerting/server/rule_type_registry.ts +++ b/x-pack/plugins/alerting/server/rule_type_registry.ts @@ -48,6 +48,7 @@ export interface RegistryRuleType | 'producer' | 'minimumLicenseRequired' | 'isExportable' + | 'ruleTaskTimeout' | 'minimumScheduleInterval' | 'defaultScheduleInterval' > { @@ -327,6 +328,7 @@ export class RuleTypeRegistry { producer, minimumLicenseRequired, isExportable, + ruleTaskTimeout, minimumScheduleInterval, defaultScheduleInterval, }, @@ -340,6 +342,7 @@ export class RuleTypeRegistry { producer, minimumLicenseRequired, isExportable, + ruleTaskTimeout, minimumScheduleInterval, defaultScheduleInterval, enabledInLicense: !!this.licenseState.getLicenseCheckForAlertType( diff --git a/x-pack/plugins/alerting/server/rules_client/rules_client.ts b/x-pack/plugins/alerting/server/rules_client/rules_client.ts index bc2c92ec4eda7..79c2a28c9419e 100644 --- a/x-pack/plugins/alerting/server/rules_client/rules_client.ts +++ b/x-pack/plugins/alerting/server/rules_client/rules_client.ts @@ -1113,6 +1113,7 @@ export class RulesClient { updatedAt: new Date().toISOString(), executionStatus: { status: 'pending', + lastDuration: 0, lastExecutionDate: new Date().toISOString(), error: null, }, diff --git a/x-pack/plugins/alerting/server/rules_client/tests/enable.test.ts b/x-pack/plugins/alerting/server/rules_client/tests/enable.test.ts index 7b8fbff4fca5a..5e3f148c2fc11 100644 --- a/x-pack/plugins/alerting/server/rules_client/tests/enable.test.ts +++ b/x-pack/plugins/alerting/server/rules_client/tests/enable.test.ts @@ -260,6 +260,7 @@ describe('enable()', () => { ], executionStatus: { status: 'pending', + lastDuration: 0, lastExecutionDate: '2019-02-12T21:01:22.479Z', error: null, }, @@ -369,6 +370,7 @@ describe('enable()', () => { ], executionStatus: { status: 'pending', + lastDuration: 0, lastExecutionDate: '2019-02-12T21:01:22.479Z', error: null, }, diff --git a/x-pack/plugins/alerting/server/saved_objects/mappings.json b/x-pack/plugins/alerting/server/saved_objects/mappings.json index 21d7a05f2a76d..05e221a47499c 100644 --- a/x-pack/plugins/alerting/server/saved_objects/mappings.json +++ b/x-pack/plugins/alerting/server/saved_objects/mappings.json @@ -101,6 +101,9 @@ "lastExecutionDate": { "type": "date" }, + "lastDuration": { + "type": "long" + }, "error": { "properties": { "reason": { diff --git a/x-pack/plugins/alerting/server/task_runner/task_runner.test.ts b/x-pack/plugins/alerting/server/task_runner/task_runner.test.ts index bc477136ec111..c5ccc909eff46 100644 --- a/x-pack/plugins/alerting/server/task_runner/task_runner.test.ts +++ b/x-pack/plugins/alerting/server/task_runner/task_runner.test.ts @@ -338,6 +338,7 @@ describe('Task Runner', () => { { executionStatus: { error: null, + lastDuration: 0, lastExecutionDate: '1970-01-01T00:00:00.000Z', status: 'ok', }, @@ -4394,6 +4395,7 @@ describe('Task Runner', () => { { executionStatus: { error: null, + lastDuration: 0, lastExecutionDate: '1970-01-01T00:00:00.000Z', status: 'ok', }, diff --git a/x-pack/plugins/alerting/server/task_runner/task_runner.ts b/x-pack/plugins/alerting/server/task_runner/task_runner.ts index 28cc0f2dba4d0..edf9bfe1b4846 100644 --- a/x-pack/plugins/alerting/server/task_runner/task_runner.ts +++ b/x-pack/plugins/alerting/server/task_runner/task_runner.ts @@ -585,6 +585,11 @@ export class TaskRunner< event.kibana.alerting = event.kibana.alerting || {}; event.kibana.alerting.status = executionStatus.status; + // Copy duration into execution status if available + if (null != event.event?.duration) { + executionStatus.lastDuration = Math.round(event.event?.duration / Millis2Nanos); + } + // if executionStatus indicates an error, fill in fields in // event from it if (executionStatus.error) { diff --git a/x-pack/plugins/alerting/server/types.ts b/x-pack/plugins/alerting/server/types.ts index 127f91b273a14..5dc5a8131318a 100644 --- a/x-pack/plugins/alerting/server/types.ts +++ b/x-pack/plugins/alerting/server/types.ts @@ -185,6 +185,7 @@ export interface AlertMeta extends SavedObjectAttributes { export interface RawAlertExecutionStatus extends SavedObjectAttributes { status: AlertExecutionStatuses; lastExecutionDate: string; + lastDuration?: number; error: null | { reason: AlertExecutionStatusErrorReasons; message: string; diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json index 139cd9c437721..b8dbf0be96106 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/plugins/translations/translations/ja-JP.json @@ -25502,7 +25502,6 @@ "xpack.triggersActionsUI.sections.alertsList.alertErrorReasonRunning": "ルールの実行中にエラーが発生しました。", "xpack.triggersActionsUI.sections.alertsList.alertErrorReasonUnknown": "不明な理由でエラーが発生しました。", "xpack.triggersActionsUI.sections.alertsList.alertsListTable.columns.actionsTex": "アクション", - "xpack.triggersActionsUI.sections.alertsList.alertsListTable.columns.actionsTitle": "アクション", "xpack.triggersActionsUI.sections.alertsList.alertsListTable.columns.alertTypeTitle": "型", "xpack.triggersActionsUI.sections.alertsList.alertsListTable.columns.deleteAriaLabel": "削除", "xpack.triggersActionsUI.sections.alertsList.alertsListTable.columns.deleteButtonTooltip": "削除", @@ -25513,7 +25512,6 @@ "xpack.triggersActionsUI.sections.alertsList.alertsListTable.columns.nameTitle": "名前", "xpack.triggersActionsUI.sections.alertsList.alertsListTable.columns.scheduleTitle": "次の間隔で実行", "xpack.triggersActionsUI.sections.alertsList.alertsListTable.columns.statusTitle": "ステータス", - "xpack.triggersActionsUI.sections.alertsList.alertsListTable.columns.tagsText": "タグ", "xpack.triggersActionsUI.sections.alertsList.alertStatusActive": "アクティブ", "xpack.triggersActionsUI.sections.alertsList.alertStatusError": "エラー", "xpack.triggersActionsUI.sections.alertsList.alertStatusFilterLabel": "ステータス", @@ -25549,11 +25547,11 @@ "xpack.triggersActionsUI.sections.alertsList.searchPlaceholderTitle": "検索", "xpack.triggersActionsUI.sections.alertsList.singleTitle": "ルール", "xpack.triggersActionsUI.sections.alertsList.totalItemsCountDescription": "{pageSize}/{totalItemCount}件のルールを表示しています。", - "xpack.triggersActionsUI.sections.alertsList.totalStausesActiveDescription": "有効:{totalStausesActive}", - "xpack.triggersActionsUI.sections.alertsList.totalStausesErrorDescription": "エラー:{totalStausesError}", - "xpack.triggersActionsUI.sections.alertsList.totalStausesOkDescription": "Ok:{totalStausesOk}", - "xpack.triggersActionsUI.sections.alertsList.totalStausesPendingDescription": "保留中:{totalStausesPending}", - "xpack.triggersActionsUI.sections.alertsList.totalStausesUnknownDescription": "不明:{totalStausesUnknown}", + "xpack.triggersActionsUI.sections.alertsList.totalStatusesActiveDescription": "有効:{totalStatusesActive}", + "xpack.triggersActionsUI.sections.alertsList.totalStatusesErrorDescription": "エラー:{totalStatusesError}", + "xpack.triggersActionsUI.sections.alertsList.totalStatusesOkDescription": "Ok:{totalStatusesOk}", + "xpack.triggersActionsUI.sections.alertsList.totalStatusesPendingDescription": "保留中:{totalStatusesPending}", + "xpack.triggersActionsUI.sections.alertsList.totalStatusesUnknownDescription": "不明:{totalStatusesUnknown}", "xpack.triggersActionsUI.sections.alertsList.typeFilterLabel": "型", "xpack.triggersActionsUI.sections.alertsList.unableToLoadConnectorTypesMessage": "コネクタータイプを読み込めません", "xpack.triggersActionsUI.sections.alertsList.unableToLoadRulesMessage": "ルールを読み込めません", diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index bf7402dce117f..9231bedcb547c 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -25930,7 +25930,6 @@ "xpack.triggersActionsUI.sections.alertsList.alertErrorReasonRunning": "运行规则时发生错误。", "xpack.triggersActionsUI.sections.alertsList.alertErrorReasonUnknown": "由于未知原因发生错误。", "xpack.triggersActionsUI.sections.alertsList.alertsListTable.columns.actionsTex": "操作", - "xpack.triggersActionsUI.sections.alertsList.alertsListTable.columns.actionsTitle": "操作", "xpack.triggersActionsUI.sections.alertsList.alertsListTable.columns.alertTypeTitle": "类型", "xpack.triggersActionsUI.sections.alertsList.alertsListTable.columns.deleteAriaLabel": "删除", "xpack.triggersActionsUI.sections.alertsList.alertsListTable.columns.deleteButtonTooltip": "删除", @@ -25941,7 +25940,6 @@ "xpack.triggersActionsUI.sections.alertsList.alertsListTable.columns.nameTitle": "名称", "xpack.triggersActionsUI.sections.alertsList.alertsListTable.columns.scheduleTitle": "运行间隔", "xpack.triggersActionsUI.sections.alertsList.alertsListTable.columns.statusTitle": "状态", - "xpack.triggersActionsUI.sections.alertsList.alertsListTable.columns.tagsText": "标签", "xpack.triggersActionsUI.sections.alertsList.alertStatusActive": "活动", "xpack.triggersActionsUI.sections.alertsList.alertStatusError": "错误", "xpack.triggersActionsUI.sections.alertsList.alertStatusFilterLabel": "状态", @@ -25949,7 +25947,7 @@ "xpack.triggersActionsUI.sections.alertsList.alertStatusOk": "确定", "xpack.triggersActionsUI.sections.alertsList.alertStatusPending": "待处理", "xpack.triggersActionsUI.sections.alertsList.alertStatusUnknown": "未知", - "xpack.triggersActionsUI.sections.alertsList.attentionBannerTitle": "{totalStausesError, plural, other {# 个规则}}中有错误。", + "xpack.triggersActionsUI.sections.alertsList.attentionBannerTitle": "{totalStatusesError, plural, other {# 个规则}}中有错误。", "xpack.triggersActionsUI.sections.alertsList.bulkActionPopover.buttonTitle": "管理规则", "xpack.triggersActionsUI.sections.alertsList.bulkActionPopover.deleteAllTitle": "删除", "xpack.triggersActionsUI.sections.alertsList.bulkActionPopover.disableAllTitle": "禁用", @@ -25978,11 +25976,11 @@ "xpack.triggersActionsUI.sections.alertsList.searchPlaceholderTitle": "搜索", "xpack.triggersActionsUI.sections.alertsList.singleTitle": "规则", "xpack.triggersActionsUI.sections.alertsList.totalItemsCountDescription": "正在显示:{pageSize} 个规则(共 {totalItemCount} 个)。", - "xpack.triggersActionsUI.sections.alertsList.totalStausesActiveDescription": "活动:{totalStausesActive}", - "xpack.triggersActionsUI.sections.alertsList.totalStausesErrorDescription": "错误:{totalStausesError}", - "xpack.triggersActionsUI.sections.alertsList.totalStausesOkDescription": "确定:{totalStausesOk}", - "xpack.triggersActionsUI.sections.alertsList.totalStausesPendingDescription": "待处理:{totalStausesPending}", - "xpack.triggersActionsUI.sections.alertsList.totalStausesUnknownDescription": "未知:{totalStausesUnknown}", + "xpack.triggersActionsUI.sections.alertsList.totalStatusesActiveDescription": "活动:{totalStatusesActive}", + "xpack.triggersActionsUI.sections.alertsList.totalStatusesErrorDescription": "错误:{totalStatusesError}", + "xpack.triggersActionsUI.sections.alertsList.totalStatusesOkDescription": "确定:{totalStatusesOk}", + "xpack.triggersActionsUI.sections.alertsList.totalStatusesPendingDescription": "待处理:{totalStatusesPending}", + "xpack.triggersActionsUI.sections.alertsList.totalStatusesUnknownDescription": "未知:{totalStatusesUnknown}", "xpack.triggersActionsUI.sections.alertsList.typeFilterLabel": "类型", "xpack.triggersActionsUI.sections.alertsList.unableToLoadConnectorTypesMessage": "无法加载连接器类型", "xpack.triggersActionsUI.sections.alertsList.unableToLoadRulesMessage": "无法加载规则", diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/alert_api/common_transformations.ts b/x-pack/plugins/triggers_actions_ui/public/application/lib/alert_api/common_transformations.ts index 5049a37c317dd..6369937e59377 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/lib/alert_api/common_transformations.ts +++ b/x-pack/plugins/triggers_actions_ui/public/application/lib/alert_api/common_transformations.ts @@ -22,9 +22,11 @@ const transformAction: RewriteRequestCase = ({ const transformExecutionStatus: RewriteRequestCase = ({ last_execution_date: lastExecutionDate, + last_duration: lastDuration, ...rest }) => ({ lastExecutionDate, + lastDuration, ...rest, }); diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/alert_api/rule_types.ts b/x-pack/plugins/triggers_actions_ui/public/application/lib/alert_api/rule_types.ts index 54369d7959c93..67d317643ec06 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/lib/alert_api/rule_types.ts +++ b/x-pack/plugins/triggers_actions_ui/public/application/lib/alert_api/rule_types.ts @@ -21,6 +21,7 @@ const rewriteBodyReq: RewriteRequestCase = ({ minimum_license_required: minimumLicenseRequired, action_variables: actionVariables, authorized_consumers: authorizedConsumers, + rule_task_timeout: ruleTaskTimeout, ...rest }: AsApiContract) => ({ enabledInLicense, @@ -30,6 +31,7 @@ const rewriteBodyReq: RewriteRequestCase = ({ minimumLicenseRequired, actionVariables, authorizedConsumers, + ruleTaskTimeout, ...rest, }); diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/alert_status_filter.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/alert_status_filter.tsx index aca111df97e34..50295548f9aa4 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/alert_status_filter.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/alert_status_filter.tsx @@ -99,10 +99,10 @@ export function getHealthColor(status: AlertExecutionStatuses) { case 'error': return 'danger'; case 'ok': - return 'subdued'; + return 'primary'; case 'pending': return 'accent'; default: - return 'warning'; + return 'subdued'; } } diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/alerts_list.scss b/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/alerts_list.scss index c0e46b77b4156..138605421f202 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/alerts_list.scss +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/alerts_list.scss @@ -31,3 +31,14 @@ opacity: 1; /* 2 */ } } + +.ruleDurationWarningIcon { + margin-bottom: $euiSizeXS; + margin-left: $euiSizeS; +} + +.ruleDisabledQuestionIcon { + bottom: $euiSizeXS; + margin-left: $euiSizeXS; + position: relative; +} \ No newline at end of file diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/alerts_list.test.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/alerts_list.test.tsx index 958511128de04..53f5e25530e98 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/alerts_list.test.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/alerts_list.test.tsx @@ -17,6 +17,7 @@ import { AlertTypeModel, ValidationResult } from '../../../../types'; import { AlertExecutionStatusErrorReasons, ALERTS_FEATURE_ID, + parseDuration, } from '../../../../../../alerting/common'; import { useKibana } from '../../../../common/lib/kibana'; jest.mock('../../../../common/lib/kibana'); @@ -79,6 +80,7 @@ const alertTypeFromApi = { authorizedConsumers: { [ALERTS_FEATURE_ID]: { read: true, all: true }, }, + ruleTaskTimeout: '1m', }; ruleTypeRegistry.list.mockReturnValue([alertType]); actionTypeRegistry.list.mockReturnValue([]); @@ -170,6 +172,7 @@ describe('alerts_list component with items', () => { mutedInstanceIds: [], executionStatus: { status: 'active', + lastDuration: 500, lastExecutionDate: new Date('2020-08-20T19:23:38Z'), error: null, }, @@ -192,6 +195,7 @@ describe('alerts_list component with items', () => { mutedInstanceIds: [], executionStatus: { status: 'ok', + lastDuration: 61000, lastExecutionDate: new Date('2020-08-20T19:23:38Z'), error: null, }, @@ -214,6 +218,7 @@ describe('alerts_list component with items', () => { mutedInstanceIds: [], executionStatus: { status: 'pending', + lastDuration: 30234, lastExecutionDate: new Date('2020-08-20T19:23:38Z'), error: null, }, @@ -236,6 +241,7 @@ describe('alerts_list component with items', () => { mutedInstanceIds: [], executionStatus: { status: 'error', + lastDuration: 122000, lastExecutionDate: new Date('2020-08-20T19:23:38Z'), error: { reason: AlertExecutionStatusErrorReasons.Unknown, @@ -246,7 +252,7 @@ describe('alerts_list component with items', () => { { id: '5', name: 'test alert license error', - tags: ['tag1'], + tags: [], enabled: true, alertTypeId: 'test_alert_type', schedule: { interval: '5d' }, @@ -261,6 +267,7 @@ describe('alerts_list component with items', () => { mutedInstanceIds: [], executionStatus: { status: 'error', + lastDuration: 500, lastExecutionDate: new Date('2020-08-20T19:23:38Z'), error: { reason: AlertExecutionStatusErrorReasons.License, @@ -324,6 +331,53 @@ describe('alerts_list component with items', () => { await setup(); expect(wrapper.find('EuiBasicTable')).toHaveLength(1); expect(wrapper.find('EuiTableRow')).toHaveLength(mockedAlertsData.length); + + // Enabled switch column + expect( + wrapper.find('EuiTableRowCell[data-test-subj="alertsTableCell-enabled"]').length + ).toEqual(mockedAlertsData.length); + + // Name and rule type column + const ruleNameColumns = wrapper.find('EuiTableRowCell[data-test-subj="alertsTableCell-name"]'); + expect(ruleNameColumns.length).toEqual(mockedAlertsData.length); + mockedAlertsData.forEach((rule, index) => { + expect(ruleNameColumns.at(index).text()).toEqual(`Name${rule.name}${alertTypeFromApi.name}`); + }); + + // Tags column + expect( + wrapper.find('EuiTableRowCell[data-test-subj="alertsTableCell-tagsPopover"]').length + ).toEqual(mockedAlertsData.length); + // only show tags popover if tags exist on rule + const tagsBadges = wrapper.find('EuiBadge[data-test-subj="ruleTagsBadge"]'); + expect(tagsBadges.length).toEqual( + mockedAlertsData.filter((data) => data.tags.length > 0).length + ); + + // Last run column + expect( + wrapper.find('EuiTableRowCell[data-test-subj="alertsTableCell-lastExecutionDate"]').length + ).toEqual(mockedAlertsData.length); + + // Schedule interval column + expect( + wrapper.find('EuiTableRowCell[data-test-subj="alertsTableCell-interval"]').length + ).toEqual(mockedAlertsData.length); + + // Duration column + expect( + wrapper.find('EuiTableRowCell[data-test-subj="alertsTableCell-duration"]').length + ).toEqual(mockedAlertsData.length); + // show warning if duration is long + const durationWarningIcon = wrapper.find('EuiIconTip[data-test-subj="ruleDurationWarning"]'); + expect(durationWarningIcon.length).toEqual( + mockedAlertsData.filter( + (data) => + data.executionStatus.lastDuration > parseDuration(alertTypeFromApi.ruleTaskTimeout) + ).length + ); + + // Status column expect(wrapper.find('EuiTableRowCell[data-test-subj="alertsTableCell-status"]').length).toEqual( mockedAlertsData.length ); @@ -331,7 +385,6 @@ describe('alerts_list component with items', () => { expect(wrapper.find('EuiHealth[data-test-subj="alertStatus-ok"]').length).toEqual(1); expect(wrapper.find('EuiHealth[data-test-subj="alertStatus-pending"]').length).toEqual(1); expect(wrapper.find('EuiHealth[data-test-subj="alertStatus-unknown"]').length).toEqual(0); - expect(wrapper.find('EuiHealth[data-test-subj="alertStatus-error"]').length).toEqual(2); expect(wrapper.find('[data-test-subj="alertStatus-error-tooltip"]').length).toEqual(2); expect( diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/alerts_list.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/alerts_list.tsx index 1daaf3b996126..91b1b14083ed2 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/alerts_list.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/alerts_list.tsx @@ -8,7 +8,8 @@ /* eslint-disable react-hooks/exhaustive-deps */ import { i18n } from '@kbn/i18n'; -import { capitalize, sortBy } from 'lodash'; +import { capitalize, padStart, sortBy } from 'lodash'; +import moment from 'moment'; import { FormattedMessage } from '@kbn/i18n/react'; import React, { useEffect, useState } from 'react'; import { @@ -29,6 +30,10 @@ import { EuiToolTip, EuiTableSortingType, EuiButtonIcon, + EuiHorizontalRule, + EuiPopover, + EuiPopoverTitle, + EuiIcon, } from '@elastic/eui'; import { useHistory } from 'react-router-dom'; @@ -66,6 +71,8 @@ import { AlertExecutionStatusValues, ALERTS_FEATURE_ID, AlertExecutionStatusErrorReasons, + formatDuration, + parseDuration, } from '../../../../../../alerting/common'; import { alertsStatusesTranslationsMapping, ALERT_STATUS_LICENSE_ERROR } from '../translations'; import { useKibana } from '../../../../common/lib/kibana'; @@ -114,6 +121,7 @@ export const AlertsList: React.FunctionComponent = () => { const [dismissAlertErrors, setDismissAlertErrors] = useState(false); const [editFlyoutVisible, setEditFlyoutVisibility] = useState(false); const [currentRuleToEdit, setCurrentRuleToEdit] = useState(null); + const [tagPopoverOpenIndex, setTagPopoverOpenIndex] = useState(-1); const [sort, setSort] = useState['sort']>({ field: 'name', @@ -334,7 +342,7 @@ export const AlertsList: React.FunctionComponent = () => { 'xpack.triggersActionsUI.sections.alertsList.alertsListTable.columns.enabledTitle', { defaultMessage: 'Enabled' } ), - width: '90px', + width: '50px', render(_enabled: boolean | undefined, item: AlertTableItem) { return ( { const checkEnabledResult = checkAlertTypeEnabled(ruleType); const link = ( <> - { - history.push(routeToRuleDetails.replace(`:ruleId`, alert.id)); - }} - > - {name} - + + + + + { + history.push(routeToRuleDetails.replace(`:ruleId`, alert.id)); + }} + > + {name} + + + + {!checkEnabledResult.isEnabled && ( + + )} + + + + + + {alert.alertType} + + + ); - return checkEnabledResult.isEnabled ? ( - link - ) : ( + return ( <> {link} - + {alert.enabled && alert.muteAll && ( + + + + )} ); }, }, { - field: 'executionStatus.status', - name: i18n.translate( - 'xpack.triggersActionsUI.sections.alertsList.alertsListTable.columns.statusTitle', - { defaultMessage: 'Status' } - ), - sortable: true, - truncateText: false, - width: '120px', - 'data-test-subj': 'alertsTableCell-status', - render: (_executionStatus: AlertExecutionStatus, item: AlertTableItem) => { - return renderAlertExecutionStatus(item.executionStatus, item); - }, - }, - { - field: 'alertType', - name: i18n.translate( - 'xpack.triggersActionsUI.sections.alertsList.alertsListTable.columns.alertTypeTitle', - { defaultMessage: 'Type' } - ), + field: 'tags', + name: '', sortable: false, - truncateText: true, - render: (_count: number, item: AlertTableItem) => ( - {item.alertType} - ), - 'data-test-subj': 'alertsTableCell-alertType', + width: '50px', + 'data-test-subj': 'alertsTableCell-tagsPopover', + render: (tags: string[], item: AlertTableItem) => { + return tags.length > 0 ? ( + setTagPopoverOpenIndex(item.index)} + onClickAriaLabel="Tags" + iconOnClick={() => setTagPopoverOpenIndex(item.index)} + iconOnClickAriaLabel="Tags" + > + {tags.length} + + } + anchorPosition="upCenter" + isOpen={tagPopoverOpenIndex === item.index} + closePopover={() => setTagPopoverOpenIndex(-1)} + > + Tags +
+ {tags.map((tag: string, index: number) => ( + + {tag} + + ))} + + ) : null; + }, }, { - field: 'tagsText', - name: i18n.translate( - 'xpack.triggersActionsUI.sections.alertsList.alertsListTable.columns.tagsText', - { defaultMessage: 'Tags' } - ), - sortable: false, - 'data-test-subj': 'alertsTableCell-tagsText', - render: (_count: number, item: AlertTableItem) => ( -
- {item.tagsText} -
- ), + field: 'executionStatus.lastExecutionDate', + name: 'Last run', + sortable: true, + width: '15%', + 'data-test-subj': 'alertsTableCell-lastExecutionDate', + render: (date: Date) => { + if (date) { + return ( + <> + + + {moment(date).format('MMM D, YYYY HH:mm:ssa')} + + + + {moment(date).fromNow()} + + + + + ); + } + }, }, { field: 'schedule.interval', width: '6%', name: i18n.translate( 'xpack.triggersActionsUI.sections.alertsList.alertsListTable.columns.scheduleTitle', - { defaultMessage: 'Runs every' } + { defaultMessage: 'Interval' } ), sortable: false, truncateText: false, 'data-test-subj': 'alertsTableCell-interval', + render: (interval: string) => formatDuration(interval), }, { - width: '9%', - name: i18n.translate( - 'xpack.triggersActionsUI.sections.alertsList.alertsListTable.columns.actionsTitle', - { defaultMessage: 'Actions' } + field: 'executionStatus.lastDuration', + width: '12%', + name: ( + + + Duration{' '} + + + ), - render: (item: AlertTableItem) => { + sortable: true, + truncateText: false, + 'data-test-subj': 'alertsTableCell-duration', + render: (value: number, item: AlertTableItem) => { + const ruleTypeTimeout: string | undefined = alertTypesState.data.get( + item.alertTypeId + )?.ruleTaskTimeout; + const ruleTypeTimeoutMillis: number | undefined = ruleTypeTimeout + ? parseDuration(ruleTypeTimeout) + : undefined; + const showDurationWarning: boolean = ruleTypeTimeoutMillis + ? value > ruleTypeTimeoutMillis + : false; + const duration = moment.duration(value); + const durationString = [duration.hours(), duration.minutes(), duration.seconds()] + .map((v: number) => padStart(`${v}`, 2, '0')) + .join(':'); + + // add millis + const millisString = padStart(`${duration.milliseconds()}`, 3, '0'); return ( - - {item.actionsCount} - -
- {item.muteAll ? ( - - - - ) : null} -
-
-
+ <> + {`${durationString}.${millisString}`} + {showDurationWarning && ( + + )} + ); }, - 'data-test-subj': 'alertsTableCell-actions', + }, + { + field: 'executionStatus.status', + name: i18n.translate( + 'xpack.triggersActionsUI.sections.alertsList.alertsListTable.columns.statusTitle', + { defaultMessage: 'Status' } + ), + sortable: true, + truncateText: false, + width: '120px', + 'data-test-subj': 'alertsTableCell-status', + render: (_executionStatus: AlertExecutionStatus, item: AlertTableItem) => { + return renderAlertExecutionStatus(item.executionStatus, item); + }, }, { name: '', @@ -669,7 +777,7 @@ export const AlertsList: React.FunctionComponent = () => { - + {!dismissAlertErrors && alertsStatusesTotal.error > 0 ? ( @@ -679,9 +787,9 @@ export const AlertsList: React.FunctionComponent = () => { title={ } @@ -726,10 +834,10 @@ export const AlertsList: React.FunctionComponent = () => { @@ -737,46 +845,45 @@ export const AlertsList: React.FunctionComponent = () => { - + - + - {/* Large to remain consistent with ActionsList table spacing */} - + { setAlertsState({ ...alertsState, isLoading }); }} /> - + {loadedItems.length || isFilterApplied ? ( table ) : alertTypesState.isLoading || alertsState.isLoading ? ( @@ -958,10 +1065,10 @@ function convertAlertsToTableItems( ruleTypeIndex: RuleTypeIndex, canExecuteActions: boolean ) { - return alerts.map((alert) => ({ + return alerts.map((alert, index: number) => ({ ...alert, + index, actionsCount: alert.actions.length, - tagsText: alert.tags.join(', '), alertType: ruleTypeIndex.get(alert.alertTypeId)?.name ?? alert.alertTypeId, isEditable: hasAllPrivilege(alert, ruleTypeIndex.get(alert.alertTypeId)) && diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/collapsed_item_actions.test.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/collapsed_item_actions.test.tsx index 5a06b03311cbe..807fe65a561f8 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/collapsed_item_actions.test.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/collapsed_item_actions.test.tsx @@ -75,7 +75,7 @@ describe('CollapsedItemActions', () => { lastExecutionDate: new Date('2020-08-20T19:23:38Z'), }, actionsCount: 1, - tagsText: 'tag1', + index: 0, alertType: 'Test Alert Type', isEditable: true, enabledInLicense: true, diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/rule_enabled_switch.test.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/rule_enabled_switch.test.tsx index bfa760b65ed4e..da75faeda95e9 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/rule_enabled_switch.test.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/rule_enabled_switch.test.tsx @@ -40,7 +40,7 @@ describe('RuleEnabledSwitch', () => { enabledInLicense: true, isEditable: false, notifyWhen: null, - tagsText: 'test', + index: 0, updatedAt: new Date('2020-08-20T19:23:38Z'), }, onAlertChanged: jest.fn(), @@ -84,7 +84,7 @@ describe('RuleEnabledSwitch', () => { enabledInLicense: true, isEditable: true, notifyWhen: null, - tagsText: 'test', + index: 0, updatedAt: new Date('2020-08-20T19:23:38Z'), }, }} diff --git a/x-pack/plugins/triggers_actions_ui/public/types.ts b/x-pack/plugins/triggers_actions_ui/public/types.ts index 2ef20f36b7ca9..a78d1d52de0bd 100644 --- a/x-pack/plugins/triggers_actions_ui/public/types.ts +++ b/x-pack/plugins/triggers_actions_ui/public/types.ts @@ -197,6 +197,7 @@ export interface AlertType< | 'minimumLicenseRequired' | 'recoveryActionGroup' | 'defaultActionGroupId' + | 'ruleTaskTimeout' | 'defaultScheduleInterval' | 'minimumScheduleInterval' > { @@ -211,7 +212,7 @@ export type AlertUpdates = Omit; export interface AlertTableItem extends Alert { alertType: AlertType['name']; - tagsText: string; + index: number; actionsCount: number; isEditable: boolean; enabledInLicense: boolean; diff --git a/x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rule_types.ts b/x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rule_types.ts index f52f0977a630b..b070219410fd9 100644 --- a/x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rule_types.ts +++ b/x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rule_types.ts @@ -36,6 +36,7 @@ export default function listAlertTypes({ getService }: FtrProviderContext) { name: 'Recovered', }, enabled_in_license: true, + rule_task_timeout: '5m', }; const expectedRestrictedNoOpType = { @@ -59,6 +60,7 @@ export default function listAlertTypes({ getService }: FtrProviderContext) { minimum_license_required: 'basic', is_exportable: true, enabled_in_license: true, + rule_task_timeout: '5m', }; describe('rule_types', () => { diff --git a/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/rule_types.ts b/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/rule_types.ts index 86a0e269b26d6..77638ed90fbe4 100644 --- a/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/rule_types.ts +++ b/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/rule_types.ts @@ -44,6 +44,7 @@ export default function listAlertTypes({ getService }: FtrProviderContext) { minimum_license_required: 'basic', is_exportable: true, enabled_in_license: true, + rule_task_timeout: '5m', }); expect(Object.keys(authorizedConsumers)).to.contain('alertsFixture'); }); @@ -129,6 +130,7 @@ export default function listAlertTypes({ getService }: FtrProviderContext) { minimumLicenseRequired: 'basic', isExportable: true, enabledInLicense: true, + ruleTaskTimeout: '5m', }); expect(Object.keys(authorizedConsumers)).to.contain('alertsFixture'); }); diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alerts_list.ts b/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alerts_list.ts index 16862004876e8..3e4d158d1e754 100644 --- a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alerts_list.ts +++ b/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alerts_list.ts @@ -88,9 +88,10 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { const searchResults = await pageObjects.triggersActionsUI.getAlertsList(); expect(searchResults).to.have.length(3); - expect(searchResults[0].name).to.eql('a'); - expect(searchResults[1].name).to.eql('b'); - expect(searchResults[2].name).to.eql('c'); + // rule list shows name and rule type id + expect(searchResults[0].name).to.eql('aTest: Noop'); + expect(searchResults[1].name).to.eql('bTest: Noop'); + expect(searchResults[2].name).to.eql('cTest: Noop'); }); it('should search for alert', async () => { @@ -99,67 +100,54 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { await pageObjects.triggersActionsUI.searchAlerts(createdAlert.name); const searchResults = await pageObjects.triggersActionsUI.getAlertsList(); - expect(searchResults).to.eql([ - { - name: createdAlert.name, - tagsText: 'foo, bar', - alertType: 'Test: Noop', - interval: '1m', - }, - ]); + expect(searchResults.length).to.equal(1); + expect(searchResults[0].name).to.equal(`${createdAlert.name}Test: Noop`); + expect(searchResults[0].interval).to.equal('1 min'); + expect(searchResults[0].tags).to.equal('2'); + expect(searchResults[0].duration).to.match(/\d{2}:\d{2}:\d{2}.\d{3}/); }); it('should update alert list on the search clear button click', async () => { await createAlert({ name: 'b' }); - await createAlert({ name: 'c' }); + await createAlert({ name: 'c', tags: [] }); await refreshAlertsList(); await pageObjects.triggersActionsUI.searchAlerts('b'); const searchResults = await pageObjects.triggersActionsUI.getAlertsList(); - expect(searchResults).to.eql([ - { - name: 'b', - tagsText: 'foo, bar', - alertType: 'Test: Noop', - interval: '1m', - }, - ]); + expect(searchResults.length).to.equal(1); + expect(searchResults[0].name).to.equal('bTest: Noop'); + expect(searchResults[0].interval).to.equal('1 min'); + expect(searchResults[0].tags).to.equal('2'); + expect(searchResults[0].duration).to.match(/\d{2}:\d{2}:\d{2}.\d{3}/); + const searchClearButton = await find.byCssSelector('.euiFormControlLayoutClearButton'); await searchClearButton.click(); await find.byCssSelector( '.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)' ); const searchResultsAfterClear = await pageObjects.triggersActionsUI.getAlertsList(); - expect(searchResultsAfterClear).to.eql([ - { - name: 'b', - tagsText: 'foo, bar', - alertType: 'Test: Noop', - interval: '1m', - }, - { - name: 'c', - tagsText: 'foo, bar', - alertType: 'Test: Noop', - interval: '1m', - }, - ]); + expect(searchResultsAfterClear.length).to.equal(2); + expect(searchResultsAfterClear[0].name).to.equal('bTest: Noop'); + expect(searchResultsAfterClear[0].interval).to.equal('1 min'); + expect(searchResultsAfterClear[0].tags).to.equal('2'); + expect(searchResultsAfterClear[0].duration).to.match(/\d{2}:\d{2}:\d{2}.\d{3}/); + expect(searchResultsAfterClear[1].name).to.equal('cTest: Noop'); + expect(searchResultsAfterClear[1].interval).to.equal('1 min'); + expect(searchResultsAfterClear[1].tags).to.equal(''); + expect(searchResultsAfterClear[1].duration).to.match(/\d{2}:\d{2}:\d{2}.\d{3}/); }); it('should search for tags', async () => { - const createdAlert = await createAlert(); + const createdAlert = await createAlert({ tags: ['tag', 'tagtag', 'taggity tag'] }); await refreshAlertsList(); - await pageObjects.triggersActionsUI.searchAlerts(`${createdAlert.name} foo`); + await pageObjects.triggersActionsUI.searchAlerts(`${createdAlert.name} tag`); const searchResults = await pageObjects.triggersActionsUI.getAlertsList(); - expect(searchResults).to.eql([ - { - name: createdAlert.name, - tagsText: 'foo, bar', - alertType: 'Test: Noop', - interval: '1m', - }, - ]); + expect(searchResults.length).to.equal(1); + expect(searchResults[0].name).to.equal(`${createdAlert.name}Test: Noop`); + expect(searchResults[0].interval).to.equal('1 min'); + expect(searchResults[0].tags).to.equal('3'); + expect(searchResults[0].duration).to.match(/\d{2}:\d{2}:\d{2}.\d{3}/); }); it('should display an empty list when search did not return any alerts', async () => { @@ -386,15 +374,11 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { await retry.try(async () => { const filterErrorOnlyResults = await pageObjects.triggersActionsUI.getAlertsListWithStatus(); - expect(filterErrorOnlyResults).to.eql([ - { - name: failingAlert.name, - tagsText: 'foo, bar', - alertType: 'Test: Failing', - interval: '30s', - status: 'Error', - }, - ]); + expect(filterErrorOnlyResults.length).to.equal(1); + expect(filterErrorOnlyResults[0].name).to.equal(`${failingAlert.name}Test: Failing`); + expect(filterErrorOnlyResults[0].interval).to.equal('30 sec'); + expect(filterErrorOnlyResults[0].status).to.equal('Error'); + expect(filterErrorOnlyResults[0].duration).to.match(/\d{2}:\d{2}:\d{2}.\d{3}/); }); }); @@ -403,15 +387,11 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { await retry.try(async () => { await refreshAlertsList(); const refreshResults = await pageObjects.triggersActionsUI.getAlertsListWithStatus(); - expect(refreshResults).to.eql([ - { - name: createdAlert.name, - tagsText: 'foo, bar', - alertType: 'Test: Noop', - interval: '1m', - status: 'Ok', - }, - ]); + expect(refreshResults.length).to.equal(1); + expect(refreshResults[0].name).to.equal(`${createdAlert.name}Test: Noop`); + expect(refreshResults[0].interval).to.equal('1 min'); + expect(refreshResults[0].status).to.equal('Ok'); + expect(refreshResults[0].duration).to.match(/\d{2}:\d{2}:\d{2}.\d{3}/); }); const alertsErrorBannerWhenNoErrors = await find.allByCssSelector( @@ -452,14 +432,10 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { await retry.try(async () => { const filterFailingAlertOnlyResults = await pageObjects.triggersActionsUI.getAlertsList(); - expect(filterFailingAlertOnlyResults).to.eql([ - { - name: failingAlert.name, - tagsText: 'foo, bar', - alertType: 'Test: Failing', - interval: '30s', - }, - ]); + expect(filterFailingAlertOnlyResults.length).to.equal(1); + expect(filterFailingAlertOnlyResults[0].name).to.equal(`${failingAlert.name}Test: Failing`); + expect(filterFailingAlertOnlyResults[0].interval).to.equal('30 sec'); + expect(filterFailingAlertOnlyResults[0].duration).to.match(/\d{2}:\d{2}:\d{2}.\d{3}/); }); }); @@ -481,14 +457,12 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { await retry.try(async () => { const filterWithSlackOnlyResults = await pageObjects.triggersActionsUI.getAlertsList(); - expect(filterWithSlackOnlyResults).to.eql([ - { - name: noopAlertWithAction.name, - tagsText: 'foo, bar', - alertType: 'Test: Noop', - interval: '1m', - }, - ]); + expect(filterWithSlackOnlyResults.length).to.equal(1); + expect(filterWithSlackOnlyResults[0].name).to.equal( + `${noopAlertWithAction.name}Test: Noop` + ); + expect(filterWithSlackOnlyResults[0].interval).to.equal('1 min'); + expect(filterWithSlackOnlyResults[0].duration).to.match(/\d{2}:\d{2}:\d{2}.\d{3}/); }); }); }); diff --git a/x-pack/test/functional_with_es_ssl/page_objects/triggers_actions_ui_page.ts b/x-pack/test/functional_with_es_ssl/page_objects/triggers_actions_ui_page.ts index 890315698f74c..a49873c6d47b5 100644 --- a/x-pack/test/functional_with_es_ssl/page_objects/triggers_actions_ui_page.ts +++ b/x-pack/test/functional_with_es_ssl/page_objects/triggers_actions_ui_page.ts @@ -22,18 +22,18 @@ export function TriggersActionsPageProvider({ getService }: FtrProviderContext) function getRowItemData(row: CustomCheerio, $: CustomCheerioStatic) { return { name: $(row).findTestSubject('alertsTableCell-name').find('.euiTableCellContent').text(), - tagsText: $(row) - .findTestSubject('alertsTableCell-tagsText') - .find('.euiTableCellContent') - .text(), - alertType: $(row) - .findTestSubject('alertsTableCell-alertType') + duration: $(row) + .findTestSubject('alertsTableCell-duration') .find('.euiTableCellContent') .text(), interval: $(row) .findTestSubject('alertsTableCell-interval') .find('.euiTableCellContent') .text(), + tags: $(row) + .findTestSubject('alertsTableCell-tagsPopover') + .find('.euiTableCellContent') + .text(), }; } From 4fb8536d55a8d3bcb365efbb909249841bde8822 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 12 Oct 2021 01:09:57 -0400 Subject: [PATCH 043/107] [nit][pre-req] Strongly-type Shipper and Category (#114412) (#114586) Co-authored-by: Clint Andrew Hall --- .../custom_integrations/common/index.ts | 61 ++++++++++++++++--- 1 file changed, 54 insertions(+), 7 deletions(-) diff --git a/src/plugins/custom_integrations/common/index.ts b/src/plugins/custom_integrations/common/index.ts index e2408d3124604..9af7c4ccd4633 100755 --- a/src/plugins/custom_integrations/common/index.ts +++ b/src/plugins/custom_integrations/common/index.ts @@ -9,13 +9,11 @@ export const PLUGIN_ID = 'customIntegrations'; export const PLUGIN_NAME = 'customIntegrations'; -export interface IntegrationCategoryCount { - count: number; - id: IntegrationCategory; -} - +/** + * A map of category names and their corresponding titles. + */ +// TODO: consider i18n export const INTEGRATION_CATEGORY_DISPLAY = { - // Known EPR aws: 'AWS', azure: 'Azure', cloud: 'Cloud', @@ -49,13 +47,62 @@ export const INTEGRATION_CATEGORY_DISPLAY = { updates_available: 'Updates available', }; +/** + * A category applicable to an Integration. + */ export type IntegrationCategory = keyof typeof INTEGRATION_CATEGORY_DISPLAY; +/** + * The list of all available categories. + */ +// This `as` is necessary, as Object.keys cannot be strongly typed. +// see: https://github.com/Microsoft/TypeScript/issues/12870 +export const category = Object.keys(INTEGRATION_CATEGORY_DISPLAY) as IntegrationCategory[]; + +/** + * An object containing the id of an `IntegrationCategory` and the count of all Integrations in that category. + */ +export interface IntegrationCategoryCount { + count: number; + id: IntegrationCategory; +} + +/** + * A map of shipper names and their corresponding titles. + */ +// TODO: consider i18n +export const SHIPPER_DISPLAY = { + beats: 'Beats', + language_clients: 'Language clients', + other: 'Other', + sample_data: 'Sample data', + tests: 'Tests', + tutorial: 'Tutorials', +}; + +/** + * A shipper-- an internal or external system capable of storing data in ES/Kibana-- applicable to an Integration. + */ +export type Shipper = keyof typeof SHIPPER_DISPLAY; + +/** + * The list of all known shippers. + */ +// This `as` is necessary, as Object.keys cannot be strongly typed. +// see: https://github.com/Microsoft/TypeScript/issues/12870 +export const shipper = Object.keys(SHIPPER_DISPLAY) as Shipper[]; + +/** + * An icon representing an Integration. + */ export interface CustomIntegrationIcon { src: string; type: 'eui' | 'svg'; } +/** + * A definition of a dataintegration, which can be registered with Kibana. + */ export interface CustomIntegration { id: string; title: string; @@ -65,7 +112,7 @@ export interface CustomIntegration { isBeta: boolean; icons: CustomIntegrationIcon[]; categories: IntegrationCategory[]; - shipper: string; + shipper: Shipper; eprOverlap?: string; // name of the equivalent Elastic Agent integration in EPR. e.g. a beat module can correspond to an EPR-package, or an APM-tutorial. When completed, Integrations-UX can preferentially show the EPR-package, rather than the custom-integration } From 52631c30c2be869e68a9dff5489b8846a875e9bb Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 12 Oct 2021 02:25:11 -0400 Subject: [PATCH 044/107] [ci-stats] support sending meta with metrics (#114198) (#114587) * [ci-stats] support sending meta with metrics * update kbn/pm dist * improve comments stat * update kbn/pm dist Co-authored-by: spalger Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Spencer Co-authored-by: spalger --- .../ci_stats_reporter/ci_stats_reporter.ts | 51 ++++++++++++++++--- packages/kbn-pm/dist/index.js | 25 +++++++-- 2 files changed, 64 insertions(+), 12 deletions(-) diff --git a/packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts b/packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts index fe48ce99e6857..05f54e8d38c8c 100644 --- a/packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts +++ b/packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts @@ -22,24 +22,43 @@ import { parseConfig, Config } from './ci_stats_config'; const BASE_URL = 'https://ci-stats.kibana.dev'; export interface CiStatsMetric { + /** Top-level categorization for the metric, e.g. "page load bundle size" */ group: string; + /** Specific sub-set of the "group", e.g. "dashboard" */ id: string; + /** integer value recorded as the value of this metric */ value: number; + /** optional limit which will generate an error on PRs when the metric exceeds the limit */ limit?: number; + /** + * path, relative to the repo, where the config file contianing limits + * is kept. Linked from PR comments instructing contributors how to fix + * their PRs. + */ limitConfigPath?: string; + /** Arbitrary key-value pairs which can be used for additional filtering/reporting */ + meta?: CiStatsMetadata; } -export interface CiStatsTimingMetadata { +export interface CiStatsMetadata { + /** + * Arbitrary key-value pairs which can be attached to CiStatsTiming and CiStatsMetric + * objects stored in the ci-stats service + */ [key: string]: string | string[] | number | boolean | undefined; } export interface CiStatsTiming { + /** Top-level categorization for the timing, e.g. "scripts/foo", process type, etc. */ group: string; + /** Specific timing (witin the "group" being tracked) e.g. "total" */ id: string; + /** time in milliseconds which should be recorded */ ms: number; - meta?: CiStatsTimingMetadata; + /** hash of key-value pairs which will be stored with the timing for additional filtering and reporting */ + meta?: CiStatsMetadata; } -export interface ReqOptions { +interface ReqOptions { auth: boolean; path: string; body: any; @@ -54,17 +73,34 @@ export interface TimingsOptions { /** value of data/uuid, automatically loaded if not specified */ kibanaUuid?: string | null; } + +export interface MetricsOptions { + /** Default metadata to add to each metric */ + defaultMeta?: CiStatsMetadata; +} export class CiStatsReporter { + /** + * Create a CiStatsReporter by inspecting the ENV for the necessary config + */ static fromEnv(log: ToolingLog) { return new CiStatsReporter(parseConfig(log), log); } constructor(private config: Config | undefined, private log: ToolingLog) {} + /** + * Determine if CI_STATS is explicitly disabled by the environment. To determine + * if the CiStatsReporter has enough information in the environment to send metrics + * for builds use #hasBuildConfig(). + */ isEnabled() { return process.env.CI_STATS_DISABLED !== 'true'; } + /** + * Determines if the CiStatsReporter is disabled by the environment, or properly + * configured and able to send stats + */ hasBuildConfig() { return this.isEnabled() && !!this.config?.apiToken && !!this.config?.buildId; } @@ -103,7 +139,7 @@ export class CiStatsReporter { const memUsage = process.memoryUsage(); const isElasticCommitter = email && email.endsWith('@elastic.co') ? true : false; - const defaultMetadata = { + const defaultMeta = { kibanaUuid, isElasticCommitter, committerHash: email @@ -127,7 +163,7 @@ export class CiStatsReporter { totalMem: Os.totalmem(), }; - this.log.debug('CIStatsReporter committerHash: %s', defaultMetadata.committerHash); + this.log.debug('CIStatsReporter committerHash: %s', defaultMeta.committerHash); return await this.req({ auth: !!buildId, @@ -135,8 +171,8 @@ export class CiStatsReporter { body: { buildId, upstreamBranch, + defaultMeta, timings, - defaultMetadata, }, bodyDesc: timings.length === 1 ? `${timings.length} timing` : `${timings.length} timings`, }); @@ -146,7 +182,7 @@ export class CiStatsReporter { * Report metrics data to the ci-stats service. If running outside of CI this method * does nothing as metrics can only be reported when associated with a specific CI build. */ - async metrics(metrics: CiStatsMetric[]) { + async metrics(metrics: CiStatsMetric[], options?: MetricsOptions) { if (!this.hasBuildConfig()) { return; } @@ -162,6 +198,7 @@ export class CiStatsReporter { path: '/v1/metrics', body: { buildId, + defaultMeta: options?.defaultMeta, metrics, }, bodyDesc: `metrics: ${metrics diff --git a/packages/kbn-pm/dist/index.js b/packages/kbn-pm/dist/index.js index a231fe21ea838..3c0e3fa94be02 100644 --- a/packages/kbn-pm/dist/index.js +++ b/packages/kbn-pm/dist/index.js @@ -9010,6 +9010,9 @@ var _ci_stats_config = __webpack_require__(218); const BASE_URL = 'https://ci-stats.kibana.dev'; class CiStatsReporter { + /** + * Create a CiStatsReporter by inspecting the ENV for the necessary config + */ static fromEnv(log) { return new CiStatsReporter((0, _ci_stats_config.parseConfig)(log), log); } @@ -9018,10 +9021,21 @@ class CiStatsReporter { this.config = config; this.log = log; } + /** + * Determine if CI_STATS is explicitly disabled by the environment. To determine + * if the CiStatsReporter has enough information in the environment to send metrics + * for builds use #hasBuildConfig(). + */ + isEnabled() { return process.env.CI_STATS_DISABLED !== 'true'; } + /** + * Determines if the CiStatsReporter is disabled by the environment, or properly + * configured and able to send stats + */ + hasBuildConfig() { var _this$config, _this$config2; @@ -9069,7 +9083,7 @@ class CiStatsReporter { const memUsage = process.memoryUsage(); const isElasticCommitter = email && email.endsWith('@elastic.co') ? true : false; - const defaultMetadata = { + const defaultMeta = { kibanaUuid, isElasticCommitter, committerHash: email ? _crypto.default.createHash('sha256').update(email).digest('hex').substring(0, 20) : undefined, @@ -9090,15 +9104,15 @@ class CiStatsReporter { osRelease: _os.default.release(), totalMem: _os.default.totalmem() }; - this.log.debug('CIStatsReporter committerHash: %s', defaultMetadata.committerHash); + this.log.debug('CIStatsReporter committerHash: %s', defaultMeta.committerHash); return await this.req({ auth: !!buildId, path: '/v1/timings', body: { buildId, upstreamBranch, - timings, - defaultMetadata + defaultMeta, + timings }, bodyDesc: timings.length === 1 ? `${timings.length} timing` : `${timings.length} timings` }); @@ -9109,7 +9123,7 @@ class CiStatsReporter { */ - async metrics(metrics) { + async metrics(metrics, options) { var _this$config4; if (!this.hasBuildConfig()) { @@ -9127,6 +9141,7 @@ class CiStatsReporter { path: '/v1/metrics', body: { buildId, + defaultMeta: options === null || options === void 0 ? void 0 : options.defaultMeta, metrics }, bodyDesc: `metrics: ${metrics.map(({ From deb016e5b1342da745af832fcbf13ff29ea3793e Mon Sep 17 00:00:00 2001 From: Dario Gieselaar Date: Tue, 12 Oct 2021 10:35:32 +0200 Subject: [PATCH 045/107] [7.x] [APM] Display all properties by default (#113221) (#114499) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- src/core/types/elasticsearch/search.ts | 2 +- .../elasticsearch_fieldnames.test.ts.snap | 6 + .../apm/common/elasticsearch_fieldnames.ts | 1 + x-pack/plugins/apm/common/processor_event.ts | 9 + .../components/shared/KeyValueTable/index.tsx | 38 ++-- .../ErrorMetadata/ErrorMetadata.test.tsx | 139 -------------- .../MetadataTable/ErrorMetadata/index.tsx | 34 +++- .../MetadataTable/ErrorMetadata/sections.ts | 39 ---- .../MetadataTable/MetadataTable.test.tsx | 25 +-- .../shared/MetadataTable/Section.test.tsx | 2 +- .../shared/MetadataTable/Section.tsx | 16 +- .../SpanMetadata/SpanMetadata.test.tsx | 107 ----------- .../MetadataTable/SpanMetadata/index.tsx | 34 +++- .../MetadataTable/SpanMetadata/sections.ts | 29 --- .../TransactionMetadata.test.tsx | 164 ----------------- .../TransactionMetadata/index.tsx | 33 +++- .../TransactionMetadata/sections.ts | 47 ----- .../shared/MetadataTable/helper.test.ts | 69 +++---- .../components/shared/MetadataTable/helper.ts | 87 +++++---- .../components/shared/MetadataTable/index.tsx | 18 +- .../shared/MetadataTable/sections.ts | 173 ------------------ .../components/shared/MetadataTable/types.ts | 13 ++ .../lib/event_metadata/get_event_metadata.ts | 66 +++++++ .../apm/server/routes/event_metadata.ts | 44 +++++ .../get_global_apm_server_route_repository.ts | 4 +- .../translations/translations/ja-JP.json | 18 -- .../translations/translations/zh-CN.json | 18 -- .../test/apm_api_integration/tests/index.ts | 4 + .../tests/metadata/event_metadata.ts | 129 +++++++++++++ 29 files changed, 505 insertions(+), 863 deletions(-) delete mode 100644 x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/ErrorMetadata.test.tsx delete mode 100644 x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/sections.ts delete mode 100644 x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/SpanMetadata.test.tsx delete mode 100644 x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/sections.ts delete mode 100644 x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/TransactionMetadata.test.tsx delete mode 100644 x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/sections.ts delete mode 100644 x-pack/plugins/apm/public/components/shared/MetadataTable/sections.ts create mode 100644 x-pack/plugins/apm/public/components/shared/MetadataTable/types.ts create mode 100644 x-pack/plugins/apm/server/lib/event_metadata/get_event_metadata.ts create mode 100644 x-pack/plugins/apm/server/routes/event_metadata.ts create mode 100644 x-pack/test/apm_api_integration/tests/metadata/event_metadata.ts diff --git a/src/core/types/elasticsearch/search.ts b/src/core/types/elasticsearch/search.ts index 88d6cda3777dd..a54f5f3758ce3 100644 --- a/src/core/types/elasticsearch/search.ts +++ b/src/core/types/elasticsearch/search.ts @@ -48,7 +48,7 @@ type ValueTypeOfField = T extends Record type MaybeArray = T | T[]; -type Fields = Exclude['body']['fields'], undefined>; +type Fields = Required['body']>['fields']; type DocValueFields = MaybeArray; export type SearchHit< diff --git a/x-pack/plugins/apm/common/__snapshots__/elasticsearch_fieldnames.test.ts.snap b/x-pack/plugins/apm/common/__snapshots__/elasticsearch_fieldnames.test.ts.snap index c4658ae2ac22c..2d1433324858b 100644 --- a/x-pack/plugins/apm/common/__snapshots__/elasticsearch_fieldnames.test.ts.snap +++ b/x-pack/plugins/apm/common/__snapshots__/elasticsearch_fieldnames.test.ts.snap @@ -53,6 +53,8 @@ exports[`Error ERROR_EXC_TYPE 1`] = `undefined`; exports[`Error ERROR_GROUP_ID 1`] = `"grouping key"`; +exports[`Error ERROR_ID 1`] = `"error id"`; + exports[`Error ERROR_LOG_LEVEL 1`] = `undefined`; exports[`Error ERROR_LOG_MESSAGE 1`] = `undefined`; @@ -298,6 +300,8 @@ exports[`Span ERROR_EXC_TYPE 1`] = `undefined`; exports[`Span ERROR_GROUP_ID 1`] = `undefined`; +exports[`Span ERROR_ID 1`] = `undefined`; + exports[`Span ERROR_LOG_LEVEL 1`] = `undefined`; exports[`Span ERROR_LOG_MESSAGE 1`] = `undefined`; @@ -535,6 +539,8 @@ exports[`Transaction ERROR_EXC_TYPE 1`] = `undefined`; exports[`Transaction ERROR_GROUP_ID 1`] = `undefined`; +exports[`Transaction ERROR_ID 1`] = `undefined`; + exports[`Transaction ERROR_LOG_LEVEL 1`] = `undefined`; exports[`Transaction ERROR_LOG_MESSAGE 1`] = `undefined`; diff --git a/x-pack/plugins/apm/common/elasticsearch_fieldnames.ts b/x-pack/plugins/apm/common/elasticsearch_fieldnames.ts index d1f07c28bc808..4a4cad5454c4b 100644 --- a/x-pack/plugins/apm/common/elasticsearch_fieldnames.ts +++ b/x-pack/plugins/apm/common/elasticsearch_fieldnames.ts @@ -78,6 +78,7 @@ export const SPAN_DESTINATION_SERVICE_RESPONSE_TIME_SUM = // Parent ID for a transaction or span export const PARENT_ID = 'parent.id'; +export const ERROR_ID = 'error.id'; export const ERROR_GROUP_ID = 'error.grouping_key'; export const ERROR_CULPRIT = 'error.culprit'; export const ERROR_LOG_LEVEL = 'error.log.level'; diff --git a/x-pack/plugins/apm/common/processor_event.ts b/x-pack/plugins/apm/common/processor_event.ts index 57705e7ed4ce0..fe0d9abfa0e51 100644 --- a/x-pack/plugins/apm/common/processor_event.ts +++ b/x-pack/plugins/apm/common/processor_event.ts @@ -4,6 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ +import * as t from 'io-ts'; export enum ProcessorEvent { transaction = 'transaction', @@ -12,6 +13,14 @@ export enum ProcessorEvent { span = 'span', profile = 'profile', } + +export const processorEventRt = t.union([ + t.literal(ProcessorEvent.transaction), + t.literal(ProcessorEvent.error), + t.literal(ProcessorEvent.metric), + t.literal(ProcessorEvent.span), + t.literal(ProcessorEvent.profile), +]); /** * Processor events that are searchable in the UI via the query bar. * diff --git a/x-pack/plugins/apm/public/components/shared/KeyValueTable/index.tsx b/x-pack/plugins/apm/public/components/shared/KeyValueTable/index.tsx index 13aa3696eda42..e9525728bc3c5 100644 --- a/x-pack/plugins/apm/public/components/shared/KeyValueTable/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/KeyValueTable/index.tsx @@ -4,7 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ - +import { castArray } from 'lodash'; import React, { TableHTMLAttributes } from 'react'; import { EuiTable, @@ -26,16 +26,32 @@ export function KeyValueTable({ return ( - {keyValuePairs.map(({ key, value }) => ( - - - {key} - - - - - - ))} + {keyValuePairs.map(({ key, value }) => { + const asArray = castArray(value); + const valueList = + asArray.length <= 1 ? ( + + ) : ( +
    + {asArray.map((val, index) => ( +
  • + +
  • + ))} +
+ ); + + return ( + + + {key} + + + {valueList} + + + ); + })}
); diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/ErrorMetadata.test.tsx b/x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/ErrorMetadata.test.tsx deleted file mode 100644 index f936941923e41..0000000000000 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/ErrorMetadata.test.tsx +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { render } from '@testing-library/react'; -import React, { ReactNode } from 'react'; -import { MemoryRouter } from 'react-router-dom'; -import { ErrorMetadata } from '.'; -import { APMError } from '../../../../../typings/es_schemas/ui/apm_error'; -import { MockApmPluginContextWrapper } from '../../../../context/apm_plugin/mock_apm_plugin_context'; -import { - expectTextsInDocument, - expectTextsNotInDocument, -} from '../../../../utils/testHelpers'; - -function Wrapper({ children }: { children?: ReactNode }) { - return ( - - {children} - - ); -} - -const renderOptions = { - wrapper: Wrapper, -}; - -function getError() { - return { - labels: { someKey: 'labels value' }, - http: { someKey: 'http value' }, - host: { someKey: 'host value' }, - container: { someKey: 'container value' }, - service: { someKey: 'service value' }, - process: { someKey: 'process value' }, - agent: { someKey: 'agent value' }, - url: { someKey: 'url value' }, - user: { someKey: 'user value' }, - notIncluded: 'not included value', - error: { - id: '7efbc7056b746fcb', - notIncluded: 'error not included value', - custom: { - someKey: 'custom value', - }, - }, - } as unknown as APMError; -} - -describe('ErrorMetadata', () => { - it('should render a error with all sections', () => { - const error = getError(); - const output = render(, renderOptions); - - // sections - expectTextsInDocument(output, [ - 'Labels', - 'HTTP', - 'Host', - 'Container', - 'Service', - 'Process', - 'Agent', - 'URL', - 'User', - 'Custom', - ]); - }); - - it('should render a error with all included dot notation keys', () => { - const error = getError(); - const output = render(, renderOptions); - - // included keys - expectTextsInDocument(output, [ - 'labels.someKey', - 'http.someKey', - 'host.someKey', - 'container.someKey', - 'service.someKey', - 'process.someKey', - 'agent.someKey', - 'url.someKey', - 'user.someKey', - 'error.custom.someKey', - ]); - - // excluded keys - expectTextsNotInDocument(output, ['notIncluded', 'error.notIncluded']); - }); - - it('should render a error with all included values', () => { - const error = getError(); - const output = render(, renderOptions); - - // included values - expectTextsInDocument(output, [ - 'labels value', - 'http value', - 'host value', - 'container value', - 'service value', - 'process value', - 'agent value', - 'url value', - 'user value', - 'custom value', - ]); - - // excluded values - expectTextsNotInDocument(output, [ - 'not included value', - 'error not included value', - ]); - }); - - it('should render a error with only the required sections', () => { - const error = {} as APMError; - const output = render(, renderOptions); - - // required sections should be found - expectTextsInDocument(output, ['Labels', 'User']); - - // optional sections should NOT be found - expectTextsNotInDocument(output, [ - 'HTTP', - 'Host', - 'Container', - 'Service', - 'Process', - 'Agent', - 'URL', - 'Custom', - ]); - }); -}); diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/index.tsx b/x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/index.tsx index 196a8706d5132..f6ffc34ecee02 100644 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/index.tsx @@ -6,19 +6,41 @@ */ import React, { useMemo } from 'react'; -import { ERROR_METADATA_SECTIONS } from './sections'; import { APMError } from '../../../../../typings/es_schemas/ui/apm_error'; -import { getSectionsWithRows } from '../helper'; +import { getSectionsFromFields } from '../helper'; import { MetadataTable } from '..'; +import { FETCH_STATUS, useFetcher } from '../../../../hooks/use_fetcher'; +import { ProcessorEvent } from '../../../../../common/processor_event'; interface Props { error: APMError; } export function ErrorMetadata({ error }: Props) { - const sectionsWithRows = useMemo( - () => getSectionsWithRows(ERROR_METADATA_SECTIONS, error), - [error] + const { data: errorEvent, status } = useFetcher( + (callApmApi) => { + return callApmApi({ + endpoint: 'GET /api/apm/event_metadata/{processorEvent}/{id}', + params: { + path: { + processorEvent: ProcessorEvent.error, + id: error.error.id, + }, + }, + }); + }, + [error.error.id] + ); + + const sections = useMemo( + () => getSectionsFromFields(errorEvent?.metadata || {}), + [errorEvent?.metadata] + ); + + return ( + ); - return ; } diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/sections.ts b/x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/sections.ts deleted file mode 100644 index 28a64ac36660e..0000000000000 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/sections.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { - Section, - ERROR, - LABELS, - HTTP, - HOST, - CONTAINER, - SERVICE, - PROCESS, - AGENT, - URL, - USER, - CUSTOM_ERROR, - TRACE, - TRANSACTION, -} from '../sections'; - -export const ERROR_METADATA_SECTIONS: Section[] = [ - { ...LABELS, required: true }, - TRACE, - TRANSACTION, - ERROR, - HTTP, - HOST, - CONTAINER, - SERVICE, - PROCESS, - AGENT, - URL, - { ...USER, required: true }, - CUSTOM_ERROR, -]; diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/MetadataTable.test.tsx b/x-pack/plugins/apm/public/components/shared/MetadataTable/MetadataTable.test.tsx index 7ccde6a9a74d6..5d5976866ba24 100644 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/MetadataTable.test.tsx +++ b/x-pack/plugins/apm/public/components/shared/MetadataTable/MetadataTable.test.tsx @@ -11,7 +11,7 @@ import { MemoryRouter } from 'react-router-dom'; import { MetadataTable } from '.'; import { MockApmPluginContextWrapper } from '../../../context/apm_plugin/mock_apm_plugin_context'; import { expectTextsInDocument } from '../../../utils/testHelpers'; -import { SectionsWithRows } from './helper'; +import type { SectionDescriptor } from './types'; function Wrapper({ children }: { children?: ReactNode }) { return ( @@ -27,21 +27,20 @@ const renderOptions = { describe('MetadataTable', () => { it('shows sections', () => { - const sectionsWithRows = [ - { key: 'foo', label: 'Foo', required: true }, + const sections: SectionDescriptor[] = [ + { key: 'foo', label: 'Foo', required: true, properties: [] }, { key: 'bar', label: 'Bar', required: false, - properties: ['props.A', 'props.B'], - rows: [ - { key: 'props.A', value: 'A' }, - { key: 'props.B', value: 'B' }, + properties: [ + { field: 'props.A', value: ['A'] }, + { field: 'props.B', value: ['B'] }, ], }, - ] as unknown as SectionsWithRows; + ]; const output = render( - , + , renderOptions ); expectTextsInDocument(output, [ @@ -56,15 +55,17 @@ describe('MetadataTable', () => { }); describe('required sections', () => { it('shows "empty state message" if no data is available', () => { - const sectionsWithRows = [ + const sectionsWithRows: SectionDescriptor[] = [ { key: 'foo', label: 'Foo', required: true, + properties: [], }, - ] as unknown as SectionsWithRows; + ]; + const output = render( - , + , renderOptions ); expectTextsInDocument(output, ['Foo', 'No data available']); diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/Section.test.tsx b/x-pack/plugins/apm/public/components/shared/MetadataTable/Section.test.tsx index d44464e2160d3..ed816b1c7a337 100644 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/Section.test.tsx +++ b/x-pack/plugins/apm/public/components/shared/MetadataTable/Section.test.tsx @@ -12,7 +12,7 @@ import { expectTextsInDocument } from '../../../utils/testHelpers'; describe('Section', () => { it('shows "empty state message" if no data is available', () => { - const component = render(
); + const component = render(
); expectTextsInDocument(component, ['No data available']); }); }); diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/Section.tsx b/x-pack/plugins/apm/public/components/shared/MetadataTable/Section.tsx index ff86083b8612d..03ae237f470c3 100644 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/Section.tsx +++ b/x-pack/plugins/apm/public/components/shared/MetadataTable/Section.tsx @@ -10,15 +10,21 @@ import { isEmpty } from 'lodash'; import { i18n } from '@kbn/i18n'; import { EuiText } from '@elastic/eui'; import { KeyValueTable } from '../KeyValueTable'; -import { KeyValuePair } from '../../../utils/flattenObject'; interface Props { - keyValuePairs: KeyValuePair[]; + properties: Array<{ field: string; value: string[] | number[] }>; } -export function Section({ keyValuePairs }: Props) { - if (!isEmpty(keyValuePairs)) { - return ; +export function Section({ properties }: Props) { + if (!isEmpty(properties)) { + return ( + ({ + key: property.field, + value: property.value, + }))} + /> + ); } return ( diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/SpanMetadata.test.tsx b/x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/SpanMetadata.test.tsx deleted file mode 100644 index 46eaba1e9e11d..0000000000000 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/SpanMetadata.test.tsx +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { render } from '@testing-library/react'; -import React, { ReactNode } from 'react'; -import { MemoryRouter } from 'react-router-dom'; -import { SpanMetadata } from '.'; -import { Span } from '../../../../../typings/es_schemas/ui/span'; -import { MockApmPluginContextWrapper } from '../../../../context/apm_plugin/mock_apm_plugin_context'; -import { - expectTextsInDocument, - expectTextsNotInDocument, -} from '../../../../utils/testHelpers'; - -function Wrapper({ children }: { children?: ReactNode }) { - return ( - - {children} - - ); -} - -const renderOptions = { - wrapper: Wrapper, -}; - -describe('SpanMetadata', () => { - describe('render', () => { - it('renders', () => { - const span = { - agent: { - ephemeral_id: 'ed8e3a4f-21d2-4a1f-bbc7-fa2064d94225', - name: 'java', - version: '1.9.1-SNAPSHOT', - }, - service: { - name: 'opbeans-java', - }, - span: { - id: '7efbc7056b746fcb', - message: { - age: { ms: 1577958057123 }, - queue: { name: 'queue name' }, - }, - }, - } as unknown as Span; - const output = render(, renderOptions); - expectTextsInDocument(output, ['Service', 'Agent', 'Message']); - }); - }); - describe('when a span is presented', () => { - it('renders the span', () => { - const span = { - agent: { - ephemeral_id: 'ed8e3a4f-21d2-4a1f-bbc7-fa2064d94225', - name: 'java', - version: '1.9.1-SNAPSHOT', - }, - service: { - name: 'opbeans-java', - }, - span: { - id: '7efbc7056b746fcb', - http: { - response: { status_code: 200 }, - }, - subtype: 'http', - type: 'external', - message: { - age: { ms: 1577958057123 }, - queue: { name: 'queue name' }, - }, - }, - } as unknown as Span; - const output = render(, renderOptions); - expectTextsInDocument(output, ['Service', 'Agent', 'Span', 'Message']); - }); - }); - describe('when there is no id inside span', () => { - it('does not show the section', () => { - const span = { - agent: { - ephemeral_id: 'ed8e3a4f-21d2-4a1f-bbc7-fa2064d94225', - name: 'java', - version: '1.9.1-SNAPSHOT', - }, - service: { - name: 'opbeans-java', - }, - span: { - http: { - response: { status_code: 200 }, - }, - subtype: 'http', - type: 'external', - }, - } as unknown as Span; - const output = render(, renderOptions); - expectTextsInDocument(output, ['Service', 'Agent']); - expectTextsNotInDocument(output, ['Span', 'Message']); - }); - }); -}); diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/index.tsx b/x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/index.tsx index feefcea9d38a0..bf5702b4acf3e 100644 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/index.tsx @@ -6,19 +6,41 @@ */ import React, { useMemo } from 'react'; -import { SPAN_METADATA_SECTIONS } from './sections'; import { Span } from '../../../../../typings/es_schemas/ui/span'; -import { getSectionsWithRows } from '../helper'; +import { getSectionsFromFields } from '../helper'; import { MetadataTable } from '..'; +import { FETCH_STATUS, useFetcher } from '../../../../hooks/use_fetcher'; +import { ProcessorEvent } from '../../../../../common/processor_event'; interface Props { span: Span; } export function SpanMetadata({ span }: Props) { - const sectionsWithRows = useMemo( - () => getSectionsWithRows(SPAN_METADATA_SECTIONS, span), - [span] + const { data: spanEvent, status } = useFetcher( + (callApmApi) => { + return callApmApi({ + endpoint: 'GET /api/apm/event_metadata/{processorEvent}/{id}', + params: { + path: { + processorEvent: ProcessorEvent.span, + id: span.span.id, + }, + }, + }); + }, + [span.span.id] + ); + + const sections = useMemo( + () => getSectionsFromFields(spanEvent?.metadata || {}), + [spanEvent?.metadata] + ); + + return ( + ); - return ; } diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/sections.ts b/x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/sections.ts deleted file mode 100644 index f19aef8e0bd8a..0000000000000 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/sections.ts +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { - Section, - AGENT, - SERVICE, - SPAN, - LABELS, - EVENT, - TRANSACTION, - TRACE, - MESSAGE_SPAN, -} from '../sections'; - -export const SPAN_METADATA_SECTIONS: Section[] = [ - LABELS, - TRACE, - TRANSACTION, - EVENT, - SPAN, - SERVICE, - MESSAGE_SPAN, - AGENT, -]; diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/TransactionMetadata.test.tsx b/x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/TransactionMetadata.test.tsx deleted file mode 100644 index 08253f04777d9..0000000000000 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/TransactionMetadata.test.tsx +++ /dev/null @@ -1,164 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { render } from '@testing-library/react'; -import React, { ReactNode } from 'react'; -import { MemoryRouter } from 'react-router-dom'; -import { TransactionMetadata } from '.'; -import { Transaction } from '../../../../../typings/es_schemas/ui/transaction'; -import { MockApmPluginContextWrapper } from '../../../../context/apm_plugin/mock_apm_plugin_context'; -import { - expectTextsInDocument, - expectTextsNotInDocument, -} from '../../../../utils/testHelpers'; - -function Wrapper({ children }: { children?: ReactNode }) { - return ( - - {children} - - ); -} - -const renderOptions = { - wrapper: Wrapper, -}; - -function getTransaction() { - return { - labels: { someKey: 'labels value' }, - http: { someKey: 'http value' }, - host: { someKey: 'host value' }, - container: { someKey: 'container value' }, - service: { someKey: 'service value' }, - process: { someKey: 'process value' }, - agent: { someKey: 'agent value' }, - url: { someKey: 'url value' }, - user: { someKey: 'user value' }, - notIncluded: 'not included value', - transaction: { - id: '7efbc7056b746fcb', - notIncluded: 'transaction not included value', - custom: { - someKey: 'custom value', - }, - message: { - age: { ms: 1577958057123 }, - queue: { name: 'queue name' }, - }, - }, - } as unknown as Transaction; -} - -describe('TransactionMetadata', () => { - it('should render a transaction with all sections', () => { - const transaction = getTransaction(); - const output = render( - , - renderOptions - ); - - // sections - expectTextsInDocument(output, [ - 'Labels', - 'HTTP', - 'Host', - 'Container', - 'Service', - 'Process', - 'Agent', - 'URL', - 'User', - 'Custom', - 'Message', - ]); - }); - - it('should render a transaction with all included dot notation keys', () => { - const transaction = getTransaction(); - const output = render( - , - renderOptions - ); - - // included keys - expectTextsInDocument(output, [ - 'labels.someKey', - 'http.someKey', - 'host.someKey', - 'container.someKey', - 'service.someKey', - 'process.someKey', - 'agent.someKey', - 'url.someKey', - 'user.someKey', - 'transaction.custom.someKey', - 'transaction.message.age.ms', - 'transaction.message.queue.name', - ]); - - // excluded keys - expectTextsNotInDocument(output, [ - 'notIncluded', - 'transaction.notIncluded', - ]); - }); - - it('should render a transaction with all included values', () => { - const transaction = getTransaction(); - const output = render( - , - renderOptions - ); - - // included values - expectTextsInDocument(output, [ - 'labels value', - 'http value', - 'host value', - 'container value', - 'service value', - 'process value', - 'agent value', - 'url value', - 'user value', - 'custom value', - '1577958057123', - 'queue name', - ]); - - // excluded values - expectTextsNotInDocument(output, [ - 'not included value', - 'transaction not included value', - ]); - }); - - it('should render a transaction with only the required sections', () => { - const transaction = {} as Transaction; - const output = render( - , - renderOptions - ); - - // required sections should be found - expectTextsInDocument(output, ['Labels', 'User']); - - // optional sections should NOT be found - expectTextsNotInDocument(output, [ - 'HTTP', - 'Host', - 'Container', - 'Service', - 'Process', - 'Agent', - 'URL', - 'Custom', - 'Message', - ]); - }); -}); diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/index.tsx b/x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/index.tsx index b3a53472f0815..32c0101c73b4d 100644 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/index.tsx @@ -6,19 +6,40 @@ */ import React, { useMemo } from 'react'; -import { TRANSACTION_METADATA_SECTIONS } from './sections'; import { Transaction } from '../../../../../typings/es_schemas/ui/transaction'; -import { getSectionsWithRows } from '../helper'; +import { getSectionsFromFields } from '../helper'; import { MetadataTable } from '..'; +import { ProcessorEvent } from '../../../../../common/processor_event'; +import { FETCH_STATUS, useFetcher } from '../../../../hooks/use_fetcher'; interface Props { transaction: Transaction; } export function TransactionMetadata({ transaction }: Props) { - const sectionsWithRows = useMemo( - () => getSectionsWithRows(TRANSACTION_METADATA_SECTIONS, transaction), - [transaction] + const { data: transactionEvent, status } = useFetcher( + (callApmApi) => { + return callApmApi({ + endpoint: 'GET /api/apm/event_metadata/{processorEvent}/{id}', + params: { + path: { + processorEvent: ProcessorEvent.transaction, + id: transaction.transaction.id, + }, + }, + }); + }, + [transaction.transaction.id] + ); + + const sections = useMemo( + () => getSectionsFromFields(transactionEvent?.metadata || {}), + [transactionEvent?.metadata] + ); + return ( + ); - return ; } diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/sections.ts b/x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/sections.ts deleted file mode 100644 index 2f4a3d3229857..0000000000000 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/sections.ts +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { - Section, - TRANSACTION, - LABELS, - EVENT, - HTTP, - HOST, - CLIENT, - CONTAINER, - SERVICE, - PROCESS, - AGENT, - URL, - PAGE, - USER, - USER_AGENT, - CUSTOM_TRANSACTION, - MESSAGE_TRANSACTION, - TRACE, -} from '../sections'; - -export const TRANSACTION_METADATA_SECTIONS: Section[] = [ - { ...LABELS, required: true }, - TRACE, - TRANSACTION, - EVENT, - HTTP, - HOST, - CLIENT, - CONTAINER, - SERVICE, - PROCESS, - MESSAGE_TRANSACTION, - AGENT, - URL, - { ...PAGE, key: 'transaction.page' }, - { ...USER, required: true }, - USER_AGENT, - CUSTOM_TRANSACTION, -]; diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/helper.test.ts b/x-pack/plugins/apm/public/components/shared/MetadataTable/helper.test.ts index 770b35e7d17f2..2e64c170437d8 100644 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/helper.test.ts +++ b/x-pack/plugins/apm/public/components/shared/MetadataTable/helper.test.ts @@ -5,62 +5,52 @@ * 2.0. */ -import { getSectionsWithRows, filterSectionsByTerm } from './helper'; -import { LABELS, HTTP, SERVICE } from './sections'; -import { Transaction } from '../../../../typings/es_schemas/ui/transaction'; +import { filterSectionsByTerm, getSectionsFromFields } from './helper'; describe('MetadataTable Helper', () => { - const sections = [ - { ...LABELS, required: true }, - HTTP, - { ...SERVICE, properties: ['environment'] }, - ]; - const apmDoc = { - http: { - headers: { - Connection: 'close', - Host: 'opbeans:3000', - request: { method: 'get' }, - }, - }, - service: { - framework: { name: 'express' }, - environment: 'production', - }, - } as unknown as Transaction; - const metadataItems = getSectionsWithRows(sections, apmDoc); + const fields = { + 'http.headers.Connection': ['close'], + 'http.headers.Host': ['opbeans:3000'], + 'http.headers.request.method': ['get'], + 'service.framework.name': ['express'], + 'service.environment': ['production'], + }; + + const metadataItems = getSectionsFromFields(fields); - it('returns flattened data and required section', () => { + it('returns flattened data', () => { expect(metadataItems).toEqual([ - { key: 'labels', label: 'Labels', required: true, rows: [] }, { key: 'http', - label: 'HTTP', - rows: [ - { key: 'http.headers.Connection', value: 'close' }, - { key: 'http.headers.Host', value: 'opbeans:3000' }, - { key: 'http.headers.request.method', value: 'get' }, + label: 'http', + properties: [ + { field: 'http.headers.Connection', value: ['close'] }, + { field: 'http.headers.Host', value: ['opbeans:3000'] }, + { field: 'http.headers.request.method', value: ['get'] }, ], }, { key: 'service', - label: 'Service', - properties: ['environment'], - rows: [{ key: 'service.environment', value: 'production' }], + label: 'service', + properties: [ + { field: 'service.environment', value: ['production'] }, + { field: 'service.framework.name', value: ['express'] }, + ], }, ]); }); + describe('filter', () => { it('items by key', () => { const filteredItems = filterSectionsByTerm(metadataItems, 'http'); expect(filteredItems).toEqual([ { key: 'http', - label: 'HTTP', - rows: [ - { key: 'http.headers.Connection', value: 'close' }, - { key: 'http.headers.Host', value: 'opbeans:3000' }, - { key: 'http.headers.request.method', value: 'get' }, + label: 'http', + properties: [ + { field: 'http.headers.Connection', value: ['close'] }, + { field: 'http.headers.Host', value: ['opbeans:3000'] }, + { field: 'http.headers.request.method', value: ['get'] }, ], }, ]); @@ -71,9 +61,8 @@ describe('MetadataTable Helper', () => { expect(filteredItems).toEqual([ { key: 'service', - label: 'Service', - properties: ['environment'], - rows: [{ key: 'service.environment', value: 'production' }], + label: 'service', + properties: [{ field: 'service.environment', value: ['production'] }], }, ]); }); diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/helper.ts b/x-pack/plugins/apm/public/components/shared/MetadataTable/helper.ts index d9169d06735cf..c9e0f2aa66745 100644 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/helper.ts +++ b/x-pack/plugins/apm/public/components/shared/MetadataTable/helper.ts @@ -5,38 +5,52 @@ * 2.0. */ -import { get, pick, isEmpty } from 'lodash'; -import { Section } from './sections'; -import { Transaction } from '../../../../typings/es_schemas/ui/transaction'; -import { APMError } from '../../../../typings/es_schemas/ui/apm_error'; -import { Span } from '../../../../typings/es_schemas/ui/span'; -import { flattenObject, KeyValuePair } from '../../../utils/flattenObject'; - -export type SectionsWithRows = ReturnType; - -export const getSectionsWithRows = ( - sections: Section[], - apmDoc: Transaction | APMError | Span -) => { - return sections - .map((section) => { - const sectionData: Record = get( - apmDoc, - section.key - ) as Record; - const filteredData: Record | undefined = - section.properties - ? pick(sectionData, section.properties) - : sectionData; - - const rows: KeyValuePair[] = flattenObject(filteredData, section.key); - return { ...section, rows }; - }) - .filter(({ required, rows }) => required || !isEmpty(rows)); +import { isEmpty, groupBy, partition } from 'lodash'; +import type { SectionDescriptor } from './types'; + +const EXCLUDED_FIELDS = ['error.exception.stacktrace', 'span.stacktrace']; + +export const getSectionsFromFields = (fields: Record) => { + const rows = Object.keys(fields) + .filter( + (field) => !EXCLUDED_FIELDS.some((excluded) => field.startsWith(excluded)) + ) + .sort() + .map((field) => { + return { + section: field.split('.')[0], + field, + value: fields[field], + }; + }); + + const sections = Object.values(groupBy(rows, 'section')).map( + (rowsForSection) => { + const first = rowsForSection[0]; + + const section: SectionDescriptor = { + key: first.section, + label: first.section.toLowerCase(), + properties: rowsForSection.map((row) => ({ + field: row.field, + value: row.value, + })), + }; + + return section; + } + ); + + const [labelSections, otherSections] = partition( + sections, + (section) => section.key === 'labels' + ); + + return [...labelSections, ...otherSections]; }; export const filterSectionsByTerm = ( - sections: SectionsWithRows, + sections: SectionDescriptor[], searchTerm: string ) => { if (!searchTerm) { @@ -44,15 +58,16 @@ export const filterSectionsByTerm = ( } return sections .map((section) => { - const { rows = [] } = section; - const filteredRows = rows.filter(({ key, value }) => { - const valueAsString = String(value).toLowerCase(); + const { properties = [] } = section; + const filteredProps = properties.filter(({ field, value }) => { return ( - key.toLowerCase().includes(searchTerm) || - valueAsString.includes(searchTerm) + field.toLowerCase().includes(searchTerm) || + value.some((val: string | number) => + String(val).toLowerCase().includes(searchTerm) + ) ); }); - return { ...section, rows: filteredRows }; + return { ...section, properties: filteredProps }; }) - .filter(({ rows }) => !isEmpty(rows)); + .filter(({ properties }) => !isEmpty(properties)); }; diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/index.tsx b/x-pack/plugins/apm/public/components/shared/MetadataTable/index.tsx index 45be525512d0a..248fa240fd557 100644 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/MetadataTable/index.tsx @@ -19,18 +19,21 @@ import { i18n } from '@kbn/i18n'; import { isEmpty } from 'lodash'; import React, { useCallback } from 'react'; import { useHistory, useLocation } from 'react-router-dom'; +import { EuiLoadingSpinner } from '@elastic/eui'; import { useUrlParams } from '../../../context/url_params_context/use_url_params'; import { HeightRetainer } from '../HeightRetainer'; import { fromQuery, toQuery } from '../Links/url_helpers'; -import { filterSectionsByTerm, SectionsWithRows } from './helper'; +import { filterSectionsByTerm } from './helper'; import { Section } from './Section'; import { useApmPluginContext } from '../../../context/apm_plugin/use_apm_plugin_context'; +import { SectionDescriptor } from './types'; interface Props { - sections: SectionsWithRows; + sections: SectionDescriptor[]; + isLoading: boolean; } -export function MetadataTable({ sections }: Props) { +export function MetadataTable({ sections, isLoading }: Props) { const history = useHistory(); const location = useLocation(); const { urlParams } = useUrlParams(); @@ -77,6 +80,13 @@ export function MetadataTable({ sections }: Props) { /> + {isLoading && ( + + + + + + )} {filteredSections.map((section) => (
@@ -84,7 +94,7 @@ export function MetadataTable({ sections }: Props) {
{section.label}
-
+
))} diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/sections.ts b/x-pack/plugins/apm/public/components/shared/MetadataTable/sections.ts deleted file mode 100644 index efc2ef8bde66b..0000000000000 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/sections.ts +++ /dev/null @@ -1,173 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { i18n } from '@kbn/i18n'; - -export interface Section { - key: string; - label: string; - required?: boolean; - properties?: string[]; -} - -export const LABELS: Section = { - key: 'labels', - label: i18n.translate('xpack.apm.metadataTable.section.labelsLabel', { - defaultMessage: 'Labels', - }), -}; - -export const EVENT: Section = { - key: 'event', - label: i18n.translate('xpack.apm.metadataTable.section.eventLabel', { - defaultMessage: 'event', - }), - properties: ['outcome'], -}; - -export const HTTP: Section = { - key: 'http', - label: i18n.translate('xpack.apm.metadataTable.section.httpLabel', { - defaultMessage: 'HTTP', - }), -}; - -export const HOST: Section = { - key: 'host', - label: i18n.translate('xpack.apm.metadataTable.section.hostLabel', { - defaultMessage: 'Host', - }), -}; - -export const CLIENT: Section = { - key: 'client', - label: i18n.translate('xpack.apm.metadataTable.section.clientLabel', { - defaultMessage: 'Client', - }), - properties: ['ip'], -}; - -export const CONTAINER: Section = { - key: 'container', - label: i18n.translate('xpack.apm.metadataTable.section.containerLabel', { - defaultMessage: 'Container', - }), -}; - -export const SERVICE: Section = { - key: 'service', - label: i18n.translate('xpack.apm.metadataTable.section.serviceLabel', { - defaultMessage: 'Service', - }), -}; - -export const PROCESS: Section = { - key: 'process', - label: i18n.translate('xpack.apm.metadataTable.section.processLabel', { - defaultMessage: 'Process', - }), -}; - -export const AGENT: Section = { - key: 'agent', - label: i18n.translate('xpack.apm.metadataTable.section.agentLabel', { - defaultMessage: 'Agent', - }), -}; - -export const URL: Section = { - key: 'url', - label: i18n.translate('xpack.apm.metadataTable.section.urlLabel', { - defaultMessage: 'URL', - }), -}; - -export const USER: Section = { - key: 'user', - label: i18n.translate('xpack.apm.metadataTable.section.userLabel', { - defaultMessage: 'User', - }), -}; - -export const USER_AGENT: Section = { - key: 'user_agent', - label: i18n.translate('xpack.apm.metadataTable.section.userAgentLabel', { - defaultMessage: 'User agent', - }), -}; - -export const PAGE: Section = { - key: 'page', - label: i18n.translate('xpack.apm.metadataTable.section.pageLabel', { - defaultMessage: 'Page', - }), -}; - -export const SPAN: Section = { - key: 'span', - label: i18n.translate('xpack.apm.metadataTable.section.spanLabel', { - defaultMessage: 'Span', - }), - properties: ['id'], -}; - -export const TRANSACTION: Section = { - key: 'transaction', - label: i18n.translate('xpack.apm.metadataTable.section.transactionLabel', { - defaultMessage: 'Transaction', - }), - properties: ['id'], -}; - -export const TRACE: Section = { - key: 'trace', - label: i18n.translate('xpack.apm.metadataTable.section.traceLabel', { - defaultMessage: 'Trace', - }), - properties: ['id'], -}; - -export const ERROR: Section = { - key: 'error', - label: i18n.translate('xpack.apm.metadataTable.section.errorLabel', { - defaultMessage: 'Error', - }), - properties: ['id'], -}; - -const customLabel = i18n.translate( - 'xpack.apm.metadataTable.section.customLabel', - { - defaultMessage: 'Custom', - } -); - -export const CUSTOM_ERROR: Section = { - key: 'error.custom', - label: customLabel, -}; -export const CUSTOM_TRANSACTION: Section = { - key: 'transaction.custom', - label: customLabel, -}; - -const messageLabel = i18n.translate( - 'xpack.apm.metadataTable.section.messageLabel', - { - defaultMessage: 'Message', - } -); - -export const MESSAGE_TRANSACTION: Section = { - key: 'transaction.message', - label: messageLabel, -}; - -export const MESSAGE_SPAN: Section = { - key: 'span.message', - label: messageLabel, -}; diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/types.ts b/x-pack/plugins/apm/public/components/shared/MetadataTable/types.ts new file mode 100644 index 0000000000000..3ce7698460f30 --- /dev/null +++ b/x-pack/plugins/apm/public/components/shared/MetadataTable/types.ts @@ -0,0 +1,13 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export interface SectionDescriptor { + key: string; + label: string; + required?: boolean; + properties: Array<{ field: string; value: string[] | number[] }>; +} diff --git a/x-pack/plugins/apm/server/lib/event_metadata/get_event_metadata.ts b/x-pack/plugins/apm/server/lib/event_metadata/get_event_metadata.ts new file mode 100644 index 0000000000000..97e2e1356363f --- /dev/null +++ b/x-pack/plugins/apm/server/lib/event_metadata/get_event_metadata.ts @@ -0,0 +1,66 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { QueryDslQueryContainer } from '@elastic/elasticsearch/api/types'; +import { + ERROR_ID, + SPAN_ID, + TRANSACTION_ID, +} from '../../../common/elasticsearch_fieldnames'; +import { ProcessorEvent } from '../../../common/processor_event'; +import type { APMEventClient } from '../helpers/create_es_client/create_apm_event_client'; + +export async function getEventMetadata({ + apmEventClient, + processorEvent, + id, +}: { + apmEventClient: APMEventClient; + processorEvent: ProcessorEvent; + id: string; +}) { + const filter: QueryDslQueryContainer[] = []; + + switch (processorEvent) { + case ProcessorEvent.error: + filter.push({ + term: { [ERROR_ID]: id }, + }); + break; + + case ProcessorEvent.transaction: + filter.push({ + term: { + [TRANSACTION_ID]: id, + }, + }); + break; + + case ProcessorEvent.span: + filter.push({ + term: { [SPAN_ID]: id }, + }); + break; + } + + const response = await apmEventClient.search('get_event_metadata', { + apm: { + events: [processorEvent], + }, + body: { + query: { + bool: { filter }, + }, + size: 1, + _source: false, + fields: [{ field: '*', include_unmapped: true }], + }, + terminate_after: 1, + }); + + return response.hits.hits[0].fields; +} diff --git a/x-pack/plugins/apm/server/routes/event_metadata.ts b/x-pack/plugins/apm/server/routes/event_metadata.ts new file mode 100644 index 0000000000000..8970ab8ffdeea --- /dev/null +++ b/x-pack/plugins/apm/server/routes/event_metadata.ts @@ -0,0 +1,44 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import * as t from 'io-ts'; +import { createApmServerRouteRepository } from './create_apm_server_route_repository'; +import { createApmServerRoute } from './create_apm_server_route'; +import { getEventMetadata } from '../lib/event_metadata/get_event_metadata'; +import { processorEventRt } from '../../common/processor_event'; +import { setupRequest } from '../lib/helpers/setup_request'; + +const eventMetadataRoute = createApmServerRoute({ + endpoint: 'GET /api/apm/event_metadata/{processorEvent}/{id}', + options: { tags: ['access:apm'] }, + params: t.type({ + path: t.type({ + processorEvent: processorEventRt, + id: t.string, + }), + }), + handler: async (resources) => { + const setup = await setupRequest(resources); + + const { + path: { processorEvent, id }, + } = resources.params; + + const metadata = await getEventMetadata({ + apmEventClient: setup.apmEventClient, + processorEvent, + id, + }); + + return { + metadata, + }; + }, +}); + +export const eventMetadataRouteRepository = + createApmServerRouteRepository().add(eventMetadataRoute); diff --git a/x-pack/plugins/apm/server/routes/get_global_apm_server_route_repository.ts b/x-pack/plugins/apm/server/routes/get_global_apm_server_route_repository.ts index 7aa520dd5b8a2..472e46fecfa10 100644 --- a/x-pack/plugins/apm/server/routes/get_global_apm_server_route_repository.ts +++ b/x-pack/plugins/apm/server/routes/get_global_apm_server_route_repository.ts @@ -33,6 +33,7 @@ import { traceRouteRepository } from './traces'; import { transactionRouteRepository } from './transactions'; import { APMRouteHandlerResources } from './typings'; import { historicalDataRouteRepository } from './historical_data'; +import { eventMetadataRouteRepository } from './event_metadata'; import { suggestionsRouteRepository } from './suggestions'; const getTypedGlobalApmServerRouteRepository = () => { @@ -58,7 +59,8 @@ const getTypedGlobalApmServerRouteRepository = () => { .merge(apmFleetRouteRepository) .merge(backendsRouteRepository) .merge(fallbackToTransactionsRouteRepository) - .merge(historicalDataRouteRepository); + .merge(historicalDataRouteRepository) + .merge(eventMetadataRouteRepository); return repository; }; diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json index b8dbf0be96106..39b8005f69af4 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/plugins/translations/translations/ja-JP.json @@ -6573,24 +6573,6 @@ "xpack.apm.localFilters.titles.serviceName": "サービス名", "xpack.apm.localFilters.titles.transactionUrl": "URL", "xpack.apm.localFiltersTitle": "フィルター", - "xpack.apm.metadataTable.section.agentLabel": "エージェント", - "xpack.apm.metadataTable.section.clientLabel": "クライアント", - "xpack.apm.metadataTable.section.containerLabel": "コンテナー", - "xpack.apm.metadataTable.section.customLabel": "カスタム", - "xpack.apm.metadataTable.section.errorLabel": "エラー", - "xpack.apm.metadataTable.section.hostLabel": "ホスト", - "xpack.apm.metadataTable.section.httpLabel": "HTTP", - "xpack.apm.metadataTable.section.labelsLabel": "ラベル", - "xpack.apm.metadataTable.section.messageLabel": "メッセージ", - "xpack.apm.metadataTable.section.pageLabel": "ページ", - "xpack.apm.metadataTable.section.processLabel": "プロセス", - "xpack.apm.metadataTable.section.serviceLabel": "サービス", - "xpack.apm.metadataTable.section.spanLabel": "スパン", - "xpack.apm.metadataTable.section.traceLabel": "トレース", - "xpack.apm.metadataTable.section.transactionLabel": "トランザクション", - "xpack.apm.metadataTable.section.urlLabel": "URL", - "xpack.apm.metadataTable.section.userAgentLabel": "ユーザーエージェント", - "xpack.apm.metadataTable.section.userLabel": "ユーザー", "xpack.apm.metrics.transactionChart.machineLearningLabel": "機械学習:", "xpack.apm.metrics.transactionChart.machineLearningTooltip": "ストリームには、平均レイテンシの想定境界が表示されます。赤色の垂直の注釈は、異常スコアが75以上の異常値を示します。", "xpack.apm.metrics.transactionChart.machineLearningTooltip.withKuery": "フィルタリングで検索バーを使用しているときには、機械学習結果が表示されません", diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index 9231bedcb547c..d9b10802f21bb 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -6627,24 +6627,6 @@ "xpack.apm.localFilters.titles.serviceName": "服务名称", "xpack.apm.localFilters.titles.transactionUrl": "URL", "xpack.apm.localFiltersTitle": "筛选", - "xpack.apm.metadataTable.section.agentLabel": "代理", - "xpack.apm.metadataTable.section.clientLabel": "客户端", - "xpack.apm.metadataTable.section.containerLabel": "容器", - "xpack.apm.metadataTable.section.customLabel": "定制", - "xpack.apm.metadataTable.section.errorLabel": "错误", - "xpack.apm.metadataTable.section.hostLabel": "主机", - "xpack.apm.metadataTable.section.httpLabel": "HTTP", - "xpack.apm.metadataTable.section.labelsLabel": "标签", - "xpack.apm.metadataTable.section.messageLabel": "消息", - "xpack.apm.metadataTable.section.pageLabel": "页", - "xpack.apm.metadataTable.section.processLabel": "进程", - "xpack.apm.metadataTable.section.serviceLabel": "服务", - "xpack.apm.metadataTable.section.spanLabel": "跨度", - "xpack.apm.metadataTable.section.traceLabel": "跟踪", - "xpack.apm.metadataTable.section.transactionLabel": "事务", - "xpack.apm.metadataTable.section.urlLabel": "URL", - "xpack.apm.metadataTable.section.userAgentLabel": "用户代理", - "xpack.apm.metadataTable.section.userLabel": "用户", "xpack.apm.metrics.transactionChart.machineLearningLabel": "Machine Learning", "xpack.apm.metrics.transactionChart.machineLearningTooltip": "流显示平均延迟的预期边界。红色垂直标注表示异常分数等于或大于 75 的异常。", "xpack.apm.metrics.transactionChart.machineLearningTooltip.withKuery": "使用搜索栏筛选时,Machine Learning 结果处于隐藏状态", diff --git a/x-pack/test/apm_api_integration/tests/index.ts b/x-pack/test/apm_api_integration/tests/index.ts index b4522a833462b..49f1ae91c6282 100644 --- a/x-pack/test/apm_api_integration/tests/index.ts +++ b/x-pack/test/apm_api_integration/tests/index.ts @@ -37,6 +37,10 @@ export default function apmApiIntegrationTests(providerContext: FtrProviderConte loadTestFile(require.resolve('./correlations/latency')); }); + describe('metadata/event_metadata', function () { + loadTestFile(require.resolve('./metadata/event_metadata')); + }); + describe('metrics_charts/metrics_charts', function () { loadTestFile(require.resolve('./metrics_charts/metrics_charts')); }); diff --git a/x-pack/test/apm_api_integration/tests/metadata/event_metadata.ts b/x-pack/test/apm_api_integration/tests/metadata/event_metadata.ts new file mode 100644 index 0000000000000..d979f0bad1ec6 --- /dev/null +++ b/x-pack/test/apm_api_integration/tests/metadata/event_metadata.ts @@ -0,0 +1,129 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import expect from '@kbn/expect'; +import { PROCESSOR_EVENT } from '../../../../plugins/apm/common/elasticsearch_fieldnames'; +import { ProcessorEvent } from '../../../../plugins/apm/common/processor_event'; +import { FtrProviderContext } from '../../common/ftr_provider_context'; +import { registry } from '../../common/registry'; + +export default function ApiTest({ getService }: FtrProviderContext) { + const apmApiClient = getService('apmApiClient'); + const esClient = getService('es'); + + async function getLastDocId(processorEvent: ProcessorEvent) { + const response = await esClient.search<{ + [key: string]: { id: string }; + }>({ + index: ['apm-*'], + body: { + query: { + bool: { + filter: [{ term: { [PROCESSOR_EVENT]: processorEvent } }], + }, + }, + size: 1, + sort: { + '@timestamp': 'desc', + }, + }, + }); + + return response.body.hits.hits[0]._source![processorEvent].id; + } + + registry.when('Event metadata', { config: 'basic', archives: ['apm_8.0.0'] }, () => { + it('fetches transaction metadata', async () => { + const id = await getLastDocId(ProcessorEvent.transaction); + + const { body } = await apmApiClient.readUser({ + endpoint: 'GET /api/apm/event_metadata/{processorEvent}/{id}', + params: { + path: { + processorEvent: ProcessorEvent.transaction, + id, + }, + }, + }); + + expect(body).keys('metadata').ok(); + + expect( + Object.keys(body.metadata).filter((key) => { + return Array.isArray(body.metadata[key]); + }) + ); + + expect(body.metadata).keys( + '@timestamp', + 'agent.name', + 'transaction.name', + 'transaction.type', + 'service.name' + ); + }); + + it('fetches error metadata', async () => { + const id = await getLastDocId(ProcessorEvent.error); + + const { body } = await apmApiClient.readUser({ + endpoint: 'GET /api/apm/event_metadata/{processorEvent}/{id}', + params: { + path: { + processorEvent: ProcessorEvent.error, + id, + }, + }, + }); + + expect(body).keys('metadata').ok(); + + expect( + Object.keys(body.metadata).filter((key) => { + return Array.isArray(body.metadata[key]); + }) + ); + + expect(body.metadata).keys( + '@timestamp', + 'agent.name', + 'error.grouping_key', + 'error.grouping_name', + 'service.name' + ); + }); + + it('fetches span metadata', async () => { + const id = await getLastDocId(ProcessorEvent.span); + + const { body } = await apmApiClient.readUser({ + endpoint: 'GET /api/apm/event_metadata/{processorEvent}/{id}', + params: { + path: { + processorEvent: ProcessorEvent.span, + id, + }, + }, + }); + + expect(body).keys('metadata').ok(); + + expect( + Object.keys(body.metadata).filter((key) => { + return Array.isArray(body.metadata[key]); + }) + ); + + expect(body.metadata).keys( + '@timestamp', + 'agent.name', + 'span.name', + 'span.type', + 'service.name' + ); + }); + }); +} From f64c66cdbb7cf6285f2184665eba324b229c2b01 Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Tue, 12 Oct 2021 11:02:27 +0200 Subject: [PATCH 046/107] [7.x] Ensure deprecation documentationUrl's point to correct doc branch (#114263) This was made possible via PR #113600. --- .../deprecation/core_deprecations.test.ts | 22 +-- .../config/deprecation/core_deprecations.ts | 152 +++++++++++------- x-pack/plugins/maps/server/index.ts | 6 +- .../security/server/config_deprecations.ts | 18 +-- 4 files changed, 119 insertions(+), 79 deletions(-) diff --git a/src/core/server/config/deprecation/core_deprecations.test.ts b/src/core/server/config/deprecation/core_deprecations.test.ts index 51eb845599729..37172b602ba8c 100644 --- a/src/core/server/config/deprecation/core_deprecations.test.ts +++ b/src/core/server/config/deprecation/core_deprecations.test.ts @@ -267,7 +267,7 @@ describe('core deprecations', () => { }); expect(messages).toMatchInlineSnapshot(` Array [ - "\\"logging.events.ops\\" has been deprecated and will be removed in 8.0. To access ops data moving forward, please enable debug logs for the \\"metrics.ops\\" context in your logging configuration. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx", + "\\"logging.events.ops\\" has been deprecated and will be removed in 8.0. To access ops data moving forward, please enable debug logs for the \\"metrics.ops\\" context in your logging configuration.", ] `); }); @@ -280,7 +280,7 @@ describe('core deprecations', () => { }); expect(messages).toMatchInlineSnapshot(` Array [ - "\\"logging.events.request\\" has been deprecated and will be removed in 8.0. To access request data moving forward, please enable debug logs for the \\"http.server.response\\" context in your logging configuration. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx", + "\\"logging.events.request\\" has been deprecated and will be removed in 8.0. To access request data moving forward, please enable debug logs for the \\"http.server.response\\" context in your logging configuration.", ] `); }); @@ -293,7 +293,7 @@ describe('core deprecations', () => { }); expect(messages).toMatchInlineSnapshot(` Array [ - "\\"logging.events.response\\" has been deprecated and will be removed in 8.0. To access response data moving forward, please enable debug logs for the \\"http.server.response\\" context in your logging configuration. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx", + "\\"logging.events.response\\" has been deprecated and will be removed in 8.0. To access response data moving forward, please enable debug logs for the \\"http.server.response\\" context in your logging configuration.", ] `); }); @@ -306,7 +306,7 @@ describe('core deprecations', () => { }); expect(messages).toMatchInlineSnapshot(` Array [ - "\\"logging.timezone\\" has been deprecated and will be removed in 8.0. To set the timezone moving forward, please add a timezone date modifier to the log pattern in your logging configuration. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx", + "\\"logging.timezone\\" has been deprecated and will be removed in 8.0. To set the timezone moving forward, please add a timezone date modifier to the log pattern in your logging configuration.", ] `); }); @@ -319,7 +319,7 @@ describe('core deprecations', () => { }); expect(messages).toMatchInlineSnapshot(` Array [ - "\\"logging.dest\\" has been deprecated and will be removed in 8.0. To set the destination moving forward, you can use the \\"console\\" appender in your logging configuration or define a custom one. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx", + "\\"logging.dest\\" has been deprecated and will be removed in 8.0. To set the destination moving forward, you can use the \\"console\\" appender in your logging configuration or define a custom one.", ] `); }); @@ -329,7 +329,7 @@ describe('core deprecations', () => { }); expect(messages).toMatchInlineSnapshot(` Array [ - "\\"logging.dest\\" has been deprecated and will be removed in 8.0. To set the destination moving forward, you can use the \\"console\\" appender in your logging configuration or define a custom one. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx", + "\\"logging.dest\\" has been deprecated and will be removed in 8.0. To set the destination moving forward, you can use the \\"console\\" appender in your logging configuration or define a custom one.", ] `); }); @@ -375,7 +375,7 @@ describe('core deprecations', () => { }); expect(messages).toMatchInlineSnapshot(` Array [ - "\\"logging.json\\" has been deprecated and will be removed in 8.0. To specify log message format moving forward, you can configure the \\"appender.layout\\" property for every custom appender in your logging configuration. There is currently no default layout for custom appenders and each one must be declared explicitly. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx", + "\\"logging.json\\" has been deprecated and will be removed in 8.0. To specify log message format moving forward, you can configure the \\"appender.layout\\" property for every custom appender in your logging configuration. There is currently no default layout for custom appenders and each one must be declared explicitly.", ] `); }); @@ -388,7 +388,7 @@ describe('core deprecations', () => { }); expect(messages).toMatchInlineSnapshot(` Array [ - "\\"logging.rotate\\" and sub-options have been deprecated and will be removed in 8.0. Moving forward, you can enable log rotation using the \\"rolling-file\\" appender for a logger in your logging configuration. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#rolling-file-appender", + "\\"logging.rotate\\" and sub-options have been deprecated and will be removed in 8.0. Moving forward, you can enable log rotation using the \\"rolling-file\\" appender for a logger in your logging configuration.", ] `); }); @@ -399,7 +399,7 @@ describe('core deprecations', () => { }); expect(messages).toMatchInlineSnapshot(` Array [ - "\\"logging.rotate\\" and sub-options have been deprecated and will be removed in 8.0. Moving forward, you can enable log rotation using the \\"rolling-file\\" appender for a logger in your logging configuration. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#rolling-file-appender", + "\\"logging.rotate\\" and sub-options have been deprecated and will be removed in 8.0. Moving forward, you can enable log rotation using the \\"rolling-file\\" appender for a logger in your logging configuration.", ] `); }); @@ -410,7 +410,7 @@ describe('core deprecations', () => { }); expect(messages).toMatchInlineSnapshot(` Array [ - "\\"logging.rotate\\" and sub-options have been deprecated and will be removed in 8.0. Moving forward, you can enable log rotation using the \\"rolling-file\\" appender for a logger in your logging configuration. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#rolling-file-appender", + "\\"logging.rotate\\" and sub-options have been deprecated and will be removed in 8.0. Moving forward, you can enable log rotation using the \\"rolling-file\\" appender for a logger in your logging configuration.", ] `); }); @@ -421,7 +421,7 @@ describe('core deprecations', () => { }); expect(messages).toMatchInlineSnapshot(` Array [ - "\\"logging.rotate\\" and sub-options have been deprecated and will be removed in 8.0. Moving forward, you can enable log rotation using the \\"rolling-file\\" appender for a logger in your logging configuration. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#rolling-file-appender", + "\\"logging.rotate\\" and sub-options have been deprecated and will be removed in 8.0. Moving forward, you can enable log rotation using the \\"rolling-file\\" appender for a logger in your logging configuration.", ] `); }); diff --git a/src/core/server/config/deprecation/core_deprecations.ts b/src/core/server/config/deprecation/core_deprecations.ts index 12c0099fb98eb..8d0f799a2e069 100644 --- a/src/core/server/config/deprecation/core_deprecations.ts +++ b/src/core/server/config/deprecation/core_deprecations.ts @@ -185,11 +185,15 @@ const removeFromConfigStep = (setting: string) => { }); }; -const opsLoggingEventDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { +const opsLoggingEventDeprecation: ConfigDeprecation = ( + settings, + fromPath, + addDeprecation, + { branch } +) => { if (settings.logging?.events?.ops) { addDeprecation({ - documentationUrl: - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#loggingevents', + documentationUrl: `https://github.com/elastic/kibana/blob/${branch}/src/core/server/logging/README.mdx#loggingevents`, title: i18n.translate('core.deprecations.loggingEventsOps.deprecationTitle', { defaultMessage: `Setting "logging.events.ops" is deprecated`, }), @@ -197,8 +201,7 @@ const opsLoggingEventDeprecation: ConfigDeprecation = (settings, fromPath, addDe defaultMessage: '"logging.events.ops" has been deprecated and will be removed ' + 'in 8.0. To access ops data moving forward, please enable debug logs for the ' + - '"metrics.ops" context in your logging configuration. For more details, see ' + - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx', + '"metrics.ops" context in your logging configuration.', }), correctiveActions: { manualSteps: [ @@ -212,11 +215,15 @@ const opsLoggingEventDeprecation: ConfigDeprecation = (settings, fromPath, addDe } }; -const requestLoggingEventDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { +const requestLoggingEventDeprecation: ConfigDeprecation = ( + settings, + fromPath, + addDeprecation, + { branch } +) => { if (settings.logging?.events?.request) { addDeprecation({ - documentationUrl: - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#loggingevents', + documentationUrl: `https://github.com/elastic/kibana/blob/${branch}/src/core/server/logging/README.mdx#loggingevents`, title: i18n.translate('core.deprecations.loggingEventsRequest.deprecationTitle', { defaultMessage: `Setting "logging.events.request" is deprecated`, }), @@ -224,8 +231,7 @@ const requestLoggingEventDeprecation: ConfigDeprecation = (settings, fromPath, a defaultMessage: '"logging.events.request" has been deprecated and will be removed ' + 'in 8.0. To access request data moving forward, please enable debug logs for the ' + - '"http.server.response" context in your logging configuration. For more details, see ' + - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx', + '"http.server.response" context in your logging configuration.', }), correctiveActions: { manualSteps: [ @@ -239,11 +245,15 @@ const requestLoggingEventDeprecation: ConfigDeprecation = (settings, fromPath, a } }; -const responseLoggingEventDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { +const responseLoggingEventDeprecation: ConfigDeprecation = ( + settings, + fromPath, + addDeprecation, + { branch } +) => { if (settings.logging?.events?.response) { addDeprecation({ - documentationUrl: - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#loggingevents', + documentationUrl: `https://github.com/elastic/kibana/blob/${branch}/src/core/server/logging/README.mdx#loggingevents`, title: i18n.translate('core.deprecations.loggingEventsResponse.deprecationTitle', { defaultMessage: `Setting "logging.events.response" is deprecated`, }), @@ -251,8 +261,7 @@ const responseLoggingEventDeprecation: ConfigDeprecation = (settings, fromPath, defaultMessage: '"logging.events.response" has been deprecated and will be removed ' + 'in 8.0. To access response data moving forward, please enable debug logs for the ' + - '"http.server.response" context in your logging configuration. For more details, see ' + - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx', + '"http.server.response" context in your logging configuration.', }), correctiveActions: { manualSteps: [ @@ -266,11 +275,15 @@ const responseLoggingEventDeprecation: ConfigDeprecation = (settings, fromPath, } }; -const timezoneLoggingDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { +const timezoneLoggingDeprecation: ConfigDeprecation = ( + settings, + fromPath, + addDeprecation, + { branch } +) => { if (settings.logging?.timezone) { addDeprecation({ - documentationUrl: - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#loggingtimezone', + documentationUrl: `https://github.com/elastic/kibana/blob/${branch}/src/core/server/logging/README.mdx#loggingtimezone`, title: i18n.translate('core.deprecations.loggingTimezone.deprecationTitle', { defaultMessage: `Setting "logging.timezone" is deprecated`, }), @@ -278,8 +291,7 @@ const timezoneLoggingDeprecation: ConfigDeprecation = (settings, fromPath, addDe defaultMessage: '"logging.timezone" has been deprecated and will be removed ' + 'in 8.0. To set the timezone moving forward, please add a timezone date modifier to the log pattern ' + - 'in your logging configuration. For more details, see ' + - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx', + 'in your logging configuration.', }), correctiveActions: { manualSteps: [ @@ -293,11 +305,15 @@ const timezoneLoggingDeprecation: ConfigDeprecation = (settings, fromPath, addDe } }; -const destLoggingDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { +const destLoggingDeprecation: ConfigDeprecation = ( + settings, + fromPath, + addDeprecation, + { branch } +) => { if (settings.logging?.dest) { addDeprecation({ - documentationUrl: - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#loggingdest', + documentationUrl: `https://github.com/elastic/kibana/blob/${branch}/src/core/server/logging/README.mdx#loggingdest`, title: i18n.translate('core.deprecations.loggingDest.deprecationTitle', { defaultMessage: `Setting "logging.dest" is deprecated`, }), @@ -305,8 +321,7 @@ const destLoggingDeprecation: ConfigDeprecation = (settings, fromPath, addDeprec defaultMessage: '"logging.dest" has been deprecated and will be removed ' + 'in 8.0. To set the destination moving forward, you can use the "console" appender ' + - 'in your logging configuration or define a custom one. For more details, see ' + - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx', + 'in your logging configuration or define a custom one.', }), correctiveActions: { manualSteps: [ @@ -320,11 +335,15 @@ const destLoggingDeprecation: ConfigDeprecation = (settings, fromPath, addDeprec } }; -const quietLoggingDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { +const quietLoggingDeprecation: ConfigDeprecation = ( + settings, + fromPath, + addDeprecation, + { branch } +) => { if (settings.logging?.quiet) { addDeprecation({ - documentationUrl: - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#loggingquiet', + documentationUrl: `https://github.com/elastic/kibana/blob/${branch}/src/core/server/logging/README.mdx#loggingquiet`, title: i18n.translate('core.deprecations.loggingQuiet.deprecationTitle', { defaultMessage: `Setting "logging.quiet" is deprecated`, }), @@ -345,11 +364,15 @@ const quietLoggingDeprecation: ConfigDeprecation = (settings, fromPath, addDepre } }; -const silentLoggingDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { +const silentLoggingDeprecation: ConfigDeprecation = ( + settings, + fromPath, + addDeprecation, + { branch } +) => { if (settings.logging?.silent) { addDeprecation({ - documentationUrl: - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#loggingsilent', + documentationUrl: `https://github.com/elastic/kibana/blob/${branch}/src/core/server/logging/README.mdx#loggingsilent`, title: i18n.translate('core.deprecations.loggingSilent.deprecationTitle', { defaultMessage: `Setting "logging.silent" is deprecated`, }), @@ -370,11 +393,15 @@ const silentLoggingDeprecation: ConfigDeprecation = (settings, fromPath, addDepr } }; -const verboseLoggingDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { +const verboseLoggingDeprecation: ConfigDeprecation = ( + settings, + fromPath, + addDeprecation, + { branch } +) => { if (settings.logging?.verbose) { addDeprecation({ - documentationUrl: - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#loggingverbose', + documentationUrl: `https://github.com/elastic/kibana/blob/${branch}/src/core/server/logging/README.mdx#loggingverbose`, title: i18n.translate('core.deprecations.loggingVerbose.deprecationTitle', { defaultMessage: `Setting "logging.verbose" is deprecated`, }), @@ -395,15 +422,19 @@ const verboseLoggingDeprecation: ConfigDeprecation = (settings, fromPath, addDep } }; -const jsonLoggingDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { +const jsonLoggingDeprecation: ConfigDeprecation = ( + settings, + fromPath, + addDeprecation, + { branch } +) => { // We silence the deprecation warning when running in development mode because // the dev CLI code in src/dev/cli_dev_mode/using_server_process.ts manually // specifies `--logging.json=false`. Since it's executed in a child process, the // ` legacyLoggingConfigSchema` returns `true` for the TTY check on `process.stdout.isTTY` if (settings.logging?.json && settings.env !== 'development') { addDeprecation({ - documentationUrl: - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx', + documentationUrl: `https://github.com/elastic/kibana/blob/${branch}/src/core/server/logging/README.mdx`, title: i18n.translate('core.deprecations.loggingJson.deprecationTitle', { defaultMessage: `Setting "logging.json" is deprecated`, }), @@ -412,9 +443,7 @@ const jsonLoggingDeprecation: ConfigDeprecation = (settings, fromPath, addDeprec '"logging.json" has been deprecated and will be removed ' + 'in 8.0. To specify log message format moving forward, ' + 'you can configure the "appender.layout" property for every custom appender in your logging configuration. ' + - 'There is currently no default layout for custom appenders and each one must be declared explicitly. ' + - 'For more details, see ' + - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx', + 'There is currently no default layout for custom appenders and each one must be declared explicitly.', }), correctiveActions: { manualSteps: [ @@ -428,11 +457,15 @@ const jsonLoggingDeprecation: ConfigDeprecation = (settings, fromPath, addDeprec } }; -const logRotateDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { +const logRotateDeprecation: ConfigDeprecation = ( + settings, + fromPath, + addDeprecation, + { branch } +) => { if (settings.logging?.rotate) { addDeprecation({ - documentationUrl: - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#rolling-file-appender', + documentationUrl: `https://github.com/elastic/kibana/blob/${branch}/src/core/server/logging/README.mdx#rolling-file-appender`, title: i18n.translate('core.deprecations.loggingRotate.deprecationTitle', { defaultMessage: `Setting "logging.rotate" is deprecated`, }), @@ -440,8 +473,7 @@ const logRotateDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecat defaultMessage: '"logging.rotate" and sub-options have been deprecated and will be removed in 8.0. ' + 'Moving forward, you can enable log rotation using the "rolling-file" appender for a logger ' + - 'in your logging configuration. For more details, see ' + - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#rolling-file-appender', + 'in your logging configuration.', }), correctiveActions: { manualSteps: [ @@ -455,11 +487,15 @@ const logRotateDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecat } }; -const logEventsLogDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { +const logEventsLogDeprecation: ConfigDeprecation = ( + settings, + fromPath, + addDeprecation, + { branch } +) => { if (settings.logging?.events?.log) { addDeprecation({ - documentationUrl: - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#loggingevents', + documentationUrl: `https://github.com/elastic/kibana/blob/${branch}/src/core/server/logging/README.mdx#loggingevents`, title: i18n.translate('core.deprecations.loggingEventsLog.deprecationTitle', { defaultMessage: `Setting "logging.events.log" is deprecated`, }), @@ -480,11 +516,15 @@ const logEventsLogDeprecation: ConfigDeprecation = (settings, fromPath, addDepre } }; -const logEventsErrorDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { +const logEventsErrorDeprecation: ConfigDeprecation = ( + settings, + fromPath, + addDeprecation, + { branch } +) => { if (settings.logging?.events?.error) { addDeprecation({ - documentationUrl: - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#loggingevents', + documentationUrl: `https://github.com/elastic/kibana/blob/${branch}/src/core/server/logging/README.mdx#loggingevents`, title: i18n.translate('core.deprecations.loggingEventsError.deprecationTitle', { defaultMessage: `Setting "logging.events.error" is deprecated`, }), @@ -505,11 +545,15 @@ const logEventsErrorDeprecation: ConfigDeprecation = (settings, fromPath, addDep } }; -const logFilterDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { +const logFilterDeprecation: ConfigDeprecation = ( + settings, + fromPath, + addDeprecation, + { branch } +) => { if (settings.logging?.filter) { addDeprecation({ - documentationUrl: - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#loggingfilter', + documentationUrl: `https://github.com/elastic/kibana/blob/${branch}/src/core/server/logging/README.mdx#loggingfilter`, title: i18n.translate('core.deprecations.loggingFilter.deprecationTitle', { defaultMessage: `Setting "logging.filter" is deprecated`, }), diff --git a/x-pack/plugins/maps/server/index.ts b/x-pack/plugins/maps/server/index.ts index 291bb28eed446..4e5dfcf1f94c4 100644 --- a/x-pack/plugins/maps/server/index.ts +++ b/x-pack/plugins/maps/server/index.ts @@ -52,14 +52,14 @@ export const config: PluginConfigDescriptor = { ( completeConfig: Record, rootPath: string, - addDeprecation: AddConfigDeprecation + addDeprecation: AddConfigDeprecation, + { branch } ) => { if (_.get(completeConfig, 'map.proxyElasticMapsServiceInMaps') === undefined) { return completeConfig; } addDeprecation({ - documentationUrl: - 'https://www.elastic.co/guide/en/kibana/current/maps-connect-to-ems.html#elastic-maps-server', + documentationUrl: `https://www.elastic.co/guide/en/kibana/${branch}/maps-connect-to-ems.html#elastic-maps-server`, message: i18n.translate('xpack.maps.deprecation.proxyEMS.message', { defaultMessage: 'map.proxyElasticMapsServiceInMaps is deprecated and is no longer used', }), diff --git a/x-pack/plugins/security/server/config_deprecations.ts b/x-pack/plugins/security/server/config_deprecations.ts index 6d522076bd0d3..ce9eb76fb1dc8 100644 --- a/x-pack/plugins/security/server/config_deprecations.ts +++ b/x-pack/plugins/security/server/config_deprecations.ts @@ -30,7 +30,7 @@ export const securityConfigDeprecationProvider: ConfigDeprecationProvider = ({ unused('authorization.legacyFallback.enabled'), unused('authc.saml.maxRedirectURLSize'), // Deprecation warning for the legacy audit logger. - (settings, fromPath, addDeprecation) => { + (settings, fromPath, addDeprecation, { branch }) => { const auditLoggingEnabled = settings?.xpack?.security?.audit?.enabled ?? false; const legacyAuditLoggerEnabled = !settings?.xpack?.security?.audit?.appender; if (auditLoggingEnabled && legacyAuditLoggerEnabled) { @@ -42,8 +42,7 @@ export const securityConfigDeprecationProvider: ConfigDeprecationProvider = ({ defaultMessage: 'The legacy audit logger is deprecated in favor of the new ECS-compliant audit logger.', }), - documentationUrl: - 'https://www.elastic.co/guide/en/kibana/current/security-settings-kb.html#audit-logging-settings', + documentationUrl: `https://www.elastic.co/guide/en/kibana/${branch}/security-settings-kb.html#audit-logging-settings`, correctiveActions: { manualSteps: [ i18n.translate('xpack.security.deprecations.auditLogger.manualStepOneMessage', { @@ -141,7 +140,7 @@ export const securityConfigDeprecationProvider: ConfigDeprecationProvider = ({ }); } }, - (settings, fromPath, addDeprecation) => { + (settings, fromPath, addDeprecation, { branch }) => { if ('enabled' in (settings?.xpack?.security || {})) { addDeprecation({ title: i18n.translate('xpack.security.deprecations.enabledTitle', { @@ -151,8 +150,7 @@ export const securityConfigDeprecationProvider: ConfigDeprecationProvider = ({ defaultMessage: 'Enabling or disabling the Security plugin in Kibana is deprecated. Configure security in Elasticsearch instead.', }), - documentationUrl: - 'https://www.elastic.co/guide/en/elasticsearch/reference/current/secure-cluster.html', + documentationUrl: `https://www.elastic.co/guide/en/elasticsearch/reference/${branch}/secure-cluster.html`, correctiveActions: { manualSteps: [ i18n.translate('xpack.security.deprecations.enabled.manualStepOneMessage', { @@ -168,7 +166,7 @@ export const securityConfigDeprecationProvider: ConfigDeprecationProvider = ({ } }, // Default values for session expiration timeouts. - (settings, fromPath, addDeprecation) => { + (settings, fromPath, addDeprecation, { branch }) => { if (settings?.xpack?.security?.session?.idleTimeout === undefined) { addDeprecation({ level: 'warning', @@ -178,8 +176,7 @@ export const securityConfigDeprecationProvider: ConfigDeprecationProvider = ({ message: i18n.translate('xpack.security.deprecations.idleTimeoutMessage', { defaultMessage: 'The session idle timeout will default to 1 hour in 8.0.', }), - documentationUrl: - 'https://www.elastic.co/guide/en/kibana/current/xpack-security-session-management.html#session-idle-timeout', + documentationUrl: `https://www.elastic.co/guide/en/kibana/${branch}/xpack-security-session-management.html#session-idle-timeout`, correctiveActions: { manualSteps: [ i18n.translate('xpack.security.deprecations.idleTimeout.manualStepOneMessage', { @@ -202,8 +199,7 @@ export const securityConfigDeprecationProvider: ConfigDeprecationProvider = ({ message: i18n.translate('xpack.security.deprecations.lifespanMessage', { defaultMessage: 'The session lifespan will default to 30 days in 8.0.', }), - documentationUrl: - 'https://www.elastic.co/guide/en/kibana/current/xpack-security-session-management.html#session-lifespan', + documentationUrl: `https://www.elastic.co/guide/en/kibana/${branch}/xpack-security-session-management.html#session-lifespan`, correctiveActions: { manualSteps: [ i18n.translate('xpack.security.deprecations.lifespan.manualStepOneMessage', { From 438bb75b7e6d87f0300292edd60feac65ae176ac Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 12 Oct 2021 05:11:46 -0400 Subject: [PATCH 047/107] [Logs UI][Metrics UI] Replace usage of deprecated IndexPattern types (#114448) (#114590) * [Logs UI][Metrics UI] Replace usage of deprecated IndexPattern types (#107887) Co-authored-by: Milton Hultgren --- .../common/dependency_mocks/index_patterns.ts | 18 ++++++---------- .../resolved_log_source_configuration.ts | 12 +++++------ .../components/expression_chart.test.tsx | 4 ++-- .../components/expression_chart.tsx | 4 ++-- .../hooks/use_metrics_explorer_chart_data.ts | 4 ++-- .../logs/log_filter/log_filter_state.ts | 5 +++-- .../containers/logs/log_source/log_source.ts | 4 ++-- .../containers/with_kuery_autocompletion.tsx | 6 ++++-- .../containers/with_source/with_source.tsx | 4 ++-- .../hooks/use_kibana_index_patterns.mock.tsx | 21 +++++++------------ .../indices_configuration_panel.stories.tsx | 3 +++ .../pages/logs/settings/validation_errors.ts | 13 ++++++------ .../infra/public/pages/metrics/index.tsx | 4 ++-- .../components/toolbars/toolbar.tsx | 4 ++-- .../metrics_explorer/components/kuery_bar.tsx | 9 +++----- .../metrics_explorer/components/toolbar.tsx | 5 +++-- .../hooks/use_metric_explorer_state.ts | 4 ++-- .../hooks/use_metrics_explorer_data.test.tsx | 4 ++-- .../hooks/use_metrics_explorer_data.ts | 4 ++-- .../pages/metrics/metrics_explorer/index.tsx | 4 ++-- x-pack/plugins/infra/public/utils/kuery.ts | 5 +++-- .../utils/logs_overview_fetches.test.ts | 1 + .../log_entries_search_strategy.test.ts | 1 + .../log_entry_search_strategy.test.ts | 1 + 24 files changed, 69 insertions(+), 75 deletions(-) diff --git a/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts b/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts index 14215c1539473..03d3ec757bf55 100644 --- a/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts +++ b/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts @@ -7,17 +7,11 @@ import { from, of } from 'rxjs'; import { delay } from 'rxjs/operators'; -import { - fieldList, - FieldSpec, - IIndexPattern, - IndexPattern, - IndexPatternsContract, - RuntimeField, -} from 'src/plugins/data/common'; +import { DataView, DataViewsContract } from '../../../../../src/plugins/data_views/common'; +import { fieldList, FieldSpec, RuntimeField } from '../../../../../src/plugins/data/common'; type IndexPatternMock = Pick< - IndexPattern, + DataView, | 'fields' | 'getComputedFields' | 'getFieldByName' @@ -27,7 +21,7 @@ type IndexPatternMock = Pick< | 'title' | 'type' >; -type IndexPatternMockSpec = Pick & { +type IndexPatternMockSpec = Pick & { fields: FieldSpec[]; }; @@ -71,8 +65,8 @@ export const createIndexPatternsMock = ( asyncDelay: number, indexPatterns: IndexPatternMock[] ): { - getIdsWithTitle: IndexPatternsContract['getIdsWithTitle']; - get: (...args: Parameters) => Promise; + getIdsWithTitle: DataViewsContract['getIdsWithTitle']; + get: (...args: Parameters) => Promise; } => { return { async getIdsWithTitle(_refresh?: boolean) { diff --git a/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts b/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts index 9c41a216c7f92..567acf1fc4134 100644 --- a/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts +++ b/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts @@ -6,7 +6,7 @@ */ import { estypes } from '@elastic/elasticsearch'; -import { IndexPattern, IndexPatternsContract } from '../../../../../src/plugins/data/common'; +import { DataView, DataViewsContract } from '../../../../../src/plugins/data_views/common'; import { ObjectEntries } from '../utility_types'; import { ResolveLogSourceConfigurationError } from './errors'; import { @@ -21,14 +21,14 @@ export interface ResolvedLogSourceConfiguration { timestampField: string; tiebreakerField: string; messageField: string[]; - fields: IndexPattern['fields']; + fields: DataView['fields']; runtimeMappings: estypes.MappingRuntimeFields; columns: LogSourceColumnConfiguration[]; } export const resolveLogSourceConfiguration = async ( sourceConfiguration: LogSourceConfigurationProperties, - indexPatternsService: IndexPatternsContract + indexPatternsService: DataViewsContract ): Promise => { if (sourceConfiguration.logIndices.type === 'index_name') { return await resolveLegacyReference(sourceConfiguration, indexPatternsService); @@ -39,7 +39,7 @@ export const resolveLogSourceConfiguration = async ( const resolveLegacyReference = async ( sourceConfiguration: LogSourceConfigurationProperties, - indexPatternsService: IndexPatternsContract + indexPatternsService: DataViewsContract ): Promise => { if (sourceConfiguration.logIndices.type !== 'index_name') { throw new Error('This function can only resolve legacy references'); @@ -74,7 +74,7 @@ const resolveLegacyReference = async ( const resolveKibanaIndexPatternReference = async ( sourceConfiguration: LogSourceConfigurationProperties, - indexPatternsService: IndexPatternsContract + indexPatternsService: DataViewsContract ): Promise => { if (sourceConfiguration.logIndices.type !== 'index_pattern') { throw new Error('This function can only resolve Kibana Index Pattern references'); @@ -103,7 +103,7 @@ const resolveKibanaIndexPatternReference = async ( }; // this might take other sources of runtime fields into account in the future -const resolveRuntimeMappings = (indexPattern: IndexPattern): estypes.MappingRuntimeFields => { +const resolveRuntimeMappings = (indexPattern: DataView): estypes.MappingRuntimeFields => { const { runtimeFields } = indexPattern.getComputedFields(); const runtimeMappingsFromIndexPattern = ( diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.test.tsx b/x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.test.tsx index f3e227c6b71dd..c5c309f937cb9 100644 --- a/x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.test.tsx +++ b/x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.test.tsx @@ -9,7 +9,7 @@ import { mountWithIntl, nextTick } from '@kbn/test/jest'; // We are using this inside a `jest.mock` call. Jest requires dynamic dependencies to be prefixed with `mock` import { coreMock as mockCoreMock } from 'src/core/public/mocks'; import { MetricExpression } from '../types'; -import { IIndexPattern } from 'src/plugins/data/public'; +import { DataViewBase } from '@kbn/es-query'; import { MetricsSourceConfiguration } from '../../../../common/metrics_sources'; import React from 'react'; import { ExpressionChart } from './expression_chart'; @@ -40,7 +40,7 @@ jest.mock('../hooks/use_metrics_explorer_chart_data', () => ({ describe('ExpressionChart', () => { async function setup(expression: MetricExpression, filterQuery?: string, groupBy?: string) { - const derivedIndexPattern: IIndexPattern = { + const derivedIndexPattern: DataViewBase = { title: 'metricbeat-*', fields: [], }; diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.tsx b/x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.tsx index e5558b961ab20..b176e3907228c 100644 --- a/x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.tsx +++ b/x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.tsx @@ -10,7 +10,7 @@ import { Axis, Chart, niceTimeFormatter, Position, Settings } from '@elastic/cha import { first, last } from 'lodash'; import { EuiText } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n/react'; -import { IIndexPattern } from 'src/plugins/data/public'; +import { DataViewBase } from '@kbn/es-query'; import { MetricsSourceConfiguration } from '../../../../common/metrics_sources'; import { Color } from '../../../../common/color_palette'; import { MetricsExplorerRow, MetricsExplorerAggregation } from '../../../../common/http_api'; @@ -34,7 +34,7 @@ import { ThresholdAnnotations } from '../../common/criterion_preview_chart/thres interface Props { expression: MetricExpression; - derivedIndexPattern: IIndexPattern; + derivedIndexPattern: DataViewBase; source: MetricsSourceConfiguration | null; filterQuery?: string; groupBy?: string | string[]; diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts b/x-pack/plugins/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts index e3006993216ae..1ae1bacfed42e 100644 --- a/x-pack/plugins/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts +++ b/x-pack/plugins/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { IIndexPattern } from 'src/plugins/data/public'; +import { DataViewBase } from '@kbn/es-query'; import { useMemo } from 'react'; import { MetricsSourceConfiguration } from '../../../../common/metrics_sources'; import { MetricExpression } from '../types'; @@ -14,7 +14,7 @@ import { useMetricsExplorerData } from '../../../pages/metrics/metrics_explorer/ export const useMetricsExplorerChartData = ( expression: MetricExpression, - derivedIndexPattern: IIndexPattern, + derivedIndexPattern: DataViewBase, source: MetricsSourceConfiguration | null, filterQuery?: string, groupBy?: string | string[] diff --git a/x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts b/x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts index d4cb7ca90541f..f4576158b9a25 100644 --- a/x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts +++ b/x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts @@ -8,7 +8,8 @@ import createContainer from 'constate'; import { useCallback, useState } from 'react'; import useDebounce from 'react-use/lib/useDebounce'; -import { esQuery, IIndexPattern, Query } from '../../../../../../../src/plugins/data/public'; +import { DataViewBase } from '@kbn/es-query'; +import { esQuery, Query } from '../../../../../../../src/plugins/data/public'; type ParsedQuery = ReturnType; @@ -33,7 +34,7 @@ const initialLogFilterState: ILogFilterState = { const validationDebounceTimeout = 1000; // milliseconds -export const useLogFilterState = ({ indexPattern }: { indexPattern: IIndexPattern }) => { +export const useLogFilterState = ({ indexPattern }: { indexPattern: DataViewBase }) => { const [logFilterState, setLogFilterState] = useState(initialLogFilterState); const parseQuery = useCallback( diff --git a/x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts b/x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts index 198d0d2efe44c..8f744a1d6df6d 100644 --- a/x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts +++ b/x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts @@ -8,7 +8,7 @@ import createContainer from 'constate'; import { useCallback, useMemo, useState } from 'react'; import type { HttpHandler } from 'src/core/public'; -import { IndexPatternsContract } from '../../../../../../../src/plugins/data/common'; +import { DataViewsContract } from '../../../../../../../src/plugins/data_views/public'; import { LogIndexField, LogSourceConfigurationPropertiesPatch, @@ -42,7 +42,7 @@ export const useLogSource = ({ }: { sourceId: string; fetch: HttpHandler; - indexPatternsService: IndexPatternsContract; + indexPatternsService: DataViewsContract; }) => { const [sourceConfiguration, setSourceConfiguration] = useState< LogSourceConfiguration | undefined diff --git a/x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx b/x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx index f50c629d521e5..0e5ef1ca78033 100644 --- a/x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx +++ b/x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx @@ -6,7 +6,8 @@ */ import React from 'react'; -import { QuerySuggestion, IIndexPattern, DataPublicPluginStart } from 'src/plugins/data/public'; +import { DataViewBase } from '@kbn/es-query'; +import { QuerySuggestion, DataPublicPluginStart } from 'src/plugins/data/public'; import { withKibana, KibanaReactContextValue, @@ -21,7 +22,7 @@ interface WithKueryAutocompletionLifecycleProps { loadSuggestions: (expression: string, cursorPosition: number, maxSuggestions?: number) => void; suggestions: QuerySuggestion[]; }>; - indexPattern: IIndexPattern; + indexPattern: DataViewBase; } interface WithKueryAutocompletionLifecycleState { @@ -82,6 +83,7 @@ class WithKueryAutocompletionComponent extends React.Component< query: expression, selectionStart: cursorPosition, selectionEnd: cursorPosition, + // @ts-expect-error (until data service updates to new types) indexPatterns: [indexPattern], boolFilter: [], })) || []; diff --git a/x-pack/plugins/infra/public/containers/with_source/with_source.tsx b/x-pack/plugins/infra/public/containers/with_source/with_source.tsx index f3ca57a40c4c7..aa7ab18271d99 100644 --- a/x-pack/plugins/infra/public/containers/with_source/with_source.tsx +++ b/x-pack/plugins/infra/public/containers/with_source/with_source.tsx @@ -7,7 +7,7 @@ import React, { useContext } from 'react'; -import { IIndexPattern } from 'src/plugins/data/public'; +import { DataViewBase } from '@kbn/es-query'; import { MetricsSourceConfigurationProperties, PartialMetricsSourceConfigurationProperties, @@ -21,7 +21,7 @@ interface WithSourceProps { create: ( sourceProperties: PartialMetricsSourceConfigurationProperties ) => Promise | undefined; - createDerivedIndexPattern: (type: 'metrics') => IIndexPattern; + createDerivedIndexPattern: (type: 'metrics') => DataViewBase; exists?: boolean; hasFailed: boolean; isLoading: boolean; diff --git a/x-pack/plugins/infra/public/hooks/use_kibana_index_patterns.mock.tsx b/x-pack/plugins/infra/public/hooks/use_kibana_index_patterns.mock.tsx index 9d3a611cff88d..99cd094b50e1e 100644 --- a/x-pack/plugins/infra/public/hooks/use_kibana_index_patterns.mock.tsx +++ b/x-pack/plugins/infra/public/hooks/use_kibana_index_patterns.mock.tsx @@ -10,23 +10,16 @@ import { from, of } from 'rxjs'; import { delay } from 'rxjs/operators'; import { CoreStart } from '../../../../../src/core/public'; import { FieldSpec } from '../../../../../src/plugins/data/common'; -import { - IIndexPattern, - IndexPattern, - IndexPatternField, - IndexPatternsContract, -} from '../../../../../src/plugins/data/public'; +import { DataView, DataViewsContract } from '../../../../../src/plugins/data_views/public'; +import { DataViewField } from '../../../../../src/plugins/data_views/common'; import { KibanaContextProvider } from '../../../../../src/plugins/kibana_react/public'; import { Pick2 } from '../../common/utility_types'; type MockIndexPattern = Pick< - IndexPattern, + DataView, 'id' | 'title' | 'type' | 'getTimeField' | 'isTimeBased' | 'getFieldByName' | 'getComputedFields' >; -export type MockIndexPatternSpec = Pick< - IIndexPattern, - 'id' | 'title' | 'type' | 'timeFieldName' -> & { +export type MockIndexPatternSpec = Pick & { fields: FieldSpec[]; }; @@ -59,8 +52,8 @@ export const createIndexPatternsMock = ( asyncDelay: number, indexPatterns: MockIndexPattern[] ): { - getIdsWithTitle: IndexPatternsContract['getIdsWithTitle']; - get: (...args: Parameters) => Promise; + getIdsWithTitle: DataViewsContract['getIdsWithTitle']; + get: (...args: Parameters) => Promise; } => { return { async getIdsWithTitle(_refresh?: boolean) { @@ -85,7 +78,7 @@ export const createIndexPatternMock = ({ fields, timeFieldName, }: MockIndexPatternSpec): MockIndexPattern => { - const indexPatternFields = fields.map((fieldSpec) => new IndexPatternField(fieldSpec)); + const indexPatternFields = fields.map((fieldSpec) => new DataViewField(fieldSpec)); return { id, diff --git a/x-pack/plugins/infra/public/pages/logs/settings/indices_configuration_panel.stories.tsx b/x-pack/plugins/infra/public/pages/logs/settings/indices_configuration_panel.stories.tsx index 8cc9f5b4357ef..546bb9aab0f33 100644 --- a/x-pack/plugins/infra/public/pages/logs/settings/indices_configuration_panel.stories.tsx +++ b/x-pack/plugins/infra/public/pages/logs/settings/indices_configuration_panel.stories.tsx @@ -131,6 +131,7 @@ const defaultArgs: IndicesConfigurationPanelStoryArgs = { id: 'INDEX_PATTERN_A', title: 'pattern-a-*', timeFieldName: '@timestamp', + type: undefined, fields: [ { name: '@timestamp', @@ -149,6 +150,8 @@ const defaultArgs: IndicesConfigurationPanelStoryArgs = { { id: 'INDEX_PATTERN_B', title: 'pattern-b-*', + timeFieldName: '@timestamp', + type: undefined, fields: [], }, ], diff --git a/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts b/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts index 81b9297f8a70b..896fecc8d70dd 100644 --- a/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts +++ b/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts @@ -5,7 +5,8 @@ * 2.0. */ -import { IndexPattern, KBN_FIELD_TYPES } from '../../../../../../../src/plugins/data/public'; +import { DataView } from '../../../../../../../src/plugins/data_views/public'; +import { KBN_FIELD_TYPES } from '../../../../../../../src/plugins/data/public'; export interface GenericValidationError { type: 'generic'; @@ -67,7 +68,7 @@ export const validateStringNotEmpty = (fieldName: string, value: string): FormVa export const validateColumnListNotEmpty = (columns: unknown[]): FormValidationError[] => columns.length <= 0 ? [{ type: 'empty_column_list' }] : []; -export const validateIndexPattern = (indexPattern: IndexPattern): FormValidationError[] => { +export const validateIndexPattern = (indexPattern: DataView): FormValidationError[] => { return [ ...validateIndexPatternIsTimeBased(indexPattern), ...validateIndexPatternHasStringMessageField(indexPattern), @@ -75,9 +76,7 @@ export const validateIndexPattern = (indexPattern: IndexPattern): FormValidation ]; }; -export const validateIndexPatternIsTimeBased = ( - indexPattern: IndexPattern -): FormValidationError[] => +export const validateIndexPatternIsTimeBased = (indexPattern: DataView): FormValidationError[] => indexPattern.isTimeBased() ? [] : [ @@ -88,7 +87,7 @@ export const validateIndexPatternIsTimeBased = ( ]; export const validateIndexPatternHasStringMessageField = ( - indexPattern: IndexPattern + indexPattern: DataView ): FormValidationError[] => { const messageField = indexPattern.getFieldByName('message'); @@ -111,7 +110,7 @@ export const validateIndexPatternHasStringMessageField = ( } }; -export const validateIndexPatternIsntRollup = (indexPattern: IndexPattern): FormValidationError[] => +export const validateIndexPatternIsntRollup = (indexPattern: DataView): FormValidationError[] => indexPattern.type != null ? [ { diff --git a/x-pack/plugins/infra/public/pages/metrics/index.tsx b/x-pack/plugins/infra/public/pages/metrics/index.tsx index d4845a4dd9e44..ae375dc504e7a 100644 --- a/x-pack/plugins/infra/public/pages/metrics/index.tsx +++ b/x-pack/plugins/infra/public/pages/metrics/index.tsx @@ -11,7 +11,7 @@ import React, { useContext } from 'react'; import { Route, RouteComponentProps, Switch } from 'react-router-dom'; import { EuiErrorBoundary, EuiHeaderLinks, EuiHeaderLink } from '@elastic/eui'; -import { IIndexPattern } from 'src/plugins/data/common'; +import { DataViewBase } from '@kbn/es-query'; import { MetricsSourceConfigurationProperties } from '../../../common/metrics_sources'; import { DocumentTitle } from '../../components/document_title'; import { HelpCenterContent } from '../../components/help_center_content'; @@ -141,7 +141,7 @@ export const InfrastructurePage = ({ match }: RouteComponentProps) => { const PageContent = (props: { configuration: MetricsSourceConfigurationProperties; - createDerivedIndexPattern: (type: 'metrics') => IIndexPattern; + createDerivedIndexPattern: (type: 'metrics') => DataViewBase; }) => { const { createDerivedIndexPattern, configuration } = props; const { options } = useContext(MetricsExplorerOptionsContainer.Context); diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx b/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx index 1c79807f139c3..14f4177798be8 100644 --- a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx +++ b/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx @@ -7,6 +7,7 @@ import React, { FunctionComponent } from 'react'; import { EuiFlexItem } from '@elastic/eui'; +import { DataViewBase } from '@kbn/es-query'; import { useSourceContext } from '../../../../../containers/metrics_source'; import { SnapshotMetricInput, @@ -18,13 +19,12 @@ import { findToolbar } from '../../../../../../common/inventory_models/toolbars' import { ToolbarWrapper } from './toolbar_wrapper'; import { InfraGroupByOptions } from '../../../../../lib/lib'; -import { IIndexPattern } from '../../../../../../../../../src/plugins/data/public'; import { InventoryItemType } from '../../../../../../common/inventory_models/types'; import { WaffleOptionsState, WaffleSortOption } from '../../hooks/use_waffle_options'; import { useInventoryMeta } from '../../hooks/use_inventory_meta'; export interface ToolbarProps extends Omit { - createDerivedIndexPattern: (type: 'metrics') => IIndexPattern; + createDerivedIndexPattern: (type: 'metrics') => DataViewBase; changeMetric: (payload: SnapshotMetricInput) => void; changeGroupBy: (payload: SnapshotGroupBy) => void; changeCustomOptions: (payload: InfraGroupByOptions[]) => void; diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx b/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx index cf201c9a57f7c..2be5f14005b26 100644 --- a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx +++ b/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx @@ -8,13 +8,10 @@ import { i18n } from '@kbn/i18n'; import React, { useEffect, useState } from 'react'; +import { DataViewBase } from '@kbn/es-query'; import { WithKueryAutocompletion } from '../../../../containers/with_kuery_autocompletion'; import { AutocompleteField } from '../../../../components/autocomplete_field'; -import { - esKuery, - IIndexPattern, - QuerySuggestion, -} from '../../../../../../../../src/plugins/data/public'; +import { esKuery, QuerySuggestion } from '../../../../../../../../src/plugins/data/public'; type LoadSuggestionsFn = ( e: string, @@ -25,7 +22,7 @@ type LoadSuggestionsFn = ( export type CurryLoadSuggestionsType = (loadSuggestions: LoadSuggestionsFn) => LoadSuggestionsFn; interface Props { - derivedIndexPattern: IIndexPattern; + derivedIndexPattern: DataViewBase; onSubmit: (query: string) => void; onChange?: (query: string) => void; value?: string | null; diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx b/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx index 64da554dee690..01b2d129a1f9e 100644 --- a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx +++ b/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx @@ -8,7 +8,8 @@ import { EuiFlexGroup, EuiFlexItem, EuiSuperDatePicker, EuiText } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n/react'; import React from 'react'; -import { IIndexPattern, UI_SETTINGS } from '../../../../../../../../src/plugins/data/public'; +import { DataViewBase } from '@kbn/es-query'; +import { UI_SETTINGS } from '../../../../../../../../src/plugins/data/public'; import { MetricsExplorerMetric, MetricsExplorerAggregation, @@ -27,7 +28,7 @@ import { useKibanaUiSetting } from '../../../../utils/use_kibana_ui_setting'; import { mapKibanaQuickRangesToDatePickerRanges } from '../../../../utils/map_timepicker_quickranges_to_datepicker_ranges'; interface Props { - derivedIndexPattern: IIndexPattern; + derivedIndexPattern: DataViewBase; timeRange: MetricsExplorerTimeOptions; options: MetricsExplorerOptions; chartOptions: MetricsExplorerChartOptions; diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts b/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts index a304c81ca1298..39eb7c928997b 100644 --- a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts +++ b/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts @@ -6,7 +6,7 @@ */ import { useState, useCallback, useContext } from 'react'; -import { IIndexPattern } from 'src/plugins/data/public'; +import { DataViewBase } from '@kbn/es-query'; import { MetricsSourceConfigurationProperties } from '../../../../../common/metrics_sources'; import { MetricsExplorerMetric, @@ -29,7 +29,7 @@ export interface MetricExplorerViewState { export const useMetricsExplorerState = ( source: MetricsSourceConfigurationProperties, - derivedIndexPattern: IIndexPattern, + derivedIndexPattern: DataViewBase, shouldLoadImmediately = true ) => { const [refreshSignal, setRefreshSignal] = useState(0); diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.test.tsx b/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.test.tsx index 9a5e5fcf39ce4..0f903e4c4553a 100644 --- a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.test.tsx +++ b/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.test.tsx @@ -20,7 +20,7 @@ import { createSeries, } from '../../../../utils/fixtures/metrics_explorer'; import { MetricsExplorerOptions, MetricsExplorerTimeOptions } from './use_metrics_explorer_options'; -import { IIndexPattern } from '../../../../../../../../src/plugins/data/public'; +import { DataViewBase } from '@kbn/es-query'; import { HttpHandler } from 'kibana/public'; import { MetricsSourceConfigurationProperties } from '../../../../../common/metrics_sources'; @@ -39,7 +39,7 @@ const renderUseMetricsExplorerDataHook = () => { (props: { options: MetricsExplorerOptions; source: MetricsSourceConfigurationProperties | undefined; - derivedIndexPattern: IIndexPattern; + derivedIndexPattern: DataViewBase; timeRange: MetricsExplorerTimeOptions; afterKey: string | null | Record; signal: any; diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts b/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts index 95f98e172541a..6b7e98912fd49 100644 --- a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts +++ b/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts @@ -8,7 +8,7 @@ import DateMath from '@elastic/datemath'; import { isEqual } from 'lodash'; import { useEffect, useState } from 'react'; -import { IIndexPattern } from 'src/plugins/data/public'; +import { DataViewBase } from '@kbn/es-query'; import { MetricsSourceConfigurationProperties } from '../../../../../common/metrics_sources'; import { MetricsExplorerResponse, @@ -27,7 +27,7 @@ function isSameOptions(current: MetricsExplorerOptions, next: MetricsExplorerOpt export function useMetricsExplorerData( options: MetricsExplorerOptions, source: MetricsSourceConfigurationProperties | undefined, - derivedIndexPattern: IIndexPattern, + derivedIndexPattern: DataViewBase, timerange: MetricsExplorerTimeOptions, afterKey: string | null | Record, signal: any, diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx b/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx index f2345b0b8e020..dabf5db9afe92 100644 --- a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx +++ b/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx @@ -8,7 +8,7 @@ import { EuiErrorBoundary } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import React, { useEffect, useContext } from 'react'; -import { IIndexPattern } from 'src/plugins/data/public'; +import { DataViewBase } from '@kbn/es-query'; import { MetricsSourceConfigurationProperties } from '../../../../common/metrics_sources'; import { useTrackPageview } from '../../../../../observability/public'; import { useMetricsBreadcrumbs } from '../../../hooks/use_metrics_breadcrumbs'; @@ -25,7 +25,7 @@ import { SavedViewsToolbarControls } from '../../../components/saved_views/toolb interface MetricsExplorerPageProps { source: MetricsSourceConfigurationProperties; - derivedIndexPattern: IIndexPattern; + derivedIndexPattern: DataViewBase; } export const MetricsExplorerPage = ({ source, derivedIndexPattern }: MetricsExplorerPageProps) => { diff --git a/x-pack/plugins/infra/public/utils/kuery.ts b/x-pack/plugins/infra/public/utils/kuery.ts index 19706d7664c22..c7528b237cce5 100644 --- a/x-pack/plugins/infra/public/utils/kuery.ts +++ b/x-pack/plugins/infra/public/utils/kuery.ts @@ -5,11 +5,12 @@ * 2.0. */ -import { esKuery, IIndexPattern } from '../../../../../src/plugins/data/public'; +import { DataViewBase } from '@kbn/es-query'; +import { esKuery } from '../../../../../src/plugins/data/public'; export const convertKueryToElasticSearchQuery = ( kueryExpression: string, - indexPattern: IIndexPattern + indexPattern: DataViewBase ) => { try { return kueryExpression diff --git a/x-pack/plugins/infra/public/utils/logs_overview_fetches.test.ts b/x-pack/plugins/infra/public/utils/logs_overview_fetches.test.ts index 6dfb400567717..4fcb83fd02754 100644 --- a/x-pack/plugins/infra/public/utils/logs_overview_fetches.test.ts +++ b/x-pack/plugins/infra/public/utils/logs_overview_fetches.test.ts @@ -48,6 +48,7 @@ function setup() { id: 'test-index-pattern', title: 'log-indices-*', timeFieldName: '@timestamp', + type: undefined, fields: [ { name: 'event.dataset', diff --git a/x-pack/plugins/infra/server/services/log_entries/log_entries_search_strategy.test.ts b/x-pack/plugins/infra/server/services/log_entries/log_entries_search_strategy.test.ts index 876aad4ef8d02..85a1b95cf70aa 100644 --- a/x-pack/plugins/infra/server/services/log_entries/log_entries_search_strategy.test.ts +++ b/x-pack/plugins/infra/server/services/log_entries/log_entries_search_strategy.test.ts @@ -342,6 +342,7 @@ const createDataPluginMock = (esSearchStrategyMock: ISearchStrategy): any => ({ id: 'test-index-pattern', title: 'log-indices-*', timeFieldName: '@timestamp', + type: undefined, fields: [ { name: 'event.dataset', diff --git a/x-pack/plugins/infra/server/services/log_entries/log_entry_search_strategy.test.ts b/x-pack/plugins/infra/server/services/log_entries/log_entry_search_strategy.test.ts index 88c9d956dbe0a..ec3d4aa52a6b5 100644 --- a/x-pack/plugins/infra/server/services/log_entries/log_entry_search_strategy.test.ts +++ b/x-pack/plugins/infra/server/services/log_entries/log_entry_search_strategy.test.ts @@ -297,6 +297,7 @@ const createDataPluginMock = (esSearchStrategyMock: ISearchStrategy): any => ({ id: 'test-index-pattern', title: 'log-indices-*', timeFieldName: '@timestamp', + type: undefined, fields: [ { name: 'event.dataset', From c2f18324be1bec5ad8e66a4203d66947956f9a3c Mon Sep 17 00:00:00 2001 From: Dario Gieselaar Date: Tue, 12 Oct 2021 12:37:22 +0200 Subject: [PATCH 048/107] [7.x] [APM] Trace generation library (#113764) (#114259) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- package.json | 1 + packages/BUILD.bazel | 3 +- packages/elastic-apm-generator/BUILD.bazel | 99 + packages/elastic-apm-generator/README.md | 0 packages/elastic-apm-generator/jest.config.js | 15 + packages/elastic-apm-generator/package.json | 9 + packages/elastic-apm-generator/src/index.ts | 14 + .../src/lib/base_span.ts | 55 + .../src/lib/defaults/get_observer_defaults.ts | 16 + .../elastic-apm-generator/src/lib/entity.ts | 63 + .../elastic-apm-generator/src/lib/instance.ts | 30 + .../elastic-apm-generator/src/lib/interval.ts | 32 + .../src/lib/metricset.ts | 17 + .../src/lib/output/to_elasticsearch_output.ts | 33 + .../src/lib/serializable.ts | 25 + .../elastic-apm-generator/src/lib/service.ts | 27 + .../elastic-apm-generator/src/lib/span.ts | 53 + .../src/lib/timerange.ts | 21 + .../src/lib/transaction.ts | 37 + .../src/lib/utils/generate_id.ts | 25 + .../lib/utils/get_span_destination_metrics.ts | 51 + .../src/lib/utils/get_transaction_metrics.ts | 89 + .../elastic-apm-generator/src/scripts/es.js | 15 + .../elastic-apm-generator/src/scripts/es.ts | 113 + .../src/scripts/examples/01_simple_trace.ts | 54 + .../test/scenarios/01_simple_trace.test.ts | 108 + .../scenarios/02_transaction_metrics.test.ts | 107 + .../03_span_destination_metrics.test.ts | 105 + .../01_simple_trace.test.ts.snap | 516 + .../src/test/to_elasticsearch_output.test.ts | 37 + packages/elastic-apm-generator/tsconfig.json | 19 + .../test/apm_api_integration/common/config.ts | 3 +- .../es_archiver/apm_8.0.0_empty/mappings.json | 22073 ++++++++++++++++ .../apm_api_integration/common/registry.ts | 1 + .../apm_api_integration/common/trace_data.ts | 65 + .../tests/services/throughput.ts | 143 +- yarn.lock | 4 + 37 files changed, 24075 insertions(+), 3 deletions(-) create mode 100644 packages/elastic-apm-generator/BUILD.bazel create mode 100644 packages/elastic-apm-generator/README.md create mode 100644 packages/elastic-apm-generator/jest.config.js create mode 100644 packages/elastic-apm-generator/package.json create mode 100644 packages/elastic-apm-generator/src/index.ts create mode 100644 packages/elastic-apm-generator/src/lib/base_span.ts create mode 100644 packages/elastic-apm-generator/src/lib/defaults/get_observer_defaults.ts create mode 100644 packages/elastic-apm-generator/src/lib/entity.ts create mode 100644 packages/elastic-apm-generator/src/lib/instance.ts create mode 100644 packages/elastic-apm-generator/src/lib/interval.ts create mode 100644 packages/elastic-apm-generator/src/lib/metricset.ts create mode 100644 packages/elastic-apm-generator/src/lib/output/to_elasticsearch_output.ts create mode 100644 packages/elastic-apm-generator/src/lib/serializable.ts create mode 100644 packages/elastic-apm-generator/src/lib/service.ts create mode 100644 packages/elastic-apm-generator/src/lib/span.ts create mode 100644 packages/elastic-apm-generator/src/lib/timerange.ts create mode 100644 packages/elastic-apm-generator/src/lib/transaction.ts create mode 100644 packages/elastic-apm-generator/src/lib/utils/generate_id.ts create mode 100644 packages/elastic-apm-generator/src/lib/utils/get_span_destination_metrics.ts create mode 100644 packages/elastic-apm-generator/src/lib/utils/get_transaction_metrics.ts create mode 100644 packages/elastic-apm-generator/src/scripts/es.js create mode 100644 packages/elastic-apm-generator/src/scripts/es.ts create mode 100644 packages/elastic-apm-generator/src/scripts/examples/01_simple_trace.ts create mode 100644 packages/elastic-apm-generator/src/test/scenarios/01_simple_trace.test.ts create mode 100644 packages/elastic-apm-generator/src/test/scenarios/02_transaction_metrics.test.ts create mode 100644 packages/elastic-apm-generator/src/test/scenarios/03_span_destination_metrics.test.ts create mode 100644 packages/elastic-apm-generator/src/test/scenarios/__snapshots__/01_simple_trace.test.ts.snap create mode 100644 packages/elastic-apm-generator/src/test/to_elasticsearch_output.test.ts create mode 100644 packages/elastic-apm-generator/tsconfig.json create mode 100644 x-pack/test/apm_api_integration/common/fixtures/es_archiver/apm_8.0.0_empty/mappings.json create mode 100644 x-pack/test/apm_api_integration/common/trace_data.ts diff --git a/package.json b/package.json index 49a2c38b99bae..2a10570519293 100644 --- a/package.json +++ b/package.json @@ -90,6 +90,7 @@ }, "dependencies": { "@babel/runtime": "^7.15.4", + "@elastic/apm-generator": "link:bazel-bin/packages/elastic-apm-generator", "@elastic/apm-rum": "^5.9.1", "@elastic/apm-rum-react": "^1.3.1", "@elastic/charts": "34.2.1", diff --git a/packages/BUILD.bazel b/packages/BUILD.bazel index 36bdee5303cb7..9d9d23b2fc9b9 100644 --- a/packages/BUILD.bazel +++ b/packages/BUILD.bazel @@ -3,7 +3,8 @@ filegroup( name = "build", srcs = [ - "//packages/elastic-datemath:build", + "//packages/elastic-apm-generator:build", + "//packages/elastic-datemath:build", "//packages/elastic-eslint-config-kibana:build", "//packages/elastic-safer-lodash-set:build", "//packages/kbn-ace:build", diff --git a/packages/elastic-apm-generator/BUILD.bazel b/packages/elastic-apm-generator/BUILD.bazel new file mode 100644 index 0000000000000..6b46b2b9181e5 --- /dev/null +++ b/packages/elastic-apm-generator/BUILD.bazel @@ -0,0 +1,99 @@ +load("@npm//@bazel/typescript:index.bzl", "ts_config", "ts_project") +load("@build_bazel_rules_nodejs//:index.bzl", "js_library", "pkg_npm") +load("//src/dev/bazel:index.bzl", "jsts_transpiler") + +PKG_BASE_NAME = "elastic-apm-generator" +PKG_REQUIRE_NAME = "@elastic/apm-generator" + +SOURCE_FILES = glob( + [ + "src/**/*.ts", + ], + exclude = ["**/*.test.*"], +) + +SRCS = SOURCE_FILES + +filegroup( + name = "srcs", + srcs = SRCS, +) + +NPM_MODULE_EXTRA_FILES = [ + "package.json", + "README.md" +] + +RUNTIME_DEPS = [ + "@npm//@elastic/elasticsearch", + "@npm//lodash", + "@npm//moment", + "@npm//object-hash", + "@npm//p-limit", + "@npm//utility-types", + "@npm//uuid", + "@npm//yargs", +] + +TYPES_DEPS = [ + "@npm//@elastic/elasticsearch", + "@npm//moment", + "@npm//p-limit", + "@npm//@types/jest", + "@npm//@types/lodash", + "@npm//@types/node", + "@npm//@types/uuid", + "@npm//@types/object-hash", +] + +jsts_transpiler( + name = "target_node", + srcs = SRCS, + build_pkg_name = package_name(), +) + +ts_config( + name = "tsconfig", + src = "tsconfig.json", + deps = [ + "//:tsconfig.base.json", + "//:tsconfig.bazel.json", + ], +) + +ts_project( + name = "tsc_types", + args = ['--pretty'], + srcs = SRCS, + deps = TYPES_DEPS, + declaration = True, + declaration_map = True, + emit_declaration_only = True, + out_dir = "target_types", + root_dir = "src", + source_map = True, + tsconfig = ":tsconfig", +) + +js_library( + name = PKG_BASE_NAME, + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + +pkg_npm( + name = "npm_module", + deps = [ + ":%s" % PKG_BASE_NAME, + ] +) + +filegroup( + name = "build", + srcs = [ + ":npm_module", + ], + visibility = ["//visibility:public"], +) diff --git a/packages/elastic-apm-generator/README.md b/packages/elastic-apm-generator/README.md new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/packages/elastic-apm-generator/jest.config.js b/packages/elastic-apm-generator/jest.config.js new file mode 100644 index 0000000000000..64aaa43741cc3 --- /dev/null +++ b/packages/elastic-apm-generator/jest.config.js @@ -0,0 +1,15 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../..', + roots: ['/packages/elastic-apm-generator'], + setupFiles: [], + setupFilesAfterEnv: [], +}; diff --git a/packages/elastic-apm-generator/package.json b/packages/elastic-apm-generator/package.json new file mode 100644 index 0000000000000..57dafd5d6431d --- /dev/null +++ b/packages/elastic-apm-generator/package.json @@ -0,0 +1,9 @@ +{ + "name": "@elastic/apm-generator", + "version": "0.1.0", + "description": "Elastic APM trace data generator", + "license": "SSPL-1.0 OR Elastic License 2.0", + "main": "./target_node/index.js", + "types": "./target_types/index.d.ts", + "private": true +} diff --git a/packages/elastic-apm-generator/src/index.ts b/packages/elastic-apm-generator/src/index.ts new file mode 100644 index 0000000000000..fd83ce483ad4f --- /dev/null +++ b/packages/elastic-apm-generator/src/index.ts @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +export { service } from './lib/service'; +export { timerange } from './lib/timerange'; +export { getTransactionMetrics } from './lib/utils/get_transaction_metrics'; +export { getSpanDestinationMetrics } from './lib/utils/get_span_destination_metrics'; +export { getObserverDefaults } from './lib/defaults/get_observer_defaults'; +export { toElasticsearchOutput } from './lib/output/to_elasticsearch_output'; diff --git a/packages/elastic-apm-generator/src/lib/base_span.ts b/packages/elastic-apm-generator/src/lib/base_span.ts new file mode 100644 index 0000000000000..24a51282687f4 --- /dev/null +++ b/packages/elastic-apm-generator/src/lib/base_span.ts @@ -0,0 +1,55 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { Fields } from './entity'; +import { Serializable } from './serializable'; +import { generateTraceId } from './utils/generate_id'; + +export class BaseSpan extends Serializable { + private _children: BaseSpan[] = []; + + constructor(fields: Fields) { + super({ + ...fields, + 'event.outcome': 'unknown', + 'trace.id': generateTraceId(), + 'processor.name': 'transaction', + }); + } + + traceId(traceId: string) { + this.fields['trace.id'] = traceId; + this._children.forEach((child) => { + child.fields['trace.id'] = traceId; + }); + return this; + } + + children(...children: BaseSpan[]) { + this._children.push(...children); + children.forEach((child) => { + child.traceId(this.fields['trace.id']!); + }); + + return this; + } + + success() { + this.fields['event.outcome'] = 'success'; + return this; + } + + failure() { + this.fields['event.outcome'] = 'failure'; + return this; + } + + serialize(): Fields[] { + return [this.fields, ...this._children.flatMap((child) => child.serialize())]; + } +} diff --git a/packages/elastic-apm-generator/src/lib/defaults/get_observer_defaults.ts b/packages/elastic-apm-generator/src/lib/defaults/get_observer_defaults.ts new file mode 100644 index 0000000000000..67a4d5773b937 --- /dev/null +++ b/packages/elastic-apm-generator/src/lib/defaults/get_observer_defaults.ts @@ -0,0 +1,16 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { Fields } from '../entity'; + +export function getObserverDefaults(): Fields { + return { + 'observer.version': '7.16.0', + 'observer.version_major': 7, + }; +} diff --git a/packages/elastic-apm-generator/src/lib/entity.ts b/packages/elastic-apm-generator/src/lib/entity.ts new file mode 100644 index 0000000000000..e0a048c876213 --- /dev/null +++ b/packages/elastic-apm-generator/src/lib/entity.ts @@ -0,0 +1,63 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +export type Fields = Partial<{ + '@timestamp': number; + 'agent.name': string; + 'agent.version': string; + 'ecs.version': string; + 'event.outcome': string; + 'event.ingested': number; + 'metricset.name': string; + 'observer.version': string; + 'observer.version_major': number; + 'parent.id': string; + 'processor.event': string; + 'processor.name': string; + 'trace.id': string; + 'transaction.name': string; + 'transaction.type': string; + 'transaction.id': string; + 'transaction.duration.us': number; + 'transaction.duration.histogram': { + values: number[]; + counts: number[]; + }; + 'transaction.sampled': true; + 'service.name': string; + 'service.environment': string; + 'service.node.name': string; + 'span.id': string; + 'span.name': string; + 'span.type': string; + 'span.subtype': string; + 'span.duration.us': number; + 'span.destination.service.name': string; + 'span.destination.service.resource': string; + 'span.destination.service.type': string; + 'span.destination.service.response_time.sum.us': number; + 'span.destination.service.response_time.count': number; +}>; + +export class Entity { + constructor(public readonly fields: Fields) { + this.fields = fields; + } + + defaults(defaults: Fields) { + Object.keys(defaults).forEach((key) => { + const fieldName: keyof Fields = key as any; + + if (!(fieldName in this.fields)) { + this.fields[fieldName] = defaults[fieldName] as any; + } + }); + + return this; + } +} diff --git a/packages/elastic-apm-generator/src/lib/instance.ts b/packages/elastic-apm-generator/src/lib/instance.ts new file mode 100644 index 0000000000000..4218a9e23f4b4 --- /dev/null +++ b/packages/elastic-apm-generator/src/lib/instance.ts @@ -0,0 +1,30 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { Entity } from './entity'; +import { Span } from './span'; +import { Transaction } from './transaction'; + +export class Instance extends Entity { + transaction(transactionName: string, transactionType = 'request') { + return new Transaction({ + ...this.fields, + 'transaction.name': transactionName, + 'transaction.type': transactionType, + }); + } + + span(spanName: string, spanType: string, spanSubtype?: string) { + return new Span({ + ...this.fields, + 'span.name': spanName, + 'span.type': spanType, + 'span.subtype': spanSubtype, + }); + } +} diff --git a/packages/elastic-apm-generator/src/lib/interval.ts b/packages/elastic-apm-generator/src/lib/interval.ts new file mode 100644 index 0000000000000..f13d54fd7415e --- /dev/null +++ b/packages/elastic-apm-generator/src/lib/interval.ts @@ -0,0 +1,32 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ +import moment from 'moment'; + +export class Interval { + constructor( + private readonly from: number, + private readonly to: number, + private readonly interval: string + ) {} + + rate(rate: number) { + let now = this.from; + const args = this.interval.match(/(.*)(s|m|h|d)/); + if (!args) { + throw new Error('Failed to parse interval'); + } + const timestamps: number[] = []; + while (now <= this.to) { + timestamps.push(...new Array(rate).fill(now)); + now = moment(now) + .add(Number(args[1]), args[2] as any) + .valueOf(); + } + return timestamps; + } +} diff --git a/packages/elastic-apm-generator/src/lib/metricset.ts b/packages/elastic-apm-generator/src/lib/metricset.ts new file mode 100644 index 0000000000000..f7abec6fde958 --- /dev/null +++ b/packages/elastic-apm-generator/src/lib/metricset.ts @@ -0,0 +1,17 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { Serializable } from './serializable'; + +export class Metricset extends Serializable {} + +export function metricset(name: string) { + return new Metricset({ + 'metricset.name': name, + }); +} diff --git a/packages/elastic-apm-generator/src/lib/output/to_elasticsearch_output.ts b/packages/elastic-apm-generator/src/lib/output/to_elasticsearch_output.ts new file mode 100644 index 0000000000000..ded94f9ad2276 --- /dev/null +++ b/packages/elastic-apm-generator/src/lib/output/to_elasticsearch_output.ts @@ -0,0 +1,33 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { set } from 'lodash'; +import { getObserverDefaults } from '../..'; +import { Fields } from '../entity'; + +export function toElasticsearchOutput(events: Fields[], versionOverride?: string) { + return events.map((event) => { + const values = { + ...event, + '@timestamp': new Date(event['@timestamp']!).toISOString(), + 'timestamp.us': event['@timestamp']! * 1000, + 'ecs.version': '1.4', + ...getObserverDefaults(), + }; + + const document = {}; + // eslint-disable-next-line guard-for-in + for (const key in values) { + set(document, key, values[key as keyof typeof values]); + } + return { + _index: `apm-${versionOverride || values['observer.version']}-${values['processor.event']}`, + _source: document, + }; + }); +} diff --git a/packages/elastic-apm-generator/src/lib/serializable.ts b/packages/elastic-apm-generator/src/lib/serializable.ts new file mode 100644 index 0000000000000..3a92dc539855a --- /dev/null +++ b/packages/elastic-apm-generator/src/lib/serializable.ts @@ -0,0 +1,25 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { Entity, Fields } from './entity'; + +export class Serializable extends Entity { + constructor(fields: Fields) { + super({ + ...fields, + }); + } + + timestamp(time: number) { + this.fields['@timestamp'] = time; + return this; + } + serialize(): Fields[] { + return [this.fields]; + } +} diff --git a/packages/elastic-apm-generator/src/lib/service.ts b/packages/elastic-apm-generator/src/lib/service.ts new file mode 100644 index 0000000000000..8ddbd827e842e --- /dev/null +++ b/packages/elastic-apm-generator/src/lib/service.ts @@ -0,0 +1,27 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { Entity } from './entity'; +import { Instance } from './instance'; + +export class Service extends Entity { + instance(instanceName: string) { + return new Instance({ + ...this.fields, + ['service.node.name']: instanceName, + }); + } +} + +export function service(name: string, environment: string, agentName: string) { + return new Service({ + 'service.name': name, + 'service.environment': environment, + 'agent.name': agentName, + }); +} diff --git a/packages/elastic-apm-generator/src/lib/span.ts b/packages/elastic-apm-generator/src/lib/span.ts new file mode 100644 index 0000000000000..da9ba9cdff722 --- /dev/null +++ b/packages/elastic-apm-generator/src/lib/span.ts @@ -0,0 +1,53 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { BaseSpan } from './base_span'; +import { Fields } from './entity'; +import { generateEventId } from './utils/generate_id'; + +export class Span extends BaseSpan { + constructor(fields: Fields) { + super({ + ...fields, + 'processor.event': 'span', + 'span.id': generateEventId(), + }); + } + + children(...children: BaseSpan[]) { + super.children(...children); + + children.forEach((child) => + child.defaults({ + 'parent.id': this.fields['span.id'], + }) + ); + + return this; + } + + duration(duration: number) { + this.fields['span.duration.us'] = duration * 1000; + return this; + } + + destination(resource: string, type?: string, name?: string) { + if (!type) { + type = this.fields['span.type']; + } + + if (!name) { + name = resource; + } + this.fields['span.destination.service.resource'] = resource; + this.fields['span.destination.service.name'] = name; + this.fields['span.destination.service.type'] = type; + + return this; + } +} diff --git a/packages/elastic-apm-generator/src/lib/timerange.ts b/packages/elastic-apm-generator/src/lib/timerange.ts new file mode 100644 index 0000000000000..14111ad7b8495 --- /dev/null +++ b/packages/elastic-apm-generator/src/lib/timerange.ts @@ -0,0 +1,21 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { Interval } from './interval'; + +export class Timerange { + constructor(private from: number, private to: number) {} + + interval(interval: string) { + return new Interval(this.from, this.to, interval); + } +} + +export function timerange(from: number, to: number) { + return new Timerange(from, to); +} diff --git a/packages/elastic-apm-generator/src/lib/transaction.ts b/packages/elastic-apm-generator/src/lib/transaction.ts new file mode 100644 index 0000000000000..14ed6ac1ea85e --- /dev/null +++ b/packages/elastic-apm-generator/src/lib/transaction.ts @@ -0,0 +1,37 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { BaseSpan } from './base_span'; +import { Fields } from './entity'; +import { generateEventId } from './utils/generate_id'; + +export class Transaction extends BaseSpan { + constructor(fields: Fields) { + super({ + ...fields, + 'processor.event': 'transaction', + 'transaction.id': generateEventId(), + 'transaction.sampled': true, + }); + } + children(...children: BaseSpan[]) { + super.children(...children); + children.forEach((child) => + child.defaults({ + 'transaction.id': this.fields['transaction.id'], + 'parent.id': this.fields['transaction.id'], + }) + ); + return this; + } + + duration(duration: number) { + this.fields['transaction.duration.us'] = duration * 1000; + return this; + } +} diff --git a/packages/elastic-apm-generator/src/lib/utils/generate_id.ts b/packages/elastic-apm-generator/src/lib/utils/generate_id.ts new file mode 100644 index 0000000000000..6c8b33fc19077 --- /dev/null +++ b/packages/elastic-apm-generator/src/lib/utils/generate_id.ts @@ -0,0 +1,25 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import uuidv5 from 'uuid/v5'; + +let seq = 0; + +const namespace = 'f38d5b83-8eee-4f5b-9aa6-2107e15a71e3'; + +function generateId() { + return uuidv5(String(seq++), namespace).replace(/-/g, ''); +} + +export function generateEventId() { + return generateId().substr(0, 16); +} + +export function generateTraceId() { + return generateId().substr(0, 32); +} diff --git a/packages/elastic-apm-generator/src/lib/utils/get_span_destination_metrics.ts b/packages/elastic-apm-generator/src/lib/utils/get_span_destination_metrics.ts new file mode 100644 index 0000000000000..3740ad685735e --- /dev/null +++ b/packages/elastic-apm-generator/src/lib/utils/get_span_destination_metrics.ts @@ -0,0 +1,51 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { pick } from 'lodash'; +import moment from 'moment'; +import objectHash from 'object-hash'; +import { Fields } from '../entity'; + +export function getSpanDestinationMetrics(events: Fields[]) { + const exitSpans = events.filter((event) => !!event['span.destination.service.resource']); + + const metricsets = new Map(); + + function getSpanBucketKey(span: Fields) { + return { + '@timestamp': moment(span['@timestamp']).startOf('minute').valueOf(), + ...pick(span, [ + 'event.outcome', + 'agent.name', + 'service.environment', + 'service.name', + 'span.destination.service.resource', + ]), + }; + } + + for (const span of exitSpans) { + const key = getSpanBucketKey(span); + const id = objectHash(key); + + let metricset = metricsets.get(id); + if (!metricset) { + metricset = { + ['processor.event']: 'metric', + ...key, + 'span.destination.service.response_time.sum.us': 0, + 'span.destination.service.response_time.count': 0, + }; + metricsets.set(id, metricset); + } + metricset['span.destination.service.response_time.count']! += 1; + metricset['span.destination.service.response_time.sum.us']! += span['span.duration.us']!; + } + + return [...Array.from(metricsets.values())]; +} diff --git a/packages/elastic-apm-generator/src/lib/utils/get_transaction_metrics.ts b/packages/elastic-apm-generator/src/lib/utils/get_transaction_metrics.ts new file mode 100644 index 0000000000000..62ecb9e20006f --- /dev/null +++ b/packages/elastic-apm-generator/src/lib/utils/get_transaction_metrics.ts @@ -0,0 +1,89 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { pick, sortBy } from 'lodash'; +import moment from 'moment'; +import objectHash from 'object-hash'; +import { Fields } from '../entity'; + +function sortAndCompressHistogram(histogram?: { values: number[]; counts: number[] }) { + return sortBy(histogram?.values).reduce( + (prev, current) => { + const lastValue = prev.values[prev.values.length - 1]; + if (lastValue === current) { + prev.counts[prev.counts.length - 1]++; + return prev; + } + + prev.counts.push(1); + prev.values.push(current); + + return prev; + }, + { values: [] as number[], counts: [] as number[] } + ); +} + +export function getTransactionMetrics(events: Fields[]) { + const transactions = events.filter((event) => event['processor.event'] === 'transaction'); + + const metricsets = new Map(); + + function getTransactionBucketKey(transaction: Fields) { + return { + '@timestamp': moment(transaction['@timestamp']).startOf('minute').valueOf(), + 'trace.root': transaction['parent.id'] === undefined, + ...pick(transaction, [ + 'transaction.name', + 'transaction.type', + 'event.outcome', + 'transaction.result', + 'agent.name', + 'service.environment', + 'service.name', + 'service.version', + 'host.name', + 'container.id', + 'kubernetes.pod.name', + ]), + }; + } + + for (const transaction of transactions) { + const key = getTransactionBucketKey(transaction); + const id = objectHash(key); + let metricset = metricsets.get(id); + if (!metricset) { + metricset = { + ...key, + ['processor.event']: 'metric', + 'transaction.duration.histogram': { + values: [], + counts: [], + }, + }; + metricsets.set(id, metricset); + } + metricset['transaction.duration.histogram']?.counts.push(1); + metricset['transaction.duration.histogram']?.values.push( + Number(transaction['transaction.duration.us']) + ); + } + + return [ + ...Array.from(metricsets.values()).map((metricset) => { + return { + ...metricset, + ['transaction.duration.histogram']: sortAndCompressHistogram( + metricset['transaction.duration.histogram'] + ), + _doc_count: metricset['transaction.duration.histogram']!.values.length, + }; + }), + ]; +} diff --git a/packages/elastic-apm-generator/src/scripts/es.js b/packages/elastic-apm-generator/src/scripts/es.js new file mode 100644 index 0000000000000..9f99a5d19b8f8 --- /dev/null +++ b/packages/elastic-apm-generator/src/scripts/es.js @@ -0,0 +1,15 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +/* eslint-disable @typescript-eslint/no-var-requires*/ +require('@babel/register')({ + extensions: ['.ts', '.js'], + presets: [['@babel/preset-env', { targets: { node: 'current' } }], '@babel/preset-typescript'], +}); + +require('./es.ts'); diff --git a/packages/elastic-apm-generator/src/scripts/es.ts b/packages/elastic-apm-generator/src/scripts/es.ts new file mode 100644 index 0000000000000..d023ef7172892 --- /dev/null +++ b/packages/elastic-apm-generator/src/scripts/es.ts @@ -0,0 +1,113 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { inspect } from 'util'; +import { Client } from '@elastic/elasticsearch'; +import { chunk } from 'lodash'; +import pLimit from 'p-limit'; +import yargs from 'yargs/yargs'; +import { toElasticsearchOutput } from '..'; +import { simpleTrace } from './examples/01_simple_trace'; + +yargs(process.argv.slice(2)) + .command( + 'example', + 'run an example scenario', + (y) => { + return y + .positional('scenario', { + describe: 'scenario to run', + choices: ['simple-trace'], + demandOption: true, + }) + .option('target', { + describe: 'elasticsearch target, including username/password', + }) + .option('from', { describe: 'start of timerange' }) + .option('to', { describe: 'end of timerange' }) + .option('workers', { + default: 1, + describe: 'number of concurrently connected ES clients', + }) + .option('apm-server-version', { + describe: 'APM Server version override', + }) + .demandOption('target'); + }, + (argv) => { + let events: any[] = []; + const toDateString = (argv.to as string | undefined) || new Date().toISOString(); + const fromDateString = + (argv.from as string | undefined) || + new Date(new Date(toDateString).getTime() - 15 * 60 * 1000).toISOString(); + + const to = new Date(toDateString).getTime(); + const from = new Date(fromDateString).getTime(); + + switch (argv._[1]) { + case 'simple-trace': + events = simpleTrace(from, to); + break; + } + + const docs = toElasticsearchOutput(events, argv['apm-server-version'] as string); + + const client = new Client({ + node: argv.target as string, + }); + + const fn = pLimit(argv.workers); + + const batches = chunk(docs, 1000); + + // eslint-disable-next-line no-console + console.log( + 'Uploading', + docs.length, + 'docs in', + batches.length, + 'batches', + 'from', + fromDateString, + 'to', + toDateString + ); + + Promise.all( + batches.map((batch) => + fn(() => { + return client.bulk({ + require_alias: true, + body: batch.flatMap((doc) => { + return [{ index: { _index: doc._index } }, doc._source]; + }), + }); + }) + ) + ) + .then((results) => { + const errors = results + .flatMap((result) => result.body.items) + .filter((item) => !!item.index?.error) + .map((item) => item.index?.error); + + if (errors.length) { + // eslint-disable-next-line no-console + console.error(inspect(errors.slice(0, 10), { depth: null })); + throw new Error('Failed to upload some items'); + } + process.exit(); + }) + .catch((err) => { + // eslint-disable-next-line no-console + console.error(err); + process.exit(1); + }); + } + ) + .parse(); diff --git a/packages/elastic-apm-generator/src/scripts/examples/01_simple_trace.ts b/packages/elastic-apm-generator/src/scripts/examples/01_simple_trace.ts new file mode 100644 index 0000000000000..eef3e6cc40560 --- /dev/null +++ b/packages/elastic-apm-generator/src/scripts/examples/01_simple_trace.ts @@ -0,0 +1,54 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { service, timerange, getTransactionMetrics, getSpanDestinationMetrics } from '../..'; + +export function simpleTrace(from: number, to: number) { + const instance = service('opbeans-go', 'production', 'go').instance('instance'); + + const range = timerange(from, to); + + const transactionName = '100rpm (75% success) failed 1000ms'; + + const successfulTraceEvents = range + .interval('1m') + .rate(75) + .flatMap((timestamp) => + instance + .transaction(transactionName) + .timestamp(timestamp) + .duration(1000) + .success() + .children( + instance + .span('GET apm-*/_search', 'db', 'elasticsearch') + .duration(1000) + .success() + .destination('elasticsearch') + .timestamp(timestamp), + instance.span('custom_operation', 'app').duration(50).success().timestamp(timestamp) + ) + .serialize() + ); + + const failedTraceEvents = range + .interval('1m') + .rate(25) + .flatMap((timestamp) => + instance + .transaction(transactionName) + .timestamp(timestamp) + .duration(1000) + .failure() + .serialize() + ); + + const events = successfulTraceEvents.concat(failedTraceEvents); + + return events.concat(getTransactionMetrics(events)).concat(getSpanDestinationMetrics(events)); +} diff --git a/packages/elastic-apm-generator/src/test/scenarios/01_simple_trace.test.ts b/packages/elastic-apm-generator/src/test/scenarios/01_simple_trace.test.ts new file mode 100644 index 0000000000000..6bae70507dcbe --- /dev/null +++ b/packages/elastic-apm-generator/src/test/scenarios/01_simple_trace.test.ts @@ -0,0 +1,108 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { service } from '../../lib/service'; +import { timerange } from '../../lib/timerange'; + +describe('simple trace', () => { + let events: Array>; + + beforeEach(() => { + const javaService = service('opbeans-java', 'production', 'java'); + const javaInstance = javaService.instance('instance-1'); + + const range = timerange( + new Date('2021-01-01T00:00:00.000Z').getTime(), + new Date('2021-01-01T00:15:00.000Z').getTime() - 1 + ); + + events = range + .interval('1m') + .rate(1) + .flatMap((timestamp) => + javaInstance + .transaction('GET /api/product/list') + .duration(1000) + .success() + .timestamp(timestamp) + .children( + javaInstance + .span('GET apm-*/_search', 'db', 'elasticsearch') + .success() + .duration(900) + .timestamp(timestamp + 50) + ) + .serialize() + ); + }); + + it('generates the same data every time', () => { + expect(events).toMatchSnapshot(); + }); + + it('generates 15 transaction events', () => { + expect(events.filter((event) => event['processor.event'] === 'transaction').length).toEqual(15); + }); + + it('generates 15 span events', () => { + expect(events.filter((event) => event['processor.event'] === 'span').length).toEqual(15); + }); + + it('correctly sets the trace/transaction id of children', () => { + const [transaction, span] = events; + + expect(span['transaction.id']).toEqual(transaction['transaction.id']); + expect(span['parent.id']).toEqual(transaction['transaction.id']); + + expect(span['trace.id']).toEqual(transaction['trace.id']); + }); + + it('outputs transaction events', () => { + const [transaction] = events; + + expect(transaction).toEqual({ + '@timestamp': 1609459200000, + 'agent.name': 'java', + 'event.outcome': 'success', + 'processor.event': 'transaction', + 'processor.name': 'transaction', + 'service.environment': 'production', + 'service.name': 'opbeans-java', + 'service.node.name': 'instance-1', + 'trace.id': 'f6eb2f1cbba2597e89d2a63771c4344d', + 'transaction.duration.us': 1000000, + 'transaction.id': 'e9ece67cbacb52bf', + 'transaction.name': 'GET /api/product/list', + 'transaction.type': 'request', + 'transaction.sampled': true, + }); + }); + + it('outputs span events', () => { + const [, span] = events; + + expect(span).toEqual({ + '@timestamp': 1609459200050, + 'agent.name': 'java', + 'event.outcome': 'success', + 'parent.id': 'e7433020f2745625', + 'processor.event': 'span', + 'processor.name': 'transaction', + 'service.environment': 'production', + 'service.name': 'opbeans-java', + 'service.node.name': 'instance-1', + 'span.duration.us': 900000, + 'span.id': '21a776b44b9853dd', + 'span.name': 'GET apm-*/_search', + 'span.subtype': 'elasticsearch', + 'span.type': 'db', + 'trace.id': '048a0647263853abb94649ec0b92bdb4', + 'transaction.id': 'e7433020f2745625', + }); + }); +}); diff --git a/packages/elastic-apm-generator/src/test/scenarios/02_transaction_metrics.test.ts b/packages/elastic-apm-generator/src/test/scenarios/02_transaction_metrics.test.ts new file mode 100644 index 0000000000000..0b9f192d3d27d --- /dev/null +++ b/packages/elastic-apm-generator/src/test/scenarios/02_transaction_metrics.test.ts @@ -0,0 +1,107 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { service } from '../../lib/service'; +import { timerange } from '../../lib/timerange'; +import { getTransactionMetrics } from '../../lib/utils/get_transaction_metrics'; + +describe('transaction metrics', () => { + let events: Array>; + + beforeEach(() => { + const javaService = service('opbeans-java', 'production', 'java'); + const javaInstance = javaService.instance('instance-1'); + + const range = timerange( + new Date('2021-01-01T00:00:00.000Z').getTime(), + new Date('2021-01-01T00:15:00.000Z').getTime() - 1 + ); + + events = getTransactionMetrics( + range + .interval('1m') + .rate(25) + .flatMap((timestamp) => + javaInstance + .transaction('GET /api/product/list') + .duration(1000) + .success() + .timestamp(timestamp) + .serialize() + ) + .concat( + range + .interval('1m') + .rate(50) + .flatMap((timestamp) => + javaInstance + .transaction('GET /api/product/list') + .duration(1000) + .failure() + .timestamp(timestamp) + .serialize() + ) + ) + ); + }); + + it('generates the right amount of transaction metrics', () => { + expect(events.length).toBe(30); + }); + + it('generates a metricset per interval', () => { + const metricsSetsForSuccessfulTransactions = events.filter( + (event) => event['event.outcome'] === 'success' + ); + + const [first, second] = metricsSetsForSuccessfulTransactions.map((event) => + new Date(event['@timestamp']).toISOString() + ); + + expect([first, second]).toEqual(['2021-01-01T00:00:00.000Z', '2021-01-01T00:01:00.000Z']); + }); + + it('generates a metricset per value of event.outcome', () => { + const metricsSetsForSuccessfulTransactions = events.filter( + (event) => event['event.outcome'] === 'success' + ); + + const metricsSetsForFailedTransactions = events.filter( + (event) => event['event.outcome'] === 'failure' + ); + + expect(metricsSetsForSuccessfulTransactions.length).toBe(15); + expect(metricsSetsForFailedTransactions.length).toBe(15); + }); + + it('captures all the values from aggregated transactions', () => { + const metricsSetsForSuccessfulTransactions = events.filter( + (event) => event['event.outcome'] === 'success' + ); + + const metricsSetsForFailedTransactions = events.filter( + (event) => event['event.outcome'] === 'failure' + ); + + expect(metricsSetsForSuccessfulTransactions.length).toBe(15); + + metricsSetsForSuccessfulTransactions.forEach((event) => { + expect(event['transaction.duration.histogram']).toEqual({ + values: [1000000], + counts: [25], + }); + }); + + metricsSetsForFailedTransactions.forEach((event) => { + expect(event['transaction.duration.histogram']).toEqual({ + values: [1000000], + counts: [50], + }); + }); + }); +}); diff --git a/packages/elastic-apm-generator/src/test/scenarios/03_span_destination_metrics.test.ts b/packages/elastic-apm-generator/src/test/scenarios/03_span_destination_metrics.test.ts new file mode 100644 index 0000000000000..158ccc5b5e714 --- /dev/null +++ b/packages/elastic-apm-generator/src/test/scenarios/03_span_destination_metrics.test.ts @@ -0,0 +1,105 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { service } from '../../lib/service'; +import { timerange } from '../../lib/timerange'; +import { getSpanDestinationMetrics } from '../../lib/utils/get_span_destination_metrics'; + +describe('span destination metrics', () => { + let events: Array>; + + beforeEach(() => { + const javaService = service('opbeans-java', 'production', 'java'); + const javaInstance = javaService.instance('instance-1'); + + const range = timerange( + new Date('2021-01-01T00:00:00.000Z').getTime(), + new Date('2021-01-01T00:15:00.000Z').getTime() - 1 + ); + + events = getSpanDestinationMetrics( + range + .interval('1m') + .rate(25) + .flatMap((timestamp) => + javaInstance + .transaction('GET /api/product/list') + .duration(1000) + .success() + .timestamp(timestamp) + .children( + javaInstance + .span('GET apm-*/_search', 'db', 'elasticsearch') + .timestamp(timestamp) + .duration(1000) + .destination('elasticsearch') + .success() + ) + .serialize() + ) + .concat( + range + .interval('1m') + .rate(50) + .flatMap((timestamp) => + javaInstance + .transaction('GET /api/product/list') + .duration(1000) + .failure() + .timestamp(timestamp) + .children( + javaInstance + .span('GET apm-*/_search', 'db', 'elasticsearch') + .timestamp(timestamp) + .duration(1000) + .destination('elasticsearch') + .failure(), + javaInstance + .span('custom_operation', 'app') + .timestamp(timestamp) + .duration(500) + .success() + ) + .serialize() + ) + ) + ); + }); + + it('generates the right amount of span metrics', () => { + expect(events.length).toBe(30); + }); + + it('does not generate metricsets for non-exit spans', () => { + expect( + events.every((event) => event['span.destination.service.resource'] === 'elasticsearch') + ).toBe(true); + }); + + it('captures all the values from aggregated exit spans', () => { + const metricsSetsForSuccessfulExitSpans = events.filter( + (event) => event['event.outcome'] === 'success' + ); + + const metricsSetsForFailedExitSpans = events.filter( + (event) => event['event.outcome'] === 'failure' + ); + + expect(metricsSetsForSuccessfulExitSpans.length).toBe(15); + + metricsSetsForSuccessfulExitSpans.forEach((event) => { + expect(event['span.destination.service.response_time.count']).toEqual(25); + expect(event['span.destination.service.response_time.sum.us']).toEqual(25000000); + }); + + metricsSetsForFailedExitSpans.forEach((event) => { + expect(event['span.destination.service.response_time.count']).toEqual(50); + expect(event['span.destination.service.response_time.sum.us']).toEqual(50000000); + }); + }); +}); diff --git a/packages/elastic-apm-generator/src/test/scenarios/__snapshots__/01_simple_trace.test.ts.snap b/packages/elastic-apm-generator/src/test/scenarios/__snapshots__/01_simple_trace.test.ts.snap new file mode 100644 index 0000000000000..6eec0ce38ba30 --- /dev/null +++ b/packages/elastic-apm-generator/src/test/scenarios/__snapshots__/01_simple_trace.test.ts.snap @@ -0,0 +1,516 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`simple trace generates the same data every time 1`] = ` +Array [ + Object { + "@timestamp": 1609459200000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "b1c6c04a9ac15b138f716d383cc85e6b", + "transaction.duration.us": 1000000, + "transaction.id": "36c16f18e75058f8", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609459200050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "36c16f18e75058f8", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "fe778a305e6d57dd", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "b1c6c04a9ac15b138f716d383cc85e6b", + "transaction.id": "36c16f18e75058f8", + }, + Object { + "@timestamp": 1609459260000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "53c6c37bd4c85f4fbc880cd80704a9cd", + "transaction.duration.us": 1000000, + "transaction.id": "65ce74106eb050be", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609459260050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "65ce74106eb050be", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "ad8c5e249a8658ec", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "53c6c37bd4c85f4fbc880cd80704a9cd", + "transaction.id": "65ce74106eb050be", + }, + Object { + "@timestamp": 1609459320000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "5eebf2e8d8cc5f85be8c573a1b501c7d", + "transaction.duration.us": 1000000, + "transaction.id": "91fa709d90625fff", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609459320050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "91fa709d90625fff", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "228b569c530c52ac", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "5eebf2e8d8cc5f85be8c573a1b501c7d", + "transaction.id": "91fa709d90625fff", + }, + Object { + "@timestamp": 1609459380000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "6e8da4beb752589a86d53287c9d902de", + "transaction.duration.us": 1000000, + "transaction.id": "6c500d1d19835e68", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609459380050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "6c500d1d19835e68", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "5eb13f140bde5334", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "6e8da4beb752589a86d53287c9d902de", + "transaction.id": "6c500d1d19835e68", + }, + Object { + "@timestamp": 1609459440000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "0aaa92bd91df543c8fd10b662051d9e8", + "transaction.duration.us": 1000000, + "transaction.id": "1b3246cc83595869", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609459440050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "1b3246cc83595869", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "582221c79fd75a76", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "0aaa92bd91df543c8fd10b662051d9e8", + "transaction.id": "1b3246cc83595869", + }, + Object { + "@timestamp": 1609459500000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "26be5f0e2c16576ebf5f39c505eb1ff2", + "transaction.duration.us": 1000000, + "transaction.id": "12b49e3c83fe58d5", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609459500050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "12b49e3c83fe58d5", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "526d186996835c09", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "26be5f0e2c16576ebf5f39c505eb1ff2", + "transaction.id": "12b49e3c83fe58d5", + }, + Object { + "@timestamp": 1609459560000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "c17c414c0b51564ca30e2ad839393180", + "transaction.duration.us": 1000000, + "transaction.id": "d9272009dd4354a1", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609459560050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "d9272009dd4354a1", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "7582541fcbfc5dc6", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "c17c414c0b51564ca30e2ad839393180", + "transaction.id": "d9272009dd4354a1", + }, + Object { + "@timestamp": 1609459620000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "0280b1ffaae75e7ab097c0b52c3b3e6a", + "transaction.duration.us": 1000000, + "transaction.id": "bc52ca08063c505b", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609459620050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "bc52ca08063c505b", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "37ab978487935abb", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "0280b1ffaae75e7ab097c0b52c3b3e6a", + "transaction.id": "bc52ca08063c505b", + }, + Object { + "@timestamp": 1609459680000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "6fb5191297fb59cebdb6a0196e273676", + "transaction.duration.us": 1000000, + "transaction.id": "186858dd88b75d59", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609459680050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "186858dd88b75d59", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "5ab56f27d0ae569b", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "6fb5191297fb59cebdb6a0196e273676", + "transaction.id": "186858dd88b75d59", + }, + Object { + "@timestamp": 1609459740000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "77b5ffe303ae59b49f9b0e5d5270c16a", + "transaction.duration.us": 1000000, + "transaction.id": "0d5f44d48189546c", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609459740050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "0d5f44d48189546c", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "80e94b0847cd5104", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "77b5ffe303ae59b49f9b0e5d5270c16a", + "transaction.id": "0d5f44d48189546c", + }, + Object { + "@timestamp": 1609459800000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "51c6b70db4dc5cf89b690de45c0c7b71", + "transaction.duration.us": 1000000, + "transaction.id": "7483e0606e435c83", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609459800050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "7483e0606e435c83", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "2e99d193e0f954c1", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "51c6b70db4dc5cf89b690de45c0c7b71", + "transaction.id": "7483e0606e435c83", + }, + Object { + "@timestamp": 1609459860000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "5d91a6cde6015897935e413bc500f211", + "transaction.duration.us": 1000000, + "transaction.id": "f142c4cbc7f3568e", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609459860050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "f142c4cbc7f3568e", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "1fc52f16e2f551ea", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "5d91a6cde6015897935e413bc500f211", + "transaction.id": "f142c4cbc7f3568e", + }, + Object { + "@timestamp": 1609459920000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "c097c19d884d52579bb11a601b8a98b3", + "transaction.duration.us": 1000000, + "transaction.id": "2e3a47fa2d905519", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609459920050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "2e3a47fa2d905519", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "7c7828c850685337", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "c097c19d884d52579bb11a601b8a98b3", + "transaction.id": "2e3a47fa2d905519", + }, + Object { + "@timestamp": 1609459980000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "4591e57f4d7f5986bdd7892561224e0f", + "transaction.duration.us": 1000000, + "transaction.id": "de5eaa1e47dc56b1", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609459980050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "de5eaa1e47dc56b1", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "8f62257f4a41546a", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "4591e57f4d7f5986bdd7892561224e0f", + "transaction.id": "de5eaa1e47dc56b1", + }, + Object { + "@timestamp": 1609460040000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "85ee8e618433577b9316a1e14961aa89", + "transaction.duration.us": 1000000, + "transaction.id": "af7eac7ae61e576a", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609460040050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "af7eac7ae61e576a", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "cc88b4cd921e590e", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "85ee8e618433577b9316a1e14961aa89", + "transaction.id": "af7eac7ae61e576a", + }, +] +`; diff --git a/packages/elastic-apm-generator/src/test/to_elasticsearch_output.test.ts b/packages/elastic-apm-generator/src/test/to_elasticsearch_output.test.ts new file mode 100644 index 0000000000000..c1a5d47654fc9 --- /dev/null +++ b/packages/elastic-apm-generator/src/test/to_elasticsearch_output.test.ts @@ -0,0 +1,37 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { Fields } from '../lib/entity'; +import { toElasticsearchOutput } from '../lib/output/to_elasticsearch_output'; + +describe('output to elasticsearch', () => { + let event: Fields; + + beforeEach(() => { + event = { + '@timestamp': new Date('2020-12-31T23:00:00.000Z').getTime(), + 'processor.event': 'transaction', + 'processor.name': 'transaction', + }; + }); + + it('properly formats @timestamp', () => { + const doc = toElasticsearchOutput([event])[0] as any; + + expect(doc._source['@timestamp']).toEqual('2020-12-31T23:00:00.000Z'); + }); + + it('formats a nested object', () => { + const doc = toElasticsearchOutput([event])[0] as any; + + expect(doc._source.processor).toEqual({ + event: 'transaction', + name: 'transaction', + }); + }); +}); diff --git a/packages/elastic-apm-generator/tsconfig.json b/packages/elastic-apm-generator/tsconfig.json new file mode 100644 index 0000000000000..534e8481dce9a --- /dev/null +++ b/packages/elastic-apm-generator/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "../../tsconfig.bazel.json", + "compilerOptions": { + "declaration": true, + "declarationMap": true, + "emitDeclarationOnly": true, + "outDir": "target_types", + "rootDir": "./src", + "sourceMap": true, + "sourceRoot": "../../../../packages/elastic-apm-generator/src", + "types": [ + "node", + "jest" + ] + }, + "include": [ + "./src/**/*.ts" + ] +} diff --git a/x-pack/test/apm_api_integration/common/config.ts b/x-pack/test/apm_api_integration/common/config.ts index a8c5c433df45e..574cfe811bc67 100644 --- a/x-pack/test/apm_api_integration/common/config.ts +++ b/x-pack/test/apm_api_integration/common/config.ts @@ -15,6 +15,7 @@ import { createApmUser, APM_TEST_PASSWORD, ApmUser } from './authentication'; import { APMFtrConfigName } from '../configs'; import { createApmApiClient } from './apm_api_supertest'; import { registry } from './registry'; +import { traceData } from './trace_data'; interface Config { name: APMFtrConfigName; @@ -76,7 +77,7 @@ export function createTestConfig(config: Config) { servers, services: { ...services, - + traceData, apmApiClient: async (context: InheritedFtrProviderContext) => { const security = context.getService('security'); await security.init(); diff --git a/x-pack/test/apm_api_integration/common/fixtures/es_archiver/apm_8.0.0_empty/mappings.json b/x-pack/test/apm_api_integration/common/fixtures/es_archiver/apm_8.0.0_empty/mappings.json new file mode 100644 index 0000000000000..2d05717fa5725 --- /dev/null +++ b/x-pack/test/apm_api_integration/common/fixtures/es_archiver/apm_8.0.0_empty/mappings.json @@ -0,0 +1,22073 @@ +{ + "type": "index", + "value": { + "aliases": { + ".ml-anomalies-.write-apm-environment_not_defined-337d-high_mean_transaction_duration": { + "is_hidden": true + }, + ".ml-anomalies-.write-apm-production-6117-high_mean_transaction_duration": { + "is_hidden": true + }, + ".ml-anomalies-.write-apm-testing-41e5-high_mean_transaction_duration": { + "is_hidden": true + }, + ".ml-anomalies-apm-environment_not_defined-337d-high_mean_transaction_duration": { + "filter": { + "term": { + "job_id": { + "boost": 1, + "value": "apm-environment_not_defined-337d-high_mean_transaction_duration" + } + } + }, + "is_hidden": true + }, + ".ml-anomalies-apm-production-6117-high_mean_transaction_duration": { + "filter": { + "term": { + "job_id": { + "boost": 1, + "value": "apm-production-6117-high_mean_transaction_duration" + } + } + }, + "is_hidden": true + }, + ".ml-anomalies-apm-testing-41e5-high_mean_transaction_duration": { + "filter": { + "term": { + "job_id": { + "boost": 1, + "value": "apm-testing-41e5-high_mean_transaction_duration" + } + } + }, + "is_hidden": true + } + }, + "index": ".ml-anomalies-shared", + "mappings": { + "_meta": { + "version": "7.14.0" + }, + "dynamic_templates": [ + { + "strings_as_keywords": { + "mapping": { + "type": "keyword" + }, + "match": "*" + } + } + ], + "properties": { + "actual": { + "type": "double" + }, + "all_field_values": { + "analyzer": "whitespace", + "type": "text" + }, + "anomaly_score": { + "type": "double" + }, + "assignment_memory_basis": { + "type": "keyword" + }, + "average_bucket_processing_time_ms": { + "type": "double" + }, + "bucket_allocation_failures_count": { + "type": "long" + }, + "bucket_count": { + "type": "long" + }, + "bucket_influencers": { + "properties": { + "anomaly_score": { + "type": "double" + }, + "bucket_span": { + "type": "long" + }, + "influencer_field_name": { + "type": "keyword" + }, + "initial_anomaly_score": { + "type": "double" + }, + "is_interim": { + "type": "boolean" + }, + "job_id": { + "type": "keyword" + }, + "probability": { + "type": "double" + }, + "raw_anomaly_score": { + "type": "double" + }, + "result_type": { + "type": "keyword" + }, + "timestamp": { + "type": "date" + } + }, + "type": "nested" + }, + "bucket_span": { + "type": "long" + }, + "by_field_name": { + "type": "keyword" + }, + "by_field_value": { + "copy_to": [ + "all_field_values" + ], + "type": "keyword" + }, + "categorization_status": { + "type": "keyword" + }, + "categorized_doc_count": { + "type": "keyword" + }, + "category_id": { + "type": "long" + }, + "causes": { + "properties": { + "actual": { + "type": "double" + }, + "by_field_name": { + "type": "keyword" + }, + "by_field_value": { + "copy_to": [ + "all_field_values" + ], + "type": "keyword" + }, + "correlated_by_field_value": { + "copy_to": [ + "all_field_values" + ], + "type": "keyword" + }, + "field_name": { + "type": "keyword" + }, + "function": { + "type": "keyword" + }, + "function_description": { + "type": "keyword" + }, + "geo_results": { + "properties": { + "actual_point": { + "type": "geo_point" + }, + "typical_point": { + "type": "geo_point" + } + } + }, + "over_field_name": { + "type": "keyword" + }, + "over_field_value": { + "copy_to": [ + "all_field_values" + ], + "type": "keyword" + }, + "partition_field_name": { + "type": "keyword" + }, + "partition_field_value": { + "copy_to": [ + "all_field_values" + ], + "type": "keyword" + }, + "probability": { + "type": "double" + }, + "typical": { + "type": "double" + } + }, + "type": "nested" + }, + "dead_category_count": { + "type": "keyword" + }, + "description": { + "type": "text" + }, + "detector_index": { + "type": "integer" + }, + "earliest_record_timestamp": { + "type": "date" + }, + "empty_bucket_count": { + "type": "long" + }, + "event_count": { + "type": "long" + }, + "examples": { + "type": "text" + }, + "exponential_average_bucket_processing_time_ms": { + "type": "double" + }, + "exponential_average_calculation_context": { + "properties": { + "incremental_metric_value_ms": { + "type": "double" + }, + "latest_timestamp": { + "type": "date" + }, + "previous_exponential_average_ms": { + "type": "double" + } + } + }, + "failed_category_count": { + "type": "keyword" + }, + "field_name": { + "type": "keyword" + }, + "forecast_create_timestamp": { + "type": "date" + }, + "forecast_end_timestamp": { + "type": "date" + }, + "forecast_expiry_timestamp": { + "type": "date" + }, + "forecast_id": { + "type": "keyword" + }, + "forecast_lower": { + "type": "double" + }, + "forecast_memory_bytes": { + "type": "long" + }, + "forecast_messages": { + "type": "keyword" + }, + "forecast_prediction": { + "type": "double" + }, + "forecast_progress": { + "type": "double" + }, + "forecast_start_timestamp": { + "type": "date" + }, + "forecast_status": { + "type": "keyword" + }, + "forecast_upper": { + "type": "double" + }, + "frequent_category_count": { + "type": "keyword" + }, + "function": { + "type": "keyword" + }, + "function_description": { + "type": "keyword" + }, + "geo_results": { + "properties": { + "actual_point": { + "type": "geo_point" + }, + "typical_point": { + "type": "geo_point" + } + } + }, + "influencer_field_name": { + "type": "keyword" + }, + "influencer_field_value": { + "copy_to": [ + "all_field_values" + ], + "type": "keyword" + }, + "influencer_score": { + "type": "double" + }, + "influencers": { + "properties": { + "influencer_field_name": { + "type": "keyword" + }, + "influencer_field_values": { + "copy_to": [ + "all_field_values" + ], + "type": "keyword" + } + }, + "type": "nested" + }, + "initial_anomaly_score": { + "type": "double" + }, + "initial_influencer_score": { + "type": "double" + }, + "initial_record_score": { + "type": "double" + }, + "input_bytes": { + "type": "long" + }, + "input_field_count": { + "type": "long" + }, + "input_record_count": { + "type": "long" + }, + "invalid_date_count": { + "type": "long" + }, + "is_interim": { + "type": "boolean" + }, + "job_id": { + "copy_to": [ + "all_field_values" + ], + "type": "keyword" + }, + "last_data_time": { + "type": "date" + }, + "latest_empty_bucket_timestamp": { + "type": "date" + }, + "latest_record_time_stamp": { + "type": "date" + }, + "latest_record_timestamp": { + "type": "date" + }, + "latest_result_time_stamp": { + "type": "date" + }, + "latest_sparse_bucket_timestamp": { + "type": "date" + }, + "log_time": { + "type": "date" + }, + "max_matching_length": { + "type": "long" + }, + "maximum_bucket_processing_time_ms": { + "type": "double" + }, + "memory_status": { + "type": "keyword" + }, + "min_version": { + "type": "keyword" + }, + "minimum_bucket_processing_time_ms": { + "type": "double" + }, + "missing_field_count": { + "type": "long" + }, + "mlcategory": { + "type": "keyword" + }, + "model_bytes": { + "type": "long" + }, + "model_bytes_exceeded": { + "type": "keyword" + }, + "model_bytes_memory_limit": { + "type": "keyword" + }, + "model_feature": { + "type": "keyword" + }, + "model_lower": { + "type": "double" + }, + "model_median": { + "type": "double" + }, + "model_size_stats": { + "properties": { + "assignment_memory_basis": { + "type": "keyword" + }, + "bucket_allocation_failures_count": { + "type": "long" + }, + "categorization_status": { + "type": "keyword" + }, + "categorized_doc_count": { + "type": "keyword" + }, + "dead_category_count": { + "type": "keyword" + }, + "failed_category_count": { + "type": "keyword" + }, + "frequent_category_count": { + "type": "keyword" + }, + "job_id": { + "type": "keyword" + }, + "log_time": { + "type": "date" + }, + "memory_status": { + "type": "keyword" + }, + "model_bytes": { + "type": "long" + }, + "model_bytes_exceeded": { + "type": "keyword" + }, + "model_bytes_memory_limit": { + "type": "keyword" + }, + "peak_model_bytes": { + "type": "long" + }, + "rare_category_count": { + "type": "keyword" + }, + "result_type": { + "type": "keyword" + }, + "timestamp": { + "type": "date" + }, + "total_by_field_count": { + "type": "long" + }, + "total_category_count": { + "type": "keyword" + }, + "total_over_field_count": { + "type": "long" + }, + "total_partition_field_count": { + "type": "long" + } + } + }, + "model_upper": { + "type": "double" + }, + "multi_bucket_impact": { + "type": "double" + }, + "num_matches": { + "type": "long" + }, + "out_of_order_timestamp_count": { + "type": "long" + }, + "over_field_name": { + "type": "keyword" + }, + "over_field_value": { + "copy_to": [ + "all_field_values" + ], + "type": "keyword" + }, + "partition_field_name": { + "type": "keyword" + }, + "partition_field_value": { + "copy_to": [ + "all_field_values" + ], + "type": "keyword" + }, + "peak_model_bytes": { + "type": "keyword" + }, + "preferred_to_categories": { + "type": "long" + }, + "probability": { + "type": "double" + }, + "processed_field_count": { + "type": "long" + }, + "processed_record_count": { + "type": "long" + }, + "processing_time_ms": { + "type": "long" + }, + "quantiles": { + "enabled": false, + "type": "object" + }, + "rare_category_count": { + "type": "keyword" + }, + "raw_anomaly_score": { + "type": "double" + }, + "record_score": { + "type": "double" + }, + "regex": { + "type": "keyword" + }, + "result_type": { + "type": "keyword" + }, + "retain": { + "type": "boolean" + }, + "scheduled_events": { + "type": "keyword" + }, + "search_count": { + "type": "long" + }, + "service": { + "properties": { + "name": { + "type": "keyword" + } + } + }, + "snapshot_doc_count": { + "type": "integer" + }, + "snapshot_id": { + "type": "keyword" + }, + "sparse_bucket_count": { + "type": "long" + }, + "terms": { + "type": "text" + }, + "timestamp": { + "type": "date" + }, + "total_by_field_count": { + "type": "long" + }, + "total_category_count": { + "type": "keyword" + }, + "total_over_field_count": { + "type": "long" + }, + "total_partition_field_count": { + "type": "long" + }, + "total_search_time_ms": { + "type": "double" + }, + "transaction": { + "properties": { + "type": { + "type": "keyword" + } + } + }, + "typical": { + "type": "double" + } + } + }, + "settings": { + "index": { + "auto_expand_replicas": "0-1", + "hidden": "true", + "number_of_replicas": "1", + "number_of_shards": "1", + "translog": { + "durability": "async" + } + } + } + } +} + +{ + "type": "index", + "value": { + "aliases": { + }, + "index": ".ml-config", + "mappings": { + "_meta": { + "version": "7.14.0" + }, + "dynamic_templates": [ + { + "strings_as_keywords": { + "mapping": { + "type": "keyword" + }, + "match": "*" + } + } + ], + "properties": { + "aggregations": { + "enabled": false, + "type": "object" + }, + "allow_lazy_open": { + "type": "keyword" + }, + "allow_lazy_start": { + "type": "keyword" + }, + "analysis": { + "properties": { + "classification": { + "properties": { + "alpha": { + "type": "double" + }, + "class_assignment_objective": { + "type": "keyword" + }, + "dependent_variable": { + "type": "keyword" + }, + "downsample_factor": { + "type": "double" + }, + "early_stopping_enabled": { + "type": "boolean" + }, + "eta": { + "type": "double" + }, + "eta_growth_rate_per_tree": { + "type": "double" + }, + "feature_bag_fraction": { + "type": "double" + }, + "feature_processors": { + "enabled": false, + "type": "object" + }, + "gamma": { + "type": "double" + }, + "lambda": { + "type": "double" + }, + "max_optimization_rounds_per_hyperparameter": { + "type": "integer" + }, + "max_trees": { + "type": "integer" + }, + "num_top_classes": { + "type": "integer" + }, + "num_top_feature_importance_values": { + "type": "integer" + }, + "prediction_field_name": { + "type": "keyword" + }, + "randomize_seed": { + "type": "keyword" + }, + "soft_tree_depth_limit": { + "type": "double" + }, + "soft_tree_depth_tolerance": { + "type": "double" + }, + "training_percent": { + "type": "double" + } + } + }, + "outlier_detection": { + "properties": { + "compute_feature_influence": { + "type": "keyword" + }, + "feature_influence_threshold": { + "type": "double" + }, + "method": { + "type": "keyword" + }, + "n_neighbors": { + "type": "integer" + }, + "outlier_fraction": { + "type": "keyword" + }, + "standardization_enabled": { + "type": "keyword" + } + } + }, + "regression": { + "properties": { + "alpha": { + "type": "double" + }, + "dependent_variable": { + "type": "keyword" + }, + "downsample_factor": { + "type": "double" + }, + "early_stopping_enabled": { + "type": "boolean" + }, + "eta": { + "type": "double" + }, + "eta_growth_rate_per_tree": { + "type": "double" + }, + "feature_bag_fraction": { + "type": "double" + }, + "feature_processors": { + "enabled": false, + "type": "object" + }, + "gamma": { + "type": "double" + }, + "lambda": { + "type": "double" + }, + "loss_function": { + "type": "keyword" + }, + "loss_function_parameter": { + "type": "double" + }, + "max_optimization_rounds_per_hyperparameter": { + "type": "integer" + }, + "max_trees": { + "type": "integer" + }, + "num_top_feature_importance_values": { + "type": "integer" + }, + "prediction_field_name": { + "type": "keyword" + }, + "randomize_seed": { + "type": "keyword" + }, + "soft_tree_depth_limit": { + "type": "double" + }, + "soft_tree_depth_tolerance": { + "type": "double" + }, + "training_percent": { + "type": "double" + } + } + } + } + }, + "analysis_config": { + "properties": { + "bucket_span": { + "type": "keyword" + }, + "categorization_analyzer": { + "enabled": false, + "type": "object" + }, + "categorization_field_name": { + "type": "keyword" + }, + "categorization_filters": { + "type": "keyword" + }, + "detectors": { + "properties": { + "by_field_name": { + "type": "keyword" + }, + "custom_rules": { + "properties": { + "actions": { + "type": "keyword" + }, + "conditions": { + "properties": { + "applies_to": { + "type": "keyword" + }, + "operator": { + "type": "keyword" + }, + "value": { + "type": "double" + } + }, + "type": "nested" + }, + "scope": { + "enabled": false, + "type": "object" + } + }, + "type": "nested" + }, + "detector_description": { + "type": "text" + }, + "detector_index": { + "type": "integer" + }, + "exclude_frequent": { + "type": "keyword" + }, + "field_name": { + "type": "keyword" + }, + "function": { + "type": "keyword" + }, + "over_field_name": { + "type": "keyword" + }, + "partition_field_name": { + "type": "keyword" + }, + "use_null": { + "type": "boolean" + } + } + }, + "influencers": { + "type": "keyword" + }, + "latency": { + "type": "keyword" + }, + "multivariate_by_fields": { + "type": "boolean" + }, + "per_partition_categorization": { + "properties": { + "enabled": { + "type": "boolean" + }, + "stop_on_warn": { + "type": "boolean" + } + } + }, + "summary_count_field_name": { + "type": "keyword" + } + } + }, + "analysis_limits": { + "properties": { + "categorization_examples_limit": { + "type": "long" + }, + "model_memory_limit": { + "type": "keyword" + } + } + }, + "analyzed_fields": { + "enabled": false, + "type": "object" + }, + "background_persist_interval": { + "type": "keyword" + }, + "blocked": { + "properties": { + "reason": { + "type": "keyword" + }, + "task_id": { + "type": "keyword" + } + } + }, + "chunking_config": { + "properties": { + "mode": { + "type": "keyword" + }, + "time_span": { + "type": "keyword" + } + } + }, + "config_type": { + "type": "keyword" + }, + "create_time": { + "type": "date" + }, + "custom_settings": { + "enabled": false, + "type": "object" + }, + "daily_model_snapshot_retention_after_days": { + "type": "long" + }, + "data_description": { + "properties": { + "field_delimiter": { + "type": "keyword" + }, + "format": { + "type": "keyword" + }, + "quote_character": { + "type": "keyword" + }, + "time_field": { + "type": "keyword" + }, + "time_format": { + "type": "keyword" + } + } + }, + "datafeed_id": { + "type": "keyword" + }, + "delayed_data_check_config": { + "properties": { + "check_window": { + "type": "keyword" + }, + "enabled": { + "type": "boolean" + } + } + }, + "deleting": { + "type": "keyword" + }, + "description": { + "type": "text" + }, + "dest": { + "properties": { + "index": { + "type": "keyword" + }, + "results_field": { + "type": "keyword" + } + } + }, + "finished_time": { + "type": "date" + }, + "frequency": { + "type": "keyword" + }, + "groups": { + "type": "keyword" + }, + "headers": { + "enabled": false, + "type": "object" + }, + "id": { + "type": "keyword" + }, + "indices": { + "type": "keyword" + }, + "indices_options": { + "enabled": false, + "type": "object" + }, + "job_id": { + "type": "keyword" + }, + "job_type": { + "type": "keyword" + }, + "job_version": { + "type": "keyword" + }, + "max_empty_searches": { + "type": "keyword" + }, + "max_num_threads": { + "type": "integer" + }, + "model_memory_limit": { + "type": "keyword" + }, + "model_plot_config": { + "properties": { + "annotations_enabled": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "terms": { + "type": "keyword" + } + } + }, + "model_snapshot_id": { + "type": "keyword" + }, + "model_snapshot_min_version": { + "type": "keyword" + }, + "model_snapshot_retention_days": { + "type": "long" + }, + "query": { + "enabled": false, + "type": "object" + }, + "query_delay": { + "type": "keyword" + }, + "renormalization_window_days": { + "type": "long" + }, + "results_index_name": { + "type": "keyword" + }, + "results_retention_days": { + "type": "long" + }, + "runtime_mappings": { + "enabled": false, + "type": "object" + }, + "script_fields": { + "enabled": false, + "type": "object" + }, + "scroll_size": { + "type": "long" + }, + "source": { + "properties": { + "_source": { + "enabled": false, + "type": "object" + }, + "index": { + "type": "keyword" + }, + "query": { + "enabled": false, + "type": "object" + }, + "runtime_mappings": { + "enabled": false, + "type": "object" + } + } + }, + "version": { + "type": "keyword" + } + } + }, + "settings": { + "index": { + "auto_expand_replicas": "0-1", + "blocks": { + "read_only_allow_delete": "false" + }, + "max_result_window": "10000", + "number_of_replicas": "1", + "number_of_shards": "1" + } + } + } +} + +{ + "type": "index", + "value": { + "aliases": { + "apm-7.14.0-error": { + "is_write_index": true + } + }, + "index": "apm-7.14.0-error-000001", + "mappings": { + "_meta": { + "beat": "apm", + "version": "7.14.0" + }, + "date_detection": false, + "dynamic_templates": [ + { + "labels": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "labels.*" + } + }, + { + "container.labels": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "container.labels.*" + } + }, + { + "fields": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "fields.*" + } + }, + { + "docker.container.labels": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "docker.container.labels.*" + } + }, + { + "kubernetes.labels.*": { + "mapping": { + "type": "keyword" + }, + "path_match": "kubernetes.labels.*" + } + }, + { + "kubernetes.annotations.*": { + "mapping": { + "type": "keyword" + }, + "path_match": "kubernetes.annotations.*" + } + }, + { + "kubernetes.selectors.*": { + "mapping": { + "type": "keyword" + }, + "path_match": "kubernetes.selectors.*" + } + }, + { + "labels_string": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "labels.*" + } + }, + { + "labels_boolean": { + "mapping": { + "type": "boolean" + }, + "match_mapping_type": "boolean", + "path_match": "labels.*" + } + }, + { + "labels_*": { + "mapping": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "path_match": "labels.*" + } + }, + { + "histogram": { + "mapping": { + "type": "histogram" + } + } + }, + { + "transaction.marks": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "transaction.marks.*" + } + }, + { + "transaction.marks.*.*": { + "mapping": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "path_match": "transaction.marks.*.*" + } + }, + { + "strings_as_keyword": { + "mapping": { + "ignore_above": 1024, + "type": "keyword" + }, + "match_mapping_type": "string" + } + } + ], + "properties": { + "@timestamp": { + "type": "date" + }, + "agent": { + "dynamic": "false", + "properties": { + "build": { + "properties": { + "original": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ephemeral_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "child": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "client": { + "dynamic": "false", + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "cloud": { + "properties": { + "account": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "availability_zone": { + "ignore_above": 1024, + "type": "keyword" + }, + "image": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "instance": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "machine": { + "dynamic": "false", + "properties": { + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "project": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "provider": { + "ignore_above": 1024, + "type": "keyword" + }, + "region": { + "ignore_above": 1024, + "type": "keyword" + }, + "service": { + "dynamic": "false", + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "container": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "image": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "tag": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "labels": { + "type": "object" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "runtime": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "data_stream": { + "properties": { + "dataset": { + "type": "constant_keyword" + }, + "namespace": { + "type": "constant_keyword" + }, + "type": { + "type": "constant_keyword" + } + } + }, + "destination": { + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "dll": { + "properties": { + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "dns": { + "properties": { + "answers": { + "properties": { + "class": { + "ignore_above": 1024, + "type": "keyword" + }, + "data": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "ttl": { + "type": "long" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "header_flags": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "op_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "question": { + "properties": { + "class": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "resolved_ip": { + "type": "ip" + }, + "response_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "docker": { + "properties": { + "container": { + "properties": { + "labels": { + "type": "object" + } + } + } + } + }, + "ecs": { + "properties": { + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "error": { + "dynamic": "false", + "properties": { + "code": { + "ignore_above": 1024, + "type": "keyword" + }, + "culprit": { + "ignore_above": 1024, + "type": "keyword" + }, + "exception": { + "properties": { + "code": { + "ignore_above": 1024, + "type": "keyword" + }, + "handled": { + "type": "boolean" + }, + "message": { + "norms": false, + "type": "text" + }, + "module": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "grouping_key": { + "ignore_above": 1024, + "type": "keyword" + }, + "grouping_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "log": { + "properties": { + "level": { + "ignore_above": 1024, + "type": "keyword" + }, + "logger_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "message": { + "norms": false, + "type": "text" + }, + "param_message": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "message": { + "norms": false, + "type": "text" + }, + "stack_trace": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "index": false, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "event": { + "properties": { + "action": { + "ignore_above": 1024, + "type": "keyword" + }, + "category": { + "ignore_above": 1024, + "type": "keyword" + }, + "code": { + "ignore_above": 1024, + "type": "keyword" + }, + "created": { + "type": "date" + }, + "dataset": { + "ignore_above": 1024, + "type": "keyword" + }, + "duration": { + "type": "long" + }, + "end": { + "type": "date" + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "ingested": { + "type": "date" + }, + "kind": { + "ignore_above": 1024, + "type": "keyword" + }, + "module": { + "ignore_above": 1024, + "type": "keyword" + }, + "original": { + "ignore_above": 1024, + "index": false, + "type": "keyword" + }, + "outcome": { + "ignore_above": 1024, + "type": "keyword" + }, + "provider": { + "ignore_above": 1024, + "type": "keyword" + }, + "reason": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "risk_score": { + "type": "float" + }, + "risk_score_norm": { + "type": "float" + }, + "sequence": { + "type": "long" + }, + "severity": { + "type": "long" + }, + "start": { + "type": "date" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "url": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "experimental": { + "dynamic": "true", + "type": "object" + }, + "fields": { + "type": "object" + }, + "file": { + "properties": { + "accessed": { + "type": "date" + }, + "attributes": { + "ignore_above": 1024, + "type": "keyword" + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "created": { + "type": "date" + }, + "ctime": { + "type": "date" + }, + "device": { + "ignore_above": 1024, + "type": "keyword" + }, + "directory": { + "ignore_above": 1024, + "type": "keyword" + }, + "drive_letter": { + "ignore_above": 1, + "type": "keyword" + }, + "extension": { + "ignore_above": 1024, + "type": "keyword" + }, + "gid": { + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "ignore_above": 1024, + "type": "keyword" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "inode": { + "ignore_above": 1024, + "type": "keyword" + }, + "mime_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "mode": { + "ignore_above": 1024, + "type": "keyword" + }, + "mtime": { + "type": "date" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "owner": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "size": { + "type": "long" + }, + "target_path": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "uid": { + "ignore_above": 1024, + "type": "keyword" + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "host": { + "dynamic": "false", + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "containerized": { + "type": "boolean" + }, + "cpu": { + "properties": { + "usage": { + "scaling_factor": 1000, + "type": "scaled_float" + } + } + }, + "disk": { + "properties": { + "read": { + "properties": { + "bytes": { + "type": "long" + } + } + }, + "write": { + "properties": { + "bytes": { + "type": "long" + } + } + } + } + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "network": { + "properties": { + "egress": { + "properties": { + "bytes": { + "type": "long" + }, + "packets": { + "type": "long" + } + } + }, + "ingress": { + "properties": { + "bytes": { + "type": "long" + }, + "packets": { + "type": "long" + } + } + } + } + }, + "os": { + "properties": { + "build": { + "ignore_above": 1024, + "type": "keyword" + }, + "codename": { + "ignore_above": 1024, + "type": "keyword" + }, + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "uptime": { + "type": "long" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "http": { + "dynamic": "false", + "properties": { + "request": { + "properties": { + "body": { + "properties": { + "bytes": { + "type": "long" + }, + "content": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "bytes": { + "type": "long" + }, + "headers": { + "enabled": false, + "type": "object" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "method": { + "ignore_above": 1024, + "type": "keyword" + }, + "mime_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "referrer": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "response": { + "properties": { + "body": { + "properties": { + "bytes": { + "type": "long" + }, + "content": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "bytes": { + "type": "long" + }, + "finished": { + "type": "boolean" + }, + "headers": { + "enabled": false, + "type": "object" + }, + "mime_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "status_code": { + "type": "long" + } + } + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "interface": { + "properties": { + "alias": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "kubernetes": { + "dynamic": "false", + "properties": { + "annotations": { + "properties": { + "*": { + "type": "object" + } + } + }, + "container": { + "properties": { + "image": { + "path": "container.image.name", + "type": "alias" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "deployment": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "labels": { + "properties": { + "*": { + "type": "object" + } + } + }, + "namespace": { + "ignore_above": 1024, + "type": "keyword" + }, + "node": { + "properties": { + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pod": { + "properties": { + "ip": { + "type": "ip" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "uid": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "replicaset": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "selectors": { + "properties": { + "*": { + "type": "object" + } + } + }, + "statefulset": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "labels": { + "dynamic": "true", + "properties": { + "company": { + "type": "keyword" + }, + "customer_tier": { + "type": "keyword" + }, + "foo": { + "type": "keyword" + }, + "lorem": { + "type": "keyword" + }, + "multi-line": { + "type": "keyword" + }, + "request_id": { + "type": "keyword" + }, + "this-is-a-very-long-tag-name-without-any-spaces": { + "type": "keyword" + } + } + }, + "log": { + "properties": { + "file": { + "properties": { + "path": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "level": { + "ignore_above": 1024, + "type": "keyword" + }, + "logger": { + "ignore_above": 1024, + "type": "keyword" + }, + "origin": { + "properties": { + "file": { + "properties": { + "line": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "function": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "original": { + "ignore_above": 1024, + "index": false, + "type": "keyword" + }, + "syslog": { + "properties": { + "facility": { + "properties": { + "code": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "priority": { + "type": "long" + }, + "severity": { + "properties": { + "code": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + } + } + }, + "message": { + "norms": false, + "type": "text" + }, + "metricset": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "period": { + "meta": { + "unit": "ms" + }, + "type": "long" + } + } + }, + "network": { + "dynamic": "false", + "properties": { + "application": { + "ignore_above": 1024, + "type": "keyword" + }, + "bytes": { + "type": "long" + }, + "carrier": { + "properties": { + "icc": { + "ignore_above": 1024, + "type": "keyword" + }, + "mcc": { + "ignore_above": 1024, + "type": "keyword" + }, + "mnc": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "community_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "connection_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "direction": { + "ignore_above": 1024, + "type": "keyword" + }, + "forwarded_ip": { + "type": "ip" + }, + "iana_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "inner": { + "properties": { + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "packets": { + "type": "long" + }, + "protocol": { + "ignore_above": 1024, + "type": "keyword" + }, + "transport": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "observer": { + "dynamic": "false", + "properties": { + "egress": { + "properties": { + "interface": { + "properties": { + "alias": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "zone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "ingress": { + "properties": { + "interface": { + "properties": { + "alias": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "zone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "listening": { + "ignore_above": 1024, + "type": "keyword" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "os": { + "properties": { + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "vendor": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + }, + "version_major": { + "type": "byte" + } + } + }, + "orchestrator": { + "properties": { + "api_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "cluster": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "url": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "namespace": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "resource": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "organization": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "os": { + "properties": { + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "package": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "build_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "checksum": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "install_scope": { + "ignore_above": 1024, + "type": "keyword" + }, + "installed": { + "type": "date" + }, + "license": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "size": { + "type": "long" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "parent": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "process": { + "dynamic": "false", + "properties": { + "args": { + "ignore_above": 1024, + "type": "keyword" + }, + "args_count": { + "type": "long" + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "command_line": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "entity_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "executable": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "exit_code": { + "type": "long" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "parent": { + "properties": { + "args": { + "ignore_above": 1024, + "type": "keyword" + }, + "args_count": { + "type": "long" + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "command_line": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "entity_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "executable": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "exit_code": { + "type": "long" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pgid": { + "type": "long" + }, + "pid": { + "type": "long" + }, + "ppid": { + "type": "long" + }, + "start": { + "type": "date" + }, + "thread": { + "properties": { + "id": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "title": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "uptime": { + "type": "long" + }, + "working_directory": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pgid": { + "type": "long" + }, + "pid": { + "type": "long" + }, + "ppid": { + "type": "long" + }, + "start": { + "type": "date" + }, + "thread": { + "properties": { + "id": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "title": { + "ignore_above": 1024, + "type": "keyword" + }, + "uptime": { + "type": "long" + }, + "working_directory": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "processor": { + "properties": { + "event": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "profile": { + "dynamic": "false", + "properties": { + "alloc_objects": { + "properties": { + "count": { + "type": "long" + } + } + }, + "alloc_space": { + "properties": { + "bytes": { + "type": "long" + } + } + }, + "cpu": { + "properties": { + "ns": { + "meta": { + "unit": "nanos" + }, + "type": "long" + } + } + }, + "duration": { + "meta": { + "unit": "nanos" + }, + "type": "long" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "inuse_objects": { + "properties": { + "count": { + "type": "long" + } + } + }, + "inuse_space": { + "properties": { + "bytes": { + "type": "long" + } + } + }, + "samples": { + "properties": { + "count": { + "type": "long" + } + } + }, + "stack": { + "dynamic": "false", + "properties": { + "filename": { + "ignore_above": 1024, + "type": "keyword" + }, + "function": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "line": { + "type": "long" + } + } + }, + "top": { + "dynamic": "false", + "properties": { + "filename": { + "ignore_above": 1024, + "type": "keyword" + }, + "function": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "line": { + "type": "long" + } + } + }, + "wall": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "registry": { + "properties": { + "data": { + "properties": { + "bytes": { + "ignore_above": 1024, + "type": "keyword" + }, + "strings": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hive": { + "ignore_above": 1024, + "type": "keyword" + }, + "key": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "value": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "related": { + "properties": { + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "hosts": { + "ignore_above": 1024, + "type": "keyword" + }, + "ip": { + "type": "ip" + }, + "user": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "rule": { + "properties": { + "author": { + "ignore_above": 1024, + "type": "keyword" + }, + "category": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "license": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "ruleset": { + "ignore_above": 1024, + "type": "keyword" + }, + "uuid": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "server": { + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "service": { + "dynamic": "false", + "properties": { + "environment": { + "ignore_above": 1024, + "type": "keyword" + }, + "ephemeral_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "framework": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "language": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "node": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "runtime": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "state": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "session": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "sequence": { + "type": "long" + } + } + }, + "source": { + "dynamic": "false", + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "sourcemap": { + "dynamic": "false", + "properties": { + "bundle_filepath": { + "ignore_above": 1024, + "type": "keyword" + }, + "service": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "span": { + "dynamic": "false", + "properties": { + "action": { + "ignore_above": 1024, + "type": "keyword" + }, + "db": { + "dynamic": "false", + "properties": { + "link": { + "ignore_above": 1024, + "type": "keyword" + }, + "rows_affected": { + "type": "long" + } + } + }, + "destination": { + "dynamic": "false", + "properties": { + "service": { + "dynamic": "false", + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "resource": { + "ignore_above": 1024, + "type": "keyword" + }, + "response_time": { + "properties": { + "count": { + "type": "long" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "duration": { + "properties": { + "us": { + "type": "long" + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "message": { + "dynamic": "false", + "properties": { + "age": { + "properties": { + "ms": { + "type": "long" + } + } + }, + "queue": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "self_time": { + "properties": { + "count": { + "type": "long" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "start": { + "properties": { + "us": { + "type": "long" + } + } + }, + "subtype": { + "ignore_above": 1024, + "type": "keyword" + }, + "sync": { + "type": "boolean" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "system": { + "properties": { + "cpu": { + "properties": { + "total": { + "properties": { + "norm": { + "properties": { + "pct": { + "meta": { + "metric_type": "gauge", + "unit": "percent" + }, + "scaling_factor": 1000, + "type": "scaled_float" + } + } + } + } + } + } + }, + "memory": { + "properties": { + "actual": { + "properties": { + "free": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "total": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "process": { + "properties": { + "cgroup": { + "properties": { + "cpu": { + "properties": { + "cfs": { + "properties": { + "period": { + "properties": { + "us": { + "meta": { + "metric_type": "gauge", + "unit": "micros" + }, + "type": "long" + } + } + }, + "quota": { + "properties": { + "us": { + "meta": { + "metric_type": "gauge", + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "stats": { + "properties": { + "periods": { + "meta": { + "metric_type": "counter" + }, + "type": "long" + }, + "throttled": { + "properties": { + "ns": { + "meta": { + "metric_type": "counter", + "unit": "nanos" + }, + "type": "long" + }, + "periods": { + "meta": { + "metric_type": "counter" + }, + "type": "long" + } + } + } + } + } + } + }, + "cpuacct": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "total": { + "properties": { + "ns": { + "meta": { + "metric_type": "counter", + "unit": "nanos" + }, + "type": "long" + } + } + } + } + }, + "memory": { + "properties": { + "mem": { + "properties": { + "limit": { + "properties": { + "bytes": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "usage": { + "properties": { + "bytes": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + } + } + } + } + } + } + }, + "cpu": { + "properties": { + "total": { + "properties": { + "norm": { + "properties": { + "pct": { + "meta": { + "metric_type": "gauge", + "unit": "percent" + }, + "scaling_factor": 1000, + "type": "scaled_float" + } + } + } + } + } + } + }, + "memory": { + "properties": { + "rss": { + "properties": { + "bytes": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "size": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + } + } + } + } + }, + "tags": { + "ignore_above": 1024, + "type": "keyword" + }, + "threat": { + "properties": { + "framework": { + "ignore_above": 1024, + "type": "keyword" + }, + "tactic": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "technique": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "subtechnique": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + } + } + }, + "timeseries": { + "properties": { + "instance": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "timestamp": { + "properties": { + "us": { + "type": "long" + } + } + }, + "tls": { + "properties": { + "cipher": { + "ignore_above": 1024, + "type": "keyword" + }, + "client": { + "properties": { + "certificate": { + "ignore_above": 1024, + "type": "keyword" + }, + "certificate_chain": { + "ignore_above": 1024, + "type": "keyword" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "issuer": { + "ignore_above": 1024, + "type": "keyword" + }, + "ja3": { + "ignore_above": 1024, + "type": "keyword" + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "server_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "ignore_above": 1024, + "type": "keyword" + }, + "supported_ciphers": { + "ignore_above": 1024, + "type": "keyword" + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "established": { + "type": "boolean" + }, + "next_protocol": { + "ignore_above": 1024, + "type": "keyword" + }, + "resumed": { + "type": "boolean" + }, + "server": { + "properties": { + "certificate": { + "ignore_above": 1024, + "type": "keyword" + }, + "certificate_chain": { + "ignore_above": 1024, + "type": "keyword" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "issuer": { + "ignore_above": 1024, + "type": "keyword" + }, + "ja3s": { + "ignore_above": 1024, + "type": "keyword" + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "subject": { + "ignore_above": 1024, + "type": "keyword" + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + }, + "version_protocol": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "trace": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "transaction": { + "dynamic": "false", + "properties": { + "breakdown": { + "properties": { + "count": { + "type": "long" + } + } + }, + "duration": { + "properties": { + "count": { + "type": "long" + }, + "histogram": { + "type": "histogram" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + }, + "us": { + "type": "long" + } + } + }, + "experience": { + "properties": { + "cls": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "fid": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "longtask": { + "properties": { + "count": { + "type": "long" + }, + "max": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "sum": { + "scaling_factor": 1000000, + "type": "scaled_float" + } + } + }, + "tbt": { + "scaling_factor": 1000000, + "type": "scaled_float" + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "marks": { + "dynamic": "true", + "properties": { + "*": { + "properties": { + "*": { + "dynamic": "true", + "type": "object" + } + } + } + } + }, + "message": { + "dynamic": "false", + "properties": { + "age": { + "properties": { + "ms": { + "type": "long" + } + } + }, + "queue": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "result": { + "ignore_above": 1024, + "type": "keyword" + }, + "root": { + "type": "boolean" + }, + "sampled": { + "type": "boolean" + }, + "self_time": { + "properties": { + "count": { + "type": "long" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "span_count": { + "properties": { + "dropped": { + "type": "long" + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "url": { + "dynamic": "false", + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "extension": { + "ignore_above": 1024, + "type": "keyword" + }, + "fragment": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "ignore_above": 1024, + "type": "keyword" + }, + "original": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "password": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "port": { + "type": "long" + }, + "query": { + "ignore_above": 1024, + "type": "keyword" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "scheme": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "username": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "user": { + "dynamic": "false", + "properties": { + "changes": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "effective": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + }, + "target": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "user_agent": { + "dynamic": "false", + "properties": { + "device": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "original": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "os": { + "properties": { + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vulnerability": { + "properties": { + "category": { + "ignore_above": 1024, + "type": "keyword" + }, + "classification": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "enumeration": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "report_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "scanner": { + "properties": { + "vendor": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "score": { + "properties": { + "base": { + "type": "float" + }, + "environmental": { + "type": "float" + }, + "temporal": { + "type": "float" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "severity": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "settings": { + "index": { + "auto_expand_replicas": "0-1", + "blocks": { + "read_only_allow_delete": "false" + }, + "codec": "best_compression", + "lifecycle": { + "name": "apm-rollover-30-days", + "rollover_alias": "apm-7.14.0-error" + }, + "mapping": { + "total_fields": { + "limit": "2000" + } + }, + "max_docvalue_fields_search": "200", + "number_of_replicas": "1", + "number_of_shards": "1", + "priority": "100", + "refresh_interval": "5s" + } + } + } +} + +{ + "type": "index", + "value": { + "aliases": { + "apm-7.14.0-metric": { + "is_write_index": true + } + }, + "index": "apm-7.14.0-metric-000001", + "mappings": { + "_meta": { + "beat": "apm", + "version": "7.14.0" + }, + "date_detection": false, + "dynamic_templates": [ + { + "labels": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "labels.*" + } + }, + { + "container.labels": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "container.labels.*" + } + }, + { + "fields": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "fields.*" + } + }, + { + "docker.container.labels": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "docker.container.labels.*" + } + }, + { + "kubernetes.labels.*": { + "mapping": { + "type": "keyword" + }, + "path_match": "kubernetes.labels.*" + } + }, + { + "kubernetes.annotations.*": { + "mapping": { + "type": "keyword" + }, + "path_match": "kubernetes.annotations.*" + } + }, + { + "kubernetes.selectors.*": { + "mapping": { + "type": "keyword" + }, + "path_match": "kubernetes.selectors.*" + } + }, + { + "labels_string": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "labels.*" + } + }, + { + "labels_boolean": { + "mapping": { + "type": "boolean" + }, + "match_mapping_type": "boolean", + "path_match": "labels.*" + } + }, + { + "labels_*": { + "mapping": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "path_match": "labels.*" + } + }, + { + "histogram": { + "mapping": { + "type": "histogram" + } + } + }, + { + "transaction.marks": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "transaction.marks.*" + } + }, + { + "transaction.marks.*.*": { + "mapping": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "path_match": "transaction.marks.*.*" + } + }, + { + "strings_as_keyword": { + "mapping": { + "ignore_above": 1024, + "type": "keyword" + }, + "match_mapping_type": "string" + } + } + ], + "properties": { + "@timestamp": { + "type": "date" + }, + "agent": { + "dynamic": "false", + "properties": { + "build": { + "properties": { + "original": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ephemeral_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "agent_config_applied": { + "type": "long" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "child": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "client": { + "dynamic": "false", + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "cloud": { + "properties": { + "account": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "availability_zone": { + "ignore_above": 1024, + "type": "keyword" + }, + "image": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "instance": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "machine": { + "dynamic": "false", + "properties": { + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "project": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "provider": { + "ignore_above": 1024, + "type": "keyword" + }, + "region": { + "ignore_above": 1024, + "type": "keyword" + }, + "service": { + "dynamic": "false", + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "clr": { + "properties": { + "gc": { + "properties": { + "count": { + "type": "long" + }, + "gen0size": { + "type": "long" + }, + "gen1size": { + "type": "float" + }, + "gen2size": { + "type": "long" + }, + "gen3size": { + "type": "float" + }, + "time": { + "type": "float" + } + } + } + } + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "container": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "image": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "tag": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "labels": { + "type": "object" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "runtime": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "data_stream": { + "properties": { + "dataset": { + "type": "constant_keyword" + }, + "namespace": { + "type": "constant_keyword" + }, + "type": { + "type": "constant_keyword" + } + } + }, + "destination": { + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "dll": { + "properties": { + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "dns": { + "properties": { + "answers": { + "properties": { + "class": { + "ignore_above": 1024, + "type": "keyword" + }, + "data": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "ttl": { + "type": "long" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "header_flags": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "op_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "question": { + "properties": { + "class": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "resolved_ip": { + "type": "ip" + }, + "response_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "docker": { + "properties": { + "container": { + "properties": { + "labels": { + "type": "object" + } + } + } + } + }, + "ecs": { + "properties": { + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "error": { + "dynamic": "false", + "properties": { + "code": { + "ignore_above": 1024, + "type": "keyword" + }, + "culprit": { + "ignore_above": 1024, + "type": "keyword" + }, + "exception": { + "properties": { + "code": { + "ignore_above": 1024, + "type": "keyword" + }, + "handled": { + "type": "boolean" + }, + "message": { + "norms": false, + "type": "text" + }, + "module": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "grouping_key": { + "ignore_above": 1024, + "type": "keyword" + }, + "grouping_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "log": { + "properties": { + "level": { + "ignore_above": 1024, + "type": "keyword" + }, + "logger_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "message": { + "norms": false, + "type": "text" + }, + "param_message": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "message": { + "norms": false, + "type": "text" + }, + "stack_trace": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "index": false, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "event": { + "properties": { + "action": { + "ignore_above": 1024, + "type": "keyword" + }, + "category": { + "ignore_above": 1024, + "type": "keyword" + }, + "code": { + "ignore_above": 1024, + "type": "keyword" + }, + "created": { + "type": "date" + }, + "dataset": { + "ignore_above": 1024, + "type": "keyword" + }, + "duration": { + "type": "long" + }, + "end": { + "type": "date" + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "ingested": { + "type": "date" + }, + "kind": { + "ignore_above": 1024, + "type": "keyword" + }, + "module": { + "ignore_above": 1024, + "type": "keyword" + }, + "original": { + "ignore_above": 1024, + "index": false, + "type": "keyword" + }, + "outcome": { + "ignore_above": 1024, + "type": "keyword" + }, + "provider": { + "ignore_above": 1024, + "type": "keyword" + }, + "reason": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "risk_score": { + "type": "float" + }, + "risk_score_norm": { + "type": "float" + }, + "sequence": { + "type": "long" + }, + "severity": { + "type": "long" + }, + "start": { + "type": "date" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "url": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "experimental": { + "dynamic": "true", + "type": "object" + }, + "fields": { + "type": "object" + }, + "file": { + "properties": { + "accessed": { + "type": "date" + }, + "attributes": { + "ignore_above": 1024, + "type": "keyword" + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "created": { + "type": "date" + }, + "ctime": { + "type": "date" + }, + "device": { + "ignore_above": 1024, + "type": "keyword" + }, + "directory": { + "ignore_above": 1024, + "type": "keyword" + }, + "drive_letter": { + "ignore_above": 1, + "type": "keyword" + }, + "extension": { + "ignore_above": 1024, + "type": "keyword" + }, + "gid": { + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "ignore_above": 1024, + "type": "keyword" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "inode": { + "ignore_above": 1024, + "type": "keyword" + }, + "mime_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "mode": { + "ignore_above": 1024, + "type": "keyword" + }, + "mtime": { + "type": "date" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "owner": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "size": { + "type": "long" + }, + "target_path": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "uid": { + "ignore_above": 1024, + "type": "keyword" + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "golang": { + "properties": { + "goroutines": { + "type": "long" + }, + "heap": { + "properties": { + "allocations": { + "properties": { + "active": { + "type": "float" + }, + "allocated": { + "type": "float" + }, + "frees": { + "type": "long" + }, + "idle": { + "type": "float" + }, + "mallocs": { + "type": "long" + }, + "objects": { + "type": "long" + }, + "total": { + "type": "float" + } + } + }, + "gc": { + "properties": { + "cpu_fraction": { + "type": "float" + }, + "next_gc_limit": { + "type": "float" + }, + "total_count": { + "type": "long" + }, + "total_pause": { + "properties": { + "ns": { + "type": "float" + } + } + } + } + }, + "system": { + "properties": { + "obtained": { + "type": "float" + }, + "released": { + "type": "float" + }, + "stack": { + "type": "float" + }, + "total": { + "type": "float" + } + } + } + } + } + } + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "host": { + "dynamic": "false", + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "containerized": { + "type": "boolean" + }, + "cpu": { + "properties": { + "usage": { + "scaling_factor": 1000, + "type": "scaled_float" + } + } + }, + "disk": { + "properties": { + "read": { + "properties": { + "bytes": { + "type": "long" + } + } + }, + "write": { + "properties": { + "bytes": { + "type": "long" + } + } + } + } + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "network": { + "properties": { + "egress": { + "properties": { + "bytes": { + "type": "long" + }, + "packets": { + "type": "long" + } + } + }, + "ingress": { + "properties": { + "bytes": { + "type": "long" + }, + "packets": { + "type": "long" + } + } + } + } + }, + "os": { + "properties": { + "build": { + "ignore_above": 1024, + "type": "keyword" + }, + "codename": { + "ignore_above": 1024, + "type": "keyword" + }, + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "uptime": { + "type": "long" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "http": { + "dynamic": "false", + "properties": { + "request": { + "properties": { + "body": { + "properties": { + "bytes": { + "type": "long" + }, + "content": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "bytes": { + "type": "long" + }, + "headers": { + "enabled": false, + "type": "object" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "method": { + "ignore_above": 1024, + "type": "keyword" + }, + "mime_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "referrer": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "response": { + "properties": { + "body": { + "properties": { + "bytes": { + "type": "long" + }, + "content": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "bytes": { + "type": "long" + }, + "finished": { + "type": "boolean" + }, + "headers": { + "enabled": false, + "type": "object" + }, + "mime_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "status_code": { + "type": "long" + } + } + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "interface": { + "properties": { + "alias": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "jvm": { + "properties": { + "gc": { + "properties": { + "alloc": { + "type": "float" + }, + "count": { + "type": "long" + }, + "time": { + "type": "long" + } + } + }, + "memory": { + "properties": { + "heap": { + "properties": { + "committed": { + "type": "float" + }, + "max": { + "type": "float" + }, + "pool": { + "properties": { + "committed": { + "type": "float" + }, + "max": { + "type": "float" + }, + "used": { + "type": "float" + } + } + }, + "used": { + "type": "float" + } + } + }, + "non_heap": { + "properties": { + "committed": { + "type": "float" + }, + "max": { + "type": "long" + }, + "used": { + "type": "float" + } + } + } + } + }, + "thread": { + "properties": { + "count": { + "type": "long" + } + } + } + } + }, + "kubernetes": { + "dynamic": "false", + "properties": { + "annotations": { + "properties": { + "*": { + "type": "object" + } + } + }, + "container": { + "properties": { + "image": { + "path": "container.image.name", + "type": "alias" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "deployment": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "labels": { + "properties": { + "*": { + "type": "object" + } + } + }, + "namespace": { + "ignore_above": 1024, + "type": "keyword" + }, + "node": { + "properties": { + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pod": { + "properties": { + "ip": { + "type": "ip" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "uid": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "replicaset": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "selectors": { + "properties": { + "*": { + "type": "object" + } + } + }, + "statefulset": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "labels": { + "dynamic": "true", + "properties": { + "a": { + "type": "keyword" + }, + "charset": { + "type": "keyword" + }, + "connection": { + "type": "keyword" + }, + "env": { + "type": "keyword" + }, + "etag": { + "type": "keyword" + }, + "generation": { + "type": "keyword" + }, + "hostname": { + "type": "keyword" + }, + "implementation": { + "type": "keyword" + }, + "major": { + "type": "keyword" + }, + "method": { + "type": "keyword" + }, + "minor": { + "type": "keyword" + }, + "name": { + "type": "keyword" + }, + "patchlevel": { + "type": "keyword" + }, + "status": { + "type": "keyword" + }, + "transport": { + "type": "keyword" + }, + "type": { + "type": "keyword" + }, + "version": { + "type": "keyword" + }, + "view": { + "type": "keyword" + } + } + }, + "log": { + "properties": { + "file": { + "properties": { + "path": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "level": { + "ignore_above": 1024, + "type": "keyword" + }, + "logger": { + "ignore_above": 1024, + "type": "keyword" + }, + "origin": { + "properties": { + "file": { + "properties": { + "line": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "function": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "original": { + "ignore_above": 1024, + "index": false, + "type": "keyword" + }, + "syslog": { + "properties": { + "facility": { + "properties": { + "code": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "priority": { + "type": "long" + }, + "severity": { + "properties": { + "code": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + } + } + }, + "message": { + "norms": false, + "type": "text" + }, + "metricset": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "period": { + "meta": { + "unit": "ms" + }, + "type": "long" + } + } + }, + "network": { + "dynamic": "false", + "properties": { + "application": { + "ignore_above": 1024, + "type": "keyword" + }, + "bytes": { + "type": "long" + }, + "carrier": { + "properties": { + "icc": { + "ignore_above": 1024, + "type": "keyword" + }, + "mcc": { + "ignore_above": 1024, + "type": "keyword" + }, + "mnc": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "community_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "connection_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "direction": { + "ignore_above": 1024, + "type": "keyword" + }, + "forwarded_ip": { + "type": "ip" + }, + "iana_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "inner": { + "properties": { + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "packets": { + "type": "long" + }, + "protocol": { + "ignore_above": 1024, + "type": "keyword" + }, + "transport": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "nodejs": { + "properties": { + "eventloop": { + "properties": { + "delay": { + "properties": { + "avg": { + "properties": { + "ms": { + "type": "long" + } + } + } + } + } + } + }, + "handles": { + "properties": { + "active": { + "type": "long" + } + } + }, + "memory": { + "properties": { + "arrayBuffers": { + "properties": { + "bytes": { + "type": "long" + } + } + }, + "external": { + "properties": { + "bytes": { + "type": "float" + } + } + }, + "heap": { + "properties": { + "allocated": { + "properties": { + "bytes": { + "type": "float" + } + } + }, + "used": { + "properties": { + "bytes": { + "type": "float" + } + } + } + } + } + } + }, + "requests": { + "properties": { + "active": { + "type": "long" + } + } + } + } + }, + "observer": { + "dynamic": "false", + "properties": { + "egress": { + "properties": { + "interface": { + "properties": { + "alias": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "zone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "ingress": { + "properties": { + "interface": { + "properties": { + "alias": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "zone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "listening": { + "ignore_above": 1024, + "type": "keyword" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "os": { + "properties": { + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "vendor": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + }, + "version_major": { + "type": "byte" + } + } + }, + "orchestrator": { + "properties": { + "api_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "cluster": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "url": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "namespace": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "resource": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "organization": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "os": { + "properties": { + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "package": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "build_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "checksum": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "install_scope": { + "ignore_above": 1024, + "type": "keyword" + }, + "installed": { + "type": "date" + }, + "license": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "size": { + "type": "long" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "parent": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "process": { + "dynamic": "false", + "properties": { + "args": { + "ignore_above": 1024, + "type": "keyword" + }, + "args_count": { + "type": "long" + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "command_line": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "entity_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "executable": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "exit_code": { + "type": "long" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "parent": { + "properties": { + "args": { + "ignore_above": 1024, + "type": "keyword" + }, + "args_count": { + "type": "long" + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "command_line": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "entity_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "executable": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "exit_code": { + "type": "long" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pgid": { + "type": "long" + }, + "pid": { + "type": "long" + }, + "ppid": { + "type": "long" + }, + "start": { + "type": "date" + }, + "thread": { + "properties": { + "id": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "title": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "uptime": { + "type": "long" + }, + "working_directory": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pgid": { + "type": "long" + }, + "pid": { + "type": "long" + }, + "ppid": { + "type": "long" + }, + "start": { + "type": "date" + }, + "thread": { + "properties": { + "id": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "title": { + "ignore_above": 1024, + "type": "keyword" + }, + "uptime": { + "type": "long" + }, + "working_directory": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "processor": { + "properties": { + "event": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "profile": { + "dynamic": "false", + "properties": { + "alloc_objects": { + "properties": { + "count": { + "type": "long" + } + } + }, + "alloc_space": { + "properties": { + "bytes": { + "type": "long" + } + } + }, + "cpu": { + "properties": { + "ns": { + "meta": { + "unit": "nanos" + }, + "type": "long" + } + } + }, + "duration": { + "meta": { + "unit": "nanos" + }, + "type": "long" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "inuse_objects": { + "properties": { + "count": { + "type": "long" + } + } + }, + "inuse_space": { + "properties": { + "bytes": { + "type": "long" + } + } + }, + "samples": { + "properties": { + "count": { + "type": "long" + } + } + }, + "stack": { + "dynamic": "false", + "properties": { + "filename": { + "ignore_above": 1024, + "type": "keyword" + }, + "function": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "line": { + "type": "long" + } + } + }, + "top": { + "dynamic": "false", + "properties": { + "filename": { + "ignore_above": 1024, + "type": "keyword" + }, + "function": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "line": { + "type": "long" + } + } + }, + "wall": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "prometheus": { + "properties": { + "metrics": { + "properties": { + "django_http_ajax_requests": { + "type": "long" + }, + "django_http_exceptions_total_by_type": { + "type": "long" + }, + "django_http_exceptions_total_by_view": { + "type": "long" + }, + "django_http_requests_before_middlewares": { + "type": "long" + }, + "django_http_requests_total_by_method": { + "type": "long" + }, + "django_http_requests_total_by_transport": { + "type": "long" + }, + "django_http_requests_total_by_view_transport_method": { + "type": "long" + }, + "django_http_requests_unknown_latency": { + "type": "long" + }, + "django_http_requests_unknown_latency_including_middlewares": { + "type": "long" + }, + "django_http_responses_before_middlewares": { + "type": "long" + }, + "django_http_responses_streaming": { + "type": "long" + }, + "django_http_responses_total_by_charset": { + "type": "long" + }, + "django_http_responses_total_by_status": { + "type": "long" + }, + "django_http_responses_total_by_status_view_method": { + "type": "long" + }, + "django_migrations_applied_total": { + "type": "long" + }, + "django_migrations_unapplied_total": { + "type": "long" + }, + "opbeans_python_line_items": { + "type": "long" + }, + "opbeans_python_orders": { + "properties": { + "count": { + "type": "long" + }, + "sum": { + "type": "long" + } + } + }, + "process_cpu_seconds": { + "type": "float" + }, + "process_max_fds": { + "type": "float" + }, + "process_open_fds": { + "type": "long" + }, + "process_resident_memory_bytes": { + "type": "float" + }, + "process_start_time_seconds": { + "type": "float" + }, + "process_virtual_memory_bytes": { + "type": "float" + }, + "python_gc_collections": { + "type": "long" + }, + "python_gc_objects_collected": { + "type": "long" + }, + "python_gc_objects_uncollectable": { + "type": "long" + }, + "python_info": { + "type": "long" + }, + "random_counter": { + "type": "long" + }, + "random_gauge": { + "type": "float" + }, + "random_summary": { + "properties": { + "count": { + "type": "long" + }, + "sum": { + "type": "long" + } + } + } + } + } + } + }, + "registry": { + "properties": { + "data": { + "properties": { + "bytes": { + "ignore_above": 1024, + "type": "keyword" + }, + "strings": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hive": { + "ignore_above": 1024, + "type": "keyword" + }, + "key": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "value": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "related": { + "properties": { + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "hosts": { + "ignore_above": 1024, + "type": "keyword" + }, + "ip": { + "type": "ip" + }, + "user": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ruby": { + "properties": { + "gc": { + "properties": { + "count": { + "type": "long" + } + } + }, + "heap": { + "properties": { + "allocations": { + "properties": { + "total": { + "type": "long" + } + } + }, + "slots": { + "properties": { + "free": { + "type": "long" + }, + "live": { + "type": "long" + } + } + } + } + }, + "threads": { + "type": "long" + } + } + }, + "rule": { + "properties": { + "author": { + "ignore_above": 1024, + "type": "keyword" + }, + "category": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "license": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "ruleset": { + "ignore_above": 1024, + "type": "keyword" + }, + "uuid": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "server": { + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "service": { + "dynamic": "false", + "properties": { + "environment": { + "ignore_above": 1024, + "type": "keyword" + }, + "ephemeral_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "framework": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "language": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "node": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "runtime": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "state": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "session": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "sequence": { + "type": "long" + } + } + }, + "source": { + "dynamic": "false", + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "sourcemap": { + "dynamic": "false", + "properties": { + "bundle_filepath": { + "ignore_above": 1024, + "type": "keyword" + }, + "service": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "span": { + "dynamic": "false", + "properties": { + "action": { + "ignore_above": 1024, + "type": "keyword" + }, + "db": { + "dynamic": "false", + "properties": { + "link": { + "ignore_above": 1024, + "type": "keyword" + }, + "rows_affected": { + "type": "long" + } + } + }, + "destination": { + "dynamic": "false", + "properties": { + "service": { + "dynamic": "false", + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "resource": { + "ignore_above": 1024, + "type": "keyword" + }, + "response_time": { + "properties": { + "count": { + "type": "long" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "duration": { + "properties": { + "us": { + "type": "long" + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "message": { + "dynamic": "false", + "properties": { + "age": { + "properties": { + "ms": { + "type": "long" + } + } + }, + "queue": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "self_time": { + "properties": { + "count": { + "type": "long" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "start": { + "properties": { + "us": { + "type": "long" + } + } + }, + "subtype": { + "ignore_above": 1024, + "type": "keyword" + }, + "sync": { + "type": "boolean" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "system": { + "properties": { + "cpu": { + "properties": { + "total": { + "properties": { + "norm": { + "properties": { + "pct": { + "meta": { + "metric_type": "gauge", + "unit": "percent" + }, + "scaling_factor": 1000, + "type": "scaled_float" + } + } + } + } + } + } + }, + "memory": { + "properties": { + "actual": { + "properties": { + "free": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "total": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "process": { + "properties": { + "cgroup": { + "properties": { + "cpu": { + "properties": { + "cfs": { + "properties": { + "period": { + "properties": { + "us": { + "meta": { + "metric_type": "gauge", + "unit": "micros" + }, + "type": "long" + } + } + }, + "quota": { + "properties": { + "us": { + "meta": { + "metric_type": "gauge", + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "stats": { + "properties": { + "periods": { + "meta": { + "metric_type": "counter" + }, + "type": "long" + }, + "throttled": { + "properties": { + "ns": { + "meta": { + "metric_type": "counter", + "unit": "nanos" + }, + "type": "long" + }, + "periods": { + "meta": { + "metric_type": "counter" + }, + "type": "long" + } + } + } + } + } + } + }, + "cpuacct": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "total": { + "properties": { + "ns": { + "meta": { + "metric_type": "counter", + "unit": "nanos" + }, + "type": "long" + } + } + } + } + }, + "memory": { + "properties": { + "mem": { + "properties": { + "limit": { + "properties": { + "bytes": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "usage": { + "properties": { + "bytes": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + } + } + }, + "stats": { + "properties": { + "inactive_file": { + "properties": { + "bytes": { + "type": "float" + } + } + } + } + } + } + } + } + }, + "cpu": { + "properties": { + "system": { + "properties": { + "norm": { + "properties": { + "pct": { + "type": "float" + } + } + } + } + }, + "total": { + "properties": { + "norm": { + "properties": { + "pct": { + "meta": { + "metric_type": "gauge", + "unit": "percent" + }, + "scaling_factor": 1000, + "type": "scaled_float" + } + } + } + } + }, + "user": { + "properties": { + "norm": { + "properties": { + "pct": { + "type": "float" + } + } + } + } + } + } + }, + "memory": { + "properties": { + "rss": { + "properties": { + "bytes": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "size": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + } + } + } + } + }, + "tags": { + "ignore_above": 1024, + "type": "keyword" + }, + "threat": { + "properties": { + "framework": { + "ignore_above": 1024, + "type": "keyword" + }, + "tactic": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "technique": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "subtechnique": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + } + } + }, + "timeseries": { + "properties": { + "instance": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "timestamp": { + "properties": { + "us": { + "type": "long" + } + } + }, + "tls": { + "properties": { + "cipher": { + "ignore_above": 1024, + "type": "keyword" + }, + "client": { + "properties": { + "certificate": { + "ignore_above": 1024, + "type": "keyword" + }, + "certificate_chain": { + "ignore_above": 1024, + "type": "keyword" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "issuer": { + "ignore_above": 1024, + "type": "keyword" + }, + "ja3": { + "ignore_above": 1024, + "type": "keyword" + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "server_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "ignore_above": 1024, + "type": "keyword" + }, + "supported_ciphers": { + "ignore_above": 1024, + "type": "keyword" + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "established": { + "type": "boolean" + }, + "next_protocol": { + "ignore_above": 1024, + "type": "keyword" + }, + "resumed": { + "type": "boolean" + }, + "server": { + "properties": { + "certificate": { + "ignore_above": 1024, + "type": "keyword" + }, + "certificate_chain": { + "ignore_above": 1024, + "type": "keyword" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "issuer": { + "ignore_above": 1024, + "type": "keyword" + }, + "ja3s": { + "ignore_above": 1024, + "type": "keyword" + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "subject": { + "ignore_above": 1024, + "type": "keyword" + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + }, + "version_protocol": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "trace": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "transaction": { + "dynamic": "false", + "properties": { + "breakdown": { + "properties": { + "count": { + "type": "long" + } + } + }, + "duration": { + "properties": { + "count": { + "type": "long" + }, + "histogram": { + "type": "histogram" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + }, + "us": { + "type": "long" + } + } + }, + "experience": { + "properties": { + "cls": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "fid": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "longtask": { + "properties": { + "count": { + "type": "long" + }, + "max": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "sum": { + "scaling_factor": 1000000, + "type": "scaled_float" + } + } + }, + "tbt": { + "scaling_factor": 1000000, + "type": "scaled_float" + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "marks": { + "dynamic": "true", + "properties": { + "*": { + "properties": { + "*": { + "dynamic": "true", + "type": "object" + } + } + } + } + }, + "message": { + "dynamic": "false", + "properties": { + "age": { + "properties": { + "ms": { + "type": "long" + } + } + }, + "queue": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "result": { + "ignore_above": 1024, + "type": "keyword" + }, + "root": { + "type": "boolean" + }, + "sampled": { + "type": "boolean" + }, + "self_time": { + "properties": { + "count": { + "type": "long" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "span_count": { + "properties": { + "dropped": { + "type": "long" + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "url": { + "dynamic": "false", + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "extension": { + "ignore_above": 1024, + "type": "keyword" + }, + "fragment": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "ignore_above": 1024, + "type": "keyword" + }, + "original": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "password": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "port": { + "type": "long" + }, + "query": { + "ignore_above": 1024, + "type": "keyword" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "scheme": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "username": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "user": { + "dynamic": "false", + "properties": { + "changes": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "effective": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + }, + "target": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "user_agent": { + "dynamic": "false", + "properties": { + "device": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "original": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "os": { + "properties": { + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vulnerability": { + "properties": { + "category": { + "ignore_above": 1024, + "type": "keyword" + }, + "classification": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "enumeration": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "report_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "scanner": { + "properties": { + "vendor": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "score": { + "properties": { + "base": { + "type": "float" + }, + "environmental": { + "type": "float" + }, + "temporal": { + "type": "float" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "severity": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "settings": { + "index": { + "auto_expand_replicas": "0-1", + "blocks": { + "read_only_allow_delete": "false" + }, + "codec": "best_compression", + "lifecycle": { + "name": "apm-rollover-30-days", + "rollover_alias": "apm-7.14.0-metric" + }, + "mapping": { + "total_fields": { + "limit": "2000" + } + }, + "max_docvalue_fields_search": "200", + "number_of_replicas": "1", + "number_of_shards": "1", + "priority": "100", + "refresh_interval": "5s" + } + } + } +} + +{ + "type": "index", + "value": { + "aliases": { + "apm-7.14.0-span": { + "is_write_index": true + } + }, + "index": "apm-7.14.0-span-000001", + "mappings": { + "_meta": { + "beat": "apm", + "version": "7.14.0" + }, + "date_detection": false, + "dynamic_templates": [ + { + "labels": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "labels.*" + } + }, + { + "container.labels": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "container.labels.*" + } + }, + { + "fields": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "fields.*" + } + }, + { + "docker.container.labels": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "docker.container.labels.*" + } + }, + { + "kubernetes.labels.*": { + "mapping": { + "type": "keyword" + }, + "path_match": "kubernetes.labels.*" + } + }, + { + "kubernetes.annotations.*": { + "mapping": { + "type": "keyword" + }, + "path_match": "kubernetes.annotations.*" + } + }, + { + "kubernetes.selectors.*": { + "mapping": { + "type": "keyword" + }, + "path_match": "kubernetes.selectors.*" + } + }, + { + "labels_string": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "labels.*" + } + }, + { + "labels_boolean": { + "mapping": { + "type": "boolean" + }, + "match_mapping_type": "boolean", + "path_match": "labels.*" + } + }, + { + "labels_*": { + "mapping": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "path_match": "labels.*" + } + }, + { + "histogram": { + "mapping": { + "type": "histogram" + } + } + }, + { + "transaction.marks": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "transaction.marks.*" + } + }, + { + "transaction.marks.*.*": { + "mapping": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "path_match": "transaction.marks.*.*" + } + }, + { + "strings_as_keyword": { + "mapping": { + "ignore_above": 1024, + "type": "keyword" + }, + "match_mapping_type": "string" + } + } + ], + "properties": { + "@timestamp": { + "type": "date" + }, + "agent": { + "dynamic": "false", + "properties": { + "build": { + "properties": { + "original": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ephemeral_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "child": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "client": { + "dynamic": "false", + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "cloud": { + "properties": { + "account": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "availability_zone": { + "ignore_above": 1024, + "type": "keyword" + }, + "image": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "instance": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "machine": { + "dynamic": "false", + "properties": { + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "project": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "provider": { + "ignore_above": 1024, + "type": "keyword" + }, + "region": { + "ignore_above": 1024, + "type": "keyword" + }, + "service": { + "dynamic": "false", + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "container": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "image": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "tag": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "labels": { + "type": "object" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "runtime": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "data_stream": { + "properties": { + "dataset": { + "type": "constant_keyword" + }, + "namespace": { + "type": "constant_keyword" + }, + "type": { + "type": "constant_keyword" + } + } + }, + "destination": { + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "dll": { + "properties": { + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "dns": { + "properties": { + "answers": { + "properties": { + "class": { + "ignore_above": 1024, + "type": "keyword" + }, + "data": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "ttl": { + "type": "long" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "header_flags": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "op_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "question": { + "properties": { + "class": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "resolved_ip": { + "type": "ip" + }, + "response_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "docker": { + "properties": { + "container": { + "properties": { + "labels": { + "type": "object" + } + } + } + } + }, + "ecs": { + "properties": { + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "error": { + "dynamic": "false", + "properties": { + "code": { + "ignore_above": 1024, + "type": "keyword" + }, + "culprit": { + "ignore_above": 1024, + "type": "keyword" + }, + "exception": { + "properties": { + "code": { + "ignore_above": 1024, + "type": "keyword" + }, + "handled": { + "type": "boolean" + }, + "message": { + "norms": false, + "type": "text" + }, + "module": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "grouping_key": { + "ignore_above": 1024, + "type": "keyword" + }, + "grouping_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "log": { + "properties": { + "level": { + "ignore_above": 1024, + "type": "keyword" + }, + "logger_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "message": { + "norms": false, + "type": "text" + }, + "param_message": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "message": { + "norms": false, + "type": "text" + }, + "stack_trace": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "index": false, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "event": { + "properties": { + "action": { + "ignore_above": 1024, + "type": "keyword" + }, + "category": { + "ignore_above": 1024, + "type": "keyword" + }, + "code": { + "ignore_above": 1024, + "type": "keyword" + }, + "created": { + "type": "date" + }, + "dataset": { + "ignore_above": 1024, + "type": "keyword" + }, + "duration": { + "type": "long" + }, + "end": { + "type": "date" + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "ingested": { + "type": "date" + }, + "kind": { + "ignore_above": 1024, + "type": "keyword" + }, + "module": { + "ignore_above": 1024, + "type": "keyword" + }, + "original": { + "ignore_above": 1024, + "index": false, + "type": "keyword" + }, + "outcome": { + "ignore_above": 1024, + "type": "keyword" + }, + "provider": { + "ignore_above": 1024, + "type": "keyword" + }, + "reason": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "risk_score": { + "type": "float" + }, + "risk_score_norm": { + "type": "float" + }, + "sequence": { + "type": "long" + }, + "severity": { + "type": "long" + }, + "start": { + "type": "date" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "url": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "experimental": { + "dynamic": "true", + "type": "object" + }, + "fields": { + "type": "object" + }, + "file": { + "properties": { + "accessed": { + "type": "date" + }, + "attributes": { + "ignore_above": 1024, + "type": "keyword" + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "created": { + "type": "date" + }, + "ctime": { + "type": "date" + }, + "device": { + "ignore_above": 1024, + "type": "keyword" + }, + "directory": { + "ignore_above": 1024, + "type": "keyword" + }, + "drive_letter": { + "ignore_above": 1, + "type": "keyword" + }, + "extension": { + "ignore_above": 1024, + "type": "keyword" + }, + "gid": { + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "ignore_above": 1024, + "type": "keyword" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "inode": { + "ignore_above": 1024, + "type": "keyword" + }, + "mime_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "mode": { + "ignore_above": 1024, + "type": "keyword" + }, + "mtime": { + "type": "date" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "owner": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "size": { + "type": "long" + }, + "target_path": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "uid": { + "ignore_above": 1024, + "type": "keyword" + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "host": { + "dynamic": "false", + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "containerized": { + "type": "boolean" + }, + "cpu": { + "properties": { + "usage": { + "scaling_factor": 1000, + "type": "scaled_float" + } + } + }, + "disk": { + "properties": { + "read": { + "properties": { + "bytes": { + "type": "long" + } + } + }, + "write": { + "properties": { + "bytes": { + "type": "long" + } + } + } + } + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "network": { + "properties": { + "egress": { + "properties": { + "bytes": { + "type": "long" + }, + "packets": { + "type": "long" + } + } + }, + "ingress": { + "properties": { + "bytes": { + "type": "long" + }, + "packets": { + "type": "long" + } + } + } + } + }, + "os": { + "properties": { + "build": { + "ignore_above": 1024, + "type": "keyword" + }, + "codename": { + "ignore_above": 1024, + "type": "keyword" + }, + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "uptime": { + "type": "long" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "http": { + "dynamic": "false", + "properties": { + "request": { + "properties": { + "body": { + "properties": { + "bytes": { + "type": "long" + }, + "content": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "bytes": { + "type": "long" + }, + "headers": { + "enabled": false, + "type": "object" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "method": { + "ignore_above": 1024, + "type": "keyword" + }, + "mime_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "referrer": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "response": { + "properties": { + "body": { + "properties": { + "bytes": { + "type": "long" + }, + "content": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "bytes": { + "type": "long" + }, + "finished": { + "type": "boolean" + }, + "headers": { + "enabled": false, + "type": "object" + }, + "mime_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "status_code": { + "type": "long" + } + } + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "interface": { + "properties": { + "alias": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "kubernetes": { + "dynamic": "false", + "properties": { + "annotations": { + "properties": { + "*": { + "type": "object" + } + } + }, + "container": { + "properties": { + "image": { + "path": "container.image.name", + "type": "alias" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "deployment": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "labels": { + "properties": { + "*": { + "type": "object" + } + } + }, + "namespace": { + "ignore_above": 1024, + "type": "keyword" + }, + "node": { + "properties": { + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pod": { + "properties": { + "ip": { + "type": "ip" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "uid": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "replicaset": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "selectors": { + "properties": { + "*": { + "type": "object" + } + } + }, + "statefulset": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "labels": { + "dynamic": "true", + "properties": { + "events_encoded": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "events_failed": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "events_original": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "events_published": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "foo": { + "type": "keyword" + }, + "productId": { + "type": "keyword" + } + } + }, + "log": { + "properties": { + "file": { + "properties": { + "path": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "level": { + "ignore_above": 1024, + "type": "keyword" + }, + "logger": { + "ignore_above": 1024, + "type": "keyword" + }, + "origin": { + "properties": { + "file": { + "properties": { + "line": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "function": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "original": { + "ignore_above": 1024, + "index": false, + "type": "keyword" + }, + "syslog": { + "properties": { + "facility": { + "properties": { + "code": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "priority": { + "type": "long" + }, + "severity": { + "properties": { + "code": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + } + } + }, + "message": { + "norms": false, + "type": "text" + }, + "metricset": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "period": { + "meta": { + "unit": "ms" + }, + "type": "long" + } + } + }, + "network": { + "dynamic": "false", + "properties": { + "application": { + "ignore_above": 1024, + "type": "keyword" + }, + "bytes": { + "type": "long" + }, + "carrier": { + "properties": { + "icc": { + "ignore_above": 1024, + "type": "keyword" + }, + "mcc": { + "ignore_above": 1024, + "type": "keyword" + }, + "mnc": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "community_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "connection_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "direction": { + "ignore_above": 1024, + "type": "keyword" + }, + "forwarded_ip": { + "type": "ip" + }, + "iana_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "inner": { + "properties": { + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "packets": { + "type": "long" + }, + "protocol": { + "ignore_above": 1024, + "type": "keyword" + }, + "transport": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "observer": { + "dynamic": "false", + "properties": { + "egress": { + "properties": { + "interface": { + "properties": { + "alias": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "zone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "ingress": { + "properties": { + "interface": { + "properties": { + "alias": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "zone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "listening": { + "ignore_above": 1024, + "type": "keyword" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "os": { + "properties": { + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "vendor": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + }, + "version_major": { + "type": "byte" + } + } + }, + "orchestrator": { + "properties": { + "api_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "cluster": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "url": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "namespace": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "resource": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "organization": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "os": { + "properties": { + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "package": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "build_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "checksum": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "install_scope": { + "ignore_above": 1024, + "type": "keyword" + }, + "installed": { + "type": "date" + }, + "license": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "size": { + "type": "long" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "parent": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "process": { + "dynamic": "false", + "properties": { + "args": { + "ignore_above": 1024, + "type": "keyword" + }, + "args_count": { + "type": "long" + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "command_line": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "entity_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "executable": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "exit_code": { + "type": "long" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "parent": { + "properties": { + "args": { + "ignore_above": 1024, + "type": "keyword" + }, + "args_count": { + "type": "long" + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "command_line": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "entity_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "executable": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "exit_code": { + "type": "long" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pgid": { + "type": "long" + }, + "pid": { + "type": "long" + }, + "ppid": { + "type": "long" + }, + "start": { + "type": "date" + }, + "thread": { + "properties": { + "id": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "title": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "uptime": { + "type": "long" + }, + "working_directory": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pgid": { + "type": "long" + }, + "pid": { + "type": "long" + }, + "ppid": { + "type": "long" + }, + "start": { + "type": "date" + }, + "thread": { + "properties": { + "id": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "title": { + "ignore_above": 1024, + "type": "keyword" + }, + "uptime": { + "type": "long" + }, + "working_directory": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "processor": { + "properties": { + "event": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "profile": { + "dynamic": "false", + "properties": { + "alloc_objects": { + "properties": { + "count": { + "type": "long" + } + } + }, + "alloc_space": { + "properties": { + "bytes": { + "type": "long" + } + } + }, + "cpu": { + "properties": { + "ns": { + "meta": { + "unit": "nanos" + }, + "type": "long" + } + } + }, + "duration": { + "meta": { + "unit": "nanos" + }, + "type": "long" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "inuse_objects": { + "properties": { + "count": { + "type": "long" + } + } + }, + "inuse_space": { + "properties": { + "bytes": { + "type": "long" + } + } + }, + "samples": { + "properties": { + "count": { + "type": "long" + } + } + }, + "stack": { + "dynamic": "false", + "properties": { + "filename": { + "ignore_above": 1024, + "type": "keyword" + }, + "function": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "line": { + "type": "long" + } + } + }, + "top": { + "dynamic": "false", + "properties": { + "filename": { + "ignore_above": 1024, + "type": "keyword" + }, + "function": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "line": { + "type": "long" + } + } + }, + "wall": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "registry": { + "properties": { + "data": { + "properties": { + "bytes": { + "ignore_above": 1024, + "type": "keyword" + }, + "strings": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hive": { + "ignore_above": 1024, + "type": "keyword" + }, + "key": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "value": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "related": { + "properties": { + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "hosts": { + "ignore_above": 1024, + "type": "keyword" + }, + "ip": { + "type": "ip" + }, + "user": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "rule": { + "properties": { + "author": { + "ignore_above": 1024, + "type": "keyword" + }, + "category": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "license": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "ruleset": { + "ignore_above": 1024, + "type": "keyword" + }, + "uuid": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "server": { + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "service": { + "dynamic": "false", + "properties": { + "environment": { + "ignore_above": 1024, + "type": "keyword" + }, + "ephemeral_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "framework": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "language": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "node": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "runtime": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "state": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "session": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "sequence": { + "type": "long" + } + } + }, + "source": { + "dynamic": "false", + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "sourcemap": { + "dynamic": "false", + "properties": { + "bundle_filepath": { + "ignore_above": 1024, + "type": "keyword" + }, + "service": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "span": { + "dynamic": "false", + "properties": { + "action": { + "ignore_above": 1024, + "type": "keyword" + }, + "db": { + "dynamic": "false", + "properties": { + "link": { + "ignore_above": 1024, + "type": "keyword" + }, + "rows_affected": { + "type": "long" + } + } + }, + "destination": { + "dynamic": "false", + "properties": { + "service": { + "dynamic": "false", + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "resource": { + "ignore_above": 1024, + "type": "keyword" + }, + "response_time": { + "properties": { + "count": { + "type": "long" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "duration": { + "properties": { + "us": { + "type": "long" + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "message": { + "dynamic": "false", + "properties": { + "age": { + "properties": { + "ms": { + "type": "long" + } + } + }, + "queue": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "self_time": { + "properties": { + "count": { + "type": "long" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "start": { + "properties": { + "us": { + "type": "long" + } + } + }, + "subtype": { + "ignore_above": 1024, + "type": "keyword" + }, + "sync": { + "type": "boolean" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "system": { + "properties": { + "cpu": { + "properties": { + "total": { + "properties": { + "norm": { + "properties": { + "pct": { + "meta": { + "metric_type": "gauge", + "unit": "percent" + }, + "scaling_factor": 1000, + "type": "scaled_float" + } + } + } + } + } + } + }, + "memory": { + "properties": { + "actual": { + "properties": { + "free": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "total": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "process": { + "properties": { + "cgroup": { + "properties": { + "cpu": { + "properties": { + "cfs": { + "properties": { + "period": { + "properties": { + "us": { + "meta": { + "metric_type": "gauge", + "unit": "micros" + }, + "type": "long" + } + } + }, + "quota": { + "properties": { + "us": { + "meta": { + "metric_type": "gauge", + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "stats": { + "properties": { + "periods": { + "meta": { + "metric_type": "counter" + }, + "type": "long" + }, + "throttled": { + "properties": { + "ns": { + "meta": { + "metric_type": "counter", + "unit": "nanos" + }, + "type": "long" + }, + "periods": { + "meta": { + "metric_type": "counter" + }, + "type": "long" + } + } + } + } + } + } + }, + "cpuacct": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "total": { + "properties": { + "ns": { + "meta": { + "metric_type": "counter", + "unit": "nanos" + }, + "type": "long" + } + } + } + } + }, + "memory": { + "properties": { + "mem": { + "properties": { + "limit": { + "properties": { + "bytes": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "usage": { + "properties": { + "bytes": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + } + } + } + } + } + } + }, + "cpu": { + "properties": { + "total": { + "properties": { + "norm": { + "properties": { + "pct": { + "meta": { + "metric_type": "gauge", + "unit": "percent" + }, + "scaling_factor": 1000, + "type": "scaled_float" + } + } + } + } + } + } + }, + "memory": { + "properties": { + "rss": { + "properties": { + "bytes": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "size": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + } + } + } + } + }, + "tags": { + "ignore_above": 1024, + "type": "keyword" + }, + "threat": { + "properties": { + "framework": { + "ignore_above": 1024, + "type": "keyword" + }, + "tactic": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "technique": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "subtechnique": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + } + } + }, + "timeseries": { + "properties": { + "instance": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "timestamp": { + "properties": { + "us": { + "type": "long" + } + } + }, + "tls": { + "properties": { + "cipher": { + "ignore_above": 1024, + "type": "keyword" + }, + "client": { + "properties": { + "certificate": { + "ignore_above": 1024, + "type": "keyword" + }, + "certificate_chain": { + "ignore_above": 1024, + "type": "keyword" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "issuer": { + "ignore_above": 1024, + "type": "keyword" + }, + "ja3": { + "ignore_above": 1024, + "type": "keyword" + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "server_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "ignore_above": 1024, + "type": "keyword" + }, + "supported_ciphers": { + "ignore_above": 1024, + "type": "keyword" + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "established": { + "type": "boolean" + }, + "next_protocol": { + "ignore_above": 1024, + "type": "keyword" + }, + "resumed": { + "type": "boolean" + }, + "server": { + "properties": { + "certificate": { + "ignore_above": 1024, + "type": "keyword" + }, + "certificate_chain": { + "ignore_above": 1024, + "type": "keyword" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "issuer": { + "ignore_above": 1024, + "type": "keyword" + }, + "ja3s": { + "ignore_above": 1024, + "type": "keyword" + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "subject": { + "ignore_above": 1024, + "type": "keyword" + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + }, + "version_protocol": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "trace": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "transaction": { + "dynamic": "false", + "properties": { + "breakdown": { + "properties": { + "count": { + "type": "long" + } + } + }, + "duration": { + "properties": { + "count": { + "type": "long" + }, + "histogram": { + "type": "histogram" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + }, + "us": { + "type": "long" + } + } + }, + "experience": { + "properties": { + "cls": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "fid": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "longtask": { + "properties": { + "count": { + "type": "long" + }, + "max": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "sum": { + "scaling_factor": 1000000, + "type": "scaled_float" + } + } + }, + "tbt": { + "scaling_factor": 1000000, + "type": "scaled_float" + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "marks": { + "dynamic": "true", + "properties": { + "*": { + "properties": { + "*": { + "dynamic": "true", + "type": "object" + } + } + } + } + }, + "message": { + "dynamic": "false", + "properties": { + "age": { + "properties": { + "ms": { + "type": "long" + } + } + }, + "queue": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "result": { + "ignore_above": 1024, + "type": "keyword" + }, + "root": { + "type": "boolean" + }, + "sampled": { + "type": "boolean" + }, + "self_time": { + "properties": { + "count": { + "type": "long" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "span_count": { + "properties": { + "dropped": { + "type": "long" + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "url": { + "dynamic": "false", + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "extension": { + "ignore_above": 1024, + "type": "keyword" + }, + "fragment": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "ignore_above": 1024, + "type": "keyword" + }, + "original": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "password": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "port": { + "type": "long" + }, + "query": { + "ignore_above": 1024, + "type": "keyword" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "scheme": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "username": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "user": { + "dynamic": "false", + "properties": { + "changes": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "effective": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + }, + "target": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "user_agent": { + "dynamic": "false", + "properties": { + "device": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "original": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "os": { + "properties": { + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vulnerability": { + "properties": { + "category": { + "ignore_above": 1024, + "type": "keyword" + }, + "classification": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "enumeration": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "report_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "scanner": { + "properties": { + "vendor": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "score": { + "properties": { + "base": { + "type": "float" + }, + "environmental": { + "type": "float" + }, + "temporal": { + "type": "float" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "severity": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "settings": { + "index": { + "auto_expand_replicas": "0-1", + "blocks": { + "read_only_allow_delete": "false" + }, + "codec": "best_compression", + "lifecycle": { + "name": "apm-rollover-30-days", + "rollover_alias": "apm-7.14.0-span" + }, + "mapping": { + "total_fields": { + "limit": "2000" + } + }, + "max_docvalue_fields_search": "200", + "number_of_replicas": "1", + "number_of_shards": "1", + "priority": "100", + "refresh_interval": "5s" + } + } + } +} + +{ + "type": "index", + "value": { + "aliases": { + "apm-7.14.0-transaction": { + "is_write_index": true + } + }, + "index": "apm-7.14.0-transaction-000001", + "mappings": { + "_meta": { + "beat": "apm", + "version": "7.14.0" + }, + "date_detection": false, + "dynamic_templates": [ + { + "labels": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "labels.*" + } + }, + { + "container.labels": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "container.labels.*" + } + }, + { + "fields": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "fields.*" + } + }, + { + "docker.container.labels": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "docker.container.labels.*" + } + }, + { + "kubernetes.labels.*": { + "mapping": { + "type": "keyword" + }, + "path_match": "kubernetes.labels.*" + } + }, + { + "kubernetes.annotations.*": { + "mapping": { + "type": "keyword" + }, + "path_match": "kubernetes.annotations.*" + } + }, + { + "kubernetes.selectors.*": { + "mapping": { + "type": "keyword" + }, + "path_match": "kubernetes.selectors.*" + } + }, + { + "labels_string": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "labels.*" + } + }, + { + "labels_boolean": { + "mapping": { + "type": "boolean" + }, + "match_mapping_type": "boolean", + "path_match": "labels.*" + } + }, + { + "labels_*": { + "mapping": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "path_match": "labels.*" + } + }, + { + "histogram": { + "mapping": { + "type": "histogram" + } + } + }, + { + "transaction.marks": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "transaction.marks.*" + } + }, + { + "transaction.marks.*.*": { + "mapping": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "path_match": "transaction.marks.*.*" + } + }, + { + "strings_as_keyword": { + "mapping": { + "ignore_above": 1024, + "type": "keyword" + }, + "match_mapping_type": "string" + } + } + ], + "properties": { + "@timestamp": { + "type": "date" + }, + "agent": { + "dynamic": "false", + "properties": { + "build": { + "properties": { + "original": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ephemeral_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "child": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "client": { + "dynamic": "false", + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "cloud": { + "properties": { + "account": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "availability_zone": { + "ignore_above": 1024, + "type": "keyword" + }, + "image": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "instance": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "machine": { + "dynamic": "false", + "properties": { + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "project": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "provider": { + "ignore_above": 1024, + "type": "keyword" + }, + "region": { + "ignore_above": 1024, + "type": "keyword" + }, + "service": { + "dynamic": "false", + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "container": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "image": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "tag": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "labels": { + "type": "object" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "runtime": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "data_stream": { + "properties": { + "dataset": { + "type": "constant_keyword" + }, + "namespace": { + "type": "constant_keyword" + }, + "type": { + "type": "constant_keyword" + } + } + }, + "destination": { + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "dll": { + "properties": { + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "dns": { + "properties": { + "answers": { + "properties": { + "class": { + "ignore_above": 1024, + "type": "keyword" + }, + "data": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "ttl": { + "type": "long" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "header_flags": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "op_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "question": { + "properties": { + "class": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "resolved_ip": { + "type": "ip" + }, + "response_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "docker": { + "properties": { + "container": { + "properties": { + "labels": { + "type": "object" + } + } + } + } + }, + "ecs": { + "properties": { + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "error": { + "dynamic": "false", + "properties": { + "code": { + "ignore_above": 1024, + "type": "keyword" + }, + "culprit": { + "ignore_above": 1024, + "type": "keyword" + }, + "exception": { + "properties": { + "code": { + "ignore_above": 1024, + "type": "keyword" + }, + "handled": { + "type": "boolean" + }, + "message": { + "norms": false, + "type": "text" + }, + "module": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "grouping_key": { + "ignore_above": 1024, + "type": "keyword" + }, + "grouping_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "log": { + "properties": { + "level": { + "ignore_above": 1024, + "type": "keyword" + }, + "logger_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "message": { + "norms": false, + "type": "text" + }, + "param_message": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "message": { + "norms": false, + "type": "text" + }, + "stack_trace": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "index": false, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "event": { + "properties": { + "action": { + "ignore_above": 1024, + "type": "keyword" + }, + "category": { + "ignore_above": 1024, + "type": "keyword" + }, + "code": { + "ignore_above": 1024, + "type": "keyword" + }, + "created": { + "type": "date" + }, + "dataset": { + "ignore_above": 1024, + "type": "keyword" + }, + "duration": { + "type": "long" + }, + "end": { + "type": "date" + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "ingested": { + "type": "date" + }, + "kind": { + "ignore_above": 1024, + "type": "keyword" + }, + "module": { + "ignore_above": 1024, + "type": "keyword" + }, + "original": { + "ignore_above": 1024, + "index": false, + "type": "keyword" + }, + "outcome": { + "ignore_above": 1024, + "type": "keyword" + }, + "provider": { + "ignore_above": 1024, + "type": "keyword" + }, + "reason": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "risk_score": { + "type": "float" + }, + "risk_score_norm": { + "type": "float" + }, + "sequence": { + "type": "long" + }, + "severity": { + "type": "long" + }, + "start": { + "type": "date" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "url": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "experimental": { + "dynamic": "true", + "type": "object" + }, + "fields": { + "type": "object" + }, + "file": { + "properties": { + "accessed": { + "type": "date" + }, + "attributes": { + "ignore_above": 1024, + "type": "keyword" + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "created": { + "type": "date" + }, + "ctime": { + "type": "date" + }, + "device": { + "ignore_above": 1024, + "type": "keyword" + }, + "directory": { + "ignore_above": 1024, + "type": "keyword" + }, + "drive_letter": { + "ignore_above": 1, + "type": "keyword" + }, + "extension": { + "ignore_above": 1024, + "type": "keyword" + }, + "gid": { + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "ignore_above": 1024, + "type": "keyword" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "inode": { + "ignore_above": 1024, + "type": "keyword" + }, + "mime_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "mode": { + "ignore_above": 1024, + "type": "keyword" + }, + "mtime": { + "type": "date" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "owner": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "size": { + "type": "long" + }, + "target_path": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "uid": { + "ignore_above": 1024, + "type": "keyword" + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "host": { + "dynamic": "false", + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "containerized": { + "type": "boolean" + }, + "cpu": { + "properties": { + "usage": { + "scaling_factor": 1000, + "type": "scaled_float" + } + } + }, + "disk": { + "properties": { + "read": { + "properties": { + "bytes": { + "type": "long" + } + } + }, + "write": { + "properties": { + "bytes": { + "type": "long" + } + } + } + } + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "network": { + "properties": { + "egress": { + "properties": { + "bytes": { + "type": "long" + }, + "packets": { + "type": "long" + } + } + }, + "ingress": { + "properties": { + "bytes": { + "type": "long" + }, + "packets": { + "type": "long" + } + } + } + } + }, + "os": { + "properties": { + "build": { + "ignore_above": 1024, + "type": "keyword" + }, + "codename": { + "ignore_above": 1024, + "type": "keyword" + }, + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "uptime": { + "type": "long" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "http": { + "dynamic": "false", + "properties": { + "request": { + "properties": { + "body": { + "properties": { + "bytes": { + "type": "long" + }, + "content": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "bytes": { + "type": "long" + }, + "headers": { + "enabled": false, + "type": "object" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "method": { + "ignore_above": 1024, + "type": "keyword" + }, + "mime_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "referrer": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "response": { + "properties": { + "body": { + "properties": { + "bytes": { + "type": "long" + }, + "content": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "bytes": { + "type": "long" + }, + "finished": { + "type": "boolean" + }, + "headers": { + "enabled": false, + "type": "object" + }, + "mime_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "status_code": { + "type": "long" + } + } + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "interface": { + "properties": { + "alias": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "kubernetes": { + "dynamic": "false", + "properties": { + "annotations": { + "properties": { + "*": { + "type": "object" + } + } + }, + "container": { + "properties": { + "image": { + "path": "container.image.name", + "type": "alias" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "deployment": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "labels": { + "properties": { + "*": { + "type": "object" + } + } + }, + "namespace": { + "ignore_above": 1024, + "type": "keyword" + }, + "node": { + "properties": { + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pod": { + "properties": { + "ip": { + "type": "ip" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "uid": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "replicaset": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "selectors": { + "properties": { + "*": { + "type": "object" + } + } + }, + "statefulset": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "labels": { + "dynamic": "true", + "properties": { + "company": { + "type": "keyword" + }, + "customer_email": { + "type": "keyword" + }, + "customer_name": { + "type": "keyword" + }, + "customer_tier": { + "type": "keyword" + }, + "foo": { + "type": "keyword" + }, + "lorem": { + "type": "keyword" + }, + "multi-line": { + "type": "keyword" + }, + "request_id": { + "type": "keyword" + }, + "served_from_cache": { + "type": "keyword" + }, + "this-is-a-very-long-tag-name-without-any-spaces": { + "type": "keyword" + }, + "worker": { + "type": "keyword" + } + } + }, + "log": { + "properties": { + "file": { + "properties": { + "path": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "level": { + "ignore_above": 1024, + "type": "keyword" + }, + "logger": { + "ignore_above": 1024, + "type": "keyword" + }, + "origin": { + "properties": { + "file": { + "properties": { + "line": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "function": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "original": { + "ignore_above": 1024, + "index": false, + "type": "keyword" + }, + "syslog": { + "properties": { + "facility": { + "properties": { + "code": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "priority": { + "type": "long" + }, + "severity": { + "properties": { + "code": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + } + } + }, + "message": { + "norms": false, + "type": "text" + }, + "metricset": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "period": { + "meta": { + "unit": "ms" + }, + "type": "long" + } + } + }, + "network": { + "dynamic": "false", + "properties": { + "application": { + "ignore_above": 1024, + "type": "keyword" + }, + "bytes": { + "type": "long" + }, + "carrier": { + "properties": { + "icc": { + "ignore_above": 1024, + "type": "keyword" + }, + "mcc": { + "ignore_above": 1024, + "type": "keyword" + }, + "mnc": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "community_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "connection_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "direction": { + "ignore_above": 1024, + "type": "keyword" + }, + "forwarded_ip": { + "type": "ip" + }, + "iana_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "inner": { + "properties": { + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "packets": { + "type": "long" + }, + "protocol": { + "ignore_above": 1024, + "type": "keyword" + }, + "transport": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "observer": { + "dynamic": "false", + "properties": { + "egress": { + "properties": { + "interface": { + "properties": { + "alias": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "zone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "ingress": { + "properties": { + "interface": { + "properties": { + "alias": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "zone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "listening": { + "ignore_above": 1024, + "type": "keyword" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "os": { + "properties": { + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "vendor": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + }, + "version_major": { + "type": "byte" + } + } + }, + "orchestrator": { + "properties": { + "api_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "cluster": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "url": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "namespace": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "resource": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "organization": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "os": { + "properties": { + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "package": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "build_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "checksum": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "install_scope": { + "ignore_above": 1024, + "type": "keyword" + }, + "installed": { + "type": "date" + }, + "license": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "size": { + "type": "long" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "parent": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "process": { + "dynamic": "false", + "properties": { + "args": { + "ignore_above": 1024, + "type": "keyword" + }, + "args_count": { + "type": "long" + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "command_line": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "entity_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "executable": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "exit_code": { + "type": "long" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "parent": { + "properties": { + "args": { + "ignore_above": 1024, + "type": "keyword" + }, + "args_count": { + "type": "long" + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "command_line": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "entity_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "executable": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "exit_code": { + "type": "long" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pgid": { + "type": "long" + }, + "pid": { + "type": "long" + }, + "ppid": { + "type": "long" + }, + "start": { + "type": "date" + }, + "thread": { + "properties": { + "id": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "title": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "uptime": { + "type": "long" + }, + "working_directory": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pgid": { + "type": "long" + }, + "pid": { + "type": "long" + }, + "ppid": { + "type": "long" + }, + "start": { + "type": "date" + }, + "thread": { + "properties": { + "id": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "title": { + "ignore_above": 1024, + "type": "keyword" + }, + "uptime": { + "type": "long" + }, + "working_directory": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "processor": { + "properties": { + "event": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "profile": { + "dynamic": "false", + "properties": { + "alloc_objects": { + "properties": { + "count": { + "type": "long" + } + } + }, + "alloc_space": { + "properties": { + "bytes": { + "type": "long" + } + } + }, + "cpu": { + "properties": { + "ns": { + "meta": { + "unit": "nanos" + }, + "type": "long" + } + } + }, + "duration": { + "meta": { + "unit": "nanos" + }, + "type": "long" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "inuse_objects": { + "properties": { + "count": { + "type": "long" + } + } + }, + "inuse_space": { + "properties": { + "bytes": { + "type": "long" + } + } + }, + "samples": { + "properties": { + "count": { + "type": "long" + } + } + }, + "stack": { + "dynamic": "false", + "properties": { + "filename": { + "ignore_above": 1024, + "type": "keyword" + }, + "function": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "line": { + "type": "long" + } + } + }, + "top": { + "dynamic": "false", + "properties": { + "filename": { + "ignore_above": 1024, + "type": "keyword" + }, + "function": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "line": { + "type": "long" + } + } + }, + "wall": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "registry": { + "properties": { + "data": { + "properties": { + "bytes": { + "ignore_above": 1024, + "type": "keyword" + }, + "strings": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hive": { + "ignore_above": 1024, + "type": "keyword" + }, + "key": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "value": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "related": { + "properties": { + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "hosts": { + "ignore_above": 1024, + "type": "keyword" + }, + "ip": { + "type": "ip" + }, + "user": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "rule": { + "properties": { + "author": { + "ignore_above": 1024, + "type": "keyword" + }, + "category": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "license": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "ruleset": { + "ignore_above": 1024, + "type": "keyword" + }, + "uuid": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "server": { + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "service": { + "dynamic": "false", + "properties": { + "environment": { + "ignore_above": 1024, + "type": "keyword" + }, + "ephemeral_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "framework": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "language": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "node": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "runtime": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "state": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "session": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "sequence": { + "type": "long" + } + } + }, + "source": { + "dynamic": "false", + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "sourcemap": { + "dynamic": "false", + "properties": { + "bundle_filepath": { + "ignore_above": 1024, + "type": "keyword" + }, + "service": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "span": { + "dynamic": "false", + "properties": { + "action": { + "ignore_above": 1024, + "type": "keyword" + }, + "db": { + "dynamic": "false", + "properties": { + "link": { + "ignore_above": 1024, + "type": "keyword" + }, + "rows_affected": { + "type": "long" + } + } + }, + "destination": { + "dynamic": "false", + "properties": { + "service": { + "dynamic": "false", + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "resource": { + "ignore_above": 1024, + "type": "keyword" + }, + "response_time": { + "properties": { + "count": { + "type": "long" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "duration": { + "properties": { + "us": { + "type": "long" + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "message": { + "dynamic": "false", + "properties": { + "age": { + "properties": { + "ms": { + "type": "long" + } + } + }, + "queue": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "self_time": { + "properties": { + "count": { + "type": "long" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "start": { + "properties": { + "us": { + "type": "long" + } + } + }, + "subtype": { + "ignore_above": 1024, + "type": "keyword" + }, + "sync": { + "type": "boolean" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "system": { + "properties": { + "cpu": { + "properties": { + "total": { + "properties": { + "norm": { + "properties": { + "pct": { + "meta": { + "metric_type": "gauge", + "unit": "percent" + }, + "scaling_factor": 1000, + "type": "scaled_float" + } + } + } + } + } + } + }, + "memory": { + "properties": { + "actual": { + "properties": { + "free": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "total": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "process": { + "properties": { + "cgroup": { + "properties": { + "cpu": { + "properties": { + "cfs": { + "properties": { + "period": { + "properties": { + "us": { + "meta": { + "metric_type": "gauge", + "unit": "micros" + }, + "type": "long" + } + } + }, + "quota": { + "properties": { + "us": { + "meta": { + "metric_type": "gauge", + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "stats": { + "properties": { + "periods": { + "meta": { + "metric_type": "counter" + }, + "type": "long" + }, + "throttled": { + "properties": { + "ns": { + "meta": { + "metric_type": "counter", + "unit": "nanos" + }, + "type": "long" + }, + "periods": { + "meta": { + "metric_type": "counter" + }, + "type": "long" + } + } + } + } + } + } + }, + "cpuacct": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "total": { + "properties": { + "ns": { + "meta": { + "metric_type": "counter", + "unit": "nanos" + }, + "type": "long" + } + } + } + } + }, + "memory": { + "properties": { + "mem": { + "properties": { + "limit": { + "properties": { + "bytes": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "usage": { + "properties": { + "bytes": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + } + } + } + } + } + } + }, + "cpu": { + "properties": { + "total": { + "properties": { + "norm": { + "properties": { + "pct": { + "meta": { + "metric_type": "gauge", + "unit": "percent" + }, + "scaling_factor": 1000, + "type": "scaled_float" + } + } + } + } + } + } + }, + "memory": { + "properties": { + "rss": { + "properties": { + "bytes": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "size": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + } + } + } + } + }, + "tags": { + "ignore_above": 1024, + "type": "keyword" + }, + "threat": { + "properties": { + "framework": { + "ignore_above": 1024, + "type": "keyword" + }, + "tactic": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "technique": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "subtechnique": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + } + } + }, + "timeseries": { + "properties": { + "instance": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "timestamp": { + "properties": { + "us": { + "type": "long" + } + } + }, + "tls": { + "properties": { + "cipher": { + "ignore_above": 1024, + "type": "keyword" + }, + "client": { + "properties": { + "certificate": { + "ignore_above": 1024, + "type": "keyword" + }, + "certificate_chain": { + "ignore_above": 1024, + "type": "keyword" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "issuer": { + "ignore_above": 1024, + "type": "keyword" + }, + "ja3": { + "ignore_above": 1024, + "type": "keyword" + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "server_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "ignore_above": 1024, + "type": "keyword" + }, + "supported_ciphers": { + "ignore_above": 1024, + "type": "keyword" + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "established": { + "type": "boolean" + }, + "next_protocol": { + "ignore_above": 1024, + "type": "keyword" + }, + "resumed": { + "type": "boolean" + }, + "server": { + "properties": { + "certificate": { + "ignore_above": 1024, + "type": "keyword" + }, + "certificate_chain": { + "ignore_above": 1024, + "type": "keyword" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "issuer": { + "ignore_above": 1024, + "type": "keyword" + }, + "ja3s": { + "ignore_above": 1024, + "type": "keyword" + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "subject": { + "ignore_above": 1024, + "type": "keyword" + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + }, + "version_protocol": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "trace": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "transaction": { + "dynamic": "false", + "properties": { + "breakdown": { + "properties": { + "count": { + "type": "long" + } + } + }, + "duration": { + "properties": { + "count": { + "type": "long" + }, + "histogram": { + "type": "histogram" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + }, + "us": { + "type": "long" + } + } + }, + "experience": { + "properties": { + "cls": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "fid": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "longtask": { + "properties": { + "count": { + "type": "long" + }, + "max": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "sum": { + "scaling_factor": 1000000, + "type": "scaled_float" + } + } + }, + "tbt": { + "scaling_factor": 1000000, + "type": "scaled_float" + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "marks": { + "dynamic": "true", + "properties": { + "*": { + "properties": { + "*": { + "dynamic": "true", + "type": "object" + } + } + }, + "agent": { + "properties": { + "domComplete": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "domInteractive": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "timeToFirstByte": { + "scaling_factor": 1000000, + "type": "scaled_float" + } + } + }, + "navigationTiming": { + "properties": { + "connectEnd": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "connectStart": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "domComplete": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "domContentLoadedEventEnd": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "domContentLoadedEventStart": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "domInteractive": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "domLoading": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "domainLookupEnd": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "domainLookupStart": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "fetchStart": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "loadEventEnd": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "loadEventStart": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "requestStart": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "responseEnd": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "responseStart": { + "scaling_factor": 1000000, + "type": "scaled_float" + } + } + } + } + }, + "message": { + "dynamic": "false", + "properties": { + "age": { + "properties": { + "ms": { + "type": "long" + } + } + }, + "queue": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "result": { + "ignore_above": 1024, + "type": "keyword" + }, + "root": { + "type": "boolean" + }, + "sampled": { + "type": "boolean" + }, + "self_time": { + "properties": { + "count": { + "type": "long" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "span_count": { + "properties": { + "dropped": { + "type": "long" + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "url": { + "dynamic": "false", + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "extension": { + "ignore_above": 1024, + "type": "keyword" + }, + "fragment": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "ignore_above": 1024, + "type": "keyword" + }, + "original": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "password": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "port": { + "type": "long" + }, + "query": { + "ignore_above": 1024, + "type": "keyword" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "scheme": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "username": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "user": { + "dynamic": "false", + "properties": { + "changes": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "effective": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + }, + "target": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "user_agent": { + "dynamic": "false", + "properties": { + "device": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "original": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "os": { + "properties": { + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vulnerability": { + "properties": { + "category": { + "ignore_above": 1024, + "type": "keyword" + }, + "classification": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "enumeration": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "report_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "scanner": { + "properties": { + "vendor": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "score": { + "properties": { + "base": { + "type": "float" + }, + "environmental": { + "type": "float" + }, + "temporal": { + "type": "float" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "severity": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "settings": { + "index": { + "auto_expand_replicas": "0-1", + "blocks": { + "read_only_allow_delete": "false" + }, + "codec": "best_compression", + "lifecycle": { + "name": "apm-rollover-30-days", + "rollover_alias": "apm-7.14.0-transaction" + }, + "mapping": { + "total_fields": { + "limit": "2000" + } + }, + "max_docvalue_fields_search": "200", + "number_of_replicas": "1", + "number_of_shards": "1", + "priority": "100", + "refresh_interval": "5s" + } + } + } +} \ No newline at end of file diff --git a/x-pack/test/apm_api_integration/common/registry.ts b/x-pack/test/apm_api_integration/common/registry.ts index a37cd26f1fc3c..78c5bcb383c93 100644 --- a/x-pack/test/apm_api_integration/common/registry.ts +++ b/x-pack/test/apm_api_integration/common/registry.ts @@ -15,6 +15,7 @@ import { FtrProviderContext } from './ftr_provider_context'; type ArchiveName = | 'apm_8.0.0' + | 'apm_8.0.0_empty' | '8.0.0' | 'metrics_8.0.0' | 'ml_8.0.0' diff --git a/x-pack/test/apm_api_integration/common/trace_data.ts b/x-pack/test/apm_api_integration/common/trace_data.ts new file mode 100644 index 0000000000000..9c96d3fa1e0b0 --- /dev/null +++ b/x-pack/test/apm_api_integration/common/trace_data.ts @@ -0,0 +1,65 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { + getSpanDestinationMetrics, + getTransactionMetrics, + toElasticsearchOutput, +} from '@elastic/apm-generator'; +import { chunk } from 'lodash'; +import pLimit from 'p-limit'; +import { inspect } from 'util'; +import { InheritedFtrProviderContext } from './ftr_provider_context'; + +export async function traceData(context: InheritedFtrProviderContext) { + const es = context.getService('es'); + return { + index: (events: any[]) => { + const esEvents = toElasticsearchOutput( + events.concat(getTransactionMetrics(events)).concat(getSpanDestinationMetrics(events)), + '7.14.0' + ); + + const batches = chunk(esEvents, 1000); + const limiter = pLimit(1); + + return Promise.all( + batches.map((batch) => + limiter(() => { + return es.bulk({ + body: batch.flatMap(({ _index, _source }) => [{ index: { _index } }, _source]), + require_alias: true, + refresh: true, + }); + }) + ) + ).then((results) => { + const errors = results + .flatMap((result) => result.body.items) + .filter((item) => !!item.index?.error) + .map((item) => item.index?.error); + + if (errors.length) { + // eslint-disable-next-line no-console + console.log(inspect(errors.slice(0, 10), { depth: null })); + throw new Error('Failed to upload some events'); + } + return results; + }); + }, + clean: () => { + return es.deleteByQuery({ + index: 'apm-*', + body: { + query: { + match_all: {}, + }, + }, + }); + }, + }; +} diff --git a/x-pack/test/apm_api_integration/tests/services/throughput.ts b/x-pack/test/apm_api_integration/tests/services/throughput.ts index 3ca5b62cb51ee..8465e43d970aa 100644 --- a/x-pack/test/apm_api_integration/tests/services/throughput.ts +++ b/x-pack/test/apm_api_integration/tests/services/throughput.ts @@ -5,11 +5,14 @@ * 2.0. */ +import { service, timerange } from '@elastic/apm-generator'; import expect from '@kbn/expect'; -import { first, last, mean } from 'lodash'; +import { first, last, mean, uniq } from 'lodash'; import moment from 'moment'; +import { ENVIRONMENT_ALL } from '../../../../plugins/apm/common/environment_filter_values'; import { isFiniteNumber } from '../../../../plugins/apm/common/utils/is_finite_number'; import { APIReturnType } from '../../../../plugins/apm/public/services/rest/createCallApmApi'; +import { PromiseReturnType } from '../../../../plugins/observability/typings/common'; import archives_metadata from '../../common/fixtures/es_archiver/archives_metadata'; import { FtrProviderContext } from '../../common/ftr_provider_context'; import { registry } from '../../common/registry'; @@ -18,10 +21,148 @@ type ThroughputReturn = APIReturnType<'GET /internal/apm/services/{serviceName}/ export default function ApiTest({ getService }: FtrProviderContext) { const apmApiClient = getService('apmApiClient'); + const traceData = getService('traceData'); const archiveName = 'apm_8.0.0'; const metadata = archives_metadata[archiveName]; + registry.when( + 'Throughput with statically generated data', + { config: 'basic', archives: ['apm_8.0.0_empty'] }, + () => { + const start = new Date('2021-01-01T00:00:00.000Z').getTime(); + const end = new Date('2021-01-01T00:15:00.000Z').getTime() - 1; + + const GO_PROD_RATE = 10; + const GO_DEV_RATE = 5; + const JAVA_PROD_RATE = 20; + + before(async () => { + const serviceGoProdInstance = service('synth-go', 'production', 'go').instance( + 'instance-a' + ); + const serviceGoDevInstance = service('synth-go', 'development', 'go').instance( + 'instance-b' + ); + const serviceJavaInstance = service('synth-java', 'production', 'java').instance( + 'instance-c' + ); + + await traceData.index([ + ...timerange(start, end) + .interval('1s') + .rate(GO_PROD_RATE) + .flatMap((timestamp) => + serviceGoProdInstance + .transaction('GET /api/product/list') + .duration(1000) + .timestamp(timestamp) + .serialize() + ), + ...timerange(start, end) + .interval('1s') + .rate(GO_DEV_RATE) + .flatMap((timestamp) => + serviceGoDevInstance + .transaction('GET /api/product/:id') + .duration(1000) + .timestamp(timestamp) + .serialize() + ), + ...timerange(start, end) + .interval('1s') + .rate(JAVA_PROD_RATE) + .flatMap((timestamp) => + serviceJavaInstance + .transaction('POST /api/product/buy') + .duration(1000) + .timestamp(timestamp) + .serialize() + ), + ]); + }); + + after(() => traceData.clean()); + + async function callApi(overrides?: { + start?: string; + end?: string; + transactionType?: string; + environment?: string; + kuery?: string; + }) { + const response = await apmApiClient.readUser({ + endpoint: 'GET /api/apm/services/{serviceName}/throughput', + params: { + path: { + serviceName: 'synth-go', + }, + query: { + start: new Date(start).toISOString(), + end: new Date(end).toISOString(), + transactionType: 'request', + environment: 'production', + kuery: 'processor.event:transaction', + ...overrides, + }, + }, + }); + + return response.body; + } + + describe('when calling it with the default parameters', () => { + let body: PromiseReturnType; + + before(async () => { + body = await callApi(); + }); + + it('returns the throughput in seconds', () => { + expect(body.throughputUnit).to.eql('second'); + }); + + it('returns the expected throughput', () => { + const throughputValues = uniq(body.currentPeriod.map((coord) => coord.y)); + expect(throughputValues).to.eql([GO_PROD_RATE]); + }); + }); + + describe('when setting environment to all', () => { + let body: PromiseReturnType; + + before(async () => { + body = await callApi({ + environment: ENVIRONMENT_ALL.value, + }); + }); + + it('returns data for all environments', () => { + const throughputValues = body.currentPeriod.map(({ y }) => y); + expect(uniq(throughputValues)).to.eql([GO_PROD_RATE + GO_DEV_RATE]); + expect(body.throughputUnit).to.eql('second'); + }); + }); + + describe('when defining a kuery', () => { + let body: PromiseReturnType; + + before(async () => { + body = await callApi({ + kuery: `processor.event:transaction and transaction.name:"GET /api/product/:id"`, + environment: ENVIRONMENT_ALL.value, + }); + }); + + it('returns data that matches the kuery', () => { + const throughputValues = body.currentPeriod.map(({ y }) => y); + expect(uniq(throughputValues)).to.eql([GO_DEV_RATE]); + expect(body.throughputUnit).to.eql('second'); + }); + }); + } + ); + registry.when('Throughput when data is not loaded', { config: 'basic', archives: [] }, () => { it('handles the empty state', async () => { const response = await apmApiClient.readUser({ diff --git a/yarn.lock b/yarn.lock index 5dd96c328d898..677b75fec64f3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2236,6 +2236,10 @@ is-absolute "^1.0.0" is-negated-glob "^1.0.0" +"@elastic/apm-generator@link:bazel-bin/packages/elastic-apm-generator": + version "0.0.0" + uid "" + "@elastic/apm-rum-core@^5.12.1": version "5.12.1" resolved "https://registry.yarnpkg.com/@elastic/apm-rum-core/-/apm-rum-core-5.12.1.tgz#ad78787876c68b9ce718d1c42b8e7b12b12eaa69" From 155d3c75d701c946c6b72677baead5eaa869ac43 Mon Sep 17 00:00:00 2001 From: Uladzislau Lasitsa Date: Tue, 12 Oct 2021 14:01:00 +0300 Subject: [PATCH 049/107] [Visualization] Get rid of saved object loader and use savedObjectClient resolve (#113121) (#114442) * First step: create saved_visualize_utils, starting use new get/save methods * Use new util methods in embeddable * move findListItem in utils * some clean up * clean up * Some fixes * Fix saved object tags * Some types fixes * Fix unit tests * Clean up code * Add unit tests for new utils * Fix lint * Fix tagging * Add unit tests * Some fixes * Clean up code * Fix lint * Fix types * put new methods in start contract * Fix imports * Fix lint * Fix comments * Fix lint * Fix CI * use local url instead of full path * Fix unit test * Some clean up * Fix nits * fix types Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- src/plugins/visualizations/kibana.json | 2 +- .../create_vis_embeddable_from_object.ts | 20 +- .../public/embeddable/visualize_embeddable.ts | 15 +- .../visualize_embeddable_factory.tsx | 63 ++- src/plugins/visualizations/public/index.ts | 2 + src/plugins/visualizations/public/mocks.ts | 7 + src/plugins/visualizations/public/plugin.ts | 51 +- .../public/saved_visualizations/_saved_vis.ts | 42 +- .../saved_visualizations.ts | 1 + src/plugins/visualizations/public/types.ts | 35 +- .../controls_references.ts | 0 .../saved_visualization_references/index.ts | 0 .../saved_visualization_references.test.ts | 0 .../saved_visualization_references.ts | 0 .../timeseries_references.ts | 0 .../utils/saved_visualize_utils.test.ts | 507 ++++++++++++++++++ .../public/utils/saved_visualize_utils.ts | 403 ++++++++++++++ src/plugins/visualizations/tsconfig.json | 1 + src/plugins/visualize/kibana.json | 3 +- .../visualize_editor_common.test.tsx | 112 ++++ .../components/visualize_editor_common.tsx | 56 +- .../components/visualize_listing.tsx | 9 +- .../visualize/public/application/types.ts | 3 +- .../application/utils/get_top_nav_config.tsx | 31 +- .../utils/get_visualization_instance.test.ts | 27 +- .../utils/get_visualization_instance.ts | 9 +- .../public/application/utils/mocks.ts | 1 - .../utils/use/use_saved_vis_instance.test.ts | 5 - .../utils/use/use_saved_vis_instance.ts | 3 - src/plugins/visualize/public/plugin.ts | 4 +- src/plugins/visualize/tsconfig.json | 3 +- 31 files changed, 1291 insertions(+), 124 deletions(-) rename src/plugins/visualizations/public/{saved_visualizations => utils}/saved_visualization_references/controls_references.ts (100%) rename src/plugins/visualizations/public/{saved_visualizations => utils}/saved_visualization_references/index.ts (100%) rename src/plugins/visualizations/public/{saved_visualizations => utils}/saved_visualization_references/saved_visualization_references.test.ts (100%) rename src/plugins/visualizations/public/{saved_visualizations => utils}/saved_visualization_references/saved_visualization_references.ts (100%) rename src/plugins/visualizations/public/{saved_visualizations => utils}/saved_visualization_references/timeseries_references.ts (100%) create mode 100644 src/plugins/visualizations/public/utils/saved_visualize_utils.test.ts create mode 100644 src/plugins/visualizations/public/utils/saved_visualize_utils.ts create mode 100644 src/plugins/visualize/public/application/components/visualize_editor_common.test.tsx diff --git a/src/plugins/visualizations/kibana.json b/src/plugins/visualizations/kibana.json index 0afbec24c7c3f..32430c9d4e4fd 100644 --- a/src/plugins/visualizations/kibana.json +++ b/src/plugins/visualizations/kibana.json @@ -11,7 +11,7 @@ "inspector", "savedObjects" ], - "optionalPlugins": ["usageCollection"], + "optionalPlugins": ["usageCollection", "spaces", "savedObjectsTaggingOss"], "requiredBundles": ["kibanaUtils", "discover"], "extraPublicDirs": ["common/constants", "common/prepare_log_table", "common/expression_functions"], "owner": { diff --git a/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts b/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts index cfa871f17b0e0..c72b8618dc199 100644 --- a/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts +++ b/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts @@ -20,16 +20,10 @@ import { AttributeService, } from '../../../../plugins/embeddable/public'; import { DisabledLabEmbeddable } from './disabled_lab_embeddable'; -import { - getSavedVisualizationsLoader, - getUISettings, - getHttp, - getTimeFilter, - getCapabilities, -} from '../services'; +import { getUISettings, getHttp, getTimeFilter, getCapabilities } from '../services'; +import { urlFor } from '../utils/saved_visualize_utils'; import { VisualizeEmbeddableFactoryDeps } from './visualize_embeddable_factory'; import { VISUALIZE_ENABLE_LABS_SETTING } from '../../common/constants'; -import { SavedVisualizationsLoader } from '../saved_visualizations'; import { IndexPattern } from '../../../data/public'; import { createVisualizeEmbeddableAsync } from './visualize_embeddable_async'; @@ -38,7 +32,6 @@ export const createVisEmbeddableFromObject = async ( vis: Vis, input: Partial & { id: string }, - savedVisualizationsLoader?: SavedVisualizationsLoader, attributeService?: AttributeService< VisualizeSavedObjectAttributes, VisualizeByValueInput, @@ -46,16 +39,12 @@ export const createVisEmbeddableFromObject = >, parent?: IContainer ): Promise => { - const savedVisualizations = getSavedVisualizationsLoader(); - try { const visId = vis.id as string; - const editPath = visId ? savedVisualizations.urlFor(visId) : '#/edit_by_value'; + const editPath = visId ? urlFor(visId) : '#/edit_by_value'; - const editUrl = visId - ? getHttp().basePath.prepend(`/app/visualize${savedVisualizations.urlFor(visId)}`) - : ''; + const editUrl = visId ? getHttp().basePath.prepend(`/app/visualize${urlFor(visId)}`) : ''; const isLabsEnabled = getUISettings().get(VISUALIZE_ENABLE_LABS_SETTING); if (!isLabsEnabled && vis.type.stage === 'experimental') { @@ -87,7 +76,6 @@ export const createVisEmbeddableFromObject = }, input, attributeService, - savedVisualizationsLoader, parent ); } catch (e) { diff --git a/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts b/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts index f5a7349b633eb..0c7d58453db69 100644 --- a/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts +++ b/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts @@ -39,7 +39,7 @@ import { getExpressions, getUiActions } from '../services'; import { VIS_EVENT_TO_TRIGGER } from './events'; import { VisualizeEmbeddableFactoryDeps } from './visualize_embeddable_factory'; import { SavedObjectAttributes } from '../../../../core/types'; -import { SavedVisualizationsLoader } from '../saved_visualizations'; +import { getSavedVisualization } from '../utils/saved_visualize_utils'; import { VisSavedObject } from '../types'; import { toExpressionAst } from './to_ast'; @@ -108,7 +108,6 @@ export class VisualizeEmbeddable VisualizeByValueInput, VisualizeByReferenceInput >; - private savedVisualizationsLoader?: SavedVisualizationsLoader; constructor( timefilter: TimefilterContract, @@ -119,7 +118,6 @@ export class VisualizeEmbeddable VisualizeByValueInput, VisualizeByReferenceInput >, - savedVisualizationsLoader?: SavedVisualizationsLoader, parent?: IContainer ) { super( @@ -144,7 +142,6 @@ export class VisualizeEmbeddable this.vis.uiState.on('change', this.uiStateChangeHandler); this.vis.uiState.on('reload', this.reload); this.attributeService = attributeService; - this.savedVisualizationsLoader = savedVisualizationsLoader; if (this.attributeService) { const isByValue = !this.inputIsRefType(initialInput); @@ -455,7 +452,15 @@ export class VisualizeEmbeddable }; getInputAsRefType = async (): Promise => { - const savedVis = await this.savedVisualizationsLoader?.get({}); + const { savedObjectsClient, data, spaces, savedObjectsTaggingOss } = await this.deps.start() + .plugins; + const savedVis = await getSavedVisualization({ + savedObjectsClient, + search: data.search, + dataViews: data.dataViews, + spaces, + savedObjectsTagging: savedObjectsTaggingOss?.getTaggingApi(), + }); if (!savedVis) { throw new Error('Error creating a saved vis object'); } diff --git a/src/plugins/visualizations/public/embeddable/visualize_embeddable_factory.tsx b/src/plugins/visualizations/public/embeddable/visualize_embeddable_factory.tsx index 9e22b33bdee9d..9b1af5bea3fce 100644 --- a/src/plugins/visualizations/public/embeddable/visualize_embeddable_factory.tsx +++ b/src/plugins/visualizations/public/embeddable/visualize_embeddable_factory.tsx @@ -33,20 +33,20 @@ import type { import { VISUALIZE_EMBEDDABLE_TYPE } from './constants'; import type { SerializedVis, Vis } from '../vis'; import { createVisAsync } from '../vis_async'; -import { - getCapabilities, - getTypes, - getUISettings, - getSavedVisualizationsLoader, -} from '../services'; +import { getCapabilities, getTypes, getUISettings } from '../services'; import { showNewVisModal } from '../wizard'; -import { convertToSerializedVis } from '../saved_visualizations/_saved_vis'; +import { + convertToSerializedVis, + getSavedVisualization, + saveVisualization, + getFullPath, +} from '../utils/saved_visualize_utils'; import { extractControlsReferences, extractTimeSeriesReferences, injectTimeSeriesReferences, injectControlsReferences, -} from '../saved_visualizations/saved_visualization_references'; +} from '../utils/saved_visualization_references'; import { createVisEmbeddableFromObject } from './create_vis_embeddable_from_object'; import { VISUALIZE_ENABLE_LABS_SETTING } from '../../common/constants'; import { checkForDuplicateTitle } from '../../../saved_objects/public'; @@ -59,7 +59,15 @@ interface VisualizationAttributes extends SavedObjectAttributes { export interface VisualizeEmbeddableFactoryDeps { start: StartServicesGetter< - Pick + Pick< + VisualizationsStartDeps, + | 'inspector' + | 'embeddable' + | 'savedObjectsClient' + | 'data' + | 'savedObjectsTaggingOss' + | 'spaces' + > >; } @@ -147,17 +155,36 @@ export class VisualizeEmbeddableFactory input: Partial & { id: string }, parent?: IContainer ): Promise { - const savedVisualizations = getSavedVisualizationsLoader(); + const startDeps = await this.deps.start(); try { - const savedObject = await savedVisualizations.get(savedObjectId); + const savedObject = await getSavedVisualization( + { + savedObjectsClient: startDeps.core.savedObjects.client, + search: startDeps.plugins.data.search, + dataViews: startDeps.plugins.data.dataViews, + spaces: startDeps.plugins.spaces, + savedObjectsTagging: startDeps.plugins.savedObjectsTaggingOss?.getTaggingApi(), + }, + savedObjectId + ); + + if (savedObject.sharingSavedObjectProps?.outcome === 'conflict') { + return new ErrorEmbeddable( + i18n.translate('visualizations.embeddable.legacyURLConflict.errorMessage', { + defaultMessage: `This visualization has the same URL as a legacy alias. Disable the alias to resolve this error : {json}`, + values: { json: savedObject.sharingSavedObjectProps?.errorJSON }, + }), + input, + parent + ); + } const visState = convertToSerializedVis(savedObject); const vis = await createVisAsync(savedObject.visState.type, visState); return createVisEmbeddableFromObject(this.deps)( vis, input, - savedVisualizations, await this.getAttributeService(), parent ); @@ -173,11 +200,9 @@ export class VisualizeEmbeddableFactory if (input.savedVis) { const visState = input.savedVis; const vis = await createVisAsync(visState.type, visState); - const savedVisualizations = getSavedVisualizationsLoader(); return createVisEmbeddableFromObject(this.deps)( vis, input, - savedVisualizations, await this.getAttributeService(), parent ); @@ -201,9 +226,9 @@ export class VisualizeEmbeddableFactory confirmOverwrite: false, returnToOrigin: true, isTitleDuplicateConfirmed: true, + copyOnSave: false, }; savedVis.title = title; - savedVis.copyOnSave = false; savedVis.description = ''; savedVis.searchSourceFields = visObj?.data.searchSource?.getSerializedFields(); const serializedVis = (visObj as unknown as Vis).serialize(); @@ -217,7 +242,12 @@ export class VisualizeEmbeddableFactory if (visObj) { savedVis.uiStateJSON = visObj?.uiState.toString(); } - const id = await savedVis.save(saveOptions); + const { core, plugins } = await this.deps.start(); + const id = await saveVisualization(savedVis, saveOptions, { + savedObjectsClient: core.savedObjects.client, + overlays: core.overlays, + savedObjectsTagging: plugins.savedObjectsTaggingOss?.getTaggingApi(), + }); if (!id || id === '') { throw new Error( i18n.translate('visualizations.savingVisualizationFailed.errorMsg', { @@ -225,6 +255,7 @@ export class VisualizeEmbeddableFactory }) ); } + core.chrome.recentlyAccessed.add(getFullPath(id), savedVis.title, String(id)); return { id }; } catch (error) { throw error; diff --git a/src/plugins/visualizations/public/index.ts b/src/plugins/visualizations/public/index.ts index 0886f230d101f..e6ea3cd489556 100644 --- a/src/plugins/visualizations/public/index.ts +++ b/src/plugins/visualizations/public/index.ts @@ -38,6 +38,7 @@ export { VisToExpressionAst, VisToExpressionAstParams, VisEditorOptionsProps, + GetVisOptions, } from './types'; export { VisualizationListItem, VisualizationStage } from './vis_types/vis_type_alias_registry'; export { VISUALIZE_ENABLE_LABS_SETTING } from '../common/constants'; @@ -49,3 +50,4 @@ export { FakeParams, HistogramParams, } from '../common/expression_functions/xy_dimension'; +export { urlFor, getFullPath } from './utils/saved_visualize_utils'; diff --git a/src/plugins/visualizations/public/mocks.ts b/src/plugins/visualizations/public/mocks.ts index 901593626a945..9b2d6bfe25b32 100644 --- a/src/plugins/visualizations/public/mocks.ts +++ b/src/plugins/visualizations/public/mocks.ts @@ -10,6 +10,7 @@ import { PluginInitializerContext } from '../../../core/public'; import { Schema, VisualizationsSetup, VisualizationsStart } from './'; import { Schemas } from './vis_types'; import { VisualizationsPlugin } from './plugin'; +import { spacesPluginMock } from '../../../../x-pack/plugins/spaces/public/mocks'; import { coreMock, applicationServiceMock } from '../../../core/public/mocks'; import { embeddablePluginMock } from '../../../plugins/embeddable/public/mocks'; import { expressionsPluginMock } from '../../../plugins/expressions/public/mocks'; @@ -18,6 +19,7 @@ import { usageCollectionPluginMock } from '../../../plugins/usage_collection/pub import { uiActionsPluginMock } from '../../../plugins/ui_actions/public/mocks'; import { inspectorPluginMock } from '../../../plugins/inspector/public/mocks'; import { savedObjectsPluginMock } from '../../../plugins/saved_objects/public/mocks'; +import { savedObjectTaggingOssPluginMock } from '../../saved_objects_tagging_oss/public/mocks'; const createSetupContract = (): VisualizationsSetup => ({ createBaseVisualization: jest.fn(), @@ -34,6 +36,9 @@ const createStartContract = (): VisualizationsStart => ({ savedVisualizationsLoader: { get: jest.fn(), } as any, + getSavedVisualization: jest.fn(), + saveVisualization: jest.fn(), + findListItems: jest.fn(), showNewVisModal: jest.fn(), createVis: jest.fn(), convertFromSerializedVis: jest.fn(), @@ -61,9 +66,11 @@ const createInstance = async () => { uiActions: uiActionsPluginMock.createStartContract(), application: applicationServiceMock.createStartContract(), embeddable: embeddablePluginMock.createStartContract(), + spaces: spacesPluginMock.createStartContract(), getAttributeService: jest.fn(), savedObjectsClient: coreMock.createStart().savedObjects.client, savedObjects: savedObjectsPluginMock.createStartContract(), + savedObjectsTaggingOss: savedObjectTaggingOssPluginMock.createStart(), }); return { diff --git a/src/plugins/visualizations/public/plugin.ts b/src/plugins/visualizations/public/plugin.ts index ee3e914aa4bc6..47f544ce2f5d3 100644 --- a/src/plugins/visualizations/public/plugin.ts +++ b/src/plugins/visualizations/public/plugin.ts @@ -5,6 +5,8 @@ * in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ + +import type { SavedObjectsFindOptionsReference } from 'kibana/public'; import { setUISettings, setTypes, @@ -30,6 +32,7 @@ import { VisualizeEmbeddableFactory, createVisEmbeddableFromObject, } from './embeddable'; +import type { SpacesPluginStart } from '../../../../x-pack/plugins/spaces/public'; import { TypesService } from './vis_types/types_service'; import { range as rangeExpressionFunction } from '../common/expression_functions/range'; import { visDimension as visDimensionExpressionFunction } from '../common/expression_functions/vis_dimension'; @@ -43,7 +46,10 @@ import { showNewVisModal } from './wizard'; import { convertFromSerializedVis, convertToSerializedVis, -} from './saved_visualizations/_saved_vis'; + getSavedVisualization, + saveVisualization, + findListItems, +} from './utils/saved_visualize_utils'; import { createSavedSearchesLoader } from '../../discover/public'; @@ -66,7 +72,9 @@ import type { import type { DataPublicPluginSetup, DataPublicPluginStart } from '../../../plugins/data/public'; import type { ExpressionsSetup, ExpressionsStart } from '../../expressions/public'; import type { EmbeddableSetup, EmbeddableStart } from '../../embeddable/public'; +import type { SavedObjectTaggingOssPluginStart } from '../../saved_objects_tagging_oss/public'; import { createVisAsync } from './vis_async'; +import type { VisSavedObject, SaveVisOptions, GetVisOptions } from './types'; /** * Interface for this plugin's returned setup/start contracts. @@ -82,6 +90,13 @@ export interface VisualizationsStart extends TypesStart { convertToSerializedVis: typeof convertToSerializedVis; convertFromSerializedVis: typeof convertFromSerializedVis; showNewVisModal: typeof showNewVisModal; + getSavedVisualization: (opts?: GetVisOptions | string) => Promise; + saveVisualization: (savedVis: VisSavedObject, saveOptions: SaveVisOptions) => Promise; + findListItems: ( + searchTerm: string, + listingLimit: number, + references?: SavedObjectsFindOptionsReference[] + ) => Promise<{ hits: Array>; total: number }>; __LEGACY: { createVisEmbeddableFromObject: ReturnType }; } @@ -103,6 +118,8 @@ export interface VisualizationsStartDeps { getAttributeService: EmbeddableStart['getAttributeService']; savedObjects: SavedObjectsStart; savedObjectsClient: SavedObjectsClientContract; + spaces?: SpacesPluginStart; + savedObjectsTaggingOss?: SavedObjectTaggingOssPluginStart; } /** @@ -149,7 +166,15 @@ export class VisualizationsPlugin public start( core: CoreStart, - { data, expressions, uiActions, embeddable, savedObjects }: VisualizationsStartDeps + { + data, + expressions, + uiActions, + embeddable, + savedObjects, + spaces, + savedObjectsTaggingOss, + }: VisualizationsStartDeps ): VisualizationsStart { const types = this.types.start(); setTypes(types); @@ -181,6 +206,28 @@ export class VisualizationsPlugin return { ...types, showNewVisModal, + getSavedVisualization: async (opts) => { + return getSavedVisualization( + { + search: data.search, + savedObjectsClient: core.savedObjects.client, + dataViews: data.dataViews, + spaces, + savedObjectsTagging: savedObjectsTaggingOss?.getTaggingApi(), + }, + opts + ); + }, + saveVisualization: async (savedVis, saveOptions) => { + return saveVisualization(savedVis, saveOptions, { + savedObjectsClient: core.savedObjects.client, + overlays: core.overlays, + savedObjectsTagging: savedObjectsTaggingOss?.getTaggingApi(), + }); + }, + findListItems: async (searchTerm, listingLimit, references) => { + return findListItems(core.savedObjects.client, types, searchTerm, listingLimit, references); + }, /** * creates new instance of Vis * @param {IndexPattern} indexPattern - index pattern to use diff --git a/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts b/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts index fb6c99ac8ef02..fbd8e414c2738 100644 --- a/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts +++ b/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts @@ -16,11 +16,11 @@ import type { SavedObjectsStart, SavedObject } from '../../../../plugins/saved_objects/public'; // @ts-ignore import { updateOldState } from '../legacy/vis_update_state'; -import { extractReferences, injectReferences } from './saved_visualization_references'; +import { extractReferences, injectReferences } from '../utils/saved_visualization_references'; import { createSavedSearchesLoader } from '../../../discover/public'; import type { SavedObjectsClientContract } from '../../../../core/public'; import type { IndexPatternsContract } from '../../../../plugins/data/public'; -import type { ISavedVis, SerializedVis } from '../types'; +import type { ISavedVis } from '../types'; export interface SavedVisServices { savedObjectsClient: SavedObjectsClientContract; @@ -28,43 +28,7 @@ export interface SavedVisServices { indexPatterns: IndexPatternsContract; } -export const convertToSerializedVis = (savedVis: ISavedVis): SerializedVis => { - const { id, title, description, visState, uiStateJSON, searchSourceFields } = savedVis; - - const aggs = searchSourceFields && searchSourceFields.index ? visState.aggs || [] : visState.aggs; - - return { - id, - title, - type: visState.type, - description, - params: visState.params, - uiState: JSON.parse(uiStateJSON || '{}'), - data: { - aggs, - searchSource: searchSourceFields!, - savedSearchId: savedVis.savedSearchId, - }, - }; -}; - -export const convertFromSerializedVis = (vis: SerializedVis): ISavedVis => { - return { - id: vis.id, - title: vis.title, - description: vis.description, - visState: { - title: vis.title, - type: vis.type, - aggs: vis.data.aggs, - params: vis.params, - }, - uiStateJSON: JSON.stringify(vis.uiState), - searchSourceFields: vis.data.searchSource, - savedSearchId: vis.data.savedSearchId, - }; -}; - +/** @deprecated **/ export function createSavedVisClass(services: SavedVisServices) { const savedSearch = createSavedSearchesLoader(services); diff --git a/src/plugins/visualizations/public/saved_visualizations/saved_visualizations.ts b/src/plugins/visualizations/public/saved_visualizations/saved_visualizations.ts index d07d28b393dcc..cec65b8f988b3 100644 --- a/src/plugins/visualizations/public/saved_visualizations/saved_visualizations.ts +++ b/src/plugins/visualizations/public/saved_visualizations/saved_visualizations.ts @@ -22,6 +22,7 @@ export interface FindListItemsOptions { references?: SavedObjectsFindOptionsReference[]; } +/** @deprecated **/ export function createSavedVisLoader(services: SavedVisServicesWithVisualizations) { const { savedObjectsClient, visualizationTypes } = services; diff --git a/src/plugins/visualizations/public/types.ts b/src/plugins/visualizations/public/types.ts index d68599c0724f6..5be8f49e9cdc7 100644 --- a/src/plugins/visualizations/public/types.ts +++ b/src/plugins/visualizations/public/types.ts @@ -6,13 +6,14 @@ * Side Public License, v 1. */ -import { SavedObject } from '../../../plugins/saved_objects/public'; +import type { SavedObjectsMigrationVersion } from 'kibana/public'; import { IAggConfigs, SearchSourceFields, TimefilterContract, AggConfigSerialized, } from '../../../plugins/data/public'; +import type { ISearchSource } from '../../data/common'; import { ExpressionAstExpression } from '../../expressions/public'; import type { SerializedVis, Vis } from './vis'; @@ -36,9 +37,39 @@ export interface ISavedVis { uiStateJSON?: string; savedSearchRefName?: string; savedSearchId?: string; + sharingSavedObjectProps?: { + outcome?: 'aliasMatch' | 'exactMatch' | 'conflict'; + aliasTargetId?: string; + errorJSON?: string; + }; } -export interface VisSavedObject extends SavedObject, ISavedVis {} +export interface VisSavedObject extends ISavedVis { + lastSavedTitle: string; + getEsType: () => string; + getDisplayName?: () => string; + displayName: string; + migrationVersion?: SavedObjectsMigrationVersion; + searchSource?: ISearchSource; + version?: string; + tags?: string[]; +} + +export interface SaveVisOptions { + confirmOverwrite?: boolean; + isTitleDuplicateConfirmed?: boolean; + onTitleDuplicate?: () => void; + copyOnSave?: boolean; +} + +export interface GetVisOptions { + id?: string; + searchSource?: boolean; + migrationVersion?: SavedObjectsMigrationVersion; + savedSearchId?: string; + type?: string; + indexPattern?: string; +} export interface VisToExpressionAstParams { timefilter: TimefilterContract; diff --git a/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts b/src/plugins/visualizations/public/utils/saved_visualization_references/controls_references.ts similarity index 100% rename from src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts rename to src/plugins/visualizations/public/utils/saved_visualization_references/controls_references.ts diff --git a/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/index.ts b/src/plugins/visualizations/public/utils/saved_visualization_references/index.ts similarity index 100% rename from src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/index.ts rename to src/plugins/visualizations/public/utils/saved_visualization_references/index.ts diff --git a/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/saved_visualization_references.test.ts b/src/plugins/visualizations/public/utils/saved_visualization_references/saved_visualization_references.test.ts similarity index 100% rename from src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/saved_visualization_references.test.ts rename to src/plugins/visualizations/public/utils/saved_visualization_references/saved_visualization_references.test.ts diff --git a/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/saved_visualization_references.ts b/src/plugins/visualizations/public/utils/saved_visualization_references/saved_visualization_references.ts similarity index 100% rename from src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/saved_visualization_references.ts rename to src/plugins/visualizations/public/utils/saved_visualization_references/saved_visualization_references.ts diff --git a/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts b/src/plugins/visualizations/public/utils/saved_visualization_references/timeseries_references.ts similarity index 100% rename from src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts rename to src/plugins/visualizations/public/utils/saved_visualization_references/timeseries_references.ts diff --git a/src/plugins/visualizations/public/utils/saved_visualize_utils.test.ts b/src/plugins/visualizations/public/utils/saved_visualize_utils.test.ts new file mode 100644 index 0000000000000..83b16026de391 --- /dev/null +++ b/src/plugins/visualizations/public/utils/saved_visualize_utils.test.ts @@ -0,0 +1,507 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import type { ISearchSource } from '../../../data/common'; +import type { SpacesPluginStart } from '../../../../../x-pack/plugins/spaces/public'; +import type { SavedObjectsTaggingApi } from '../../../saved_objects_tagging_oss/public'; +import { coreMock } from '../../../../core/public/mocks'; +import { dataPluginMock } from '../../../data/public/mocks'; +import { SavedObjectsClientContract } from '../../../../core/public'; +import { + findListItems, + getSavedVisualization, + saveVisualization, + SAVED_VIS_TYPE, +} from './saved_visualize_utils'; +import { VisTypeAlias, TypesStart } from '../vis_types'; +import type { VisSavedObject } from '../types'; + +let visTypes = [] as VisTypeAlias[]; +const mockGetAliases = jest.fn(() => visTypes); +const mockGetTypes = jest.fn((type: string) => type) as unknown as TypesStart['get']; +jest.mock('../services', () => ({ + getSpaces: jest.fn(() => ({ + getActiveSpace: () => ({ + id: 'test', + }), + })), +})); + +const mockParseSearchSourceJSON = jest.fn(); +const mockInjectSearchSourceReferences = jest.fn(); +const mockExtractSearchSourceReferences = jest.fn((...args) => [{}, []]); + +jest.mock('../../../../plugins/data/public', () => ({ + extractSearchSourceReferences: jest.fn((...args) => mockExtractSearchSourceReferences(...args)), + injectSearchSourceReferences: jest.fn((...args) => mockInjectSearchSourceReferences(...args)), + parseSearchSourceJSON: jest.fn((...args) => mockParseSearchSourceJSON(...args)), +})); + +const mockInjectReferences = jest.fn(); +const mockExtractReferences = jest.fn(() => ({ references: [], attributes: {} })); +jest.mock('./saved_visualization_references', () => ({ + injectReferences: jest.fn((...args) => mockInjectReferences(...args)), + extractReferences: jest.fn(() => mockExtractReferences()), +})); + +let isTitleDuplicateConfirmed = true; +const mockCheckForDuplicateTitle = jest.fn(() => { + if (!isTitleDuplicateConfirmed) { + throw new Error(); + } +}); +const mockSaveWithConfirmation = jest.fn(() => ({ id: 'test-after-confirm' })); +jest.mock('../../../../plugins/saved_objects/public', () => ({ + checkForDuplicateTitle: jest.fn(() => mockCheckForDuplicateTitle()), + saveWithConfirmation: jest.fn(() => mockSaveWithConfirmation()), + isErrorNonFatal: jest.fn(() => true), +})); + +describe('saved_visualize_utils', () => { + const { overlays, savedObjects } = coreMock.createStart(); + const savedObjectsClient = savedObjects.client as jest.Mocked; + (savedObjectsClient.resolve as jest.Mock).mockImplementation(() => ({ + saved_object: { + references: [ + { + id: 'test', + type: 'index-pattern', + }, + ], + attributes: { + visState: JSON.stringify({ type: 'area' }), + kibanaSavedObjectMeta: { + searchSourceJSON: '{filter: []}', + }, + }, + _version: '1', + }, + outcome: 'exact', + alias_target_id: null, + })); + (savedObjectsClient.create as jest.Mock).mockImplementation(() => ({ id: 'test' })); + const { dataViews, search } = dataPluginMock.createStartContract(); + + describe('getSavedVisualization', () => { + beforeEach(() => { + mockParseSearchSourceJSON.mockClear(); + mockInjectSearchSourceReferences.mockClear(); + mockInjectReferences.mockClear(); + }); + it('should return object with defaults if was not provided id', async () => { + const savedVis = await getSavedVisualization({ + savedObjectsClient, + search, + dataViews, + spaces: Promise.resolve({ + getActiveSpace: () => ({ + id: 'test', + }), + }) as unknown as SpacesPluginStart, + }); + expect(savedVis).toBeDefined(); + expect(savedVis.title).toBe(''); + expect(savedVis.displayName).toBe(SAVED_VIS_TYPE); + }); + + it('should create search source if saved object has searchSourceJSON', async () => { + await getSavedVisualization( + { + savedObjectsClient, + search, + dataViews, + spaces: Promise.resolve({ + getActiveSpace: () => ({ + id: 'test', + }), + }) as unknown as SpacesPluginStart, + }, + { id: 'test', searchSource: true } + ); + expect(mockParseSearchSourceJSON).toHaveBeenCalledWith('{filter: []}'); + expect(mockInjectSearchSourceReferences).toHaveBeenCalled(); + expect(search.searchSource.create).toHaveBeenCalled(); + }); + + it('should inject references if saved object has references', async () => { + await getSavedVisualization( + { + savedObjectsClient, + search, + dataViews, + spaces: Promise.resolve({ + getActiveSpace: () => ({ + id: 'test', + }), + }) as unknown as SpacesPluginStart, + }, + { id: 'test', searchSource: true } + ); + expect(mockInjectReferences.mock.calls[0][1]).toEqual([ + { + id: 'test', + type: 'index-pattern', + }, + ]); + }); + + it('should call getTagIdsFromReferences if we provide savedObjectsTagging service', async () => { + const mockGetTagIdsFromReferences = jest.fn(() => ['test']); + await getSavedVisualization( + { + savedObjectsClient, + search, + dataViews, + spaces: Promise.resolve({ + getActiveSpace: () => ({ + id: 'test', + }), + }) as unknown as SpacesPluginStart, + savedObjectsTagging: { + ui: { + getTagIdsFromReferences: mockGetTagIdsFromReferences, + }, + } as unknown as SavedObjectsTaggingApi, + }, + { id: 'test', searchSource: true } + ); + expect(mockGetTagIdsFromReferences).toHaveBeenCalled(); + }); + }); + + describe('saveVisualization', () => { + let vis: VisSavedObject; + beforeEach(() => { + mockExtractSearchSourceReferences.mockClear(); + mockExtractReferences.mockClear(); + mockSaveWithConfirmation.mockClear(); + savedObjectsClient.create.mockClear(); + vis = { + visState: { + type: 'area', + }, + title: 'test', + uiStateJSON: '{}', + version: '1', + __tags: [], + lastSavedTitle: 'test', + displayName: 'test', + getEsType: () => 'vis', + } as unknown as VisSavedObject; + }); + + it('should return id after save', async () => { + const savedVisId = await saveVisualization(vis, {}, { savedObjectsClient, overlays }); + expect(savedObjectsClient.create).toHaveBeenCalled(); + expect(mockExtractReferences).toHaveBeenCalled(); + expect(savedVisId).toBe('test'); + }); + + it('should call extractSearchSourceReferences if we new vis has searchSourceFields', async () => { + vis.searchSourceFields = { fields: [] }; + await saveVisualization(vis, {}, { savedObjectsClient, overlays }); + expect(mockExtractSearchSourceReferences).toHaveBeenCalledWith(vis.searchSourceFields); + }); + + it('should serialize searchSource', async () => { + vis.searchSource = { + serialize: jest.fn(() => ({ searchSourceJSON: '{}', references: [] })), + } as unknown as ISearchSource; + await saveVisualization(vis, {}, { savedObjectsClient, overlays }); + expect(vis.searchSource?.serialize).toHaveBeenCalled(); + }); + + it('should call updateTagsReferences if we provide savedObjectsTagging service', async () => { + const mockUpdateTagsReferences = jest.fn(() => []); + await saveVisualization( + vis, + {}, + { + savedObjectsClient, + overlays, + savedObjectsTagging: { + ui: { + updateTagsReferences: mockUpdateTagsReferences, + }, + } as unknown as SavedObjectsTaggingApi, + } + ); + expect(mockUpdateTagsReferences).toHaveBeenCalled(); + }); + + describe('confirmOverwrite', () => { + it('as false we should not call saveWithConfirmation and just do create', async () => { + const savedVisId = await saveVisualization( + vis, + { confirmOverwrite: false }, + { savedObjectsClient, overlays } + ); + expect(savedObjectsClient.create).toHaveBeenCalled(); + expect(mockExtractReferences).toHaveBeenCalled(); + expect(mockSaveWithConfirmation).not.toHaveBeenCalled(); + expect(savedVisId).toBe('test'); + }); + + it('as true we should call saveWithConfirmation', async () => { + const savedVisId = await saveVisualization( + vis, + { confirmOverwrite: true }, + { savedObjectsClient, overlays } + ); + expect(savedObjectsClient.create).not.toHaveBeenCalled(); + expect(mockSaveWithConfirmation).toHaveBeenCalled(); + expect(savedVisId).toBe('test-after-confirm'); + }); + }); + + describe('isTitleDuplicateConfirmed', () => { + it('as false we should not save vis with duplicated title', async () => { + isTitleDuplicateConfirmed = false; + const savedVisId = await saveVisualization( + vis, + { isTitleDuplicateConfirmed }, + { savedObjectsClient, overlays } + ); + expect(savedObjectsClient.create).not.toHaveBeenCalled(); + expect(mockSaveWithConfirmation).not.toHaveBeenCalled(); + expect(mockCheckForDuplicateTitle).toHaveBeenCalled(); + expect(savedVisId).toBe(''); + expect(vis.id).toBeUndefined(); + }); + + it('as true we should save vis with duplicated title', async () => { + isTitleDuplicateConfirmed = true; + const savedVisId = await saveVisualization( + vis, + { isTitleDuplicateConfirmed }, + { savedObjectsClient, overlays } + ); + expect(mockCheckForDuplicateTitle).toHaveBeenCalled(); + expect(savedObjectsClient.create).toHaveBeenCalled(); + expect(savedVisId).toBe('test'); + expect(vis.id).toBe('test'); + }); + }); + }); + + describe('findListItems', () => { + function testProps() { + (savedObjectsClient.find as jest.Mock).mockImplementation(() => ({ + total: 0, + savedObjects: [], + })); + return { + savedObjectsClient, + search: '', + size: 10, + }; + } + + beforeEach(() => { + savedObjectsClient.find.mockClear(); + }); + + it('searches visualization title and description', async () => { + const props = testProps(); + const { find } = props.savedObjectsClient; + await findListItems( + props.savedObjectsClient, + { get: mockGetTypes, getAliases: mockGetAliases }, + props.search, + props.size + ); + expect(find.mock.calls).toMatchObject([ + [ + { + type: ['visualization'], + searchFields: ['title^3', 'description'], + }, + ], + ]); + }); + + it('searches searchFields and types specified by app extensions', async () => { + const props = testProps(); + visTypes = [ + { + appExtensions: { + visualizations: { + docTypes: ['bazdoc', 'etc'], + searchFields: ['baz', 'bing'], + }, + }, + } as VisTypeAlias, + ]; + const { find } = props.savedObjectsClient; + await findListItems( + props.savedObjectsClient, + { get: mockGetTypes, getAliases: mockGetAliases }, + props.search, + props.size + ); + expect(find.mock.calls).toMatchObject([ + [ + { + type: ['bazdoc', 'etc', 'visualization'], + searchFields: ['baz', 'bing', 'title^3', 'description'], + }, + ], + ]); + }); + + it('deduplicates types and search fields', async () => { + const props = testProps(); + visTypes = [ + { + appExtensions: { + visualizations: { + docTypes: ['bazdoc', 'bar'], + searchFields: ['baz', 'bing', 'barfield'], + }, + }, + } as VisTypeAlias, + { + appExtensions: { + visualizations: { + docTypes: ['visualization', 'foo', 'bazdoc'], + searchFields: ['baz', 'bing', 'foofield'], + }, + }, + } as VisTypeAlias, + ]; + const { find } = props.savedObjectsClient; + await findListItems( + props.savedObjectsClient, + { get: mockGetTypes, getAliases: mockGetAliases }, + props.search, + props.size + ); + expect(find.mock.calls).toMatchObject([ + [ + { + type: ['bazdoc', 'bar', 'visualization', 'foo'], + searchFields: ['baz', 'bing', 'barfield', 'foofield', 'title^3', 'description'], + }, + ], + ]); + }); + + it('searches the search term prefix', async () => { + const props = { + ...testProps(), + search: 'ahoythere', + }; + const { find } = props.savedObjectsClient; + await findListItems( + props.savedObjectsClient, + { get: mockGetTypes, getAliases: mockGetAliases }, + props.search, + props.size + ); + expect(find.mock.calls).toMatchObject([ + [ + { + search: 'ahoythere*', + }, + ], + ]); + }); + + it('searches with references', async () => { + const props = { + ...testProps(), + references: [ + { type: 'foo', id: 'hello' }, + { type: 'bar', id: 'dolly' }, + ], + }; + const { find } = props.savedObjectsClient; + await findListItems( + props.savedObjectsClient, + { get: mockGetTypes, getAliases: mockGetAliases }, + props.search, + props.size, + props.references + ); + expect(find.mock.calls).toMatchObject([ + [ + { + hasReference: [ + { type: 'foo', id: 'hello' }, + { type: 'bar', id: 'dolly' }, + ], + }, + ], + ]); + }); + + it('uses type-specific toListItem function, if available', async () => { + const props = testProps(); + + visTypes = [ + { + appExtensions: { + visualizations: { + docTypes: ['wizard'], + toListItem(savedObject) { + return { + id: savedObject.id, + title: `${(savedObject.attributes as { label: string }).label} THE GRAY`, + }; + }, + }, + }, + } as VisTypeAlias, + ]; + (props.savedObjectsClient.find as jest.Mock).mockImplementationOnce(async () => ({ + total: 2, + savedObjects: [ + { + id: 'lotr', + type: 'wizard', + attributes: { label: 'Gandalf' }, + }, + { + id: 'wat', + type: 'visualization', + attributes: { title: 'WATEVER', typeName: 'test' }, + }, + ], + })); + + const items = await findListItems( + props.savedObjectsClient, + { get: mockGetTypes, getAliases: mockGetAliases }, + props.search, + props.size + ); + expect(items).toEqual({ + total: 2, + hits: [ + { + id: 'lotr', + references: undefined, + title: 'Gandalf THE GRAY', + }, + { + id: 'wat', + references: undefined, + icon: undefined, + savedObjectType: 'visualization', + editUrl: '/edit/wat', + type: 'test', + typeName: 'test', + typeTitle: undefined, + title: 'WATEVER', + url: '#/edit/wat', + }, + ], + }); + }); + }); +}); diff --git a/src/plugins/visualizations/public/utils/saved_visualize_utils.ts b/src/plugins/visualizations/public/utils/saved_visualize_utils.ts new file mode 100644 index 0000000000000..a28ee9486c4d2 --- /dev/null +++ b/src/plugins/visualizations/public/utils/saved_visualize_utils.ts @@ -0,0 +1,403 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import _ from 'lodash'; +import type { + SavedObjectsFindOptionsReference, + SavedObjectsFindOptions, + SavedObjectsClientContract, + SavedObjectAttributes, + SavedObjectReference, +} from 'kibana/public'; +import type { OverlayStart } from '../../../../core/public'; +import { SavedObjectNotFound } from '../../../kibana_utils/public'; +import { + extractSearchSourceReferences, + injectSearchSourceReferences, + parseSearchSourceJSON, + DataPublicPluginStart, +} from '../../../../plugins/data/public'; +import { + checkForDuplicateTitle, + saveWithConfirmation, + isErrorNonFatal, +} from '../../../../plugins/saved_objects/public'; +import type { SavedObjectsTaggingApi } from '../../../saved_objects_tagging_oss/public'; +import type { SpacesPluginStart } from '../../../../../x-pack/plugins/spaces/public'; +import { VisualizationsAppExtension } from '../vis_types/vis_type_alias_registry'; +import type { + VisSavedObject, + SerializedVis, + ISavedVis, + SaveVisOptions, + GetVisOptions, +} from '../types'; +import type { TypesStart, BaseVisType } from '../vis_types'; +// @ts-ignore +import { updateOldState } from '../legacy/vis_update_state'; +import { injectReferences, extractReferences } from './saved_visualization_references'; + +export const SAVED_VIS_TYPE = 'visualization'; + +const getDefaults = (opts: GetVisOptions) => ({ + title: '', + visState: !opts.type ? null : { type: opts.type }, + uiStateJSON: '{}', + description: '', + savedSearchId: opts.savedSearchId, + version: 1, +}); + +export function getFullPath(id: string) { + return `/app/visualize#/edit/${id}`; +} + +export function urlFor(id: string) { + return `#/edit/${encodeURIComponent(id)}`; +} + +export function mapHitSource( + visTypes: Pick, + { + attributes, + id, + references, + }: { + attributes: SavedObjectAttributes; + id: string; + references: SavedObjectReference[]; + } +) { + const newAttributes: { + id: string; + references: SavedObjectReference[]; + url: string; + savedObjectType?: string; + editUrl?: string; + type?: BaseVisType; + icon?: BaseVisType['icon']; + image?: BaseVisType['image']; + typeTitle?: BaseVisType['title']; + error?: string; + } = { + id, + references, + url: urlFor(id), + ...attributes, + }; + + let typeName = attributes.typeName; + if (attributes.visState) { + try { + typeName = JSON.parse(String(attributes.visState)).type; + } catch (e) { + /* missing typename handled below */ + } + } + + if (!typeName || !visTypes.get(typeName as string)) { + newAttributes.error = 'Unknown visualization type'; + return newAttributes; + } + + newAttributes.type = visTypes.get(typeName as string); + newAttributes.savedObjectType = 'visualization'; + newAttributes.icon = newAttributes.type?.icon; + newAttributes.image = newAttributes.type?.image; + newAttributes.typeTitle = newAttributes.type?.title; + newAttributes.editUrl = `/edit/${id}`; + + return newAttributes; +} + +export const convertToSerializedVis = (savedVis: VisSavedObject): SerializedVis => { + const { id, title, description, visState, uiStateJSON, searchSourceFields } = savedVis; + + const aggs = searchSourceFields && searchSourceFields.index ? visState.aggs || [] : visState.aggs; + + return { + id, + title, + type: visState.type, + description, + params: visState.params, + uiState: JSON.parse(uiStateJSON || '{}'), + data: { + aggs, + searchSource: searchSourceFields!, + savedSearchId: savedVis.savedSearchId, + }, + }; +}; + +export const convertFromSerializedVis = (vis: SerializedVis): ISavedVis => { + return { + id: vis.id, + title: vis.title, + description: vis.description, + visState: { + title: vis.title, + type: vis.type, + aggs: vis.data.aggs, + params: vis.params, + }, + uiStateJSON: JSON.stringify(vis.uiState), + searchSourceFields: vis.data.searchSource, + savedSearchId: vis.data.savedSearchId, + }; +}; + +export async function findListItems( + savedObjectsClient: SavedObjectsClientContract, + visTypes: Pick, + search: string, + size: number, + references?: SavedObjectsFindOptionsReference[] +) { + const visAliases = visTypes.getAliases(); + const extensions = visAliases + .map((v) => v.appExtensions?.visualizations) + .filter(Boolean) as VisualizationsAppExtension[]; + const extensionByType = extensions.reduce((acc, m) => { + return m!.docTypes.reduce((_acc, type) => { + acc[type] = m; + return acc; + }, acc); + }, {} as { [visType: string]: VisualizationsAppExtension }); + const searchOption = (field: string, ...defaults: string[]) => + _(extensions).map(field).concat(defaults).compact().flatten().uniq().value() as string[]; + const searchOptions: SavedObjectsFindOptions = { + type: searchOption('docTypes', 'visualization'), + searchFields: searchOption('searchFields', 'title^3', 'description'), + search: search ? `${search}*` : undefined, + perPage: size, + page: 1, + defaultSearchOperator: 'AND' as 'AND', + hasReference: references, + }; + + const { total, savedObjects } = await savedObjectsClient.find( + searchOptions + ); + + return { + total, + hits: savedObjects.map((savedObject) => { + const config = extensionByType[savedObject.type]; + + if (config) { + return { + ...config.toListItem(savedObject), + references: savedObject.references, + }; + } else { + return mapHitSource(visTypes, savedObject); + } + }), + }; +} + +export async function getSavedVisualization( + services: { + savedObjectsClient: SavedObjectsClientContract; + search: DataPublicPluginStart['search']; + dataViews: DataPublicPluginStart['dataViews']; + spaces?: SpacesPluginStart; + savedObjectsTagging?: SavedObjectsTaggingApi; + }, + opts?: GetVisOptions | string +): Promise { + if (typeof opts !== 'object') { + opts = { id: opts } as GetVisOptions; + } + + const id = (opts.id as string) || ''; + const savedObject = { + id, + migrationVersion: opts.migrationVersion, + displayName: SAVED_VIS_TYPE, + getEsType: () => SAVED_VIS_TYPE, + getDisplayName: () => SAVED_VIS_TYPE, + searchSource: opts.searchSource ? services.search.searchSource.createEmpty() : undefined, + } as VisSavedObject; + const defaultsProps = getDefaults(opts); + + if (!id) { + Object.assign(savedObject, defaultsProps); + return savedObject; + } + + const { + saved_object: resp, + outcome, + alias_target_id: aliasTargetId, + } = await services.savedObjectsClient.resolve(SAVED_VIS_TYPE, id); + + if (!resp._version) { + throw new SavedObjectNotFound(SAVED_VIS_TYPE, id || ''); + } + + const attributes = _.cloneDeep(resp.attributes); + + if (attributes.visState && typeof attributes.visState === 'string') { + attributes.visState = JSON.parse(attributes.visState); + } + + // assign the defaults to the response + _.defaults(attributes, defaultsProps); + + Object.assign(savedObject, attributes); + savedObject.lastSavedTitle = savedObject.title; + + savedObject.sharingSavedObjectProps = { + aliasTargetId, + outcome, + errorJSON: + outcome === 'conflict' && services.spaces + ? JSON.stringify({ + targetType: SAVED_VIS_TYPE, + sourceId: id, + targetSpace: (await services.spaces.getActiveSpace()).id, + }) + : undefined, + }; + + const meta = (attributes.kibanaSavedObjectMeta || {}) as SavedObjectAttributes; + + if (meta.searchSourceJSON) { + try { + let searchSourceValues = parseSearchSourceJSON(meta.searchSourceJSON as string); + + if (opts.searchSource) { + searchSourceValues = injectSearchSourceReferences( + searchSourceValues as any, + resp.references + ); + savedObject.searchSource = await services.search.searchSource.create(searchSourceValues); + } else { + savedObject.searchSourceFields = searchSourceValues; + } + } catch (error: any) { + throw error; + } + } + + if (resp.references && resp.references.length > 0) { + injectReferences(savedObject, resp.references); + } + + if (services.savedObjectsTagging) { + savedObject.tags = services.savedObjectsTagging.ui.getTagIdsFromReferences(resp.references); + } + + savedObject.visState = await updateOldState(savedObject.visState); + if (savedObject.searchSourceFields?.index) { + await services.dataViews.get(savedObject.searchSourceFields.index as any); + } + + return savedObject; +} + +export async function saveVisualization( + savedObject: VisSavedObject, + { + confirmOverwrite = false, + isTitleDuplicateConfirmed = false, + onTitleDuplicate, + copyOnSave = false, + }: SaveVisOptions, + services: { + savedObjectsClient: SavedObjectsClientContract; + overlays: OverlayStart; + savedObjectsTagging?: SavedObjectsTaggingApi; + } +) { + // Save the original id in case the save fails. + const originalId = savedObject.id; + // Read https://github.com/elastic/kibana/issues/9056 and + // https://github.com/elastic/kibana/issues/9012 for some background into why this copyOnSave variable + // exists. + // The goal is to move towards a better rename flow, but since our users have been conditioned + // to expect a 'save as' flow during a rename, we are keeping the logic the same until a better + // UI/UX can be worked out. + if (copyOnSave) { + delete savedObject.id; + } + + const attributes: SavedObjectAttributes = { + visState: JSON.stringify(savedObject.visState), + title: savedObject.title, + uiStateJSON: savedObject.uiStateJSON, + description: savedObject.description, + savedSearchId: savedObject.savedSearchId, + version: savedObject.version, + }; + let references: SavedObjectReference[] = []; + + if (savedObject.searchSource) { + const { searchSourceJSON, references: searchSourceReferences } = + savedObject.searchSource.serialize(); + attributes.kibanaSavedObjectMeta = { searchSourceJSON }; + references.push(...searchSourceReferences); + } + + if (savedObject.searchSourceFields) { + const [searchSourceFields, searchSourceReferences] = extractSearchSourceReferences( + savedObject.searchSourceFields + ); + const searchSourceJSON = JSON.stringify(searchSourceFields); + attributes.kibanaSavedObjectMeta = { searchSourceJSON }; + references.push(...searchSourceReferences); + } + + if (services.savedObjectsTagging) { + references = services.savedObjectsTagging.ui.updateTagsReferences( + references, + savedObject.tags || [] + ); + } + + const extractedRefs = extractReferences({ attributes, references }); + + if (!extractedRefs.references) { + throw new Error('References not returned from extractReferences'); + } + + try { + await checkForDuplicateTitle( + { + ...savedObject, + copyOnSave, + } as any, + isTitleDuplicateConfirmed, + onTitleDuplicate, + services as any + ); + const createOpt = { + id: savedObject.id, + migrationVersion: savedObject.migrationVersion, + references: extractedRefs.references, + }; + const resp = confirmOverwrite + ? await saveWithConfirmation(attributes, savedObject, createOpt, services) + : await services.savedObjectsClient.create(SAVED_VIS_TYPE, extractedRefs.attributes, { + ...createOpt, + overwrite: true, + }); + + savedObject.id = resp.id; + savedObject.lastSavedTitle = savedObject.title; + return savedObject.id; + } catch (err: any) { + savedObject.id = originalId; + if (isErrorNonFatal(err)) { + return ''; + } + return Promise.reject(err); + } +} diff --git a/src/plugins/visualizations/tsconfig.json b/src/plugins/visualizations/tsconfig.json index 65ab83d5e0bae..eeaed655c3e73 100644 --- a/src/plugins/visualizations/tsconfig.json +++ b/src/plugins/visualizations/tsconfig.json @@ -23,5 +23,6 @@ { "path": "../usage_collection/tsconfig.json" }, { "path": "../kibana_utils/tsconfig.json" }, { "path": "../discover/tsconfig.json" }, + { "path": "../../../x-pack/plugins/spaces/tsconfig.json" }, ] } diff --git a/src/plugins/visualize/kibana.json b/src/plugins/visualize/kibana.json index afa9e3ce055b2..bfb23bec2111c 100644 --- a/src/plugins/visualize/kibana.json +++ b/src/plugins/visualize/kibana.json @@ -17,7 +17,8 @@ "home", "share", "savedObjectsTaggingOss", - "usageCollection" + "usageCollection", + "spaces" ], "requiredBundles": [ "kibanaUtils", diff --git a/src/plugins/visualize/public/application/components/visualize_editor_common.test.tsx b/src/plugins/visualize/public/application/components/visualize_editor_common.test.tsx new file mode 100644 index 0000000000000..2c8478492005f --- /dev/null +++ b/src/plugins/visualize/public/application/components/visualize_editor_common.test.tsx @@ -0,0 +1,112 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import React from 'react'; +import { shallow, mount } from 'enzyme'; +import { VisualizeEditorCommon } from './visualize_editor_common'; +import { VisualizeEditorVisInstance } from '../types'; + +const mockGetLegacyUrlConflict = jest.fn(); +const mockRedirectLegacyUrl = jest.fn(() => Promise.resolve()); +jest.mock('../../../../kibana_react/public', () => ({ + useKibana: jest.fn(() => ({ + services: { + spaces: { + ui: { + redirectLegacyUrl: mockRedirectLegacyUrl, + components: { + getLegacyUrlConflict: mockGetLegacyUrlConflict, + }, + }, + }, + history: { + location: { + search: '?_g=test', + }, + }, + http: { + basePath: { + prepend: (url: string) => url, + }, + }, + }, + })), + withKibana: jest.fn((comp) => comp), +})); + +describe('VisualizeEditorCommon', () => { + it('should display a conflict callout if saved object conflicts', async () => { + shallow( + {}} + hasUnappliedChanges={false} + isEmbeddableRendered={false} + onAppLeave={() => {}} + visEditorRef={React.createRef()} + visInstance={ + { + savedVis: { + id: 'test', + sharingSavedObjectProps: { + outcome: 'conflict', + aliasTargetId: 'alias_id', + }, + }, + vis: { + type: { + title: 'TSVB', + }, + }, + } as VisualizeEditorVisInstance + } + /> + ); + expect(mockGetLegacyUrlConflict).toHaveBeenCalledWith({ + currentObjectId: 'test', + objectNoun: 'TSVB visualization', + otherObjectId: 'alias_id', + otherObjectPath: '#/edit/alias_id?_g=test', + }); + }); + + it('should redirect to new id if saved object aliasMatch', async () => { + mount( + {}} + hasUnappliedChanges={false} + isEmbeddableRendered={false} + onAppLeave={() => {}} + visEditorRef={React.createRef()} + visInstance={ + { + savedVis: { + id: 'test', + sharingSavedObjectProps: { + outcome: 'aliasMatch', + aliasTargetId: 'alias_id', + }, + }, + vis: { + type: { + title: 'TSVB', + }, + }, + } as VisualizeEditorVisInstance + } + /> + ); + expect(mockRedirectLegacyUrl).toHaveBeenCalledWith( + '#/edit/alias_id?_g=test', + 'TSVB visualization' + ); + }); +}); diff --git a/src/plugins/visualize/public/application/components/visualize_editor_common.tsx b/src/plugins/visualize/public/application/components/visualize_editor_common.tsx index a03073e61f59c..6268ba5c936ef 100644 --- a/src/plugins/visualize/public/application/components/visualize_editor_common.tsx +++ b/src/plugins/visualize/public/application/components/visualize_editor_common.tsx @@ -7,15 +7,19 @@ */ import './visualize_editor.scss'; -import React, { RefObject } from 'react'; +import React, { RefObject, useCallback, useEffect } from 'react'; import { FormattedMessage } from '@kbn/i18n/react'; +import { i18n } from '@kbn/i18n'; import { EuiScreenReaderOnly } from '@elastic/eui'; import { AppMountParameters } from 'kibana/public'; import { VisualizeTopNav } from './visualize_top_nav'; import { ExperimentalVisInfo } from './experimental_vis_info'; +import { useKibana } from '../../../../kibana_react/public'; +import { urlFor } from '../../../../visualizations/public'; import { SavedVisInstance, VisualizeAppState, + VisualizeServices, VisualizeAppStateContainer, VisualizeEditorVisInstance, } from '../types'; @@ -53,6 +57,55 @@ export const VisualizeEditorCommon = ({ embeddableId, visEditorRef, }: VisualizeEditorCommonProps) => { + const { services } = useKibana(); + + useEffect(() => { + async function aliasMatchRedirect() { + const sharingSavedObjectProps = visInstance?.savedVis.sharingSavedObjectProps; + if (services.spaces && sharingSavedObjectProps?.outcome === 'aliasMatch') { + // We found this object by a legacy URL alias from its old ID; redirect the user to the page with its new ID, preserving any URL hash + const newObjectId = sharingSavedObjectProps?.aliasTargetId; // This is always defined if outcome === 'aliasMatch' + const newPath = `${urlFor(newObjectId!)}${services.history.location.search}`; + await services.spaces.ui.redirectLegacyUrl( + newPath, + i18n.translate('visualize.legacyUrlConflict.objectNoun', { + defaultMessage: '{visName} visualization', + values: { + visName: visInstance?.vis?.type.title, + }, + }) + ); + return; + } + } + + aliasMatchRedirect(); + }, [visInstance?.savedVis.sharingSavedObjectProps, visInstance?.vis?.type.title, services]); + + const getLegacyUrlConflictCallout = useCallback(() => { + // This function returns a callout component *if* we have encountered a "legacy URL conflict" scenario + const currentObjectId = visInstance?.savedVis.id; + const sharingSavedObjectProps = visInstance?.savedVis.sharingSavedObjectProps; + if (services.spaces && sharingSavedObjectProps?.outcome === 'conflict' && currentObjectId) { + // We have resolved to one object, but another object has a legacy URL alias associated with this ID/page. We should display a + // callout with a warning for the user, and provide a way for them to navigate to the other object. + const otherObjectId = sharingSavedObjectProps?.aliasTargetId!; // This is always defined if outcome === 'conflict' + const otherObjectPath = `${urlFor(otherObjectId)}${services.history.location.search}`; + return services.spaces.ui.components.getLegacyUrlConflict({ + objectNoun: i18n.translate('visualize.legacyUrlConflict.objectNoun', { + defaultMessage: '{visName} visualization', + values: { + visName: visInstance?.vis?.type.title, + }, + }), + currentObjectId, + otherObjectId, + otherObjectPath, + }); + } + return null; + }, [visInstance?.savedVis, services, visInstance?.vis?.type.title]); + return (
{visInstance && appState && currentAppState && ( @@ -74,6 +127,7 @@ export const VisualizeEditorCommon = ({ )} {visInstance?.vis?.type?.stage === 'experimental' && } {visInstance?.vis?.type?.getInfoMessage?.(visInstance.vis)} + {getLegacyUrlConflictCallout()} {visInstance && (

diff --git a/src/plugins/visualize/public/application/components/visualize_listing.tsx b/src/plugins/visualize/public/application/components/visualize_listing.tsx index 07c3d18b54b0d..7319a9b5e52f8 100644 --- a/src/plugins/visualize/public/application/components/visualize_listing.tsx +++ b/src/plugins/visualize/public/application/components/visualize_listing.tsx @@ -31,7 +31,6 @@ export const VisualizeListing = () => { chrome, dashboard, history, - savedVisualizations, toastNotifications, visualizations, stateTransferService, @@ -113,16 +112,16 @@ export const VisualizeListing = () => { } const isLabsEnabled = uiSettings.get(VISUALIZE_ENABLE_LABS_SETTING); - return savedVisualizations - .findListItems(searchTerm, { size: listingLimit, references }) - .then(({ total, hits }: { total: number; hits: object[] }) => ({ + return visualizations + .findListItems(searchTerm, listingLimit, references) + .then(({ total, hits }: { total: number; hits: Array> }) => ({ total, hits: hits.filter( (result: any) => isLabsEnabled || result.type?.stage !== 'experimental' ), })); }, - [listingLimit, savedVisualizations, uiSettings, savedObjectsTagging] + [listingLimit, uiSettings, savedObjectsTagging, visualizations] ); const deleteItems = useCallback( diff --git a/src/plugins/visualize/public/application/types.ts b/src/plugins/visualize/public/application/types.ts index 7e9f69163f5a6..4debd9a4a7b7d 100644 --- a/src/plugins/visualize/public/application/types.ts +++ b/src/plugins/visualize/public/application/types.ts @@ -42,6 +42,7 @@ import type { SavedObjectsStart, SavedObject } from 'src/plugins/saved_objects/p import type { EmbeddableStart, EmbeddableStateTransfer } from 'src/plugins/embeddable/public'; import type { UrlForwardingStart } from 'src/plugins/url_forwarding/public'; import type { PresentationUtilPluginStart } from 'src/plugins/presentation_util/public'; +import type { SpacesPluginStart } from '../../../../../x-pack/plugins/spaces/public'; import type { DashboardStart } from '../../../dashboard/public'; import type { SavedObjectsTaggingApi } from '../../../saved_objects_tagging_oss/public'; import type { UsageCollectionStart } from '../../../usage_collection/public'; @@ -94,7 +95,6 @@ export interface VisualizeServices extends CoreStart { dashboardCapabilities: Record>; visualizations: VisualizationsStart; savedObjectsPublic: SavedObjectsStart; - savedVisualizations: VisualizationsStart['savedVisualizationsLoader']; setActiveUrl: (newUrl: string) => void; createVisEmbeddableFromObject: VisualizationsStart['__LEGACY']['createVisEmbeddableFromObject']; restorePreviousUrl: () => void; @@ -105,6 +105,7 @@ export interface VisualizeServices extends CoreStart { presentationUtil: PresentationUtilPluginStart; usageCollection?: UsageCollectionStart; getKibanaVersion: () => string; + spaces?: SpacesPluginStart; } export interface SavedVisInstance { diff --git a/src/plugins/visualize/public/application/utils/get_top_nav_config.tsx b/src/plugins/visualize/public/application/utils/get_top_nav_config.tsx index 0dc37ca00a6aa..9d1c93f25645c 100644 --- a/src/plugins/visualize/public/application/utils/get_top_nav_config.tsx +++ b/src/plugins/visualize/public/application/utils/get_top_nav_config.tsx @@ -14,7 +14,11 @@ import { parse } from 'query-string'; import { Capabilities } from 'src/core/public'; import { TopNavMenuData } from 'src/plugins/navigation/public'; -import { VISUALIZE_EMBEDDABLE_TYPE, VisualizeInput } from '../../../../visualizations/public'; +import { + VISUALIZE_EMBEDDABLE_TYPE, + VisualizeInput, + getFullPath, +} from '../../../../visualizations/public'; import { showSaveModal, SavedObjectSaveModalOrigin, @@ -87,6 +91,7 @@ export const getTopNavConfig = ( data, application, chrome, + overlays, history, share, setActiveUrl, @@ -99,6 +104,8 @@ export const getTopNavConfig = ( presentationUtil, usageCollection, getKibanaVersion, + savedObjects, + visualizations, }: VisualizeServices ) => { const { vis, embeddableHandler } = visInstance; @@ -117,8 +124,10 @@ export const getTopNavConfig = ( /** * Called when the user clicks "Save" button. */ - async function doSave(saveOptions: SavedObjectSaveOpts & { dashboardId?: string }) { - const newlyCreated = !Boolean(savedVis.id) || savedVis.copyOnSave; + async function doSave( + saveOptions: SavedObjectSaveOpts & { dashboardId?: string; copyOnSave?: boolean } + ) { + const newlyCreated = !Boolean(savedVis.id) || saveOptions.copyOnSave; // vis.title was not bound and it's needed to reflect title into visState stateContainer.transitions.setVis({ title: savedVis.title, @@ -129,7 +138,7 @@ export const getTopNavConfig = ( setHasUnsavedChanges(false); try { - const id = await savedVis.save(saveOptions); + const id = await visualizations.saveVisualization(savedVis, saveOptions); if (id) { toastNotifications.addSuccess({ @@ -142,6 +151,8 @@ export const getTopNavConfig = ( 'data-test-subj': 'saveVisualizationSuccess', }); + chrome.recentlyAccessed.add(getFullPath(id), savedVis.title, String(id)); + if ((originatingApp && saveOptions.returnToOrigin) || saveOptions.dashboardId) { if (!embeddableId) { const appPath = `${VisualizeConstants.EDIT_PATH}/${encodeURIComponent(id)}`; @@ -164,7 +175,7 @@ export const getTopNavConfig = ( state: { type: VISUALIZE_EMBEDDABLE_TYPE, input: { savedObjectId: id }, - embeddableId: savedVis.copyOnSave ? undefined : embeddableId, + embeddableId: saveOptions.copyOnSave ? undefined : embeddableId, searchSessionId: data.search.session.getSessionId(), }, path, @@ -392,11 +403,10 @@ export const getTopNavConfig = ( const currentTitle = savedVis.title; savedVis.title = newTitle; embeddableHandler.updateInput({ title: newTitle }); - savedVis.copyOnSave = newCopyOnSave; savedVis.description = newDescription; - if (savedObjectsTagging && savedObjectsTagging.ui.hasTagDecoration(savedVis)) { - savedVis.setTags(selectedTags); + if (savedObjectsTagging) { + savedVis.tags = selectedTags; } const saveOptions = { @@ -405,6 +415,7 @@ export const getTopNavConfig = ( onTitleDuplicate, returnToOrigin, dashboardId: !!dashboardId ? dashboardId : undefined, + copyOnSave: newCopyOnSave, }; // If we're adding to a dashboard and not saving to library, @@ -457,9 +468,7 @@ export const getTopNavConfig = ( let tagOptions: React.ReactNode | undefined; if (savedObjectsTagging) { - if (savedVis && savedObjectsTagging.ui.hasTagDecoration(savedVis)) { - selectedTags = savedVis.getTags(); - } + selectedTags = savedVis.tags || []; tagOptions = ( ({ })), })); +let savedVisMock: VisSavedObject; + describe('getVisualizationInstance', () => { const serializedVisMock = { type: 'area', }; - let savedVisMock: VisSavedObject; let visMock: Vis; let mockServices: jest.Mocked; let subj: BehaviorSubject; @@ -47,13 +48,16 @@ describe('getVisualizationInstance', () => { data: {}, } as Vis; savedVisMock = {} as VisSavedObject; + // @ts-expect-error mockServices.data.search.showError.mockImplementation(() => {}); // @ts-expect-error - mockServices.savedVisualizations.get.mockImplementation(() => savedVisMock); - // @ts-expect-error mockServices.visualizations.convertToSerializedVis.mockImplementation(() => serializedVisMock); // @ts-expect-error + mockServices.visualizations.getSavedVisualization.mockImplementation( + (opts: unknown) => savedVisMock + ); + // @ts-expect-error mockServices.visualizations.createVis.mockImplementation(() => visMock); // @ts-expect-error mockServices.createVisEmbeddableFromObject.mockImplementation(() => ({ @@ -71,7 +75,9 @@ describe('getVisualizationInstance', () => { opts ); - expect(mockServices.savedVisualizations.get).toHaveBeenCalledWith(opts); + expect((mockServices.visualizations.getSavedVisualization as jest.Mock).mock.calls[0][0]).toBe( + opts + ); expect(savedVisMock.searchSourceFields).toEqual({ index: opts.indexPattern, }); @@ -98,7 +104,9 @@ describe('getVisualizationInstance', () => { visMock.type.setup = jest.fn(() => newVisObj); const { vis } = await getVisualizationInstance(mockServices, 'saved_vis_id'); - expect(mockServices.savedVisualizations.get).toHaveBeenCalledWith('saved_vis_id'); + expect((mockServices.visualizations.getSavedVisualization as jest.Mock).mock.calls[0][0]).toBe( + 'saved_vis_id' + ); expect(savedVisMock.searchSourceFields).toBeUndefined(); expect(visMock.type.setup).toHaveBeenCalledWith(visMock); expect(vis).toBe(newVisObj); @@ -128,7 +136,6 @@ describe('getVisualizationInstanceInput', () => { const serializedVisMock = { type: 'pie', }; - let savedVisMock: VisSavedObject; let visMock: Vis; let mockServices: jest.Mocked; let subj: BehaviorSubject; @@ -142,10 +149,12 @@ describe('getVisualizationInstanceInput', () => { } as Vis; savedVisMock = {} as VisSavedObject; // @ts-expect-error - mockServices.savedVisualizations.get.mockImplementation(() => savedVisMock); - // @ts-expect-error mockServices.visualizations.createVis.mockImplementation(() => visMock); // @ts-expect-error + mockServices.visualizations.getSavedVisualization.mockImplementation( + (opts: unknown) => savedVisMock + ); + // @ts-expect-error mockServices.createVisEmbeddableFromObject.mockImplementation(() => ({ getOutput$: jest.fn(() => subj.asObservable()), })); @@ -183,7 +192,7 @@ describe('getVisualizationInstanceInput', () => { const { savedVis, savedSearch, vis, embeddableHandler } = await getVisualizationInstanceFromInput(mockServices, input); - expect(mockServices.savedVisualizations.get).toHaveBeenCalled(); + expect(mockServices.visualizations.getSavedVisualization).toHaveBeenCalled(); expect(mockServices.visualizations.createVis).toHaveBeenCalledWith( serializedVisMock.type, input.savedVis diff --git a/src/plugins/visualize/public/application/utils/get_visualization_instance.ts b/src/plugins/visualize/public/application/utils/get_visualization_instance.ts index 88797ce264e25..faf25ff28cec0 100644 --- a/src/plugins/visualize/public/application/utils/get_visualization_instance.ts +++ b/src/plugins/visualize/public/application/utils/get_visualization_instance.ts @@ -66,14 +66,15 @@ export const getVisualizationInstanceFromInput = async ( visualizeServices: VisualizeServices, input: VisualizeInput ) => { - const { visualizations, savedVisualizations } = visualizeServices; + const { visualizations } = visualizeServices; const visState = input.savedVis as SerializedVis; /** * A saved vis is needed even in by value mode to support 'save to library' which converts the 'by value' * state of the visualization, into a new saved object. */ - const savedVis: VisSavedObject = await savedVisualizations.get(); + const savedVis: VisSavedObject = await visualizations.getSavedVisualization(); + if (visState.uiState && Object.keys(visState.uiState).length !== 0) { savedVis.uiStateJSON = JSON.stringify(visState.uiState); } @@ -107,8 +108,8 @@ export const getVisualizationInstance = async ( */ opts?: Record | string ) => { - const { visualizations, savedVisualizations } = visualizeServices; - const savedVis: VisSavedObject = await savedVisualizations.get(opts); + const { visualizations } = visualizeServices; + const savedVis: VisSavedObject = await visualizations.getSavedVisualization(opts); if (typeof opts !== 'string') { savedVis.searchSourceFields = { index: opts?.indexPattern } as SearchSourceFields; diff --git a/src/plugins/visualize/public/application/utils/mocks.ts b/src/plugins/visualize/public/application/utils/mocks.ts index a7029071851ca..f26c81ed99a89 100644 --- a/src/plugins/visualize/public/application/utils/mocks.ts +++ b/src/plugins/visualize/public/application/utils/mocks.ts @@ -26,7 +26,6 @@ export const createVisualizeServicesMock = () => { location: { pathname: '' }, }, visualizations, - savedVisualizations: visualizations.savedVisualizationsLoader, createVisEmbeddableFromObject: visualizations.__LEGACY.createVisEmbeddableFromObject, } as unknown as jest.Mocked; }; diff --git a/src/plugins/visualize/public/application/utils/use/use_saved_vis_instance.test.ts b/src/plugins/visualize/public/application/utils/use/use_saved_vis_instance.test.ts index b142f3fcd4061..f81744326365a 100644 --- a/src/plugins/visualize/public/application/utils/use/use_saved_vis_instance.test.ts +++ b/src/plugins/visualize/public/application/utils/use/use_saved_vis_instance.test.ts @@ -22,7 +22,6 @@ import { createEmbeddableStateTransferMock } from '../../../../../embeddable/pub const mockDefaultEditorControllerDestroy = jest.fn(); const mockEmbeddableHandlerDestroy = jest.fn(); const mockEmbeddableHandlerRender = jest.fn(); -const mockSavedVisDestroy = jest.fn(); const savedVisId = '9ca7aa90-b892-11e8-a6d9-e546fe2bba5f'; const mockSavedVisInstance = { embeddableHandler: { @@ -32,7 +31,6 @@ const mockSavedVisInstance = { savedVis: { id: savedVisId, title: 'Test Vis', - destroy: mockSavedVisDestroy, }, vis: { type: {}, @@ -103,7 +101,6 @@ describe('useSavedVisInstance', () => { mockDefaultEditorControllerDestroy.mockClear(); mockEmbeddableHandlerDestroy.mockClear(); mockEmbeddableHandlerRender.mockClear(); - mockSavedVisDestroy.mockClear(); toastNotifications.addWarning.mockClear(); mockGetVisualizationInstance.mockClear(); }); @@ -153,7 +150,6 @@ describe('useSavedVisInstance', () => { expect(mockDefaultEditorControllerDestroy.mock.calls.length).toBe(1); expect(mockEmbeddableHandlerDestroy).not.toHaveBeenCalled(); - expect(mockSavedVisDestroy.mock.calls.length).toBe(1); }); }); @@ -236,7 +232,6 @@ describe('useSavedVisInstance', () => { unmount(); expect(mockDefaultEditorControllerDestroy).not.toHaveBeenCalled(); expect(mockEmbeddableHandlerDestroy.mock.calls.length).toBe(1); - expect(mockSavedVisDestroy.mock.calls.length).toBe(1); }); }); }); diff --git a/src/plugins/visualize/public/application/utils/use/use_saved_vis_instance.ts b/src/plugins/visualize/public/application/utils/use/use_saved_vis_instance.ts index 965951bfbd88d..b5919ec074966 100644 --- a/src/plugins/visualize/public/application/utils/use/use_saved_vis_instance.ts +++ b/src/plugins/visualize/public/application/utils/use/use_saved_vis_instance.ts @@ -176,9 +176,6 @@ export const useSavedVisInstance = ( } else if (state.savedVisInstance?.embeddableHandler) { state.savedVisInstance.embeddableHandler.destroy(); } - if (state.savedVisInstance?.savedVis) { - state.savedVisInstance.savedVis.destroy(); - } }; }, [state]); diff --git a/src/plugins/visualize/public/plugin.ts b/src/plugins/visualize/public/plugin.ts index b128c09209743..c9df6a6ec57d8 100644 --- a/src/plugins/visualize/public/plugin.ts +++ b/src/plugins/visualize/public/plugin.ts @@ -28,6 +28,7 @@ import { createKbnUrlStateStorage, withNotifyOnErrors, } from '../../kibana_utils/public'; +import type { SpacesPluginStart } from '../../../../x-pack/plugins/spaces/public'; import { VisualizeConstants } from './application/visualize_constants'; import { DataPublicPluginStart, DataPublicPluginSetup, esFilters } from '../../data/public'; @@ -61,6 +62,7 @@ export interface VisualizePluginStartDependencies { savedObjectsTaggingOss?: SavedObjectTaggingOssPluginStart; presentationUtil: PresentationUtilPluginStart; usageCollection?: UsageCollectionStart; + spaces: SpacesPluginStart; } export interface VisualizePluginSetupDependencies { @@ -192,7 +194,6 @@ export class VisualizePlugin data: pluginsStart.data, localStorage: new Storage(localStorage), navigation: pluginsStart.navigation, - savedVisualizations: pluginsStart.visualizations.savedVisualizationsLoader, share: pluginsStart.share, toastNotifications: coreStart.notifications.toasts, visualizeCapabilities: coreStart.application.capabilities.visualize, @@ -212,6 +213,7 @@ export class VisualizePlugin presentationUtil: pluginsStart.presentationUtil, usageCollection: pluginsStart.usageCollection, getKibanaVersion: () => this.initializerContext.env.packageInfo.version, + spaces: pluginsStart.spaces, }; params.element.classList.add('visAppWrapper'); diff --git a/src/plugins/visualize/tsconfig.json b/src/plugins/visualize/tsconfig.json index 3f1f7487085bf..9c1e3fd72ff8b 100644 --- a/src/plugins/visualize/tsconfig.json +++ b/src/plugins/visualize/tsconfig.json @@ -24,6 +24,7 @@ { "path": "../kibana_react/tsconfig.json" }, { "path": "../home/tsconfig.json" }, { "path": "../presentation_util/tsconfig.json" }, - { "path": "../discover/tsconfig.json" } + { "path": "../discover/tsconfig.json" }, + { "path": "../../../x-pack/plugins/spaces/tsconfig.json" }, ] } From 2763514508d58e72834bb285a77411c6000dd943 Mon Sep 17 00:00:00 2001 From: Ignacio Rivas Date: Tue, 12 Oct 2021 12:01:51 +0100 Subject: [PATCH 050/107] [Upgrade Assistant] Add upgrade system indices section (#110593) --- .../helpers/http_requests.ts | 24 +++ .../__snapshots__/flyout.test.ts.snap | 22 ++ .../migrate_system_indices/flyout.test.ts | 42 ++++ .../migrate_system_indices.test.tsx | 136 ++++++++++++ .../overview/migrate_system_indices/mocks.ts | 58 ++++++ .../step_completion.test.ts | 86 ++++++++ .../overview/overview.helpers.ts | 22 ++ .../upgrade_assistant/common/constants.ts | 1 + .../plugins/upgrade_assistant/common/types.ts | 12 +- .../migrate_system_indices/flyout.tsx | 193 +++++++++++++++++ .../overview/migrate_system_indices/index.ts | 8 + .../migrate_system_indices.tsx | 197 ++++++++++++++++++ .../use_migrate_system_indices.ts | 95 +++++++++ .../components/overview/overview.tsx | 11 +- .../overview/upgrade_step/upgrade_step.tsx | 15 +- .../public/application/lib/api.ts | 22 +- .../server/lib/es_deprecations_status.ts | 6 +- ...ts => es_system_indices_migration.test.ts} | 6 +- ...rade.ts => es_system_indices_migration.ts} | 25 ++- .../server/routes/register_routes.ts | 2 + .../routes/system_indices_migration.test.ts | 132 ++++++++++++ .../server/routes/system_indices_migration.ts | 71 +++++++ 22 files changed, 1159 insertions(+), 27 deletions(-) create mode 100644 x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/__snapshots__/flyout.test.ts.snap create mode 100644 x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/flyout.test.ts create mode 100644 x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/migrate_system_indices.test.tsx create mode 100644 x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/mocks.ts create mode 100644 x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/step_completion.test.ts create mode 100644 x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/flyout.tsx create mode 100644 x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/index.ts create mode 100644 x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/migrate_system_indices.tsx create mode 100644 x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/use_migrate_system_indices.ts rename x-pack/plugins/upgrade_assistant/server/lib/{es_system_indices_upgrade.test.ts => es_system_indices_migration.test.ts} (89%) rename x-pack/plugins/upgrade_assistant/server/lib/{es_system_indices_upgrade.ts => es_system_indices_migration.ts} (57%) create mode 100644 x-pack/plugins/upgrade_assistant/server/routes/system_indices_migration.test.ts create mode 100644 x-pack/plugins/upgrade_assistant/server/routes/system_indices_migration.ts diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/helpers/http_requests.ts b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/helpers/http_requests.ts index 4f0e048da0792..b4ae504fb3b1a 100644 --- a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/helpers/http_requests.ts +++ b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/helpers/http_requests.ts @@ -158,6 +158,17 @@ const registerHttpRequestMockHelpers = (server: SinonFakeServer) => { ]); }; + const setLoadSystemIndicesMigrationStatus = (response?: object, error?: ResponseError) => { + const status = error ? error.statusCode || 400 : 200; + const body = error ? error : response; + + server.respondWith('GET', `${API_BASE_PATH}/system_indices_migration`, [ + status, + { 'Content-Type': 'application/json' }, + JSON.stringify(body), + ]); + }; + const setLoadMlUpgradeModeResponse = (response?: object, error?: ResponseError) => { const status = error ? error.statusCode || 400 : 200; const body = error ? error : response; @@ -169,6 +180,17 @@ const registerHttpRequestMockHelpers = (server: SinonFakeServer) => { ]); }; + const setSystemIndicesMigrationResponse = (response?: object, error?: ResponseError) => { + const status = error ? error.statusCode || 400 : 200; + const body = error ? error : response; + + server.respondWith('POST', `${API_BASE_PATH}/system_indices_migration`, [ + status, + { 'Content-Type': 'application/json' }, + JSON.stringify(body), + ]); + }; + return { setLoadCloudBackupStatusResponse, setLoadEsDeprecationsResponse, @@ -179,6 +201,8 @@ const registerHttpRequestMockHelpers = (server: SinonFakeServer) => { setDeleteMlSnapshotResponse, setUpgradeMlSnapshotStatusResponse, setLoadDeprecationLogsCountResponse, + setLoadSystemIndicesMigrationStatus, + setSystemIndicesMigrationResponse, setDeleteLogsCacheResponse, setStartReindexingResponse, setReindexStatusResponse, diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/__snapshots__/flyout.test.ts.snap b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/__snapshots__/flyout.test.ts.snap new file mode 100644 index 0000000000000..2a512e8569d9f --- /dev/null +++ b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/__snapshots__/flyout.test.ts.snap @@ -0,0 +1,22 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Overview - Migrate system indices - Flyout shows correct features in flyout table 1`] = ` +Array [ + Array [ + "Security", + "Migration failed", + ], + Array [ + "Machine Learning", + "Migration in progress", + ], + Array [ + "Kibana", + "Migration required", + ], + Array [ + "Logstash", + "Migration complete", + ], +] +`; diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/flyout.test.ts b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/flyout.test.ts new file mode 100644 index 0000000000000..1e74a966b3933 --- /dev/null +++ b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/flyout.test.ts @@ -0,0 +1,42 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { act } from 'react-dom/test-utils'; + +import { OverviewTestBed, setupOverviewPage } from '../overview.helpers'; +import { setupEnvironment } from '../../helpers'; +import { systemIndicesMigrationStatus } from './mocks'; + +describe('Overview - Migrate system indices - Flyout', () => { + let testBed: OverviewTestBed; + const { server, httpRequestsMockHelpers } = setupEnvironment(); + + beforeEach(async () => { + httpRequestsMockHelpers.setLoadSystemIndicesMigrationStatus(systemIndicesMigrationStatus); + + await act(async () => { + testBed = await setupOverviewPage(); + }); + + testBed.component.update(); + }); + + afterAll(() => { + server.restore(); + }); + + test('shows correct features in flyout table', async () => { + const { actions, table } = testBed; + + await actions.clickViewSystemIndicesState(); + + const { tableCellsValues } = table.getMetaData('flyoutDetails'); + + expect(tableCellsValues.length).toBe(systemIndicesMigrationStatus.features.length); + expect(tableCellsValues).toMatchSnapshot(); + }); +}); diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/migrate_system_indices.test.tsx b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/migrate_system_indices.test.tsx new file mode 100644 index 0000000000000..c5f680319d0ab --- /dev/null +++ b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/migrate_system_indices.test.tsx @@ -0,0 +1,136 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { act } from 'react-dom/test-utils'; + +import { setupEnvironment } from '../../helpers'; +import { OverviewTestBed, setupOverviewPage } from '../overview.helpers'; + +describe('Overview - Migrate system indices', () => { + let testBed: OverviewTestBed; + const { server, httpRequestsMockHelpers } = setupEnvironment(); + + beforeEach(async () => { + testBed = await setupOverviewPage(); + testBed.component.update(); + }); + + afterAll(() => { + server.restore(); + }); + + describe('Error state', () => { + beforeEach(async () => { + httpRequestsMockHelpers.setLoadSystemIndicesMigrationStatus(undefined, { + statusCode: 400, + message: 'error', + }); + + testBed = await setupOverviewPage(); + }); + + test('Is rendered', () => { + const { exists, component } = testBed; + component.update(); + + expect(exists('systemIndicesStatusErrorCallout')).toBe(true); + }); + + test('Lets the user attempt to reload migration status', async () => { + const { exists, component, actions } = testBed; + component.update(); + + httpRequestsMockHelpers.setLoadSystemIndicesMigrationStatus({ + upgrade_status: 'NO_UPGRADE_NEEDED', + }); + + await actions.clickRetrySystemIndicesButton(); + + expect(exists('noMigrationNeededSection')).toBe(true); + }); + }); + + test('No migration needed', async () => { + httpRequestsMockHelpers.setLoadSystemIndicesMigrationStatus({ + upgrade_status: 'NO_UPGRADE_NEEDED', + }); + + testBed = await setupOverviewPage(); + + const { exists, component } = testBed; + + component.update(); + + expect(exists('noMigrationNeededSection')).toBe(true); + expect(exists('startSystemIndicesMigrationButton')).toBe(false); + expect(exists('viewSystemIndicesStateButton')).toBe(false); + }); + + test('Migration in progress', async () => { + httpRequestsMockHelpers.setLoadSystemIndicesMigrationStatus({ + upgrade_status: 'IN_PROGRESS', + }); + + testBed = await setupOverviewPage(); + + const { exists, component, find } = testBed; + + component.update(); + + // Start migration is disabled + expect(exists('startSystemIndicesMigrationButton')).toBe(true); + expect(find('startSystemIndicesMigrationButton').props().disabled).toBe(true); + // But we keep view system indices CTA + expect(exists('viewSystemIndicesStateButton')).toBe(true); + }); + + describe('Migration needed', () => { + test('Initial state', async () => { + httpRequestsMockHelpers.setLoadSystemIndicesMigrationStatus({ + upgrade_status: 'UPGRADE_NEEDED', + }); + + testBed = await setupOverviewPage(); + + const { exists, component, find } = testBed; + + component.update(); + + // Start migration should be enabled + expect(exists('startSystemIndicesMigrationButton')).toBe(true); + expect(find('startSystemIndicesMigrationButton').props().disabled).toBe(false); + // Same for view system indices status + expect(exists('viewSystemIndicesStateButton')).toBe(true); + }); + + test('Handles errors when migrating', async () => { + httpRequestsMockHelpers.setLoadSystemIndicesMigrationStatus({ + upgrade_status: 'UPGRADE_NEEDED', + }); + httpRequestsMockHelpers.setSystemIndicesMigrationResponse(undefined, { + statusCode: 400, + message: 'error', + }); + + testBed = await setupOverviewPage(); + + const { exists, component, find } = testBed; + + await act(async () => { + find('startSystemIndicesMigrationButton').simulate('click'); + }); + + component.update(); + + // Error is displayed + expect(exists('startSystemIndicesMigrationCalloutError')).toBe(true); + // CTA is enabled + expect(exists('startSystemIndicesMigrationButton')).toBe(true); + expect(find('startSystemIndicesMigrationButton').props().disabled).toBe(false); + }); + }); +}); diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/mocks.ts b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/mocks.ts new file mode 100644 index 0000000000000..298f537819507 --- /dev/null +++ b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/mocks.ts @@ -0,0 +1,58 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { SystemIndicesMigrationStatus } from '../../../../common/types'; + +export const systemIndicesMigrationStatus: SystemIndicesMigrationStatus = { + upgrade_status: 'UPGRADE_NEEDED', + features: [ + { + feature_name: 'security', + minimum_index_version: '7.1.1', + upgrade_status: 'ERROR', + indices: [ + { + index: '.security-7', + version: '7.1.1', + }, + ], + }, + { + feature_name: 'machine_learning', + minimum_index_version: '7.1.2', + upgrade_status: 'IN_PROGRESS', + indices: [ + { + index: '.ml-config', + version: '7.1.2', + }, + ], + }, + { + feature_name: 'kibana', + minimum_index_version: '7.1.3', + upgrade_status: 'UPGRADE_NEEDED', + indices: [ + { + index: '.kibana', + version: '7.1.3', + }, + ], + }, + { + feature_name: 'logstash', + minimum_index_version: '7.1.4', + upgrade_status: 'NO_UPGRADE_NEEDED', + indices: [ + { + index: '.logstash-config', + version: '7.1.4', + }, + ], + }, + ], +}; diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/step_completion.test.ts b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/step_completion.test.ts new file mode 100644 index 0000000000000..c5173481d8dac --- /dev/null +++ b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/step_completion.test.ts @@ -0,0 +1,86 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { act } from 'react-dom/test-utils'; + +import { OverviewTestBed, setupOverviewPage } from '../overview.helpers'; +import { setupEnvironment, advanceTime } from '../../helpers'; +import { SYSTEM_INDICES_MIGRATION_POLL_INTERVAL_MS } from '../../../../common/constants'; + +describe('Overview - Migrate system indices - Step completion', () => { + let testBed: OverviewTestBed; + const { server, httpRequestsMockHelpers } = setupEnvironment(); + + afterAll(() => { + server.restore(); + }); + + test(`It's complete when no upgrade is needed`, async () => { + httpRequestsMockHelpers.setLoadSystemIndicesMigrationStatus({ + upgrade_status: 'NO_UPGRADE_NEEDED', + }); + + await act(async () => { + testBed = await setupOverviewPage(); + }); + + const { exists, component } = testBed; + + component.update(); + + expect(exists(`migrateSystemIndicesStep-complete`)).toBe(true); + }); + + test(`It's incomplete when migration is needed`, async () => { + httpRequestsMockHelpers.setLoadSystemIndicesMigrationStatus({ + upgrade_status: 'UPGRADE_NEEDED', + }); + + await act(async () => { + testBed = await setupOverviewPage(); + }); + + const { exists, component } = testBed; + + component.update(); + + expect(exists(`migrateSystemIndicesStep-incomplete`)).toBe(true); + }); + + describe('Poll for new status', () => { + beforeEach(async () => { + jest.useFakeTimers(); + + // First request should make the step be incomplete + httpRequestsMockHelpers.setLoadSystemIndicesMigrationStatus({ + upgrade_status: 'IN_PROGRESS', + }); + + testBed = await setupOverviewPage(); + }); + + afterEach(() => { + jest.useRealTimers(); + }); + + test('renders step as complete when a upgraded needed status is followed by a no upgrade needed', async () => { + const { exists } = testBed; + + expect(exists('migrateSystemIndicesStep-incomplete')).toBe(true); + + httpRequestsMockHelpers.setLoadSystemIndicesMigrationStatus({ + upgrade_status: 'NO_UPGRADE_NEEDED', + }); + + // Resolve the polling timeout. + await advanceTime(SYSTEM_INDICES_MIGRATION_POLL_INTERVAL_MS); + testBed.component.update(); + + expect(exists('migrateSystemIndicesStep-complete')).toBe(true); + }); + }); +}); diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/overview.helpers.ts b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/overview.helpers.ts index 1457af010af5b..242d6893d1518 100644 --- a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/overview.helpers.ts +++ b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/overview.helpers.ts @@ -57,10 +57,32 @@ const createActions = (testBed: TestBed) => { component.update(); }; + const clickViewSystemIndicesState = async () => { + const { find, component } = testBed; + + await act(async () => { + find('viewSystemIndicesStateButton').simulate('click'); + }); + + component.update(); + }; + + const clickRetrySystemIndicesButton = async () => { + const { find, component } = testBed; + + await act(async () => { + find('systemIndicesStatusRetryButton').simulate('click'); + }); + + component.update(); + }; + return { clickDeprecationToggle, clickRetryButton, clickResetButton, + clickViewSystemIndicesState, + clickRetrySystemIndicesButton, }; }; diff --git a/x-pack/plugins/upgrade_assistant/common/constants.ts b/x-pack/plugins/upgrade_assistant/common/constants.ts index 629e7a725efaa..b97835b0617dd 100644 --- a/x-pack/plugins/upgrade_assistant/common/constants.ts +++ b/x-pack/plugins/upgrade_assistant/common/constants.ts @@ -40,3 +40,4 @@ export const DEPRECATION_LOGS_INDEX_PATTERN = '.logs-deprecation.elasticsearch-d export const CLOUD_BACKUP_STATUS_POLL_INTERVAL_MS = 60000; export const DEPRECATION_LOGS_COUNT_POLL_INTERVAL_MS = 15000; +export const SYSTEM_INDICES_MIGRATION_POLL_INTERVAL_MS = 15000; diff --git a/x-pack/plugins/upgrade_assistant/common/types.ts b/x-pack/plugins/upgrade_assistant/common/types.ts index e9e83010458d8..3a7583bc50219 100644 --- a/x-pack/plugins/upgrade_assistant/common/types.ts +++ b/x-pack/plugins/upgrade_assistant/common/types.ts @@ -254,8 +254,8 @@ export interface DeprecationLoggingStatus { isDeprecationLoggingEnabled: boolean; } -export type UPGRADE_STATUS = 'UPGRADE_NEEDED' | 'NO_UPGRADE_NEEDED' | 'IN_PROGRESS'; -export interface SystemIndicesUpgradeFeature { +export type UPGRADE_STATUS = 'UPGRADE_NEEDED' | 'NO_UPGRADE_NEEDED' | 'IN_PROGRESS' | 'ERROR'; +export interface SystemIndicesMigrationFeature { id?: string; feature_name: string; minimum_index_version: string; @@ -265,7 +265,11 @@ export interface SystemIndicesUpgradeFeature { version: string; }>; } -export interface SystemIndicesUpgradeStatus { - features: SystemIndicesUpgradeFeature[]; +export interface SystemIndicesMigrationStatus { + features: SystemIndicesMigrationFeature[]; upgrade_status: UPGRADE_STATUS; } +export interface SystemIndicesMigrationStarted { + features: SystemIndicesMigrationFeature[]; + accepted: boolean; +} diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/flyout.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/flyout.tsx new file mode 100644 index 0000000000000..612fcdc2e4c03 --- /dev/null +++ b/x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/flyout.tsx @@ -0,0 +1,193 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { startCase } from 'lodash'; +import { i18n } from '@kbn/i18n'; + +import { + EuiButtonEmpty, + EuiFlexGroup, + EuiFlexItem, + EuiFlyoutBody, + EuiFlyoutFooter, + EuiFlyoutHeader, + EuiLoadingSpinner, + EuiTitle, + EuiText, + EuiIcon, + EuiSpacer, + EuiInMemoryTable, +} from '@elastic/eui'; + +import { + SystemIndicesMigrationStatus, + SystemIndicesMigrationFeature, + UPGRADE_STATUS, +} from '../../../../../common/types'; + +export interface SystemIndicesFlyoutProps { + closeFlyout: () => void; + data: SystemIndicesMigrationStatus; + nextMajor: number; +} + +const i18nTexts = { + closeButtonLabel: i18n.translate( + 'xpack.upgradeAssistant.overview.systemIndices.flyoutCloseButtonLabel', + { + defaultMessage: 'Close', + } + ), + flyoutTitle: i18n.translate('xpack.upgradeAssistant.overview.systemIndices.flyoutTitle', { + defaultMessage: 'Migrate system indices', + }), + flyoutDescription: (nextMajor: number) => + i18n.translate('xpack.upgradeAssistant.overview.systemIndices.flyoutDescription', { + defaultMessage: + 'Migrate the indices that store information for the following features before you upgrade to {nextMajor}.0.', + values: { nextMajor }, + }), + migrationCompleteLabel: i18n.translate( + 'xpack.upgradeAssistant.overview.systemIndices.migrationCompleteLabel', + { + defaultMessage: 'Migration complete', + } + ), + needsMigrationLabel: i18n.translate( + 'xpack.upgradeAssistant.overview.systemIndices.needsMigrationLabel', + { + defaultMessage: 'Migration required', + } + ), + migratingLabel: i18n.translate('xpack.upgradeAssistant.overview.systemIndices.migratingLabel', { + defaultMessage: 'Migration in progress', + }), + errorLabel: i18n.translate('xpack.upgradeAssistant.overview.systemIndices.errorLabel', { + defaultMessage: 'Migration failed', + }), + featureNameTableColumn: i18n.translate( + 'xpack.upgradeAssistant.overview.systemIndices.featureNameTableColumn', + { + defaultMessage: 'Feature', + } + ), + statusTableColumn: i18n.translate( + 'xpack.upgradeAssistant.overview.systemIndices.statusTableColumn', + { + defaultMessage: 'Status', + } + ), +}; + +const renderMigrationStatus = (status: UPGRADE_STATUS) => { + if (status === 'NO_UPGRADE_NEEDED') { + return ( + + + + + + +

{i18nTexts.migrationCompleteLabel}

+
+
+
+ ); + } + + if (status === 'UPGRADE_NEEDED') { + return ( + +

{i18nTexts.needsMigrationLabel}

+
+ ); + } + + if (status === 'IN_PROGRESS') { + return ( + + + + + + +

{i18nTexts.migratingLabel}

+
+
+
+ ); + } + + if (status === 'ERROR') { + return ( + + + + + + +

{i18nTexts.errorLabel}

+
+
+
+ ); + } + + return ''; +}; + +const columns = [ + { + field: 'feature_name', + name: i18nTexts.featureNameTableColumn, + sortable: true, + truncateText: true, + render: (name: string) => startCase(name), + }, + { + field: 'upgrade_status', + name: i18nTexts.statusTableColumn, + sortable: true, + render: renderMigrationStatus, + }, +]; + +export const SystemIndicesFlyout = ({ closeFlyout, data, nextMajor }: SystemIndicesFlyoutProps) => { + return ( + <> + + +

{i18nTexts.flyoutTitle}

+
+
+ + +

{i18nTexts.flyoutDescription(nextMajor)}

+
+ + + data-test-subj="featuresTable" + itemId="feature_name" + items={data.features} + columns={columns} + pagination={true} + sorting={true} + /> +
+ + + + + {i18nTexts.closeButtonLabel} + + + + + + ); +}; diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/index.ts b/x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/index.ts new file mode 100644 index 0000000000000..0be86929f2a43 --- /dev/null +++ b/x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/index.ts @@ -0,0 +1,8 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export { getMigrateSystemIndicesStep } from './migrate_system_indices'; diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/migrate_system_indices.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/migrate_system_indices.tsx new file mode 100644 index 0000000000000..ab370c99bfc58 --- /dev/null +++ b/x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/migrate_system_indices.tsx @@ -0,0 +1,197 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { FunctionComponent, useEffect } from 'react'; + +import { i18n } from '@kbn/i18n'; +import { FormattedMessage } from '@kbn/i18n/react'; +import { + EuiText, + EuiButton, + EuiSpacer, + EuiIcon, + EuiButtonEmpty, + EuiCallOut, + EuiFlexGroup, + EuiFlexItem, +} from '@elastic/eui'; +import type { EuiStepProps } from '@elastic/eui/src/components/steps/step'; + +import type { OverviewStepProps } from '../../types'; +import { useMigrateSystemIndices } from './use_migrate_system_indices'; + +interface Props { + setIsComplete: OverviewStepProps['setIsComplete']; +} + +interface StepProps extends OverviewStepProps { + nextMajor: number; +} + +const i18nTexts = { + title: i18n.translate('xpack.upgradeAssistant.overview.systemIndices.title', { + defaultMessage: 'Migrate system indices', + }), + bodyDescription: (nextMajor: number) => ( + + ), + startButtonLabel: i18n.translate( + 'xpack.upgradeAssistant.overview.systemIndices.startButtonLabel', + { + defaultMessage: 'Migrate indices', + } + ), + inProgressButtonLabel: i18n.translate( + 'xpack.upgradeAssistant.overview.systemIndices.inProgressButtonLabel', + { + defaultMessage: 'Migration in progress', + } + ), + noMigrationNeeded: i18n.translate( + 'xpack.upgradeAssistant.overview.systemIndices.noMigrationNeeded', + { + defaultMessage: 'Migration complete', + } + ), + viewSystemIndicesStatus: i18n.translate( + 'xpack.upgradeAssistant.overview.systemIndices.viewSystemIndicesStatus', + { + defaultMessage: 'View migration information', + } + ), + retryButtonLabel: i18n.translate( + 'xpack.upgradeAssistant.overview.systemIndices.retryButtonLabel', + { + defaultMessage: 'Retry migration', + } + ), + loadingError: i18n.translate('xpack.upgradeAssistant.overview.systemIndices.loadingError', { + defaultMessage: 'Could not retrieve the system indices status', + }), +}; + +const MigrateSystemIndicesStep: FunctionComponent = ({ setIsComplete }) => { + const { beginSystemIndicesMigration, startMigrationStatus, migrationStatus, setShowFlyout } = + useMigrateSystemIndices(); + + useEffect(() => { + setIsComplete(migrationStatus.data?.upgrade_status === 'NO_UPGRADE_NEEDED'); + // Depending upon setIsComplete would create an infinite loop. + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [migrationStatus.data?.upgrade_status]); + + if (migrationStatus.error) { + return ( + +

+ {migrationStatus.error.statusCode} - {migrationStatus.error.message} +

+ + {i18nTexts.retryButtonLabel} + +
+ ); + } + + if (migrationStatus.data?.upgrade_status === 'NO_UPGRADE_NEEDED') { + return ( + + + + + + +

{i18nTexts.noMigrationNeeded}

+
+
+
+ ); + } + + const isButtonDisabled = migrationStatus.isInitialRequest && migrationStatus.isLoading; + const isMigrating = migrationStatus.data?.upgrade_status === 'IN_PROGRESS'; + + return ( + <> + {startMigrationStatus.statusType === 'error' && ( + <> + + + + )} + + + + + {isMigrating ? i18nTexts.inProgressButtonLabel : i18nTexts.startButtonLabel} + + + + setShowFlyout(true)} + isDisabled={isButtonDisabled} + data-test-subj="viewSystemIndicesStateButton" + > + {i18nTexts.viewSystemIndicesStatus} + + + + + ); +}; + +export const getMigrateSystemIndicesStep = ({ + nextMajor, + isComplete, + setIsComplete, +}: StepProps): EuiStepProps => { + const status = isComplete ? 'complete' : 'incomplete'; + + return { + title: i18nTexts.title, + status, + 'data-test-subj': `migrateSystemIndicesStep-${status}`, + children: ( + <> + +

{i18nTexts.bodyDescription(nextMajor)}

+
+ + + + + + ), + }; +}; diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/use_migrate_system_indices.ts b/x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/use_migrate_system_indices.ts new file mode 100644 index 0000000000000..d6e9bd2a9d5ff --- /dev/null +++ b/x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/use_migrate_system_indices.ts @@ -0,0 +1,95 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { useCallback, useState, useEffect } from 'react'; +import useInterval from 'react-use/lib/useInterval'; + +import { SystemIndicesFlyout, SystemIndicesFlyoutProps } from './flyout'; +import { useAppContext } from '../../../app_context'; +import type { ResponseError } from '../../../lib/api'; +import { GlobalFlyout } from '../../../../shared_imports'; +import { SYSTEM_INDICES_MIGRATION_POLL_INTERVAL_MS } from '../../../../../common/constants'; + +const FLYOUT_ID = 'migrateSystemIndicesFlyout'; +const { useGlobalFlyout } = GlobalFlyout; + +export type StatusType = 'idle' | 'error' | 'started'; +interface MigrationStatus { + statusType: StatusType; + error?: ResponseError; +} + +export const useMigrateSystemIndices = () => { + const { + services: { api }, + kibanaVersionInfo: { nextMajor }, + } = useAppContext(); + + const [showFlyout, setShowFlyout] = useState(false); + + const [startMigrationStatus, setStartMigrationStatus] = useState({ + statusType: 'idle', + }); + + const { data, error, isLoading, resendRequest, isInitialRequest } = + api.useLoadSystemIndicesMigrationStatus(); + const isInProgress = data?.upgrade_status === 'IN_PROGRESS'; + + // We only want to poll for the status while the migration process is in progress. + useInterval(resendRequest, isInProgress ? SYSTEM_INDICES_MIGRATION_POLL_INTERVAL_MS : null); + + const { addContent: addContentToGlobalFlyout, removeContent: removeContentFromGlobalFlyout } = + useGlobalFlyout(); + + const closeFlyout = useCallback(() => { + setShowFlyout(false); + removeContentFromGlobalFlyout(FLYOUT_ID); + }, [removeContentFromGlobalFlyout]); + + useEffect(() => { + if (showFlyout) { + addContentToGlobalFlyout({ + id: FLYOUT_ID, + Component: SystemIndicesFlyout, + props: { + data: data!, + nextMajor, + closeFlyout, + }, + flyoutProps: { + onClose: closeFlyout, + }, + }); + } + }, [addContentToGlobalFlyout, data, showFlyout, closeFlyout, nextMajor]); + + const beginSystemIndicesMigration = useCallback(async () => { + const { error: startMigrationError } = await api.migrateSystemIndices(); + + setStartMigrationStatus({ + statusType: startMigrationError ? 'error' : 'started', + error: startMigrationError ?? undefined, + }); + + if (!startMigrationError) { + resendRequest(); + } + }, [api, resendRequest]); + + return { + setShowFlyout, + startMigrationStatus, + beginSystemIndicesMigration, + migrationStatus: { + data, + error, + isLoading, + resendRequest, + isInitialRequest, + }, + }; +}; diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/overview.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/overview/overview.tsx index 32e9c78f6d6ac..e382e3288bc68 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/overview/overview.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/overview/overview.tsx @@ -25,8 +25,9 @@ import { getBackupStep } from './backup_step'; import { getFixIssuesStep } from './fix_issues_step'; import { getFixLogsStep } from './fix_logs_step'; import { getUpgradeStep } from './upgrade_step'; +import { getMigrateSystemIndicesStep } from './migrate_system_indices'; -type OverviewStep = 'backup' | 'fix_issues' | 'fix_logs'; +type OverviewStep = 'backup' | 'migrate_system_indices' | 'fix_issues' | 'fix_logs'; export const Overview: FunctionComponent = () => { const { @@ -55,6 +56,7 @@ export const Overview: FunctionComponent = () => { const [completedStepsMap, setCompletedStepsMap] = useState({ backup: false, + migrate_system_indices: false, fix_issues: false, fix_logs: false, }); @@ -112,6 +114,11 @@ export const Overview: FunctionComponent = () => { isComplete: isStepComplete('backup'), setIsComplete: setCompletedStep.bind(null, 'backup'), }), + getMigrateSystemIndicesStep({ + nextMajor, + isComplete: isStepComplete('migrate_system_indices'), + setIsComplete: setCompletedStep.bind(null, 'migrate_system_indices'), + }), getFixIssuesStep({ nextMajor, isComplete: isStepComplete('fix_issues'), @@ -121,7 +128,7 @@ export const Overview: FunctionComponent = () => { isComplete: isStepComplete('fix_logs'), setIsComplete: setCompletedStep.bind(null, 'fix_logs'), }), - getUpgradeStep({ docLinks, nextMajor }), + getUpgradeStep({ nextMajor }), ]} /> diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/upgrade_step/upgrade_step.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/overview/upgrade_step/upgrade_step.tsx index 5acbf280e0b4e..4af4a345be89d 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/overview/upgrade_step/upgrade_step.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/overview/upgrade_step/upgrade_step.tsx @@ -17,7 +17,6 @@ import { } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import type { EuiStepProps } from '@elastic/eui/src/components/steps/step'; -import type { DocLinksStart } from 'src/core/public'; import { useAppContext } from '../../../app_context'; const i18nTexts = { @@ -48,9 +47,12 @@ const i18nTexts = { }), }; -const UpgradeStep = ({ docLinks }: { docLinks: DocLinksStart }) => { +const UpgradeStep = () => { const { plugins: { cloud }, + services: { + core: { docLinks }, + }, } = useAppContext(); const isCloudEnabled: boolean = Boolean(cloud?.isCloudEnabled); let callToAction; @@ -115,16 +117,11 @@ const UpgradeStep = ({ docLinks }: { docLinks: DocLinksStart }) => { ); }; -interface Props { - docLinks: DocLinksStart; - nextMajor: number; -} - -export const getUpgradeStep = ({ docLinks, nextMajor }: Props): EuiStepProps => { +export const getUpgradeStep = ({ nextMajor }: { nextMajor: number }): EuiStepProps => { return { title: i18nTexts.upgradeStepTitle(nextMajor), status: 'incomplete', 'data-test-subj': 'upgradeStep', - children: , + children: , }; }; diff --git a/x-pack/plugins/upgrade_assistant/public/application/lib/api.ts b/x-pack/plugins/upgrade_assistant/public/application/lib/api.ts index b701a5a5eff2c..24a45fa1018fe 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/lib/api.ts +++ b/x-pack/plugins/upgrade_assistant/public/application/lib/api.ts @@ -7,7 +7,11 @@ import { HttpSetup } from 'src/core/public'; -import { ESUpgradeStatus, CloudBackupStatus } from '../../../common/types'; +import { + ESUpgradeStatus, + CloudBackupStatus, + SystemIndicesMigrationStatus, +} from '../../../common/types'; import { API_BASE_PATH, DEPRECATION_LOGS_COUNT_POLL_INTERVAL_MS, @@ -58,6 +62,22 @@ export class ApiService { }); } + public useLoadSystemIndicesMigrationStatus() { + return this.useRequest({ + path: `${API_BASE_PATH}/system_indices_migration`, + method: 'get', + }); + } + + public async migrateSystemIndices() { + const result = await this.sendRequest({ + path: `${API_BASE_PATH}/system_indices_migration`, + method: 'post', + }); + + return result; + } + public useLoadEsDeprecations() { return this.useRequest({ path: `${API_BASE_PATH}/es_deprecations`, diff --git a/x-pack/plugins/upgrade_assistant/server/lib/es_deprecations_status.ts b/x-pack/plugins/upgrade_assistant/server/lib/es_deprecations_status.ts index 889e7b80b0b72..da953e466e87c 100644 --- a/x-pack/plugins/upgrade_assistant/server/lib/es_deprecations_status.ts +++ b/x-pack/plugins/upgrade_assistant/server/lib/es_deprecations_status.ts @@ -15,9 +15,9 @@ import { EnrichedDeprecationInfo, ESUpgradeStatus } from '../../common/types'; import { esIndicesStateCheck } from './es_indices_state_check'; import { - getESSystemIndicesUpgradeStatus, + getESSystemIndicesMigrationStatus, convertFeaturesToIndicesArray, -} from '../lib/es_system_indices_upgrade'; +} from '../lib/es_system_indices_migration'; export async function getESUpgradeStatus( dataClient: IScopedClusterClient @@ -26,7 +26,7 @@ export async function getESUpgradeStatus( const getCombinedDeprecations = async () => { const indices = await getCombinedIndexInfos(deprecations, dataClient); - const systemIndices = await getESSystemIndicesUpgradeStatus(dataClient.asCurrentUser); + const systemIndices = await getESSystemIndicesMigrationStatus(dataClient.asCurrentUser); const systemIndicesList = convertFeaturesToIndicesArray(systemIndices.features); return Object.keys(deprecations).reduce((combinedDeprecations, deprecationType) => { diff --git a/x-pack/plugins/upgrade_assistant/server/lib/es_system_indices_upgrade.test.ts b/x-pack/plugins/upgrade_assistant/server/lib/es_system_indices_migration.test.ts similarity index 89% rename from x-pack/plugins/upgrade_assistant/server/lib/es_system_indices_upgrade.test.ts rename to x-pack/plugins/upgrade_assistant/server/lib/es_system_indices_migration.test.ts index a4a6e1053702c..6f4ca5a341218 100644 --- a/x-pack/plugins/upgrade_assistant/server/lib/es_system_indices_upgrade.test.ts +++ b/x-pack/plugins/upgrade_assistant/server/lib/es_system_indices_migration.test.ts @@ -5,10 +5,10 @@ * 2.0. */ -import { convertFeaturesToIndicesArray } from './es_system_indices_upgrade'; -import { SystemIndicesUpgradeStatus } from '../../common/types'; +import { convertFeaturesToIndicesArray } from './es_system_indices_migration'; +import { SystemIndicesMigrationStatus } from '../../common/types'; -const esUpgradeSystemIndicesStatusMock: SystemIndicesUpgradeStatus = { +const esUpgradeSystemIndicesStatusMock: SystemIndicesMigrationStatus = { features: [ { feature_name: 'machine_learning', diff --git a/x-pack/plugins/upgrade_assistant/server/lib/es_system_indices_upgrade.ts b/x-pack/plugins/upgrade_assistant/server/lib/es_system_indices_migration.ts similarity index 57% rename from x-pack/plugins/upgrade_assistant/server/lib/es_system_indices_upgrade.ts rename to x-pack/plugins/upgrade_assistant/server/lib/es_system_indices_migration.ts index 32cea54a884e3..aa239de7dd008 100644 --- a/x-pack/plugins/upgrade_assistant/server/lib/es_system_indices_upgrade.ts +++ b/x-pack/plugins/upgrade_assistant/server/lib/es_system_indices_migration.ts @@ -7,10 +7,14 @@ import { flow, flatMap, map, flatten, uniq } from 'lodash/fp'; import { ElasticsearchClient } from 'src/core/server'; -import { SystemIndicesUpgradeStatus, SystemIndicesUpgradeFeature } from '../../common/types'; +import { + SystemIndicesMigrationStatus, + SystemIndicesMigrationFeature, + SystemIndicesMigrationStarted, +} from '../../common/types'; export const convertFeaturesToIndicesArray = ( - features: SystemIndicesUpgradeFeature[] + features: SystemIndicesMigrationFeature[] ): string[] => { return flow( // Map each feature into Indices[] @@ -24,13 +28,24 @@ export const convertFeaturesToIndicesArray = ( )(features); }; -export const getESSystemIndicesUpgradeStatus = async ( +export const getESSystemIndicesMigrationStatus = async ( client: ElasticsearchClient -): Promise => { +): Promise => { const { body } = await client.transport.request({ method: 'GET', path: '/_migration/system_features', }); - return body as SystemIndicesUpgradeStatus; + return body as SystemIndicesMigrationStatus; +}; + +export const startESSystemIndicesMigration = async ( + client: ElasticsearchClient +): Promise => { + const { body } = await client.transport.request({ + method: 'POST', + path: '/_migration/system_features', + }); + + return body as SystemIndicesMigrationStarted; }; diff --git a/x-pack/plugins/upgrade_assistant/server/routes/register_routes.ts b/x-pack/plugins/upgrade_assistant/server/routes/register_routes.ts index cc4be54042583..ec02e814b2a8d 100644 --- a/x-pack/plugins/upgrade_assistant/server/routes/register_routes.ts +++ b/x-pack/plugins/upgrade_assistant/server/routes/register_routes.ts @@ -9,6 +9,7 @@ import { RouteDependencies } from '../types'; import { registerAppRoutes } from './app'; import { registerCloudBackupStatusRoutes } from './cloud_backup_status'; +import { registerSystemIndicesMigrationRoutes } from './system_indices_migration'; import { registerESDeprecationRoutes } from './es_deprecations'; import { registerDeprecationLoggingRoutes } from './deprecation_logging'; import { registerReindexIndicesRoutes, registerBatchReindexIndicesRoutes } from './reindex_indices'; @@ -21,6 +22,7 @@ import { registerUpgradeStatusRoute } from './status'; export function registerRoutes(dependencies: RouteDependencies, getWorker: () => ReindexWorker) { registerAppRoutes(dependencies); registerCloudBackupStatusRoutes(dependencies); + registerSystemIndicesMigrationRoutes(dependencies); registerESDeprecationRoutes(dependencies); registerDeprecationLoggingRoutes(dependencies); registerReindexIndicesRoutes(dependencies, getWorker); diff --git a/x-pack/plugins/upgrade_assistant/server/routes/system_indices_migration.test.ts b/x-pack/plugins/upgrade_assistant/server/routes/system_indices_migration.test.ts new file mode 100644 index 0000000000000..2d15bed7e29e3 --- /dev/null +++ b/x-pack/plugins/upgrade_assistant/server/routes/system_indices_migration.test.ts @@ -0,0 +1,132 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { kibanaResponseFactory } from 'src/core/server'; +import { createMockRouter, MockRouter, routeHandlerContextMock } from './__mocks__/routes.mock'; +import { createRequestMock } from './__mocks__/request.mock'; +import { handleEsError } from '../shared_imports'; + +jest.mock('../lib/es_version_precheck', () => ({ + versionCheckHandlerWrapper: (a: any) => a, +})); + +import { registerSystemIndicesMigrationRoutes } from './system_indices_migration'; + +const mockedResponse = { + features: [ + { + feature_name: 'security', + minimum_index_version: '7.1.1', + upgrade_status: 'NO_UPGRADE_NEEDED', + indices: [ + { + index: '.security-7', + version: '7.1.1', + }, + ], + }, + ], + upgrade_status: 'UPGRADE_NEEDED', +}; + +/** + * Since these route callbacks are so thin, these serve simply as integration tests + * to ensure they're wired up to the lib functions correctly. + */ +describe('Migrate system indices API', () => { + let mockRouter: MockRouter; + let routeDependencies: any; + + beforeEach(() => { + mockRouter = createMockRouter(); + routeDependencies = { + router: mockRouter, + lib: { handleEsError }, + }; + registerSystemIndicesMigrationRoutes(routeDependencies); + }); + + afterEach(() => { + jest.resetAllMocks(); + }); + + describe('GET /api/upgrade_assistant/system_indices_migration', () => { + it('returns system indices migration status', async () => { + ( + routeHandlerContextMock.core.elasticsearch.client.asCurrentUser.transport + .request as jest.Mock + ).mockResolvedValue({ + body: mockedResponse, + }); + + const resp = await routeDependencies.router.getHandler({ + method: 'get', + pathPattern: '/api/upgrade_assistant/system_indices_migration', + })(routeHandlerContextMock, createRequestMock(), kibanaResponseFactory); + + expect(resp.status).toEqual(200); + expect( + routeHandlerContextMock.core.elasticsearch.client.asCurrentUser.transport.request + ).toHaveBeenCalledWith({ + method: 'GET', + path: '/_migration/system_features', + }); + expect(resp.payload).toEqual(mockedResponse); + }); + + it('returns an error if it throws', async () => { + ( + routeHandlerContextMock.core.elasticsearch.client.asCurrentUser.transport + .request as jest.Mock + ).mockRejectedValue(new Error('scary error!')); + await expect( + routeDependencies.router.getHandler({ + method: 'get', + pathPattern: '/api/upgrade_assistant/system_indices_migration', + })(routeHandlerContextMock, createRequestMock(), kibanaResponseFactory) + ).rejects.toThrow('scary error!'); + }); + }); + + describe('POST /api/upgrade_assistant/system_indices_migration', () => { + it('returns system indices migration status', async () => { + ( + routeHandlerContextMock.core.elasticsearch.client.asCurrentUser.transport + .request as jest.Mock + ).mockResolvedValue({ + body: mockedResponse, + }); + + const resp = await routeDependencies.router.getHandler({ + method: 'post', + pathPattern: '/api/upgrade_assistant/system_indices_migration', + })(routeHandlerContextMock, createRequestMock(), kibanaResponseFactory); + + expect(resp.status).toEqual(200); + expect( + routeHandlerContextMock.core.elasticsearch.client.asCurrentUser.transport.request + ).toHaveBeenCalledWith({ + method: 'POST', + path: '/_migration/system_features', + }); + expect(resp.payload).toEqual(mockedResponse); + }); + + it('returns an error if it throws', async () => { + ( + routeHandlerContextMock.core.elasticsearch.client.asCurrentUser.transport + .request as jest.Mock + ).mockRejectedValue(new Error('scary error!')); + await expect( + routeDependencies.router.getHandler({ + method: 'post', + pathPattern: '/api/upgrade_assistant/system_indices_migration', + })(routeHandlerContextMock, createRequestMock(), kibanaResponseFactory) + ).rejects.toThrow('scary error!'); + }); + }); +}); diff --git a/x-pack/plugins/upgrade_assistant/server/routes/system_indices_migration.ts b/x-pack/plugins/upgrade_assistant/server/routes/system_indices_migration.ts new file mode 100644 index 0000000000000..dbb0cca7502bb --- /dev/null +++ b/x-pack/plugins/upgrade_assistant/server/routes/system_indices_migration.ts @@ -0,0 +1,71 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { API_BASE_PATH } from '../../common/constants'; +import { versionCheckHandlerWrapper } from '../lib/es_version_precheck'; +import { RouteDependencies } from '../types'; +import { + getESSystemIndicesMigrationStatus, + startESSystemIndicesMigration, +} from '../lib/es_system_indices_migration'; + +export function registerSystemIndicesMigrationRoutes({ + router, + lib: { handleEsError }, +}: RouteDependencies) { + // GET status of the system indices migration + router.get( + { path: `${API_BASE_PATH}/system_indices_migration`, validate: false }, + versionCheckHandlerWrapper( + async ( + { + core: { + elasticsearch: { client }, + }, + }, + request, + response + ) => { + try { + const status = await getESSystemIndicesMigrationStatus(client.asCurrentUser); + + return response.ok({ + body: status, + }); + } catch (error) { + return handleEsError({ error, response }); + } + } + ) + ); + + // POST starts the system indices migration + router.post( + { path: `${API_BASE_PATH}/system_indices_migration`, validate: false }, + versionCheckHandlerWrapper( + async ( + { + core: { + elasticsearch: { client }, + }, + }, + request, + response + ) => { + try { + const status = await startESSystemIndicesMigration(client.asCurrentUser); + + return response.ok({ + body: status, + }); + } catch (error) { + return handleEsError({ error, response }); + } + } + ) + ); +} From 5c4f910894a18ecdc769c535336f91796bf0c3a8 Mon Sep 17 00:00:00 2001 From: Rudolf Meijering Date: Tue, 12 Oct 2021 13:09:43 +0200 Subject: [PATCH 051/107] Wait for a yellow source before starting reindex (#113382) (#114597) # Conflicts: # src/core/server/saved_objects/migrationsv2/actions/integration_tests/actions.test.ts --- .../actions/integration_tests/actions.test.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/core/server/saved_objects/migrationsv2/actions/integration_tests/actions.test.ts b/src/core/server/saved_objects/migrationsv2/actions/integration_tests/actions.test.ts index 32d12e13434aa..a8c2200a0232a 100644 --- a/src/core/server/saved_objects/migrationsv2/actions/integration_tests/actions.test.ts +++ b/src/core/server/saved_objects/migrationsv2/actions/integration_tests/actions.test.ts @@ -803,8 +803,12 @@ describe('migration actions', () => { `); }); - // FLAKY https://github.com/elastic/kibana/issues/113012 - it.skip('resolves left wait_for_task_completion_timeout when the task does not finish within the timeout', async () => { + it('resolves left wait_for_task_completion_timeout when the task does not finish within the timeout', async () => { + await waitForIndexStatusYellow({ + client, + index: '.kibana_1', + })(); + const res = (await reindex({ client, sourceIndex: 'existing_index_with_docs', From 607d776f4c64ff585f9c817559dceb8af5372acb Mon Sep 17 00:00:00 2001 From: Tiago Costa Date: Tue, 12 Oct 2021 12:47:43 +0100 Subject: [PATCH 052/107] skip flaky suite (#114396) --- .../public/components/common/uptime_date_picker.test.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/plugins/uptime/public/components/common/uptime_date_picker.test.tsx b/x-pack/plugins/uptime/public/components/common/uptime_date_picker.test.tsx index 997831442faa2..cd122eb5d5fc5 100644 --- a/x-pack/plugins/uptime/public/components/common/uptime_date_picker.test.tsx +++ b/x-pack/plugins/uptime/public/components/common/uptime_date_picker.test.tsx @@ -12,7 +12,8 @@ import { createMemoryHistory } from 'history'; import { render } from '../../lib/helper/rtl_helpers'; import { fireEvent } from '@testing-library/dom'; -describe('UptimeDatePicker component', () => { +// FLAKY: https://github.com/elastic/kibana/issues/114396 +describe.skip('UptimeDatePicker component', () => { it('renders properly with mock data', async () => { const { findByText } = render(); expect(await findByText('Last 15 minutes')).toBeInTheDocument(); From 7bdfcf1afc29cf35f1d408063d7422bac8166f7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yulia=20=C4=8Cech?= <6585477+yuliacech@users.noreply.github.com> Date: Tue, 12 Oct 2021 13:50:36 +0200 Subject: [PATCH 053/107] [Upgrade Assistant] Reindexing progress (#114275) * [Upgrade Assistant] Added reindexing progress in % to the reindex flyout and es deprecations table * [Upgrade Assistant] Renamed first argument in `getReindexProgressLabel` to `reindexTaskPercComplete` for consistency Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../reindex_deprecation_flyout.test.ts | 107 +++++++++++++++ .../checklist_step.test.tsx.snap | 11 -- .../reindex/flyout/checklist_step.tsx | 9 -- .../reindex/flyout/progress.test.tsx | 125 +++++++++--------- .../reindex/flyout/progress.tsx | 98 ++++++++------ .../reindex/resolution_table_cell.tsx | 9 +- .../reindex/use_reindex_state.tsx | 4 +- .../public/application/lib/utils.test.ts | 33 ++++- .../public/application/lib/utils.ts | 48 +++++++ 9 files changed, 321 insertions(+), 123 deletions(-) diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/reindex_deprecation_flyout.test.ts b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/reindex_deprecation_flyout.test.ts index ca9253c1140b0..3c6fe0e5f5329 100644 --- a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/reindex_deprecation_flyout.test.ts +++ b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/reindex_deprecation_flyout.test.ts @@ -10,6 +10,7 @@ import { act } from 'react-dom/test-utils'; import { setupEnvironment } from '../helpers'; import { ElasticsearchTestBed, setupElasticsearchPage } from './es_deprecations.helpers'; import { esDeprecationsMockResponse, MOCK_SNAPSHOT_ID, MOCK_JOB_ID } from './mocked_responses'; +import { ReindexStatus, ReindexStep } from '../../../common/types'; // Note: The reindexing flyout UX is subject to change; more tests should be added here once functionality is built out describe('Reindex deprecation flyout', () => { @@ -93,4 +94,110 @@ describe('Reindex deprecation flyout', () => { expect(exists('reindexDetails.fetchFailedCallout')).toBe(true); }); + + describe('reindexing progress', () => { + it('has not started yet', async () => { + const { actions, find, exists } = testBed; + + await actions.table.clickDeprecationRowAt('reindex', 0); + expect(find('reindexChecklistTitle').text()).toEqual('Reindexing process'); + expect(exists('cancelReindexingDocumentsButton')).toBe(false); + }); + + it('has started but not yet reindexing documents', async () => { + httpRequestsMockHelpers.setReindexStatusResponse({ + reindexOp: { + status: ReindexStatus.inProgress, + lastCompletedStep: ReindexStep.readonly, + reindexTaskPercComplete: null, + }, + warnings: [], + hasRequiredPrivileges: true, + }); + + await act(async () => { + testBed = await setupElasticsearchPage({ isReadOnlyMode: false }); + }); + + testBed.component.update(); + const { actions, find, exists } = testBed; + + await actions.table.clickDeprecationRowAt('reindex', 0); + + expect(find('reindexChecklistTitle').text()).toEqual('Reindexing in progress… 5%'); + expect(exists('cancelReindexingDocumentsButton')).toBe(false); + }); + + it('has started reindexing documents', async () => { + httpRequestsMockHelpers.setReindexStatusResponse({ + reindexOp: { + status: ReindexStatus.inProgress, + lastCompletedStep: ReindexStep.reindexStarted, + reindexTaskPercComplete: 0.25, + }, + warnings: [], + hasRequiredPrivileges: true, + }); + + await act(async () => { + testBed = await setupElasticsearchPage({ isReadOnlyMode: false }); + }); + + testBed.component.update(); + const { actions, find, exists } = testBed; + + await actions.table.clickDeprecationRowAt('reindex', 0); + + expect(find('reindexChecklistTitle').text()).toEqual('Reindexing in progress… 31%'); + expect(exists('cancelReindexingDocumentsButton')).toBe(true); + }); + + it('has completed reindexing documents', async () => { + httpRequestsMockHelpers.setReindexStatusResponse({ + reindexOp: { + status: ReindexStatus.inProgress, + lastCompletedStep: ReindexStep.reindexCompleted, + reindexTaskPercComplete: 1, + }, + warnings: [], + hasRequiredPrivileges: true, + }); + + await act(async () => { + testBed = await setupElasticsearchPage({ isReadOnlyMode: false }); + }); + + testBed.component.update(); + const { actions, find, exists } = testBed; + + await actions.table.clickDeprecationRowAt('reindex', 0); + + expect(find('reindexChecklistTitle').text()).toEqual('Reindexing in progress… 95%'); + expect(exists('cancelReindexingDocumentsButton')).toBe(false); + }); + + it('has completed', async () => { + httpRequestsMockHelpers.setReindexStatusResponse({ + reindexOp: { + status: ReindexStatus.completed, + lastCompletedStep: ReindexStep.aliasCreated, + reindexTaskPercComplete: 1, + }, + warnings: [], + hasRequiredPrivileges: true, + }); + + await act(async () => { + testBed = await setupElasticsearchPage({ isReadOnlyMode: false }); + }); + + testBed.component.update(); + const { actions, find, exists } = testBed; + + await actions.table.clickDeprecationRowAt('reindex', 0); + + expect(find('reindexChecklistTitle').text()).toEqual('Reindexing process'); + expect(exists('cancelReindexingDocumentsButton')).toBe(false); + }); + }); }); diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/__snapshots__/checklist_step.test.tsx.snap b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/__snapshots__/checklist_step.test.tsx.snap index 26119c2b62040..be84bbf143ab3 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/__snapshots__/checklist_step.test.tsx.snap +++ b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/__snapshots__/checklist_step.test.tsx.snap @@ -30,17 +30,6 @@ exports[`ChecklistFlyout renders 1`] = `

- -

- -

-
- -

- -

-
diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/progress.test.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/progress.test.tsx index c58230b3563f3..ad1c7d8e94105 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/progress.test.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/progress.test.tsx @@ -29,45 +29,69 @@ describe('ReindexProgress', () => { ); expect(wrapper).toMatchInlineSnapshot(` -, - }, - Object { - "status": "incomplete", - "title": , - }, - Object { - "status": "incomplete", - "title": , - }, - Object { - "status": "incomplete", - "title": , - }, - ] - } -/> -`); + + +

+ +

+
+ , + }, + Object { + "status": "incomplete", + "title": , + }, + Object { + "status": "incomplete", + "title": + + + + , + }, + Object { + "status": "incomplete", + "title": , + }, + ] + } + /> +
+ `); }); it('displays errors in the step that failed', () => { @@ -84,30 +108,9 @@ describe('ReindexProgress', () => { cancelReindex={jest.fn()} /> ); - - const aliasStep = wrapper.props().steps[3]; + const aliasStep = (wrapper.find('StepProgress').props() as any).steps[3]; expect(aliasStep.children.props.errorMessage).toEqual( `This is an error that happened on alias switch` ); }); - - it('shows reindexing document progress bar', () => { - const wrapper = shallow( - - ); - - const reindexStep = wrapper.props().steps[2]; - expect(reindexStep.children.type.name).toEqual('ReindexProgressBar'); - expect(reindexStep.children.props.reindexState.reindexTaskPercComplete).toEqual(0.25); - }); }); diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/progress.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/progress.tsx index 7a2c9943691a3..afeac303284f1 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/progress.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/progress.tsx @@ -12,8 +12,8 @@ import { EuiCallOut, EuiFlexGroup, EuiFlexItem, - EuiProgress, EuiText, + EuiTitle, } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n/react'; @@ -21,6 +21,7 @@ import { ReindexStatus, ReindexStep } from '../../../../../../../common/types'; import { LoadingState } from '../../../../types'; import type { ReindexState } from '../use_reindex_state'; import { StepProgress, StepProgressStep } from './step_progress'; +import { getReindexProgressLabel } from '../../../../../lib/utils'; const ErrorCallout: React.FunctionComponent<{ errorMessage: string | null }> = ({ errorMessage, @@ -39,19 +40,10 @@ const PausedCallout = () => ( /> ); -const ReindexProgressBar: React.FunctionComponent<{ +const CancelReindexingDocumentsButton: React.FunctionComponent<{ reindexState: ReindexState; cancelReindex: () => void; -}> = ({ - reindexState: { lastCompletedStep, status, reindexTaskPercComplete, cancelLoadingState }, - cancelReindex, -}) => { - const progressBar = reindexTaskPercComplete ? ( - - ) : ( - - ); - +}> = ({ reindexState: { lastCompletedStep, status, cancelLoadingState }, cancelReindex }) => { let cancelText: React.ReactNode; switch (cancelLoadingState) { case LoadingState.Loading: @@ -71,7 +63,6 @@ const ReindexProgressBar: React.FunctionComponent<{ ); break; case LoadingState.Error: - cancelText = 'Could not cancel'; cancelText = ( - {progressBar} - - - {cancelText} - - - + + {cancelText} + ); }; @@ -118,7 +105,12 @@ export const ReindexProgress: React.FunctionComponent<{ reindexState: ReindexState; cancelReindex: () => void; }> = (props) => { - const { errorMessage, lastCompletedStep = -1, status } = props.reindexState; + const { + errorMessage, + lastCompletedStep = -1, + status, + reindexTaskPercComplete, + } = props.reindexState; const stepDetails = (thisStep: ReindexStep): Pick => { const previousStep = orderedSteps[orderedSteps.indexOf(thisStep) - 1]; @@ -151,14 +143,23 @@ export const ReindexProgress: React.FunctionComponent<{ } }; - // The reindexing step is special because it combines the starting and complete statuses into a single UI - // with a progress bar. + // The reindexing step is special because it generally lasts longer and can be cancelled mid-flight const reindexingDocsStep = { title: ( - + + + + + {(lastCompletedStep === ReindexStep.newIndexCreated || + lastCompletedStep === ReindexStep.reindexStarted) && ( + + + + )} + ), } as StepProgressStep; @@ -189,7 +190,6 @@ export const ReindexProgress: React.FunctionComponent<{ lastCompletedStep === ReindexStep.reindexStarted ) { reindexingDocsStep.status = 'inProgress'; - reindexingDocsStep.children = ; } else { reindexingDocsStep.status = 'complete'; } @@ -225,5 +225,27 @@ export const ReindexProgress: React.FunctionComponent<{ }, ]; - return ; + return ( + <> + +

+ {status === ReindexStatus.inProgress ? ( + + ) : ( + + )} +

+
+ + + ); }; diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/resolution_table_cell.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/resolution_table_cell.tsx index ff2f01befb180..84c6c16d4032a 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/resolution_table_cell.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/resolution_table_cell.tsx @@ -17,6 +17,7 @@ import { EuiToolTip, } from '@elastic/eui'; import { ReindexStatus } from '../../../../../../common/types'; +import { getReindexProgressLabel } from '../../../../lib/utils'; import { LoadingState } from '../../../types'; import { useReindexContext } from './context'; @@ -99,7 +100,13 @@ export const ReindexResolutionCell: React.FunctionComponent = () => { - {i18nTexts.reindexInProgressText} + + {i18nTexts.reindexInProgressText}{' '} + {getReindexProgressLabel( + reindexState.reindexTaskPercComplete, + reindexState.lastCompletedStep + )} + ); diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/use_reindex_state.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/use_reindex_state.tsx index 32a6c75ff6eec..cbeebd00f2bb8 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/use_reindex_state.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/use_reindex_state.tsx @@ -127,7 +127,7 @@ export const useReindexStatus = ({ indexName, api }: { indexName: string; api: A api.sendReindexTelemetryData({ start: true }); - const { data, error } = await api.startReindexTask(indexName); + const { data: reindexOp, error } = await api.startReindexTask(indexName); if (error) { setReindexState({ @@ -139,7 +139,7 @@ export const useReindexStatus = ({ indexName, api }: { indexName: string; api: A return; } - setReindexState(getReindexState(reindexState, data)); + setReindexState(getReindexState(reindexState, { reindexOp })); updateStatus(); }, [api, indexName, reindexState, updateStatus]); diff --git a/x-pack/plugins/upgrade_assistant/public/application/lib/utils.test.ts b/x-pack/plugins/upgrade_assistant/public/application/lib/utils.test.ts index 83fc9cabbbecc..37392c832ecf5 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/lib/utils.test.ts +++ b/x-pack/plugins/upgrade_assistant/public/application/lib/utils.test.ts @@ -6,7 +6,8 @@ */ import { DEPRECATION_WARNING_UPPER_LIMIT } from '../../../common/constants'; -import { validateRegExpString, getDeprecationsUpperLimit } from './utils'; +import { getDeprecationsUpperLimit, getReindexProgressLabel, validateRegExpString } from './utils'; +import { ReindexStep } from '../../../common/types'; describe('validRegExpString', () => { it('correctly returns false for invalid strings', () => { @@ -35,3 +36,33 @@ describe('getDeprecationsUpperLimit', () => { ); }); }); + +describe('getReindexProgressLabel', () => { + it('returns 0% when the reindex task has just been created', () => { + expect(getReindexProgressLabel(null, ReindexStep.created)).toBe('0%'); + }); + + it('returns 5% when the index has been made read-only', () => { + expect(getReindexProgressLabel(null, ReindexStep.readonly)).toBe('5%'); + }); + + it('returns 10% when the reindexing documents has started, but the progress is null', () => { + expect(getReindexProgressLabel(null, ReindexStep.reindexStarted)).toBe('10%'); + }); + + it('returns 10% when the reindexing documents has started, but the progress is 0', () => { + expect(getReindexProgressLabel(0, ReindexStep.reindexStarted)).toBe('10%'); + }); + + it('returns 53% when the reindexing documents progress is 0.5', () => { + expect(getReindexProgressLabel(0.5, ReindexStep.reindexStarted)).toBe('53%'); + }); + + it('returns 95% when the reindexing documents progress is 1', () => { + expect(getReindexProgressLabel(1, ReindexStep.reindexStarted)).toBe('95%'); + }); + + it('returns 100% when alias has been switched', () => { + expect(getReindexProgressLabel(null, ReindexStep.aliasCreated)).toBe('100%'); + }); +}); diff --git a/x-pack/plugins/upgrade_assistant/public/application/lib/utils.ts b/x-pack/plugins/upgrade_assistant/public/application/lib/utils.ts index b90038e1166ab..bdbc0949e368b 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/lib/utils.ts +++ b/x-pack/plugins/upgrade_assistant/public/application/lib/utils.ts @@ -9,6 +9,7 @@ import { pipe } from 'fp-ts/lib/pipeable'; import { tryCatch, fold } from 'fp-ts/lib/Either'; import { DEPRECATION_WARNING_UPPER_LIMIT } from '../../../common/constants'; +import { ReindexStep } from '../../../common/types'; export const validateRegExpString = (s: string) => pipe( @@ -34,3 +35,50 @@ export const getDeprecationsUpperLimit = (count: number) => { return count.toString(); }; + +/* + * Reindexing task consists of 4 steps: making the index read-only, creating a new index, + * reindexing documents into the new index and switching alias from the old to the new index. + * Steps 1, 2 and 4 each contribute 5% to the overall progress. + * Step 3 (reindexing documents) can take a long time for large indices and its progress is calculated + * between 10% and 95% of the overall progress depending on its completeness percentage. + */ +export const getReindexProgressLabel = ( + reindexTaskPercComplete: number | null, + lastCompletedStep: ReindexStep | undefined +): string => { + let percentsComplete = 0; + switch (lastCompletedStep) { + case ReindexStep.created: + // the reindex task has just started, 0% progress + percentsComplete = 0; + break; + case ReindexStep.readonly: { + // step 1 completed, 5% progress + percentsComplete = 5; + break; + } + case ReindexStep.newIndexCreated: { + // step 2 completed, 10% progress + percentsComplete = 10; + break; + } + case ReindexStep.reindexStarted: { + // step 3 started, 10-95% progress depending on progress of reindexing documents in ES + percentsComplete = + reindexTaskPercComplete !== null ? 10 + Math.round(reindexTaskPercComplete * 85) : 10; + break; + } + case ReindexStep.reindexCompleted: { + // step 3 completed, only step 4 remaining, 95% progress + percentsComplete = 95; + break; + } + case ReindexStep.aliasCreated: { + // step 4 completed, 100% progress + percentsComplete = 100; + break; + } + } + return `${percentsComplete}%`; +}; From 0f15cce0cc14ff791d4e8154989ac8c3ab11c604 Mon Sep 17 00:00:00 2001 From: Jean-Louis Leysens Date: Tue, 12 Oct 2021 13:51:50 +0200 Subject: [PATCH 054/107] [Discover/Reporting] Fix potential time drift with relative time when requesting a report (#114274) (#114602) * updated Discover getSharingData to accept flag for absolute time * update snapshots * simplify fallback title * more appropriate title? * remove old translations * implement PR feedback Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../components/top_nav/get_top_nav_links.ts | 4 +-- .../apps/main/utils/get_sharing_data.test.ts | 36 +++---------------- .../apps/main/utils/get_sharing_data.ts | 16 ++++++--- .../panel_actions/get_csv_panel_action.tsx | 4 +-- .../register_csv_reporting.tsx | 13 +++++-- .../reporting_panel_content.tsx | 4 +-- .../translations/translations/ja-JP.json | 1 - .../translations/translations/zh-CN.json | 1 - 8 files changed, 32 insertions(+), 47 deletions(-) diff --git a/src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts b/src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts index ba4cd8c3cd524..81be662470306 100644 --- a/src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts +++ b/src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts @@ -7,7 +7,6 @@ */ import { i18n } from '@kbn/i18n'; -import moment from 'moment'; import type { IndexPattern, ISearchSource } from 'src/plugins/data/common'; import { showOpenSearchPanel } from './show_open_search_panel'; import { getSharingData, showPublicUrlSwitch } from '../../utils/get_sharing_data'; @@ -128,8 +127,7 @@ export const getTopNavLinks = ({ title: savedSearch.title || i18n.translate('discover.localMenu.fallbackReportTitle', { - defaultMessage: 'Discover search [{date}]', - values: { date: moment().toISOString(true) }, + defaultMessage: 'Untitled discover search', }), }, isDirty: !savedSearch.id || state.isAppStateDirty(), diff --git a/src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts b/src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts index e7205c3f9bc69..9b518c23a5f89 100644 --- a/src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts +++ b/src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts @@ -41,14 +41,7 @@ describe('getSharingData', () => { expect(result).toMatchInlineSnapshot(` Object { "columns": Array [], - "searchSource": Object { - "index": "the-index-pattern-id", - "sort": Array [ - Object { - "_score": "desc", - }, - ], - }, + "getSearchSource": [Function], } `); }); @@ -66,14 +59,7 @@ describe('getSharingData', () => { "column_a", "column_b", ], - "searchSource": Object { - "index": "the-index-pattern-id", - "sort": Array [ - Object { - "_score": "desc", - }, - ], - }, + "getSearchSource": [Function], } `); }); @@ -108,14 +94,7 @@ describe('getSharingData', () => { "cool-field-5", "cool-field-6", ], - "searchSource": Object { - "index": "the-index-pattern-id", - "sort": Array [ - Object { - "_doc": "desc", - }, - ], - }, + "getSearchSource": [Function], } `); }); @@ -158,14 +137,7 @@ describe('getSharingData', () => { "cool-field-5", "cool-field-6", ], - "searchSource": Object { - "index": "the-index-pattern-id", - "sort": Array [ - Object { - "_doc": false, - }, - ], - }, + "getSearchSource": [Function], } `); }); diff --git a/src/plugins/discover/public/application/apps/main/utils/get_sharing_data.ts b/src/plugins/discover/public/application/apps/main/utils/get_sharing_data.ts index 420ff0fa11eeb..21292fabdd13f 100644 --- a/src/plugins/discover/public/application/apps/main/utils/get_sharing_data.ts +++ b/src/plugins/discover/public/application/apps/main/utils/get_sharing_data.ts @@ -9,7 +9,7 @@ import type { Capabilities } from 'kibana/public'; import type { IUiSettingsClient } from 'src/core/public'; import type { DataPublicPluginStart } from 'src/plugins/data/public'; -import type { ISearchSource } from 'src/plugins/data/common'; +import type { ISearchSource, SearchSourceFields } from 'src/plugins/data/common'; import { DOC_HIDE_TIME_COLUMN_SETTING, SORT_DEFAULT_ORDER_SETTING } from '../../../../../common'; import type { SavedSearch, SortOrder } from '../../../../saved_searches/types'; import { getSortForSearchSource } from '../components/doc_table'; @@ -31,8 +31,8 @@ export async function getSharingData( 'sort', getSortForSearchSource(state.sort as SortOrder[], index, config.get(SORT_DEFAULT_ORDER_SETTING)) ); - // When sharing externally we preserve relative time values - searchSource.setField('filter', data.query.timefilter.timefilter.createRelativeFilter(index)); + + searchSource.removeField('filter'); searchSource.removeField('highlight'); searchSource.removeField('highlightAll'); searchSource.removeField('aggs'); @@ -54,7 +54,15 @@ export async function getSharingData( } return { - searchSource: searchSource.getSerializedFields(true), + getSearchSource: (absoluteTime?: boolean): SearchSourceFields => { + const filter = absoluteTime + ? data.query.timefilter.timefilter.createFilter(index) + : data.query.timefilter.timefilter.createRelativeFilter(index); + + searchSource.setField('filter', filter); + + return searchSource.getSerializedFields(true); + }, columns, }; } diff --git a/x-pack/plugins/reporting/public/panel_actions/get_csv_panel_action.tsx b/x-pack/plugins/reporting/public/panel_actions/get_csv_panel_action.tsx index ef32e64741765..115d7599c6bc8 100644 --- a/x-pack/plugins/reporting/public/panel_actions/get_csv_panel_action.tsx +++ b/x-pack/plugins/reporting/public/panel_actions/get_csv_panel_action.tsx @@ -117,10 +117,10 @@ export class ReportingCsvPanelAction implements ActionDefinition } const savedSearch = embeddable.getSavedSearch(); - const { columns, searchSource } = await this.getSearchSource(savedSearch, embeddable); + const { columns, getSearchSource } = await this.getSearchSource(savedSearch, embeddable); const immediateJobParams = this.apiClient.getDecoratedJobParams({ - searchSource, + searchSource: getSearchSource(true), columns, title: savedSearch.title, objectType: 'downloadCsv', // FIXME: added for typescript, but immediate download job does not need objectType diff --git a/x-pack/plugins/reporting/public/share_context_menu/register_csv_reporting.tsx b/x-pack/plugins/reporting/public/share_context_menu/register_csv_reporting.tsx index 040a1646ec1ba..8859d01e4fe9a 100644 --- a/x-pack/plugins/reporting/public/share_context_menu/register_csv_reporting.tsx +++ b/x-pack/plugins/reporting/public/share_context_menu/register_csv_reporting.tsx @@ -48,14 +48,23 @@ export const ReportingCsvShareProvider = ({ return []; } + const getSearchSource = sharingData.getSearchSource as ( + absoluteTime?: boolean + ) => SearchSourceFields; + const jobParams = { title: sharingData.title as string, objectType, - searchSource: sharingData.searchSource as SearchSourceFields, columns: sharingData.columns as string[] | undefined, }; - const getJobParams = () => jobParams; + const getJobParams = (forShareUrl?: boolean) => { + const absoluteTime = !forShareUrl; + return { + ...jobParams, + searchSource: getSearchSource(absoluteTime), + }; + }; const shareActions = []; diff --git a/x-pack/plugins/reporting/public/share_context_menu/reporting_panel_content.tsx b/x-pack/plugins/reporting/public/share_context_menu/reporting_panel_content.tsx index 59afa91aaa9c3..6ed6f2d0c5f49 100644 --- a/x-pack/plugins/reporting/public/share_context_menu/reporting_panel_content.tsx +++ b/x-pack/plugins/reporting/public/share_context_menu/reporting_panel_content.tsx @@ -40,7 +40,7 @@ export interface ReportingPanelProps { requiresSavedState: boolean; // Whether the report to be generated requires saved state that is not captured in the URL submitted to the report generator. layoutId?: string; objectId?: string; - getJobParams: () => Omit; + getJobParams: (forShareUrl?: boolean) => Omit; options?: ReactElement | null; isDirty?: boolean; onClose?: () => void; @@ -75,7 +75,7 @@ class ReportingPanelContentUi extends Component { private getAbsoluteReportGenerationUrl = (props: Props) => { const relativePath = this.props.apiClient.getReportingJobPath( props.reportType, - this.props.apiClient.getDecoratedJobParams(this.props.getJobParams()) + this.props.apiClient.getDecoratedJobParams(this.props.getJobParams(true)) ); return url.resolve(window.location.href, relativePath); // FIXME: '(from: string, to: string): string' is deprecated }; diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json index 39b8005f69af4..8f406c613935a 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/plugins/translations/translations/ja-JP.json @@ -2528,7 +2528,6 @@ "discover.loadingDocuments": "ドキュメントを読み込み中", "discover.loadingJSON": "JSONを読み込んでいます", "discover.loadingResults": "結果を読み込み中", - "discover.localMenu.fallbackReportTitle": "Discover検索[{date}]", "discover.localMenu.inspectTitle": "検査", "discover.localMenu.localMenu.newSearchTitle": "新規", "discover.localMenu.localMenu.optionsTitle": "オプション", diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index d9b10802f21bb..5923e7d2139a8 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -2554,7 +2554,6 @@ "discover.loadingDocuments": "正在加载文档", "discover.loadingJSON": "正在加载 JSON", "discover.loadingResults": "正在加载结果", - "discover.localMenu.fallbackReportTitle": "Discover 搜索 [{date}]", "discover.localMenu.inspectTitle": "检查", "discover.localMenu.localMenu.newSearchTitle": "新建", "discover.localMenu.localMenu.optionsTitle": "选项", From 937ea35b355493587d9ce3d1518fcdde2417f039 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 12 Oct 2021 08:57:11 -0400 Subject: [PATCH 055/107] [Uptime] Make uptime settings saved object exportable (#114235) (#114614) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Shahzad --- x-pack/plugins/uptime/server/lib/saved_objects.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/x-pack/plugins/uptime/server/lib/saved_objects.ts b/x-pack/plugins/uptime/server/lib/saved_objects.ts index 3cd246175d0be..3e9888df55aa0 100644 --- a/x-pack/plugins/uptime/server/lib/saved_objects.ts +++ b/x-pack/plugins/uptime/server/lib/saved_objects.ts @@ -5,6 +5,7 @@ * 2.0. */ +import { i18n } from '@kbn/i18n'; import { DYNAMIC_SETTINGS_DEFAULTS } from '../../common/constants'; import { DynamicSettings } from '../../common/runtime_types'; import { SavedObjectsType, SavedObjectsErrorHelpers } from '../../../../../src/core/server'; @@ -43,6 +44,14 @@ export const umDynamicSettings: SavedObjectsType = { */ }, }, + management: { + importableAndExportable: true, + icon: 'uptimeApp', + getTitle: () => + i18n.translate('xpack.uptime.uptimeSettings.index', { + defaultMessage: 'Uptime Settings - Index', + }), + }, }; export const savedObjectsAdapter: UMSavedObjectsAdapter = { From e9f058c53f486add5530b2540855a727a8e79f71 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 12 Oct 2021 09:50:27 -0400 Subject: [PATCH 056/107] [APM] Add Table of contents to data model docs (#114608) (#114632) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Søren Louv-Jansen --- x-pack/plugins/apm/dev_docs/apm_queries.md | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/x-pack/plugins/apm/dev_docs/apm_queries.md b/x-pack/plugins/apm/dev_docs/apm_queries.md index 8508e5a173c85..0fbcd4fc1c8a8 100644 --- a/x-pack/plugins/apm/dev_docs/apm_queries.md +++ b/x-pack/plugins/apm/dev_docs/apm_queries.md @@ -1,7 +1,17 @@ -# Data model +### Table of Contents + - [Transactions](#transactions) + - [System metrics](#system-metrics) + - [Transaction breakdown metrics](#transaction-breakdown-metrics) + - [Span breakdown metrics](#span-breakdown-metrics) + - [Service destination metrics](#service-destination-metrics) + - [Common filters](#common-filters) + +--- + +### Data model Elastic APM agents capture different types of information from within their instrumented applications. These are known as events, and can be spans, transactions, errors, or metrics. You can find more information [here](https://www.elastic.co/guide/en/apm/get-started/current/apm-data-model.html). -# Running examples +### Running examples You can run the example queries on the [edge cluster](https://edge-oblt.elastic.dev/) or any another cluster that contains APM data. # Transactions @@ -307,7 +317,7 @@ The above example is overly simplified. In reality [we do a bit more](https://gi -# Transaction breakdown metrics (`transaction_breakdown`) +# Transaction breakdown metrics A pre-aggregations of transaction documents where `transaction.breakdown.count` is the number of original transactions. @@ -327,7 +337,7 @@ Noteworthy fields: `transaction.name`, `transaction.type` } ``` -# Span breakdown metrics (`span_breakdown`) +# Span breakdown metrics A pre-aggregations of span documents where `span.self_time.count` is the number of original spans. Measures the "self-time" for a span type, and optional subtype, within a transaction group. @@ -482,7 +492,7 @@ GET apm-*-metric-*,metrics-apm*/_search?terminate_after=1000 } ``` -## Common filters +# Common filters Most Elasticsearch queries will need to have one or more filters. There are a couple of reasons for adding filters: From dd83d167d69624cca9c8b66a670874708b8b8ed6 Mon Sep 17 00:00:00 2001 From: Nathan L Smith Date: Tue, 12 Oct 2021 09:43:11 -0500 Subject: [PATCH 057/107] [APM] Disabling apm e2e test (#114544) (#114643) --- vars/tasks.groovy | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/vars/tasks.groovy b/vars/tasks.groovy index 3775e06d41b09..5ed1cb5336b47 100644 --- a/vars/tasks.groovy +++ b/vars/tasks.groovy @@ -146,13 +146,14 @@ def functionalXpack(Map params = [:]) { } } - whenChanged([ - 'x-pack/plugins/apm/', - ]) { - if (githubPr.isPr()) { - task(kibanaPipeline.functionalTestProcess('xpack-APMCypress', './test/scripts/jenkins_apm_cypress.sh')) - } - } + //temporarily disable apm e2e test since it's breaking. + // whenChanged([ + // 'x-pack/plugins/apm/', + // ]) { + // if (githubPr.isPr()) { + // task(kibanaPipeline.functionalTestProcess('xpack-APMCypress', './test/scripts/jenkins_apm_cypress.sh')) + // } + // } whenChanged([ 'x-pack/plugins/uptime/', From cd228cd7e456053f0e58e1ca4b8efd8c21568ae7 Mon Sep 17 00:00:00 2001 From: Tyler Smalley Date: Tue, 12 Oct 2021 07:48:26 -0700 Subject: [PATCH 058/107] Revert "[7.x] [APM] Trace generation library (#113764) (#114259)" This reverts commit c2f18324be1bec5ad8e66a4203d66947956f9a3c. --- package.json | 1 - packages/BUILD.bazel | 3 +- packages/elastic-apm-generator/BUILD.bazel | 99 - packages/elastic-apm-generator/README.md | 0 packages/elastic-apm-generator/jest.config.js | 15 - packages/elastic-apm-generator/package.json | 9 - packages/elastic-apm-generator/src/index.ts | 14 - .../src/lib/base_span.ts | 55 - .../src/lib/defaults/get_observer_defaults.ts | 16 - .../elastic-apm-generator/src/lib/entity.ts | 63 - .../elastic-apm-generator/src/lib/instance.ts | 30 - .../elastic-apm-generator/src/lib/interval.ts | 32 - .../src/lib/metricset.ts | 17 - .../src/lib/output/to_elasticsearch_output.ts | 33 - .../src/lib/serializable.ts | 25 - .../elastic-apm-generator/src/lib/service.ts | 27 - .../elastic-apm-generator/src/lib/span.ts | 53 - .../src/lib/timerange.ts | 21 - .../src/lib/transaction.ts | 37 - .../src/lib/utils/generate_id.ts | 25 - .../lib/utils/get_span_destination_metrics.ts | 51 - .../src/lib/utils/get_transaction_metrics.ts | 89 - .../elastic-apm-generator/src/scripts/es.js | 15 - .../elastic-apm-generator/src/scripts/es.ts | 113 - .../src/scripts/examples/01_simple_trace.ts | 54 - .../test/scenarios/01_simple_trace.test.ts | 108 - .../scenarios/02_transaction_metrics.test.ts | 107 - .../03_span_destination_metrics.test.ts | 105 - .../01_simple_trace.test.ts.snap | 516 - .../src/test/to_elasticsearch_output.test.ts | 37 - packages/elastic-apm-generator/tsconfig.json | 19 - .../test/apm_api_integration/common/config.ts | 3 +- .../es_archiver/apm_8.0.0_empty/mappings.json | 22073 ---------------- .../apm_api_integration/common/registry.ts | 1 - .../apm_api_integration/common/trace_data.ts | 65 - .../tests/services/throughput.ts | 143 +- yarn.lock | 4 - 37 files changed, 3 insertions(+), 24075 deletions(-) delete mode 100644 packages/elastic-apm-generator/BUILD.bazel delete mode 100644 packages/elastic-apm-generator/README.md delete mode 100644 packages/elastic-apm-generator/jest.config.js delete mode 100644 packages/elastic-apm-generator/package.json delete mode 100644 packages/elastic-apm-generator/src/index.ts delete mode 100644 packages/elastic-apm-generator/src/lib/base_span.ts delete mode 100644 packages/elastic-apm-generator/src/lib/defaults/get_observer_defaults.ts delete mode 100644 packages/elastic-apm-generator/src/lib/entity.ts delete mode 100644 packages/elastic-apm-generator/src/lib/instance.ts delete mode 100644 packages/elastic-apm-generator/src/lib/interval.ts delete mode 100644 packages/elastic-apm-generator/src/lib/metricset.ts delete mode 100644 packages/elastic-apm-generator/src/lib/output/to_elasticsearch_output.ts delete mode 100644 packages/elastic-apm-generator/src/lib/serializable.ts delete mode 100644 packages/elastic-apm-generator/src/lib/service.ts delete mode 100644 packages/elastic-apm-generator/src/lib/span.ts delete mode 100644 packages/elastic-apm-generator/src/lib/timerange.ts delete mode 100644 packages/elastic-apm-generator/src/lib/transaction.ts delete mode 100644 packages/elastic-apm-generator/src/lib/utils/generate_id.ts delete mode 100644 packages/elastic-apm-generator/src/lib/utils/get_span_destination_metrics.ts delete mode 100644 packages/elastic-apm-generator/src/lib/utils/get_transaction_metrics.ts delete mode 100644 packages/elastic-apm-generator/src/scripts/es.js delete mode 100644 packages/elastic-apm-generator/src/scripts/es.ts delete mode 100644 packages/elastic-apm-generator/src/scripts/examples/01_simple_trace.ts delete mode 100644 packages/elastic-apm-generator/src/test/scenarios/01_simple_trace.test.ts delete mode 100644 packages/elastic-apm-generator/src/test/scenarios/02_transaction_metrics.test.ts delete mode 100644 packages/elastic-apm-generator/src/test/scenarios/03_span_destination_metrics.test.ts delete mode 100644 packages/elastic-apm-generator/src/test/scenarios/__snapshots__/01_simple_trace.test.ts.snap delete mode 100644 packages/elastic-apm-generator/src/test/to_elasticsearch_output.test.ts delete mode 100644 packages/elastic-apm-generator/tsconfig.json delete mode 100644 x-pack/test/apm_api_integration/common/fixtures/es_archiver/apm_8.0.0_empty/mappings.json delete mode 100644 x-pack/test/apm_api_integration/common/trace_data.ts diff --git a/package.json b/package.json index 2a10570519293..49a2c38b99bae 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,6 @@ }, "dependencies": { "@babel/runtime": "^7.15.4", - "@elastic/apm-generator": "link:bazel-bin/packages/elastic-apm-generator", "@elastic/apm-rum": "^5.9.1", "@elastic/apm-rum-react": "^1.3.1", "@elastic/charts": "34.2.1", diff --git a/packages/BUILD.bazel b/packages/BUILD.bazel index 9d9d23b2fc9b9..36bdee5303cb7 100644 --- a/packages/BUILD.bazel +++ b/packages/BUILD.bazel @@ -3,8 +3,7 @@ filegroup( name = "build", srcs = [ - "//packages/elastic-apm-generator:build", - "//packages/elastic-datemath:build", + "//packages/elastic-datemath:build", "//packages/elastic-eslint-config-kibana:build", "//packages/elastic-safer-lodash-set:build", "//packages/kbn-ace:build", diff --git a/packages/elastic-apm-generator/BUILD.bazel b/packages/elastic-apm-generator/BUILD.bazel deleted file mode 100644 index 6b46b2b9181e5..0000000000000 --- a/packages/elastic-apm-generator/BUILD.bazel +++ /dev/null @@ -1,99 +0,0 @@ -load("@npm//@bazel/typescript:index.bzl", "ts_config", "ts_project") -load("@build_bazel_rules_nodejs//:index.bzl", "js_library", "pkg_npm") -load("//src/dev/bazel:index.bzl", "jsts_transpiler") - -PKG_BASE_NAME = "elastic-apm-generator" -PKG_REQUIRE_NAME = "@elastic/apm-generator" - -SOURCE_FILES = glob( - [ - "src/**/*.ts", - ], - exclude = ["**/*.test.*"], -) - -SRCS = SOURCE_FILES - -filegroup( - name = "srcs", - srcs = SRCS, -) - -NPM_MODULE_EXTRA_FILES = [ - "package.json", - "README.md" -] - -RUNTIME_DEPS = [ - "@npm//@elastic/elasticsearch", - "@npm//lodash", - "@npm//moment", - "@npm//object-hash", - "@npm//p-limit", - "@npm//utility-types", - "@npm//uuid", - "@npm//yargs", -] - -TYPES_DEPS = [ - "@npm//@elastic/elasticsearch", - "@npm//moment", - "@npm//p-limit", - "@npm//@types/jest", - "@npm//@types/lodash", - "@npm//@types/node", - "@npm//@types/uuid", - "@npm//@types/object-hash", -] - -jsts_transpiler( - name = "target_node", - srcs = SRCS, - build_pkg_name = package_name(), -) - -ts_config( - name = "tsconfig", - src = "tsconfig.json", - deps = [ - "//:tsconfig.base.json", - "//:tsconfig.bazel.json", - ], -) - -ts_project( - name = "tsc_types", - args = ['--pretty'], - srcs = SRCS, - deps = TYPES_DEPS, - declaration = True, - declaration_map = True, - emit_declaration_only = True, - out_dir = "target_types", - root_dir = "src", - source_map = True, - tsconfig = ":tsconfig", -) - -js_library( - name = PKG_BASE_NAME, - srcs = NPM_MODULE_EXTRA_FILES, - deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], - package_name = PKG_REQUIRE_NAME, - visibility = ["//visibility:public"], -) - -pkg_npm( - name = "npm_module", - deps = [ - ":%s" % PKG_BASE_NAME, - ] -) - -filegroup( - name = "build", - srcs = [ - ":npm_module", - ], - visibility = ["//visibility:public"], -) diff --git a/packages/elastic-apm-generator/README.md b/packages/elastic-apm-generator/README.md deleted file mode 100644 index e69de29bb2d1d..0000000000000 diff --git a/packages/elastic-apm-generator/jest.config.js b/packages/elastic-apm-generator/jest.config.js deleted file mode 100644 index 64aaa43741cc3..0000000000000 --- a/packages/elastic-apm-generator/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/elastic-apm-generator'], - setupFiles: [], - setupFilesAfterEnv: [], -}; diff --git a/packages/elastic-apm-generator/package.json b/packages/elastic-apm-generator/package.json deleted file mode 100644 index 57dafd5d6431d..0000000000000 --- a/packages/elastic-apm-generator/package.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name": "@elastic/apm-generator", - "version": "0.1.0", - "description": "Elastic APM trace data generator", - "license": "SSPL-1.0 OR Elastic License 2.0", - "main": "./target_node/index.js", - "types": "./target_types/index.d.ts", - "private": true -} diff --git a/packages/elastic-apm-generator/src/index.ts b/packages/elastic-apm-generator/src/index.ts deleted file mode 100644 index fd83ce483ad4f..0000000000000 --- a/packages/elastic-apm-generator/src/index.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -export { service } from './lib/service'; -export { timerange } from './lib/timerange'; -export { getTransactionMetrics } from './lib/utils/get_transaction_metrics'; -export { getSpanDestinationMetrics } from './lib/utils/get_span_destination_metrics'; -export { getObserverDefaults } from './lib/defaults/get_observer_defaults'; -export { toElasticsearchOutput } from './lib/output/to_elasticsearch_output'; diff --git a/packages/elastic-apm-generator/src/lib/base_span.ts b/packages/elastic-apm-generator/src/lib/base_span.ts deleted file mode 100644 index 24a51282687f4..0000000000000 --- a/packages/elastic-apm-generator/src/lib/base_span.ts +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { Fields } from './entity'; -import { Serializable } from './serializable'; -import { generateTraceId } from './utils/generate_id'; - -export class BaseSpan extends Serializable { - private _children: BaseSpan[] = []; - - constructor(fields: Fields) { - super({ - ...fields, - 'event.outcome': 'unknown', - 'trace.id': generateTraceId(), - 'processor.name': 'transaction', - }); - } - - traceId(traceId: string) { - this.fields['trace.id'] = traceId; - this._children.forEach((child) => { - child.fields['trace.id'] = traceId; - }); - return this; - } - - children(...children: BaseSpan[]) { - this._children.push(...children); - children.forEach((child) => { - child.traceId(this.fields['trace.id']!); - }); - - return this; - } - - success() { - this.fields['event.outcome'] = 'success'; - return this; - } - - failure() { - this.fields['event.outcome'] = 'failure'; - return this; - } - - serialize(): Fields[] { - return [this.fields, ...this._children.flatMap((child) => child.serialize())]; - } -} diff --git a/packages/elastic-apm-generator/src/lib/defaults/get_observer_defaults.ts b/packages/elastic-apm-generator/src/lib/defaults/get_observer_defaults.ts deleted file mode 100644 index 67a4d5773b937..0000000000000 --- a/packages/elastic-apm-generator/src/lib/defaults/get_observer_defaults.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { Fields } from '../entity'; - -export function getObserverDefaults(): Fields { - return { - 'observer.version': '7.16.0', - 'observer.version_major': 7, - }; -} diff --git a/packages/elastic-apm-generator/src/lib/entity.ts b/packages/elastic-apm-generator/src/lib/entity.ts deleted file mode 100644 index e0a048c876213..0000000000000 --- a/packages/elastic-apm-generator/src/lib/entity.ts +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -export type Fields = Partial<{ - '@timestamp': number; - 'agent.name': string; - 'agent.version': string; - 'ecs.version': string; - 'event.outcome': string; - 'event.ingested': number; - 'metricset.name': string; - 'observer.version': string; - 'observer.version_major': number; - 'parent.id': string; - 'processor.event': string; - 'processor.name': string; - 'trace.id': string; - 'transaction.name': string; - 'transaction.type': string; - 'transaction.id': string; - 'transaction.duration.us': number; - 'transaction.duration.histogram': { - values: number[]; - counts: number[]; - }; - 'transaction.sampled': true; - 'service.name': string; - 'service.environment': string; - 'service.node.name': string; - 'span.id': string; - 'span.name': string; - 'span.type': string; - 'span.subtype': string; - 'span.duration.us': number; - 'span.destination.service.name': string; - 'span.destination.service.resource': string; - 'span.destination.service.type': string; - 'span.destination.service.response_time.sum.us': number; - 'span.destination.service.response_time.count': number; -}>; - -export class Entity { - constructor(public readonly fields: Fields) { - this.fields = fields; - } - - defaults(defaults: Fields) { - Object.keys(defaults).forEach((key) => { - const fieldName: keyof Fields = key as any; - - if (!(fieldName in this.fields)) { - this.fields[fieldName] = defaults[fieldName] as any; - } - }); - - return this; - } -} diff --git a/packages/elastic-apm-generator/src/lib/instance.ts b/packages/elastic-apm-generator/src/lib/instance.ts deleted file mode 100644 index 4218a9e23f4b4..0000000000000 --- a/packages/elastic-apm-generator/src/lib/instance.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { Entity } from './entity'; -import { Span } from './span'; -import { Transaction } from './transaction'; - -export class Instance extends Entity { - transaction(transactionName: string, transactionType = 'request') { - return new Transaction({ - ...this.fields, - 'transaction.name': transactionName, - 'transaction.type': transactionType, - }); - } - - span(spanName: string, spanType: string, spanSubtype?: string) { - return new Span({ - ...this.fields, - 'span.name': spanName, - 'span.type': spanType, - 'span.subtype': spanSubtype, - }); - } -} diff --git a/packages/elastic-apm-generator/src/lib/interval.ts b/packages/elastic-apm-generator/src/lib/interval.ts deleted file mode 100644 index f13d54fd7415e..0000000000000 --- a/packages/elastic-apm-generator/src/lib/interval.ts +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ -import moment from 'moment'; - -export class Interval { - constructor( - private readonly from: number, - private readonly to: number, - private readonly interval: string - ) {} - - rate(rate: number) { - let now = this.from; - const args = this.interval.match(/(.*)(s|m|h|d)/); - if (!args) { - throw new Error('Failed to parse interval'); - } - const timestamps: number[] = []; - while (now <= this.to) { - timestamps.push(...new Array(rate).fill(now)); - now = moment(now) - .add(Number(args[1]), args[2] as any) - .valueOf(); - } - return timestamps; - } -} diff --git a/packages/elastic-apm-generator/src/lib/metricset.ts b/packages/elastic-apm-generator/src/lib/metricset.ts deleted file mode 100644 index f7abec6fde958..0000000000000 --- a/packages/elastic-apm-generator/src/lib/metricset.ts +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { Serializable } from './serializable'; - -export class Metricset extends Serializable {} - -export function metricset(name: string) { - return new Metricset({ - 'metricset.name': name, - }); -} diff --git a/packages/elastic-apm-generator/src/lib/output/to_elasticsearch_output.ts b/packages/elastic-apm-generator/src/lib/output/to_elasticsearch_output.ts deleted file mode 100644 index ded94f9ad2276..0000000000000 --- a/packages/elastic-apm-generator/src/lib/output/to_elasticsearch_output.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { set } from 'lodash'; -import { getObserverDefaults } from '../..'; -import { Fields } from '../entity'; - -export function toElasticsearchOutput(events: Fields[], versionOverride?: string) { - return events.map((event) => { - const values = { - ...event, - '@timestamp': new Date(event['@timestamp']!).toISOString(), - 'timestamp.us': event['@timestamp']! * 1000, - 'ecs.version': '1.4', - ...getObserverDefaults(), - }; - - const document = {}; - // eslint-disable-next-line guard-for-in - for (const key in values) { - set(document, key, values[key as keyof typeof values]); - } - return { - _index: `apm-${versionOverride || values['observer.version']}-${values['processor.event']}`, - _source: document, - }; - }); -} diff --git a/packages/elastic-apm-generator/src/lib/serializable.ts b/packages/elastic-apm-generator/src/lib/serializable.ts deleted file mode 100644 index 3a92dc539855a..0000000000000 --- a/packages/elastic-apm-generator/src/lib/serializable.ts +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { Entity, Fields } from './entity'; - -export class Serializable extends Entity { - constructor(fields: Fields) { - super({ - ...fields, - }); - } - - timestamp(time: number) { - this.fields['@timestamp'] = time; - return this; - } - serialize(): Fields[] { - return [this.fields]; - } -} diff --git a/packages/elastic-apm-generator/src/lib/service.ts b/packages/elastic-apm-generator/src/lib/service.ts deleted file mode 100644 index 8ddbd827e842e..0000000000000 --- a/packages/elastic-apm-generator/src/lib/service.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { Entity } from './entity'; -import { Instance } from './instance'; - -export class Service extends Entity { - instance(instanceName: string) { - return new Instance({ - ...this.fields, - ['service.node.name']: instanceName, - }); - } -} - -export function service(name: string, environment: string, agentName: string) { - return new Service({ - 'service.name': name, - 'service.environment': environment, - 'agent.name': agentName, - }); -} diff --git a/packages/elastic-apm-generator/src/lib/span.ts b/packages/elastic-apm-generator/src/lib/span.ts deleted file mode 100644 index da9ba9cdff722..0000000000000 --- a/packages/elastic-apm-generator/src/lib/span.ts +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { BaseSpan } from './base_span'; -import { Fields } from './entity'; -import { generateEventId } from './utils/generate_id'; - -export class Span extends BaseSpan { - constructor(fields: Fields) { - super({ - ...fields, - 'processor.event': 'span', - 'span.id': generateEventId(), - }); - } - - children(...children: BaseSpan[]) { - super.children(...children); - - children.forEach((child) => - child.defaults({ - 'parent.id': this.fields['span.id'], - }) - ); - - return this; - } - - duration(duration: number) { - this.fields['span.duration.us'] = duration * 1000; - return this; - } - - destination(resource: string, type?: string, name?: string) { - if (!type) { - type = this.fields['span.type']; - } - - if (!name) { - name = resource; - } - this.fields['span.destination.service.resource'] = resource; - this.fields['span.destination.service.name'] = name; - this.fields['span.destination.service.type'] = type; - - return this; - } -} diff --git a/packages/elastic-apm-generator/src/lib/timerange.ts b/packages/elastic-apm-generator/src/lib/timerange.ts deleted file mode 100644 index 14111ad7b8495..0000000000000 --- a/packages/elastic-apm-generator/src/lib/timerange.ts +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { Interval } from './interval'; - -export class Timerange { - constructor(private from: number, private to: number) {} - - interval(interval: string) { - return new Interval(this.from, this.to, interval); - } -} - -export function timerange(from: number, to: number) { - return new Timerange(from, to); -} diff --git a/packages/elastic-apm-generator/src/lib/transaction.ts b/packages/elastic-apm-generator/src/lib/transaction.ts deleted file mode 100644 index 14ed6ac1ea85e..0000000000000 --- a/packages/elastic-apm-generator/src/lib/transaction.ts +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { BaseSpan } from './base_span'; -import { Fields } from './entity'; -import { generateEventId } from './utils/generate_id'; - -export class Transaction extends BaseSpan { - constructor(fields: Fields) { - super({ - ...fields, - 'processor.event': 'transaction', - 'transaction.id': generateEventId(), - 'transaction.sampled': true, - }); - } - children(...children: BaseSpan[]) { - super.children(...children); - children.forEach((child) => - child.defaults({ - 'transaction.id': this.fields['transaction.id'], - 'parent.id': this.fields['transaction.id'], - }) - ); - return this; - } - - duration(duration: number) { - this.fields['transaction.duration.us'] = duration * 1000; - return this; - } -} diff --git a/packages/elastic-apm-generator/src/lib/utils/generate_id.ts b/packages/elastic-apm-generator/src/lib/utils/generate_id.ts deleted file mode 100644 index 6c8b33fc19077..0000000000000 --- a/packages/elastic-apm-generator/src/lib/utils/generate_id.ts +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import uuidv5 from 'uuid/v5'; - -let seq = 0; - -const namespace = 'f38d5b83-8eee-4f5b-9aa6-2107e15a71e3'; - -function generateId() { - return uuidv5(String(seq++), namespace).replace(/-/g, ''); -} - -export function generateEventId() { - return generateId().substr(0, 16); -} - -export function generateTraceId() { - return generateId().substr(0, 32); -} diff --git a/packages/elastic-apm-generator/src/lib/utils/get_span_destination_metrics.ts b/packages/elastic-apm-generator/src/lib/utils/get_span_destination_metrics.ts deleted file mode 100644 index 3740ad685735e..0000000000000 --- a/packages/elastic-apm-generator/src/lib/utils/get_span_destination_metrics.ts +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { pick } from 'lodash'; -import moment from 'moment'; -import objectHash from 'object-hash'; -import { Fields } from '../entity'; - -export function getSpanDestinationMetrics(events: Fields[]) { - const exitSpans = events.filter((event) => !!event['span.destination.service.resource']); - - const metricsets = new Map(); - - function getSpanBucketKey(span: Fields) { - return { - '@timestamp': moment(span['@timestamp']).startOf('minute').valueOf(), - ...pick(span, [ - 'event.outcome', - 'agent.name', - 'service.environment', - 'service.name', - 'span.destination.service.resource', - ]), - }; - } - - for (const span of exitSpans) { - const key = getSpanBucketKey(span); - const id = objectHash(key); - - let metricset = metricsets.get(id); - if (!metricset) { - metricset = { - ['processor.event']: 'metric', - ...key, - 'span.destination.service.response_time.sum.us': 0, - 'span.destination.service.response_time.count': 0, - }; - metricsets.set(id, metricset); - } - metricset['span.destination.service.response_time.count']! += 1; - metricset['span.destination.service.response_time.sum.us']! += span['span.duration.us']!; - } - - return [...Array.from(metricsets.values())]; -} diff --git a/packages/elastic-apm-generator/src/lib/utils/get_transaction_metrics.ts b/packages/elastic-apm-generator/src/lib/utils/get_transaction_metrics.ts deleted file mode 100644 index 62ecb9e20006f..0000000000000 --- a/packages/elastic-apm-generator/src/lib/utils/get_transaction_metrics.ts +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { pick, sortBy } from 'lodash'; -import moment from 'moment'; -import objectHash from 'object-hash'; -import { Fields } from '../entity'; - -function sortAndCompressHistogram(histogram?: { values: number[]; counts: number[] }) { - return sortBy(histogram?.values).reduce( - (prev, current) => { - const lastValue = prev.values[prev.values.length - 1]; - if (lastValue === current) { - prev.counts[prev.counts.length - 1]++; - return prev; - } - - prev.counts.push(1); - prev.values.push(current); - - return prev; - }, - { values: [] as number[], counts: [] as number[] } - ); -} - -export function getTransactionMetrics(events: Fields[]) { - const transactions = events.filter((event) => event['processor.event'] === 'transaction'); - - const metricsets = new Map(); - - function getTransactionBucketKey(transaction: Fields) { - return { - '@timestamp': moment(transaction['@timestamp']).startOf('minute').valueOf(), - 'trace.root': transaction['parent.id'] === undefined, - ...pick(transaction, [ - 'transaction.name', - 'transaction.type', - 'event.outcome', - 'transaction.result', - 'agent.name', - 'service.environment', - 'service.name', - 'service.version', - 'host.name', - 'container.id', - 'kubernetes.pod.name', - ]), - }; - } - - for (const transaction of transactions) { - const key = getTransactionBucketKey(transaction); - const id = objectHash(key); - let metricset = metricsets.get(id); - if (!metricset) { - metricset = { - ...key, - ['processor.event']: 'metric', - 'transaction.duration.histogram': { - values: [], - counts: [], - }, - }; - metricsets.set(id, metricset); - } - metricset['transaction.duration.histogram']?.counts.push(1); - metricset['transaction.duration.histogram']?.values.push( - Number(transaction['transaction.duration.us']) - ); - } - - return [ - ...Array.from(metricsets.values()).map((metricset) => { - return { - ...metricset, - ['transaction.duration.histogram']: sortAndCompressHistogram( - metricset['transaction.duration.histogram'] - ), - _doc_count: metricset['transaction.duration.histogram']!.values.length, - }; - }), - ]; -} diff --git a/packages/elastic-apm-generator/src/scripts/es.js b/packages/elastic-apm-generator/src/scripts/es.js deleted file mode 100644 index 9f99a5d19b8f8..0000000000000 --- a/packages/elastic-apm-generator/src/scripts/es.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -/* eslint-disable @typescript-eslint/no-var-requires*/ -require('@babel/register')({ - extensions: ['.ts', '.js'], - presets: [['@babel/preset-env', { targets: { node: 'current' } }], '@babel/preset-typescript'], -}); - -require('./es.ts'); diff --git a/packages/elastic-apm-generator/src/scripts/es.ts b/packages/elastic-apm-generator/src/scripts/es.ts deleted file mode 100644 index d023ef7172892..0000000000000 --- a/packages/elastic-apm-generator/src/scripts/es.ts +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { inspect } from 'util'; -import { Client } from '@elastic/elasticsearch'; -import { chunk } from 'lodash'; -import pLimit from 'p-limit'; -import yargs from 'yargs/yargs'; -import { toElasticsearchOutput } from '..'; -import { simpleTrace } from './examples/01_simple_trace'; - -yargs(process.argv.slice(2)) - .command( - 'example', - 'run an example scenario', - (y) => { - return y - .positional('scenario', { - describe: 'scenario to run', - choices: ['simple-trace'], - demandOption: true, - }) - .option('target', { - describe: 'elasticsearch target, including username/password', - }) - .option('from', { describe: 'start of timerange' }) - .option('to', { describe: 'end of timerange' }) - .option('workers', { - default: 1, - describe: 'number of concurrently connected ES clients', - }) - .option('apm-server-version', { - describe: 'APM Server version override', - }) - .demandOption('target'); - }, - (argv) => { - let events: any[] = []; - const toDateString = (argv.to as string | undefined) || new Date().toISOString(); - const fromDateString = - (argv.from as string | undefined) || - new Date(new Date(toDateString).getTime() - 15 * 60 * 1000).toISOString(); - - const to = new Date(toDateString).getTime(); - const from = new Date(fromDateString).getTime(); - - switch (argv._[1]) { - case 'simple-trace': - events = simpleTrace(from, to); - break; - } - - const docs = toElasticsearchOutput(events, argv['apm-server-version'] as string); - - const client = new Client({ - node: argv.target as string, - }); - - const fn = pLimit(argv.workers); - - const batches = chunk(docs, 1000); - - // eslint-disable-next-line no-console - console.log( - 'Uploading', - docs.length, - 'docs in', - batches.length, - 'batches', - 'from', - fromDateString, - 'to', - toDateString - ); - - Promise.all( - batches.map((batch) => - fn(() => { - return client.bulk({ - require_alias: true, - body: batch.flatMap((doc) => { - return [{ index: { _index: doc._index } }, doc._source]; - }), - }); - }) - ) - ) - .then((results) => { - const errors = results - .flatMap((result) => result.body.items) - .filter((item) => !!item.index?.error) - .map((item) => item.index?.error); - - if (errors.length) { - // eslint-disable-next-line no-console - console.error(inspect(errors.slice(0, 10), { depth: null })); - throw new Error('Failed to upload some items'); - } - process.exit(); - }) - .catch((err) => { - // eslint-disable-next-line no-console - console.error(err); - process.exit(1); - }); - } - ) - .parse(); diff --git a/packages/elastic-apm-generator/src/scripts/examples/01_simple_trace.ts b/packages/elastic-apm-generator/src/scripts/examples/01_simple_trace.ts deleted file mode 100644 index eef3e6cc40560..0000000000000 --- a/packages/elastic-apm-generator/src/scripts/examples/01_simple_trace.ts +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { service, timerange, getTransactionMetrics, getSpanDestinationMetrics } from '../..'; - -export function simpleTrace(from: number, to: number) { - const instance = service('opbeans-go', 'production', 'go').instance('instance'); - - const range = timerange(from, to); - - const transactionName = '100rpm (75% success) failed 1000ms'; - - const successfulTraceEvents = range - .interval('1m') - .rate(75) - .flatMap((timestamp) => - instance - .transaction(transactionName) - .timestamp(timestamp) - .duration(1000) - .success() - .children( - instance - .span('GET apm-*/_search', 'db', 'elasticsearch') - .duration(1000) - .success() - .destination('elasticsearch') - .timestamp(timestamp), - instance.span('custom_operation', 'app').duration(50).success().timestamp(timestamp) - ) - .serialize() - ); - - const failedTraceEvents = range - .interval('1m') - .rate(25) - .flatMap((timestamp) => - instance - .transaction(transactionName) - .timestamp(timestamp) - .duration(1000) - .failure() - .serialize() - ); - - const events = successfulTraceEvents.concat(failedTraceEvents); - - return events.concat(getTransactionMetrics(events)).concat(getSpanDestinationMetrics(events)); -} diff --git a/packages/elastic-apm-generator/src/test/scenarios/01_simple_trace.test.ts b/packages/elastic-apm-generator/src/test/scenarios/01_simple_trace.test.ts deleted file mode 100644 index 6bae70507dcbe..0000000000000 --- a/packages/elastic-apm-generator/src/test/scenarios/01_simple_trace.test.ts +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { service } from '../../lib/service'; -import { timerange } from '../../lib/timerange'; - -describe('simple trace', () => { - let events: Array>; - - beforeEach(() => { - const javaService = service('opbeans-java', 'production', 'java'); - const javaInstance = javaService.instance('instance-1'); - - const range = timerange( - new Date('2021-01-01T00:00:00.000Z').getTime(), - new Date('2021-01-01T00:15:00.000Z').getTime() - 1 - ); - - events = range - .interval('1m') - .rate(1) - .flatMap((timestamp) => - javaInstance - .transaction('GET /api/product/list') - .duration(1000) - .success() - .timestamp(timestamp) - .children( - javaInstance - .span('GET apm-*/_search', 'db', 'elasticsearch') - .success() - .duration(900) - .timestamp(timestamp + 50) - ) - .serialize() - ); - }); - - it('generates the same data every time', () => { - expect(events).toMatchSnapshot(); - }); - - it('generates 15 transaction events', () => { - expect(events.filter((event) => event['processor.event'] === 'transaction').length).toEqual(15); - }); - - it('generates 15 span events', () => { - expect(events.filter((event) => event['processor.event'] === 'span').length).toEqual(15); - }); - - it('correctly sets the trace/transaction id of children', () => { - const [transaction, span] = events; - - expect(span['transaction.id']).toEqual(transaction['transaction.id']); - expect(span['parent.id']).toEqual(transaction['transaction.id']); - - expect(span['trace.id']).toEqual(transaction['trace.id']); - }); - - it('outputs transaction events', () => { - const [transaction] = events; - - expect(transaction).toEqual({ - '@timestamp': 1609459200000, - 'agent.name': 'java', - 'event.outcome': 'success', - 'processor.event': 'transaction', - 'processor.name': 'transaction', - 'service.environment': 'production', - 'service.name': 'opbeans-java', - 'service.node.name': 'instance-1', - 'trace.id': 'f6eb2f1cbba2597e89d2a63771c4344d', - 'transaction.duration.us': 1000000, - 'transaction.id': 'e9ece67cbacb52bf', - 'transaction.name': 'GET /api/product/list', - 'transaction.type': 'request', - 'transaction.sampled': true, - }); - }); - - it('outputs span events', () => { - const [, span] = events; - - expect(span).toEqual({ - '@timestamp': 1609459200050, - 'agent.name': 'java', - 'event.outcome': 'success', - 'parent.id': 'e7433020f2745625', - 'processor.event': 'span', - 'processor.name': 'transaction', - 'service.environment': 'production', - 'service.name': 'opbeans-java', - 'service.node.name': 'instance-1', - 'span.duration.us': 900000, - 'span.id': '21a776b44b9853dd', - 'span.name': 'GET apm-*/_search', - 'span.subtype': 'elasticsearch', - 'span.type': 'db', - 'trace.id': '048a0647263853abb94649ec0b92bdb4', - 'transaction.id': 'e7433020f2745625', - }); - }); -}); diff --git a/packages/elastic-apm-generator/src/test/scenarios/02_transaction_metrics.test.ts b/packages/elastic-apm-generator/src/test/scenarios/02_transaction_metrics.test.ts deleted file mode 100644 index 0b9f192d3d27d..0000000000000 --- a/packages/elastic-apm-generator/src/test/scenarios/02_transaction_metrics.test.ts +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { service } from '../../lib/service'; -import { timerange } from '../../lib/timerange'; -import { getTransactionMetrics } from '../../lib/utils/get_transaction_metrics'; - -describe('transaction metrics', () => { - let events: Array>; - - beforeEach(() => { - const javaService = service('opbeans-java', 'production', 'java'); - const javaInstance = javaService.instance('instance-1'); - - const range = timerange( - new Date('2021-01-01T00:00:00.000Z').getTime(), - new Date('2021-01-01T00:15:00.000Z').getTime() - 1 - ); - - events = getTransactionMetrics( - range - .interval('1m') - .rate(25) - .flatMap((timestamp) => - javaInstance - .transaction('GET /api/product/list') - .duration(1000) - .success() - .timestamp(timestamp) - .serialize() - ) - .concat( - range - .interval('1m') - .rate(50) - .flatMap((timestamp) => - javaInstance - .transaction('GET /api/product/list') - .duration(1000) - .failure() - .timestamp(timestamp) - .serialize() - ) - ) - ); - }); - - it('generates the right amount of transaction metrics', () => { - expect(events.length).toBe(30); - }); - - it('generates a metricset per interval', () => { - const metricsSetsForSuccessfulTransactions = events.filter( - (event) => event['event.outcome'] === 'success' - ); - - const [first, second] = metricsSetsForSuccessfulTransactions.map((event) => - new Date(event['@timestamp']).toISOString() - ); - - expect([first, second]).toEqual(['2021-01-01T00:00:00.000Z', '2021-01-01T00:01:00.000Z']); - }); - - it('generates a metricset per value of event.outcome', () => { - const metricsSetsForSuccessfulTransactions = events.filter( - (event) => event['event.outcome'] === 'success' - ); - - const metricsSetsForFailedTransactions = events.filter( - (event) => event['event.outcome'] === 'failure' - ); - - expect(metricsSetsForSuccessfulTransactions.length).toBe(15); - expect(metricsSetsForFailedTransactions.length).toBe(15); - }); - - it('captures all the values from aggregated transactions', () => { - const metricsSetsForSuccessfulTransactions = events.filter( - (event) => event['event.outcome'] === 'success' - ); - - const metricsSetsForFailedTransactions = events.filter( - (event) => event['event.outcome'] === 'failure' - ); - - expect(metricsSetsForSuccessfulTransactions.length).toBe(15); - - metricsSetsForSuccessfulTransactions.forEach((event) => { - expect(event['transaction.duration.histogram']).toEqual({ - values: [1000000], - counts: [25], - }); - }); - - metricsSetsForFailedTransactions.forEach((event) => { - expect(event['transaction.duration.histogram']).toEqual({ - values: [1000000], - counts: [50], - }); - }); - }); -}); diff --git a/packages/elastic-apm-generator/src/test/scenarios/03_span_destination_metrics.test.ts b/packages/elastic-apm-generator/src/test/scenarios/03_span_destination_metrics.test.ts deleted file mode 100644 index 158ccc5b5e714..0000000000000 --- a/packages/elastic-apm-generator/src/test/scenarios/03_span_destination_metrics.test.ts +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { service } from '../../lib/service'; -import { timerange } from '../../lib/timerange'; -import { getSpanDestinationMetrics } from '../../lib/utils/get_span_destination_metrics'; - -describe('span destination metrics', () => { - let events: Array>; - - beforeEach(() => { - const javaService = service('opbeans-java', 'production', 'java'); - const javaInstance = javaService.instance('instance-1'); - - const range = timerange( - new Date('2021-01-01T00:00:00.000Z').getTime(), - new Date('2021-01-01T00:15:00.000Z').getTime() - 1 - ); - - events = getSpanDestinationMetrics( - range - .interval('1m') - .rate(25) - .flatMap((timestamp) => - javaInstance - .transaction('GET /api/product/list') - .duration(1000) - .success() - .timestamp(timestamp) - .children( - javaInstance - .span('GET apm-*/_search', 'db', 'elasticsearch') - .timestamp(timestamp) - .duration(1000) - .destination('elasticsearch') - .success() - ) - .serialize() - ) - .concat( - range - .interval('1m') - .rate(50) - .flatMap((timestamp) => - javaInstance - .transaction('GET /api/product/list') - .duration(1000) - .failure() - .timestamp(timestamp) - .children( - javaInstance - .span('GET apm-*/_search', 'db', 'elasticsearch') - .timestamp(timestamp) - .duration(1000) - .destination('elasticsearch') - .failure(), - javaInstance - .span('custom_operation', 'app') - .timestamp(timestamp) - .duration(500) - .success() - ) - .serialize() - ) - ) - ); - }); - - it('generates the right amount of span metrics', () => { - expect(events.length).toBe(30); - }); - - it('does not generate metricsets for non-exit spans', () => { - expect( - events.every((event) => event['span.destination.service.resource'] === 'elasticsearch') - ).toBe(true); - }); - - it('captures all the values from aggregated exit spans', () => { - const metricsSetsForSuccessfulExitSpans = events.filter( - (event) => event['event.outcome'] === 'success' - ); - - const metricsSetsForFailedExitSpans = events.filter( - (event) => event['event.outcome'] === 'failure' - ); - - expect(metricsSetsForSuccessfulExitSpans.length).toBe(15); - - metricsSetsForSuccessfulExitSpans.forEach((event) => { - expect(event['span.destination.service.response_time.count']).toEqual(25); - expect(event['span.destination.service.response_time.sum.us']).toEqual(25000000); - }); - - metricsSetsForFailedExitSpans.forEach((event) => { - expect(event['span.destination.service.response_time.count']).toEqual(50); - expect(event['span.destination.service.response_time.sum.us']).toEqual(50000000); - }); - }); -}); diff --git a/packages/elastic-apm-generator/src/test/scenarios/__snapshots__/01_simple_trace.test.ts.snap b/packages/elastic-apm-generator/src/test/scenarios/__snapshots__/01_simple_trace.test.ts.snap deleted file mode 100644 index 6eec0ce38ba30..0000000000000 --- a/packages/elastic-apm-generator/src/test/scenarios/__snapshots__/01_simple_trace.test.ts.snap +++ /dev/null @@ -1,516 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`simple trace generates the same data every time 1`] = ` -Array [ - Object { - "@timestamp": 1609459200000, - "agent.name": "java", - "event.outcome": "success", - "processor.event": "transaction", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "trace.id": "b1c6c04a9ac15b138f716d383cc85e6b", - "transaction.duration.us": 1000000, - "transaction.id": "36c16f18e75058f8", - "transaction.name": "GET /api/product/list", - "transaction.sampled": true, - "transaction.type": "request", - }, - Object { - "@timestamp": 1609459200050, - "agent.name": "java", - "event.outcome": "success", - "parent.id": "36c16f18e75058f8", - "processor.event": "span", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "span.duration.us": 900000, - "span.id": "fe778a305e6d57dd", - "span.name": "GET apm-*/_search", - "span.subtype": "elasticsearch", - "span.type": "db", - "trace.id": "b1c6c04a9ac15b138f716d383cc85e6b", - "transaction.id": "36c16f18e75058f8", - }, - Object { - "@timestamp": 1609459260000, - "agent.name": "java", - "event.outcome": "success", - "processor.event": "transaction", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "trace.id": "53c6c37bd4c85f4fbc880cd80704a9cd", - "transaction.duration.us": 1000000, - "transaction.id": "65ce74106eb050be", - "transaction.name": "GET /api/product/list", - "transaction.sampled": true, - "transaction.type": "request", - }, - Object { - "@timestamp": 1609459260050, - "agent.name": "java", - "event.outcome": "success", - "parent.id": "65ce74106eb050be", - "processor.event": "span", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "span.duration.us": 900000, - "span.id": "ad8c5e249a8658ec", - "span.name": "GET apm-*/_search", - "span.subtype": "elasticsearch", - "span.type": "db", - "trace.id": "53c6c37bd4c85f4fbc880cd80704a9cd", - "transaction.id": "65ce74106eb050be", - }, - Object { - "@timestamp": 1609459320000, - "agent.name": "java", - "event.outcome": "success", - "processor.event": "transaction", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "trace.id": "5eebf2e8d8cc5f85be8c573a1b501c7d", - "transaction.duration.us": 1000000, - "transaction.id": "91fa709d90625fff", - "transaction.name": "GET /api/product/list", - "transaction.sampled": true, - "transaction.type": "request", - }, - Object { - "@timestamp": 1609459320050, - "agent.name": "java", - "event.outcome": "success", - "parent.id": "91fa709d90625fff", - "processor.event": "span", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "span.duration.us": 900000, - "span.id": "228b569c530c52ac", - "span.name": "GET apm-*/_search", - "span.subtype": "elasticsearch", - "span.type": "db", - "trace.id": "5eebf2e8d8cc5f85be8c573a1b501c7d", - "transaction.id": "91fa709d90625fff", - }, - Object { - "@timestamp": 1609459380000, - "agent.name": "java", - "event.outcome": "success", - "processor.event": "transaction", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "trace.id": "6e8da4beb752589a86d53287c9d902de", - "transaction.duration.us": 1000000, - "transaction.id": "6c500d1d19835e68", - "transaction.name": "GET /api/product/list", - "transaction.sampled": true, - "transaction.type": "request", - }, - Object { - "@timestamp": 1609459380050, - "agent.name": "java", - "event.outcome": "success", - "parent.id": "6c500d1d19835e68", - "processor.event": "span", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "span.duration.us": 900000, - "span.id": "5eb13f140bde5334", - "span.name": "GET apm-*/_search", - "span.subtype": "elasticsearch", - "span.type": "db", - "trace.id": "6e8da4beb752589a86d53287c9d902de", - "transaction.id": "6c500d1d19835e68", - }, - Object { - "@timestamp": 1609459440000, - "agent.name": "java", - "event.outcome": "success", - "processor.event": "transaction", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "trace.id": "0aaa92bd91df543c8fd10b662051d9e8", - "transaction.duration.us": 1000000, - "transaction.id": "1b3246cc83595869", - "transaction.name": "GET /api/product/list", - "transaction.sampled": true, - "transaction.type": "request", - }, - Object { - "@timestamp": 1609459440050, - "agent.name": "java", - "event.outcome": "success", - "parent.id": "1b3246cc83595869", - "processor.event": "span", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "span.duration.us": 900000, - "span.id": "582221c79fd75a76", - "span.name": "GET apm-*/_search", - "span.subtype": "elasticsearch", - "span.type": "db", - "trace.id": "0aaa92bd91df543c8fd10b662051d9e8", - "transaction.id": "1b3246cc83595869", - }, - Object { - "@timestamp": 1609459500000, - "agent.name": "java", - "event.outcome": "success", - "processor.event": "transaction", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "trace.id": "26be5f0e2c16576ebf5f39c505eb1ff2", - "transaction.duration.us": 1000000, - "transaction.id": "12b49e3c83fe58d5", - "transaction.name": "GET /api/product/list", - "transaction.sampled": true, - "transaction.type": "request", - }, - Object { - "@timestamp": 1609459500050, - "agent.name": "java", - "event.outcome": "success", - "parent.id": "12b49e3c83fe58d5", - "processor.event": "span", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "span.duration.us": 900000, - "span.id": "526d186996835c09", - "span.name": "GET apm-*/_search", - "span.subtype": "elasticsearch", - "span.type": "db", - "trace.id": "26be5f0e2c16576ebf5f39c505eb1ff2", - "transaction.id": "12b49e3c83fe58d5", - }, - Object { - "@timestamp": 1609459560000, - "agent.name": "java", - "event.outcome": "success", - "processor.event": "transaction", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "trace.id": "c17c414c0b51564ca30e2ad839393180", - "transaction.duration.us": 1000000, - "transaction.id": "d9272009dd4354a1", - "transaction.name": "GET /api/product/list", - "transaction.sampled": true, - "transaction.type": "request", - }, - Object { - "@timestamp": 1609459560050, - "agent.name": "java", - "event.outcome": "success", - "parent.id": "d9272009dd4354a1", - "processor.event": "span", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "span.duration.us": 900000, - "span.id": "7582541fcbfc5dc6", - "span.name": "GET apm-*/_search", - "span.subtype": "elasticsearch", - "span.type": "db", - "trace.id": "c17c414c0b51564ca30e2ad839393180", - "transaction.id": "d9272009dd4354a1", - }, - Object { - "@timestamp": 1609459620000, - "agent.name": "java", - "event.outcome": "success", - "processor.event": "transaction", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "trace.id": "0280b1ffaae75e7ab097c0b52c3b3e6a", - "transaction.duration.us": 1000000, - "transaction.id": "bc52ca08063c505b", - "transaction.name": "GET /api/product/list", - "transaction.sampled": true, - "transaction.type": "request", - }, - Object { - "@timestamp": 1609459620050, - "agent.name": "java", - "event.outcome": "success", - "parent.id": "bc52ca08063c505b", - "processor.event": "span", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "span.duration.us": 900000, - "span.id": "37ab978487935abb", - "span.name": "GET apm-*/_search", - "span.subtype": "elasticsearch", - "span.type": "db", - "trace.id": "0280b1ffaae75e7ab097c0b52c3b3e6a", - "transaction.id": "bc52ca08063c505b", - }, - Object { - "@timestamp": 1609459680000, - "agent.name": "java", - "event.outcome": "success", - "processor.event": "transaction", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "trace.id": "6fb5191297fb59cebdb6a0196e273676", - "transaction.duration.us": 1000000, - "transaction.id": "186858dd88b75d59", - "transaction.name": "GET /api/product/list", - "transaction.sampled": true, - "transaction.type": "request", - }, - Object { - "@timestamp": 1609459680050, - "agent.name": "java", - "event.outcome": "success", - "parent.id": "186858dd88b75d59", - "processor.event": "span", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "span.duration.us": 900000, - "span.id": "5ab56f27d0ae569b", - "span.name": "GET apm-*/_search", - "span.subtype": "elasticsearch", - "span.type": "db", - "trace.id": "6fb5191297fb59cebdb6a0196e273676", - "transaction.id": "186858dd88b75d59", - }, - Object { - "@timestamp": 1609459740000, - "agent.name": "java", - "event.outcome": "success", - "processor.event": "transaction", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "trace.id": "77b5ffe303ae59b49f9b0e5d5270c16a", - "transaction.duration.us": 1000000, - "transaction.id": "0d5f44d48189546c", - "transaction.name": "GET /api/product/list", - "transaction.sampled": true, - "transaction.type": "request", - }, - Object { - "@timestamp": 1609459740050, - "agent.name": "java", - "event.outcome": "success", - "parent.id": "0d5f44d48189546c", - "processor.event": "span", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "span.duration.us": 900000, - "span.id": "80e94b0847cd5104", - "span.name": "GET apm-*/_search", - "span.subtype": "elasticsearch", - "span.type": "db", - "trace.id": "77b5ffe303ae59b49f9b0e5d5270c16a", - "transaction.id": "0d5f44d48189546c", - }, - Object { - "@timestamp": 1609459800000, - "agent.name": "java", - "event.outcome": "success", - "processor.event": "transaction", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "trace.id": "51c6b70db4dc5cf89b690de45c0c7b71", - "transaction.duration.us": 1000000, - "transaction.id": "7483e0606e435c83", - "transaction.name": "GET /api/product/list", - "transaction.sampled": true, - "transaction.type": "request", - }, - Object { - "@timestamp": 1609459800050, - "agent.name": "java", - "event.outcome": "success", - "parent.id": "7483e0606e435c83", - "processor.event": "span", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "span.duration.us": 900000, - "span.id": "2e99d193e0f954c1", - "span.name": "GET apm-*/_search", - "span.subtype": "elasticsearch", - "span.type": "db", - "trace.id": "51c6b70db4dc5cf89b690de45c0c7b71", - "transaction.id": "7483e0606e435c83", - }, - Object { - "@timestamp": 1609459860000, - "agent.name": "java", - "event.outcome": "success", - "processor.event": "transaction", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "trace.id": "5d91a6cde6015897935e413bc500f211", - "transaction.duration.us": 1000000, - "transaction.id": "f142c4cbc7f3568e", - "transaction.name": "GET /api/product/list", - "transaction.sampled": true, - "transaction.type": "request", - }, - Object { - "@timestamp": 1609459860050, - "agent.name": "java", - "event.outcome": "success", - "parent.id": "f142c4cbc7f3568e", - "processor.event": "span", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "span.duration.us": 900000, - "span.id": "1fc52f16e2f551ea", - "span.name": "GET apm-*/_search", - "span.subtype": "elasticsearch", - "span.type": "db", - "trace.id": "5d91a6cde6015897935e413bc500f211", - "transaction.id": "f142c4cbc7f3568e", - }, - Object { - "@timestamp": 1609459920000, - "agent.name": "java", - "event.outcome": "success", - "processor.event": "transaction", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "trace.id": "c097c19d884d52579bb11a601b8a98b3", - "transaction.duration.us": 1000000, - "transaction.id": "2e3a47fa2d905519", - "transaction.name": "GET /api/product/list", - "transaction.sampled": true, - "transaction.type": "request", - }, - Object { - "@timestamp": 1609459920050, - "agent.name": "java", - "event.outcome": "success", - "parent.id": "2e3a47fa2d905519", - "processor.event": "span", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "span.duration.us": 900000, - "span.id": "7c7828c850685337", - "span.name": "GET apm-*/_search", - "span.subtype": "elasticsearch", - "span.type": "db", - "trace.id": "c097c19d884d52579bb11a601b8a98b3", - "transaction.id": "2e3a47fa2d905519", - }, - Object { - "@timestamp": 1609459980000, - "agent.name": "java", - "event.outcome": "success", - "processor.event": "transaction", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "trace.id": "4591e57f4d7f5986bdd7892561224e0f", - "transaction.duration.us": 1000000, - "transaction.id": "de5eaa1e47dc56b1", - "transaction.name": "GET /api/product/list", - "transaction.sampled": true, - "transaction.type": "request", - }, - Object { - "@timestamp": 1609459980050, - "agent.name": "java", - "event.outcome": "success", - "parent.id": "de5eaa1e47dc56b1", - "processor.event": "span", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "span.duration.us": 900000, - "span.id": "8f62257f4a41546a", - "span.name": "GET apm-*/_search", - "span.subtype": "elasticsearch", - "span.type": "db", - "trace.id": "4591e57f4d7f5986bdd7892561224e0f", - "transaction.id": "de5eaa1e47dc56b1", - }, - Object { - "@timestamp": 1609460040000, - "agent.name": "java", - "event.outcome": "success", - "processor.event": "transaction", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "trace.id": "85ee8e618433577b9316a1e14961aa89", - "transaction.duration.us": 1000000, - "transaction.id": "af7eac7ae61e576a", - "transaction.name": "GET /api/product/list", - "transaction.sampled": true, - "transaction.type": "request", - }, - Object { - "@timestamp": 1609460040050, - "agent.name": "java", - "event.outcome": "success", - "parent.id": "af7eac7ae61e576a", - "processor.event": "span", - "processor.name": "transaction", - "service.environment": "production", - "service.name": "opbeans-java", - "service.node.name": "instance-1", - "span.duration.us": 900000, - "span.id": "cc88b4cd921e590e", - "span.name": "GET apm-*/_search", - "span.subtype": "elasticsearch", - "span.type": "db", - "trace.id": "85ee8e618433577b9316a1e14961aa89", - "transaction.id": "af7eac7ae61e576a", - }, -] -`; diff --git a/packages/elastic-apm-generator/src/test/to_elasticsearch_output.test.ts b/packages/elastic-apm-generator/src/test/to_elasticsearch_output.test.ts deleted file mode 100644 index c1a5d47654fc9..0000000000000 --- a/packages/elastic-apm-generator/src/test/to_elasticsearch_output.test.ts +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { Fields } from '../lib/entity'; -import { toElasticsearchOutput } from '../lib/output/to_elasticsearch_output'; - -describe('output to elasticsearch', () => { - let event: Fields; - - beforeEach(() => { - event = { - '@timestamp': new Date('2020-12-31T23:00:00.000Z').getTime(), - 'processor.event': 'transaction', - 'processor.name': 'transaction', - }; - }); - - it('properly formats @timestamp', () => { - const doc = toElasticsearchOutput([event])[0] as any; - - expect(doc._source['@timestamp']).toEqual('2020-12-31T23:00:00.000Z'); - }); - - it('formats a nested object', () => { - const doc = toElasticsearchOutput([event])[0] as any; - - expect(doc._source.processor).toEqual({ - event: 'transaction', - name: 'transaction', - }); - }); -}); diff --git a/packages/elastic-apm-generator/tsconfig.json b/packages/elastic-apm-generator/tsconfig.json deleted file mode 100644 index 534e8481dce9a..0000000000000 --- a/packages/elastic-apm-generator/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "../../tsconfig.bazel.json", - "compilerOptions": { - "declaration": true, - "declarationMap": true, - "emitDeclarationOnly": true, - "outDir": "target_types", - "rootDir": "./src", - "sourceMap": true, - "sourceRoot": "../../../../packages/elastic-apm-generator/src", - "types": [ - "node", - "jest" - ] - }, - "include": [ - "./src/**/*.ts" - ] -} diff --git a/x-pack/test/apm_api_integration/common/config.ts b/x-pack/test/apm_api_integration/common/config.ts index 574cfe811bc67..a8c5c433df45e 100644 --- a/x-pack/test/apm_api_integration/common/config.ts +++ b/x-pack/test/apm_api_integration/common/config.ts @@ -15,7 +15,6 @@ import { createApmUser, APM_TEST_PASSWORD, ApmUser } from './authentication'; import { APMFtrConfigName } from '../configs'; import { createApmApiClient } from './apm_api_supertest'; import { registry } from './registry'; -import { traceData } from './trace_data'; interface Config { name: APMFtrConfigName; @@ -77,7 +76,7 @@ export function createTestConfig(config: Config) { servers, services: { ...services, - traceData, + apmApiClient: async (context: InheritedFtrProviderContext) => { const security = context.getService('security'); await security.init(); diff --git a/x-pack/test/apm_api_integration/common/fixtures/es_archiver/apm_8.0.0_empty/mappings.json b/x-pack/test/apm_api_integration/common/fixtures/es_archiver/apm_8.0.0_empty/mappings.json deleted file mode 100644 index 2d05717fa5725..0000000000000 --- a/x-pack/test/apm_api_integration/common/fixtures/es_archiver/apm_8.0.0_empty/mappings.json +++ /dev/null @@ -1,22073 +0,0 @@ -{ - "type": "index", - "value": { - "aliases": { - ".ml-anomalies-.write-apm-environment_not_defined-337d-high_mean_transaction_duration": { - "is_hidden": true - }, - ".ml-anomalies-.write-apm-production-6117-high_mean_transaction_duration": { - "is_hidden": true - }, - ".ml-anomalies-.write-apm-testing-41e5-high_mean_transaction_duration": { - "is_hidden": true - }, - ".ml-anomalies-apm-environment_not_defined-337d-high_mean_transaction_duration": { - "filter": { - "term": { - "job_id": { - "boost": 1, - "value": "apm-environment_not_defined-337d-high_mean_transaction_duration" - } - } - }, - "is_hidden": true - }, - ".ml-anomalies-apm-production-6117-high_mean_transaction_duration": { - "filter": { - "term": { - "job_id": { - "boost": 1, - "value": "apm-production-6117-high_mean_transaction_duration" - } - } - }, - "is_hidden": true - }, - ".ml-anomalies-apm-testing-41e5-high_mean_transaction_duration": { - "filter": { - "term": { - "job_id": { - "boost": 1, - "value": "apm-testing-41e5-high_mean_transaction_duration" - } - } - }, - "is_hidden": true - } - }, - "index": ".ml-anomalies-shared", - "mappings": { - "_meta": { - "version": "7.14.0" - }, - "dynamic_templates": [ - { - "strings_as_keywords": { - "mapping": { - "type": "keyword" - }, - "match": "*" - } - } - ], - "properties": { - "actual": { - "type": "double" - }, - "all_field_values": { - "analyzer": "whitespace", - "type": "text" - }, - "anomaly_score": { - "type": "double" - }, - "assignment_memory_basis": { - "type": "keyword" - }, - "average_bucket_processing_time_ms": { - "type": "double" - }, - "bucket_allocation_failures_count": { - "type": "long" - }, - "bucket_count": { - "type": "long" - }, - "bucket_influencers": { - "properties": { - "anomaly_score": { - "type": "double" - }, - "bucket_span": { - "type": "long" - }, - "influencer_field_name": { - "type": "keyword" - }, - "initial_anomaly_score": { - "type": "double" - }, - "is_interim": { - "type": "boolean" - }, - "job_id": { - "type": "keyword" - }, - "probability": { - "type": "double" - }, - "raw_anomaly_score": { - "type": "double" - }, - "result_type": { - "type": "keyword" - }, - "timestamp": { - "type": "date" - } - }, - "type": "nested" - }, - "bucket_span": { - "type": "long" - }, - "by_field_name": { - "type": "keyword" - }, - "by_field_value": { - "copy_to": [ - "all_field_values" - ], - "type": "keyword" - }, - "categorization_status": { - "type": "keyword" - }, - "categorized_doc_count": { - "type": "keyword" - }, - "category_id": { - "type": "long" - }, - "causes": { - "properties": { - "actual": { - "type": "double" - }, - "by_field_name": { - "type": "keyword" - }, - "by_field_value": { - "copy_to": [ - "all_field_values" - ], - "type": "keyword" - }, - "correlated_by_field_value": { - "copy_to": [ - "all_field_values" - ], - "type": "keyword" - }, - "field_name": { - "type": "keyword" - }, - "function": { - "type": "keyword" - }, - "function_description": { - "type": "keyword" - }, - "geo_results": { - "properties": { - "actual_point": { - "type": "geo_point" - }, - "typical_point": { - "type": "geo_point" - } - } - }, - "over_field_name": { - "type": "keyword" - }, - "over_field_value": { - "copy_to": [ - "all_field_values" - ], - "type": "keyword" - }, - "partition_field_name": { - "type": "keyword" - }, - "partition_field_value": { - "copy_to": [ - "all_field_values" - ], - "type": "keyword" - }, - "probability": { - "type": "double" - }, - "typical": { - "type": "double" - } - }, - "type": "nested" - }, - "dead_category_count": { - "type": "keyword" - }, - "description": { - "type": "text" - }, - "detector_index": { - "type": "integer" - }, - "earliest_record_timestamp": { - "type": "date" - }, - "empty_bucket_count": { - "type": "long" - }, - "event_count": { - "type": "long" - }, - "examples": { - "type": "text" - }, - "exponential_average_bucket_processing_time_ms": { - "type": "double" - }, - "exponential_average_calculation_context": { - "properties": { - "incremental_metric_value_ms": { - "type": "double" - }, - "latest_timestamp": { - "type": "date" - }, - "previous_exponential_average_ms": { - "type": "double" - } - } - }, - "failed_category_count": { - "type": "keyword" - }, - "field_name": { - "type": "keyword" - }, - "forecast_create_timestamp": { - "type": "date" - }, - "forecast_end_timestamp": { - "type": "date" - }, - "forecast_expiry_timestamp": { - "type": "date" - }, - "forecast_id": { - "type": "keyword" - }, - "forecast_lower": { - "type": "double" - }, - "forecast_memory_bytes": { - "type": "long" - }, - "forecast_messages": { - "type": "keyword" - }, - "forecast_prediction": { - "type": "double" - }, - "forecast_progress": { - "type": "double" - }, - "forecast_start_timestamp": { - "type": "date" - }, - "forecast_status": { - "type": "keyword" - }, - "forecast_upper": { - "type": "double" - }, - "frequent_category_count": { - "type": "keyword" - }, - "function": { - "type": "keyword" - }, - "function_description": { - "type": "keyword" - }, - "geo_results": { - "properties": { - "actual_point": { - "type": "geo_point" - }, - "typical_point": { - "type": "geo_point" - } - } - }, - "influencer_field_name": { - "type": "keyword" - }, - "influencer_field_value": { - "copy_to": [ - "all_field_values" - ], - "type": "keyword" - }, - "influencer_score": { - "type": "double" - }, - "influencers": { - "properties": { - "influencer_field_name": { - "type": "keyword" - }, - "influencer_field_values": { - "copy_to": [ - "all_field_values" - ], - "type": "keyword" - } - }, - "type": "nested" - }, - "initial_anomaly_score": { - "type": "double" - }, - "initial_influencer_score": { - "type": "double" - }, - "initial_record_score": { - "type": "double" - }, - "input_bytes": { - "type": "long" - }, - "input_field_count": { - "type": "long" - }, - "input_record_count": { - "type": "long" - }, - "invalid_date_count": { - "type": "long" - }, - "is_interim": { - "type": "boolean" - }, - "job_id": { - "copy_to": [ - "all_field_values" - ], - "type": "keyword" - }, - "last_data_time": { - "type": "date" - }, - "latest_empty_bucket_timestamp": { - "type": "date" - }, - "latest_record_time_stamp": { - "type": "date" - }, - "latest_record_timestamp": { - "type": "date" - }, - "latest_result_time_stamp": { - "type": "date" - }, - "latest_sparse_bucket_timestamp": { - "type": "date" - }, - "log_time": { - "type": "date" - }, - "max_matching_length": { - "type": "long" - }, - "maximum_bucket_processing_time_ms": { - "type": "double" - }, - "memory_status": { - "type": "keyword" - }, - "min_version": { - "type": "keyword" - }, - "minimum_bucket_processing_time_ms": { - "type": "double" - }, - "missing_field_count": { - "type": "long" - }, - "mlcategory": { - "type": "keyword" - }, - "model_bytes": { - "type": "long" - }, - "model_bytes_exceeded": { - "type": "keyword" - }, - "model_bytes_memory_limit": { - "type": "keyword" - }, - "model_feature": { - "type": "keyword" - }, - "model_lower": { - "type": "double" - }, - "model_median": { - "type": "double" - }, - "model_size_stats": { - "properties": { - "assignment_memory_basis": { - "type": "keyword" - }, - "bucket_allocation_failures_count": { - "type": "long" - }, - "categorization_status": { - "type": "keyword" - }, - "categorized_doc_count": { - "type": "keyword" - }, - "dead_category_count": { - "type": "keyword" - }, - "failed_category_count": { - "type": "keyword" - }, - "frequent_category_count": { - "type": "keyword" - }, - "job_id": { - "type": "keyword" - }, - "log_time": { - "type": "date" - }, - "memory_status": { - "type": "keyword" - }, - "model_bytes": { - "type": "long" - }, - "model_bytes_exceeded": { - "type": "keyword" - }, - "model_bytes_memory_limit": { - "type": "keyword" - }, - "peak_model_bytes": { - "type": "long" - }, - "rare_category_count": { - "type": "keyword" - }, - "result_type": { - "type": "keyword" - }, - "timestamp": { - "type": "date" - }, - "total_by_field_count": { - "type": "long" - }, - "total_category_count": { - "type": "keyword" - }, - "total_over_field_count": { - "type": "long" - }, - "total_partition_field_count": { - "type": "long" - } - } - }, - "model_upper": { - "type": "double" - }, - "multi_bucket_impact": { - "type": "double" - }, - "num_matches": { - "type": "long" - }, - "out_of_order_timestamp_count": { - "type": "long" - }, - "over_field_name": { - "type": "keyword" - }, - "over_field_value": { - "copy_to": [ - "all_field_values" - ], - "type": "keyword" - }, - "partition_field_name": { - "type": "keyword" - }, - "partition_field_value": { - "copy_to": [ - "all_field_values" - ], - "type": "keyword" - }, - "peak_model_bytes": { - "type": "keyword" - }, - "preferred_to_categories": { - "type": "long" - }, - "probability": { - "type": "double" - }, - "processed_field_count": { - "type": "long" - }, - "processed_record_count": { - "type": "long" - }, - "processing_time_ms": { - "type": "long" - }, - "quantiles": { - "enabled": false, - "type": "object" - }, - "rare_category_count": { - "type": "keyword" - }, - "raw_anomaly_score": { - "type": "double" - }, - "record_score": { - "type": "double" - }, - "regex": { - "type": "keyword" - }, - "result_type": { - "type": "keyword" - }, - "retain": { - "type": "boolean" - }, - "scheduled_events": { - "type": "keyword" - }, - "search_count": { - "type": "long" - }, - "service": { - "properties": { - "name": { - "type": "keyword" - } - } - }, - "snapshot_doc_count": { - "type": "integer" - }, - "snapshot_id": { - "type": "keyword" - }, - "sparse_bucket_count": { - "type": "long" - }, - "terms": { - "type": "text" - }, - "timestamp": { - "type": "date" - }, - "total_by_field_count": { - "type": "long" - }, - "total_category_count": { - "type": "keyword" - }, - "total_over_field_count": { - "type": "long" - }, - "total_partition_field_count": { - "type": "long" - }, - "total_search_time_ms": { - "type": "double" - }, - "transaction": { - "properties": { - "type": { - "type": "keyword" - } - } - }, - "typical": { - "type": "double" - } - } - }, - "settings": { - "index": { - "auto_expand_replicas": "0-1", - "hidden": "true", - "number_of_replicas": "1", - "number_of_shards": "1", - "translog": { - "durability": "async" - } - } - } - } -} - -{ - "type": "index", - "value": { - "aliases": { - }, - "index": ".ml-config", - "mappings": { - "_meta": { - "version": "7.14.0" - }, - "dynamic_templates": [ - { - "strings_as_keywords": { - "mapping": { - "type": "keyword" - }, - "match": "*" - } - } - ], - "properties": { - "aggregations": { - "enabled": false, - "type": "object" - }, - "allow_lazy_open": { - "type": "keyword" - }, - "allow_lazy_start": { - "type": "keyword" - }, - "analysis": { - "properties": { - "classification": { - "properties": { - "alpha": { - "type": "double" - }, - "class_assignment_objective": { - "type": "keyword" - }, - "dependent_variable": { - "type": "keyword" - }, - "downsample_factor": { - "type": "double" - }, - "early_stopping_enabled": { - "type": "boolean" - }, - "eta": { - "type": "double" - }, - "eta_growth_rate_per_tree": { - "type": "double" - }, - "feature_bag_fraction": { - "type": "double" - }, - "feature_processors": { - "enabled": false, - "type": "object" - }, - "gamma": { - "type": "double" - }, - "lambda": { - "type": "double" - }, - "max_optimization_rounds_per_hyperparameter": { - "type": "integer" - }, - "max_trees": { - "type": "integer" - }, - "num_top_classes": { - "type": "integer" - }, - "num_top_feature_importance_values": { - "type": "integer" - }, - "prediction_field_name": { - "type": "keyword" - }, - "randomize_seed": { - "type": "keyword" - }, - "soft_tree_depth_limit": { - "type": "double" - }, - "soft_tree_depth_tolerance": { - "type": "double" - }, - "training_percent": { - "type": "double" - } - } - }, - "outlier_detection": { - "properties": { - "compute_feature_influence": { - "type": "keyword" - }, - "feature_influence_threshold": { - "type": "double" - }, - "method": { - "type": "keyword" - }, - "n_neighbors": { - "type": "integer" - }, - "outlier_fraction": { - "type": "keyword" - }, - "standardization_enabled": { - "type": "keyword" - } - } - }, - "regression": { - "properties": { - "alpha": { - "type": "double" - }, - "dependent_variable": { - "type": "keyword" - }, - "downsample_factor": { - "type": "double" - }, - "early_stopping_enabled": { - "type": "boolean" - }, - "eta": { - "type": "double" - }, - "eta_growth_rate_per_tree": { - "type": "double" - }, - "feature_bag_fraction": { - "type": "double" - }, - "feature_processors": { - "enabled": false, - "type": "object" - }, - "gamma": { - "type": "double" - }, - "lambda": { - "type": "double" - }, - "loss_function": { - "type": "keyword" - }, - "loss_function_parameter": { - "type": "double" - }, - "max_optimization_rounds_per_hyperparameter": { - "type": "integer" - }, - "max_trees": { - "type": "integer" - }, - "num_top_feature_importance_values": { - "type": "integer" - }, - "prediction_field_name": { - "type": "keyword" - }, - "randomize_seed": { - "type": "keyword" - }, - "soft_tree_depth_limit": { - "type": "double" - }, - "soft_tree_depth_tolerance": { - "type": "double" - }, - "training_percent": { - "type": "double" - } - } - } - } - }, - "analysis_config": { - "properties": { - "bucket_span": { - "type": "keyword" - }, - "categorization_analyzer": { - "enabled": false, - "type": "object" - }, - "categorization_field_name": { - "type": "keyword" - }, - "categorization_filters": { - "type": "keyword" - }, - "detectors": { - "properties": { - "by_field_name": { - "type": "keyword" - }, - "custom_rules": { - "properties": { - "actions": { - "type": "keyword" - }, - "conditions": { - "properties": { - "applies_to": { - "type": "keyword" - }, - "operator": { - "type": "keyword" - }, - "value": { - "type": "double" - } - }, - "type": "nested" - }, - "scope": { - "enabled": false, - "type": "object" - } - }, - "type": "nested" - }, - "detector_description": { - "type": "text" - }, - "detector_index": { - "type": "integer" - }, - "exclude_frequent": { - "type": "keyword" - }, - "field_name": { - "type": "keyword" - }, - "function": { - "type": "keyword" - }, - "over_field_name": { - "type": "keyword" - }, - "partition_field_name": { - "type": "keyword" - }, - "use_null": { - "type": "boolean" - } - } - }, - "influencers": { - "type": "keyword" - }, - "latency": { - "type": "keyword" - }, - "multivariate_by_fields": { - "type": "boolean" - }, - "per_partition_categorization": { - "properties": { - "enabled": { - "type": "boolean" - }, - "stop_on_warn": { - "type": "boolean" - } - } - }, - "summary_count_field_name": { - "type": "keyword" - } - } - }, - "analysis_limits": { - "properties": { - "categorization_examples_limit": { - "type": "long" - }, - "model_memory_limit": { - "type": "keyword" - } - } - }, - "analyzed_fields": { - "enabled": false, - "type": "object" - }, - "background_persist_interval": { - "type": "keyword" - }, - "blocked": { - "properties": { - "reason": { - "type": "keyword" - }, - "task_id": { - "type": "keyword" - } - } - }, - "chunking_config": { - "properties": { - "mode": { - "type": "keyword" - }, - "time_span": { - "type": "keyword" - } - } - }, - "config_type": { - "type": "keyword" - }, - "create_time": { - "type": "date" - }, - "custom_settings": { - "enabled": false, - "type": "object" - }, - "daily_model_snapshot_retention_after_days": { - "type": "long" - }, - "data_description": { - "properties": { - "field_delimiter": { - "type": "keyword" - }, - "format": { - "type": "keyword" - }, - "quote_character": { - "type": "keyword" - }, - "time_field": { - "type": "keyword" - }, - "time_format": { - "type": "keyword" - } - } - }, - "datafeed_id": { - "type": "keyword" - }, - "delayed_data_check_config": { - "properties": { - "check_window": { - "type": "keyword" - }, - "enabled": { - "type": "boolean" - } - } - }, - "deleting": { - "type": "keyword" - }, - "description": { - "type": "text" - }, - "dest": { - "properties": { - "index": { - "type": "keyword" - }, - "results_field": { - "type": "keyword" - } - } - }, - "finished_time": { - "type": "date" - }, - "frequency": { - "type": "keyword" - }, - "groups": { - "type": "keyword" - }, - "headers": { - "enabled": false, - "type": "object" - }, - "id": { - "type": "keyword" - }, - "indices": { - "type": "keyword" - }, - "indices_options": { - "enabled": false, - "type": "object" - }, - "job_id": { - "type": "keyword" - }, - "job_type": { - "type": "keyword" - }, - "job_version": { - "type": "keyword" - }, - "max_empty_searches": { - "type": "keyword" - }, - "max_num_threads": { - "type": "integer" - }, - "model_memory_limit": { - "type": "keyword" - }, - "model_plot_config": { - "properties": { - "annotations_enabled": { - "type": "boolean" - }, - "enabled": { - "type": "boolean" - }, - "terms": { - "type": "keyword" - } - } - }, - "model_snapshot_id": { - "type": "keyword" - }, - "model_snapshot_min_version": { - "type": "keyword" - }, - "model_snapshot_retention_days": { - "type": "long" - }, - "query": { - "enabled": false, - "type": "object" - }, - "query_delay": { - "type": "keyword" - }, - "renormalization_window_days": { - "type": "long" - }, - "results_index_name": { - "type": "keyword" - }, - "results_retention_days": { - "type": "long" - }, - "runtime_mappings": { - "enabled": false, - "type": "object" - }, - "script_fields": { - "enabled": false, - "type": "object" - }, - "scroll_size": { - "type": "long" - }, - "source": { - "properties": { - "_source": { - "enabled": false, - "type": "object" - }, - "index": { - "type": "keyword" - }, - "query": { - "enabled": false, - "type": "object" - }, - "runtime_mappings": { - "enabled": false, - "type": "object" - } - } - }, - "version": { - "type": "keyword" - } - } - }, - "settings": { - "index": { - "auto_expand_replicas": "0-1", - "blocks": { - "read_only_allow_delete": "false" - }, - "max_result_window": "10000", - "number_of_replicas": "1", - "number_of_shards": "1" - } - } - } -} - -{ - "type": "index", - "value": { - "aliases": { - "apm-7.14.0-error": { - "is_write_index": true - } - }, - "index": "apm-7.14.0-error-000001", - "mappings": { - "_meta": { - "beat": "apm", - "version": "7.14.0" - }, - "date_detection": false, - "dynamic_templates": [ - { - "labels": { - "mapping": { - "type": "keyword" - }, - "match_mapping_type": "string", - "path_match": "labels.*" - } - }, - { - "container.labels": { - "mapping": { - "type": "keyword" - }, - "match_mapping_type": "string", - "path_match": "container.labels.*" - } - }, - { - "fields": { - "mapping": { - "type": "keyword" - }, - "match_mapping_type": "string", - "path_match": "fields.*" - } - }, - { - "docker.container.labels": { - "mapping": { - "type": "keyword" - }, - "match_mapping_type": "string", - "path_match": "docker.container.labels.*" - } - }, - { - "kubernetes.labels.*": { - "mapping": { - "type": "keyword" - }, - "path_match": "kubernetes.labels.*" - } - }, - { - "kubernetes.annotations.*": { - "mapping": { - "type": "keyword" - }, - "path_match": "kubernetes.annotations.*" - } - }, - { - "kubernetes.selectors.*": { - "mapping": { - "type": "keyword" - }, - "path_match": "kubernetes.selectors.*" - } - }, - { - "labels_string": { - "mapping": { - "type": "keyword" - }, - "match_mapping_type": "string", - "path_match": "labels.*" - } - }, - { - "labels_boolean": { - "mapping": { - "type": "boolean" - }, - "match_mapping_type": "boolean", - "path_match": "labels.*" - } - }, - { - "labels_*": { - "mapping": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "path_match": "labels.*" - } - }, - { - "histogram": { - "mapping": { - "type": "histogram" - } - } - }, - { - "transaction.marks": { - "mapping": { - "type": "keyword" - }, - "match_mapping_type": "string", - "path_match": "transaction.marks.*" - } - }, - { - "transaction.marks.*.*": { - "mapping": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "path_match": "transaction.marks.*.*" - } - }, - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "agent": { - "dynamic": "false", - "properties": { - "build": { - "properties": { - "original": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "ephemeral_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "hostname": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "as": { - "properties": { - "number": { - "type": "long" - }, - "organization": { - "properties": { - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "child": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "client": { - "dynamic": "false", - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "as": { - "properties": { - "number": { - "type": "long" - }, - "organization": { - "properties": { - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "bytes": { - "type": "long" - }, - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "geo": { - "properties": { - "city_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "location": { - "type": "geo_point" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "postal_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "ip": { - "type": "ip" - }, - "mac": { - "ignore_above": 1024, - "type": "keyword" - }, - "nat": { - "properties": { - "ip": { - "type": "ip" - }, - "port": { - "type": "long" - } - } - }, - "packets": { - "type": "long" - }, - "port": { - "type": "long" - }, - "registered_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "subdomain": { - "ignore_above": 1024, - "type": "keyword" - }, - "top_level_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "user": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "cloud": { - "properties": { - "account": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "availability_zone": { - "ignore_above": 1024, - "type": "keyword" - }, - "image": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "instance": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "machine": { - "dynamic": "false", - "properties": { - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "project": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "provider": { - "ignore_above": 1024, - "type": "keyword" - }, - "region": { - "ignore_above": 1024, - "type": "keyword" - }, - "service": { - "dynamic": "false", - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "code_signature": { - "properties": { - "exists": { - "type": "boolean" - }, - "signing_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "team_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "trusted": { - "type": "boolean" - }, - "valid": { - "type": "boolean" - } - } - }, - "container": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "image": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "tag": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "labels": { - "type": "object" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "runtime": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "destination": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "as": { - "properties": { - "number": { - "type": "long" - }, - "organization": { - "properties": { - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "bytes": { - "type": "long" - }, - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "geo": { - "properties": { - "city_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "location": { - "type": "geo_point" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "postal_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "ip": { - "type": "ip" - }, - "mac": { - "ignore_above": 1024, - "type": "keyword" - }, - "nat": { - "properties": { - "ip": { - "type": "ip" - }, - "port": { - "type": "long" - } - } - }, - "packets": { - "type": "long" - }, - "port": { - "type": "long" - }, - "registered_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "subdomain": { - "ignore_above": 1024, - "type": "keyword" - }, - "top_level_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "user": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "dll": { - "properties": { - "code_signature": { - "properties": { - "exists": { - "type": "boolean" - }, - "signing_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "team_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "trusted": { - "type": "boolean" - }, - "valid": { - "type": "boolean" - } - } - }, - "hash": { - "properties": { - "md5": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha1": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha256": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha512": { - "ignore_above": 1024, - "type": "keyword" - }, - "ssdeep": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "path": { - "ignore_above": 1024, - "type": "keyword" - }, - "pe": { - "properties": { - "architecture": { - "ignore_above": 1024, - "type": "keyword" - }, - "company": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "ignore_above": 1024, - "type": "keyword" - }, - "file_version": { - "ignore_above": 1024, - "type": "keyword" - }, - "imphash": { - "ignore_above": 1024, - "type": "keyword" - }, - "original_file_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "product": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "dns": { - "properties": { - "answers": { - "properties": { - "class": { - "ignore_above": 1024, - "type": "keyword" - }, - "data": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "ttl": { - "type": "long" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "header_flags": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "op_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "question": { - "properties": { - "class": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "registered_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "subdomain": { - "ignore_above": 1024, - "type": "keyword" - }, - "top_level_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "resolved_ip": { - "type": "ip" - }, - "response_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "docker": { - "properties": { - "container": { - "properties": { - "labels": { - "type": "object" - } - } - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "dynamic": "false", - "properties": { - "code": { - "ignore_above": 1024, - "type": "keyword" - }, - "culprit": { - "ignore_above": 1024, - "type": "keyword" - }, - "exception": { - "properties": { - "code": { - "ignore_above": 1024, - "type": "keyword" - }, - "handled": { - "type": "boolean" - }, - "message": { - "norms": false, - "type": "text" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "grouping_key": { - "ignore_above": 1024, - "type": "keyword" - }, - "grouping_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "log": { - "properties": { - "level": { - "ignore_above": 1024, - "type": "keyword" - }, - "logger_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "message": { - "norms": false, - "type": "text" - }, - "param_message": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "message": { - "norms": false, - "type": "text" - }, - "stack_trace": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "index": false, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "event": { - "properties": { - "action": { - "ignore_above": 1024, - "type": "keyword" - }, - "category": { - "ignore_above": 1024, - "type": "keyword" - }, - "code": { - "ignore_above": 1024, - "type": "keyword" - }, - "created": { - "type": "date" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "end": { - "type": "date" - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "ingested": { - "type": "date" - }, - "kind": { - "ignore_above": 1024, - "type": "keyword" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - }, - "original": { - "ignore_above": 1024, - "index": false, - "type": "keyword" - }, - "outcome": { - "ignore_above": 1024, - "type": "keyword" - }, - "provider": { - "ignore_above": 1024, - "type": "keyword" - }, - "reason": { - "ignore_above": 1024, - "type": "keyword" - }, - "reference": { - "ignore_above": 1024, - "type": "keyword" - }, - "risk_score": { - "type": "float" - }, - "risk_score_norm": { - "type": "float" - }, - "sequence": { - "type": "long" - }, - "severity": { - "type": "long" - }, - "start": { - "type": "date" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "url": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "experimental": { - "dynamic": "true", - "type": "object" - }, - "fields": { - "type": "object" - }, - "file": { - "properties": { - "accessed": { - "type": "date" - }, - "attributes": { - "ignore_above": 1024, - "type": "keyword" - }, - "code_signature": { - "properties": { - "exists": { - "type": "boolean" - }, - "signing_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "team_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "trusted": { - "type": "boolean" - }, - "valid": { - "type": "boolean" - } - } - }, - "created": { - "type": "date" - }, - "ctime": { - "type": "date" - }, - "device": { - "ignore_above": 1024, - "type": "keyword" - }, - "directory": { - "ignore_above": 1024, - "type": "keyword" - }, - "drive_letter": { - "ignore_above": 1, - "type": "keyword" - }, - "extension": { - "ignore_above": 1024, - "type": "keyword" - }, - "gid": { - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "ignore_above": 1024, - "type": "keyword" - }, - "hash": { - "properties": { - "md5": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha1": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha256": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha512": { - "ignore_above": 1024, - "type": "keyword" - }, - "ssdeep": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "inode": { - "ignore_above": 1024, - "type": "keyword" - }, - "mime_type": { - "ignore_above": 1024, - "type": "keyword" - }, - "mode": { - "ignore_above": 1024, - "type": "keyword" - }, - "mtime": { - "type": "date" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "owner": { - "ignore_above": 1024, - "type": "keyword" - }, - "path": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "pe": { - "properties": { - "architecture": { - "ignore_above": 1024, - "type": "keyword" - }, - "company": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "ignore_above": 1024, - "type": "keyword" - }, - "file_version": { - "ignore_above": 1024, - "type": "keyword" - }, - "imphash": { - "ignore_above": 1024, - "type": "keyword" - }, - "original_file_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "product": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "size": { - "type": "long" - }, - "target_path": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "uid": { - "ignore_above": 1024, - "type": "keyword" - }, - "x509": { - "properties": { - "alternative_names": { - "ignore_above": 1024, - "type": "keyword" - }, - "issuer": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "not_after": { - "type": "date" - }, - "not_before": { - "type": "date" - }, - "public_key_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_curve": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_exponent": { - "index": false, - "type": "long" - }, - "public_key_size": { - "type": "long" - }, - "serial_number": { - "ignore_above": 1024, - "type": "keyword" - }, - "signature_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "version_number": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "geo": { - "properties": { - "city_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "location": { - "type": "geo_point" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "postal_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "properties": { - "md5": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha1": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha256": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha512": { - "ignore_above": 1024, - "type": "keyword" - }, - "ssdeep": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "dynamic": "false", - "properties": { - "architecture": { - "ignore_above": 1024, - "type": "keyword" - }, - "containerized": { - "type": "boolean" - }, - "cpu": { - "properties": { - "usage": { - "scaling_factor": 1000, - "type": "scaled_float" - } - } - }, - "disk": { - "properties": { - "read": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "write": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "geo": { - "properties": { - "city_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "location": { - "type": "geo_point" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "postal_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hostname": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "ip": { - "type": "ip" - }, - "mac": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "network": { - "properties": { - "egress": { - "properties": { - "bytes": { - "type": "long" - }, - "packets": { - "type": "long" - } - } - }, - "ingress": { - "properties": { - "bytes": { - "type": "long" - }, - "packets": { - "type": "long" - } - } - } - } - }, - "os": { - "properties": { - "build": { - "ignore_above": 1024, - "type": "keyword" - }, - "codename": { - "ignore_above": 1024, - "type": "keyword" - }, - "family": { - "ignore_above": 1024, - "type": "keyword" - }, - "full": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "kernel": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "platform": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "uptime": { - "type": "long" - }, - "user": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "http": { - "dynamic": "false", - "properties": { - "request": { - "properties": { - "body": { - "properties": { - "bytes": { - "type": "long" - }, - "content": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "bytes": { - "type": "long" - }, - "headers": { - "enabled": false, - "type": "object" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "method": { - "ignore_above": 1024, - "type": "keyword" - }, - "mime_type": { - "ignore_above": 1024, - "type": "keyword" - }, - "referrer": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "response": { - "properties": { - "body": { - "properties": { - "bytes": { - "type": "long" - }, - "content": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "bytes": { - "type": "long" - }, - "finished": { - "type": "boolean" - }, - "headers": { - "enabled": false, - "type": "object" - }, - "mime_type": { - "ignore_above": 1024, - "type": "keyword" - }, - "status_code": { - "type": "long" - } - } - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "interface": { - "properties": { - "alias": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "kubernetes": { - "dynamic": "false", - "properties": { - "annotations": { - "properties": { - "*": { - "type": "object" - } - } - }, - "container": { - "properties": { - "image": { - "path": "container.image.name", - "type": "alias" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "deployment": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "labels": { - "properties": { - "*": { - "type": "object" - } - } - }, - "namespace": { - "ignore_above": 1024, - "type": "keyword" - }, - "node": { - "properties": { - "hostname": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "pod": { - "properties": { - "ip": { - "type": "ip" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "uid": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "replicaset": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "selectors": { - "properties": { - "*": { - "type": "object" - } - } - }, - "statefulset": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "labels": { - "dynamic": "true", - "properties": { - "company": { - "type": "keyword" - }, - "customer_tier": { - "type": "keyword" - }, - "foo": { - "type": "keyword" - }, - "lorem": { - "type": "keyword" - }, - "multi-line": { - "type": "keyword" - }, - "request_id": { - "type": "keyword" - }, - "this-is-a-very-long-tag-name-without-any-spaces": { - "type": "keyword" - } - } - }, - "log": { - "properties": { - "file": { - "properties": { - "path": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "level": { - "ignore_above": 1024, - "type": "keyword" - }, - "logger": { - "ignore_above": 1024, - "type": "keyword" - }, - "origin": { - "properties": { - "file": { - "properties": { - "line": { - "type": "long" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "function": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "original": { - "ignore_above": 1024, - "index": false, - "type": "keyword" - }, - "syslog": { - "properties": { - "facility": { - "properties": { - "code": { - "type": "long" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "priority": { - "type": "long" - }, - "severity": { - "properties": { - "code": { - "type": "long" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - } - } - }, - "message": { - "norms": false, - "type": "text" - }, - "metricset": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "period": { - "meta": { - "unit": "ms" - }, - "type": "long" - } - } - }, - "network": { - "dynamic": "false", - "properties": { - "application": { - "ignore_above": 1024, - "type": "keyword" - }, - "bytes": { - "type": "long" - }, - "carrier": { - "properties": { - "icc": { - "ignore_above": 1024, - "type": "keyword" - }, - "mcc": { - "ignore_above": 1024, - "type": "keyword" - }, - "mnc": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "community_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "connection_type": { - "ignore_above": 1024, - "type": "keyword" - }, - "direction": { - "ignore_above": 1024, - "type": "keyword" - }, - "forwarded_ip": { - "type": "ip" - }, - "iana_number": { - "ignore_above": 1024, - "type": "keyword" - }, - "inner": { - "properties": { - "vlan": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "packets": { - "type": "long" - }, - "protocol": { - "ignore_above": 1024, - "type": "keyword" - }, - "transport": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "vlan": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "observer": { - "dynamic": "false", - "properties": { - "egress": { - "properties": { - "interface": { - "properties": { - "alias": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "vlan": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "zone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "geo": { - "properties": { - "city_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "location": { - "type": "geo_point" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "postal_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hostname": { - "ignore_above": 1024, - "type": "keyword" - }, - "ingress": { - "properties": { - "interface": { - "properties": { - "alias": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "vlan": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "zone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "ip": { - "type": "ip" - }, - "listening": { - "ignore_above": 1024, - "type": "keyword" - }, - "mac": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "os": { - "properties": { - "family": { - "ignore_above": 1024, - "type": "keyword" - }, - "full": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "kernel": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "platform": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "product": { - "ignore_above": 1024, - "type": "keyword" - }, - "serial_number": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "vendor": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - }, - "version_major": { - "type": "byte" - } - } - }, - "orchestrator": { - "properties": { - "api_version": { - "ignore_above": 1024, - "type": "keyword" - }, - "cluster": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "url": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "namespace": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "resource": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "organization": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "os": { - "properties": { - "family": { - "ignore_above": 1024, - "type": "keyword" - }, - "full": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "kernel": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "platform": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "package": { - "properties": { - "architecture": { - "ignore_above": 1024, - "type": "keyword" - }, - "build_version": { - "ignore_above": 1024, - "type": "keyword" - }, - "checksum": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "ignore_above": 1024, - "type": "keyword" - }, - "install_scope": { - "ignore_above": 1024, - "type": "keyword" - }, - "installed": { - "type": "date" - }, - "license": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "path": { - "ignore_above": 1024, - "type": "keyword" - }, - "reference": { - "ignore_above": 1024, - "type": "keyword" - }, - "size": { - "type": "long" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "parent": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "pe": { - "properties": { - "architecture": { - "ignore_above": 1024, - "type": "keyword" - }, - "company": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "ignore_above": 1024, - "type": "keyword" - }, - "file_version": { - "ignore_above": 1024, - "type": "keyword" - }, - "imphash": { - "ignore_above": 1024, - "type": "keyword" - }, - "original_file_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "product": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "process": { - "dynamic": "false", - "properties": { - "args": { - "ignore_above": 1024, - "type": "keyword" - }, - "args_count": { - "type": "long" - }, - "code_signature": { - "properties": { - "exists": { - "type": "boolean" - }, - "signing_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "team_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "trusted": { - "type": "boolean" - }, - "valid": { - "type": "boolean" - } - } - }, - "command_line": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "entity_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "executable": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "exit_code": { - "type": "long" - }, - "hash": { - "properties": { - "md5": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha1": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha256": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha512": { - "ignore_above": 1024, - "type": "keyword" - }, - "ssdeep": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "parent": { - "properties": { - "args": { - "ignore_above": 1024, - "type": "keyword" - }, - "args_count": { - "type": "long" - }, - "code_signature": { - "properties": { - "exists": { - "type": "boolean" - }, - "signing_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "team_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "trusted": { - "type": "boolean" - }, - "valid": { - "type": "boolean" - } - } - }, - "command_line": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "entity_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "executable": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "exit_code": { - "type": "long" - }, - "hash": { - "properties": { - "md5": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha1": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha256": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha512": { - "ignore_above": 1024, - "type": "keyword" - }, - "ssdeep": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "pe": { - "properties": { - "architecture": { - "ignore_above": 1024, - "type": "keyword" - }, - "company": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "ignore_above": 1024, - "type": "keyword" - }, - "file_version": { - "ignore_above": 1024, - "type": "keyword" - }, - "imphash": { - "ignore_above": 1024, - "type": "keyword" - }, - "original_file_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "product": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "pgid": { - "type": "long" - }, - "pid": { - "type": "long" - }, - "ppid": { - "type": "long" - }, - "start": { - "type": "date" - }, - "thread": { - "properties": { - "id": { - "type": "long" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "title": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "uptime": { - "type": "long" - }, - "working_directory": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "pe": { - "properties": { - "architecture": { - "ignore_above": 1024, - "type": "keyword" - }, - "company": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "ignore_above": 1024, - "type": "keyword" - }, - "file_version": { - "ignore_above": 1024, - "type": "keyword" - }, - "imphash": { - "ignore_above": 1024, - "type": "keyword" - }, - "original_file_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "product": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "pgid": { - "type": "long" - }, - "pid": { - "type": "long" - }, - "ppid": { - "type": "long" - }, - "start": { - "type": "date" - }, - "thread": { - "properties": { - "id": { - "type": "long" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "title": { - "ignore_above": 1024, - "type": "keyword" - }, - "uptime": { - "type": "long" - }, - "working_directory": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "processor": { - "properties": { - "event": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "profile": { - "dynamic": "false", - "properties": { - "alloc_objects": { - "properties": { - "count": { - "type": "long" - } - } - }, - "alloc_space": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "cpu": { - "properties": { - "ns": { - "meta": { - "unit": "nanos" - }, - "type": "long" - } - } - }, - "duration": { - "meta": { - "unit": "nanos" - }, - "type": "long" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "inuse_objects": { - "properties": { - "count": { - "type": "long" - } - } - }, - "inuse_space": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "samples": { - "properties": { - "count": { - "type": "long" - } - } - }, - "stack": { - "dynamic": "false", - "properties": { - "filename": { - "ignore_above": 1024, - "type": "keyword" - }, - "function": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "line": { - "type": "long" - } - } - }, - "top": { - "dynamic": "false", - "properties": { - "filename": { - "ignore_above": 1024, - "type": "keyword" - }, - "function": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "line": { - "type": "long" - } - } - }, - "wall": { - "properties": { - "us": { - "meta": { - "unit": "micros" - }, - "type": "long" - } - } - } - } - }, - "registry": { - "properties": { - "data": { - "properties": { - "bytes": { - "ignore_above": 1024, - "type": "keyword" - }, - "strings": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hive": { - "ignore_above": 1024, - "type": "keyword" - }, - "key": { - "ignore_above": 1024, - "type": "keyword" - }, - "path": { - "ignore_above": 1024, - "type": "keyword" - }, - "value": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "related": { - "properties": { - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "hosts": { - "ignore_above": 1024, - "type": "keyword" - }, - "ip": { - "type": "ip" - }, - "user": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "rule": { - "properties": { - "author": { - "ignore_above": 1024, - "type": "keyword" - }, - "category": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "license": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "reference": { - "ignore_above": 1024, - "type": "keyword" - }, - "ruleset": { - "ignore_above": 1024, - "type": "keyword" - }, - "uuid": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "server": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "as": { - "properties": { - "number": { - "type": "long" - }, - "organization": { - "properties": { - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "bytes": { - "type": "long" - }, - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "geo": { - "properties": { - "city_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "location": { - "type": "geo_point" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "postal_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "ip": { - "type": "ip" - }, - "mac": { - "ignore_above": 1024, - "type": "keyword" - }, - "nat": { - "properties": { - "ip": { - "type": "ip" - }, - "port": { - "type": "long" - } - } - }, - "packets": { - "type": "long" - }, - "port": { - "type": "long" - }, - "registered_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "subdomain": { - "ignore_above": 1024, - "type": "keyword" - }, - "top_level_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "user": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "service": { - "dynamic": "false", - "properties": { - "environment": { - "ignore_above": 1024, - "type": "keyword" - }, - "ephemeral_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "framework": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "language": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "node": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "runtime": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "state": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "session": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "sequence": { - "type": "long" - } - } - }, - "source": { - "dynamic": "false", - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "as": { - "properties": { - "number": { - "type": "long" - }, - "organization": { - "properties": { - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "bytes": { - "type": "long" - }, - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "geo": { - "properties": { - "city_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "location": { - "type": "geo_point" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "postal_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "ip": { - "type": "ip" - }, - "mac": { - "ignore_above": 1024, - "type": "keyword" - }, - "nat": { - "properties": { - "ip": { - "type": "ip" - }, - "port": { - "type": "long" - } - } - }, - "packets": { - "type": "long" - }, - "port": { - "type": "long" - }, - "registered_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "subdomain": { - "ignore_above": 1024, - "type": "keyword" - }, - "top_level_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "user": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "sourcemap": { - "dynamic": "false", - "properties": { - "bundle_filepath": { - "ignore_above": 1024, - "type": "keyword" - }, - "service": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "span": { - "dynamic": "false", - "properties": { - "action": { - "ignore_above": 1024, - "type": "keyword" - }, - "db": { - "dynamic": "false", - "properties": { - "link": { - "ignore_above": 1024, - "type": "keyword" - }, - "rows_affected": { - "type": "long" - } - } - }, - "destination": { - "dynamic": "false", - "properties": { - "service": { - "dynamic": "false", - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "resource": { - "ignore_above": 1024, - "type": "keyword" - }, - "response_time": { - "properties": { - "count": { - "type": "long" - }, - "sum": { - "properties": { - "us": { - "meta": { - "unit": "micros" - }, - "type": "long" - } - } - } - } - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "duration": { - "properties": { - "us": { - "type": "long" - } - } - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "message": { - "dynamic": "false", - "properties": { - "age": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "queue": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "self_time": { - "properties": { - "count": { - "type": "long" - }, - "sum": { - "properties": { - "us": { - "meta": { - "unit": "micros" - }, - "type": "long" - } - } - } - } - }, - "start": { - "properties": { - "us": { - "type": "long" - } - } - }, - "subtype": { - "ignore_above": 1024, - "type": "keyword" - }, - "sync": { - "type": "boolean" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "system": { - "properties": { - "cpu": { - "properties": { - "total": { - "properties": { - "norm": { - "properties": { - "pct": { - "meta": { - "metric_type": "gauge", - "unit": "percent" - }, - "scaling_factor": 1000, - "type": "scaled_float" - } - } - } - } - } - } - }, - "memory": { - "properties": { - "actual": { - "properties": { - "free": { - "meta": { - "metric_type": "gauge", - "unit": "byte" - }, - "type": "long" - } - } - }, - "total": { - "meta": { - "metric_type": "gauge", - "unit": "byte" - }, - "type": "long" - } - } - }, - "process": { - "properties": { - "cgroup": { - "properties": { - "cpu": { - "properties": { - "cfs": { - "properties": { - "period": { - "properties": { - "us": { - "meta": { - "metric_type": "gauge", - "unit": "micros" - }, - "type": "long" - } - } - }, - "quota": { - "properties": { - "us": { - "meta": { - "metric_type": "gauge", - "unit": "micros" - }, - "type": "long" - } - } - } - } - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "stats": { - "properties": { - "periods": { - "meta": { - "metric_type": "counter" - }, - "type": "long" - }, - "throttled": { - "properties": { - "ns": { - "meta": { - "metric_type": "counter", - "unit": "nanos" - }, - "type": "long" - }, - "periods": { - "meta": { - "metric_type": "counter" - }, - "type": "long" - } - } - } - } - } - } - }, - "cpuacct": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "total": { - "properties": { - "ns": { - "meta": { - "metric_type": "counter", - "unit": "nanos" - }, - "type": "long" - } - } - } - } - }, - "memory": { - "properties": { - "mem": { - "properties": { - "limit": { - "properties": { - "bytes": { - "meta": { - "metric_type": "gauge", - "unit": "byte" - }, - "type": "long" - } - } - }, - "usage": { - "properties": { - "bytes": { - "meta": { - "metric_type": "gauge", - "unit": "byte" - }, - "type": "long" - } - } - } - } - } - } - } - } - }, - "cpu": { - "properties": { - "total": { - "properties": { - "norm": { - "properties": { - "pct": { - "meta": { - "metric_type": "gauge", - "unit": "percent" - }, - "scaling_factor": 1000, - "type": "scaled_float" - } - } - } - } - } - } - }, - "memory": { - "properties": { - "rss": { - "properties": { - "bytes": { - "meta": { - "metric_type": "gauge", - "unit": "byte" - }, - "type": "long" - } - } - }, - "size": { - "meta": { - "metric_type": "gauge", - "unit": "byte" - }, - "type": "long" - } - } - } - } - } - } - }, - "tags": { - "ignore_above": 1024, - "type": "keyword" - }, - "threat": { - "properties": { - "framework": { - "ignore_above": 1024, - "type": "keyword" - }, - "tactic": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "reference": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "technique": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "reference": { - "ignore_above": 1024, - "type": "keyword" - }, - "subtechnique": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "reference": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - } - } - }, - "timeseries": { - "properties": { - "instance": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "timestamp": { - "properties": { - "us": { - "type": "long" - } - } - }, - "tls": { - "properties": { - "cipher": { - "ignore_above": 1024, - "type": "keyword" - }, - "client": { - "properties": { - "certificate": { - "ignore_above": 1024, - "type": "keyword" - }, - "certificate_chain": { - "ignore_above": 1024, - "type": "keyword" - }, - "hash": { - "properties": { - "md5": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha1": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha256": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "issuer": { - "ignore_above": 1024, - "type": "keyword" - }, - "ja3": { - "ignore_above": 1024, - "type": "keyword" - }, - "not_after": { - "type": "date" - }, - "not_before": { - "type": "date" - }, - "server_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject": { - "ignore_above": 1024, - "type": "keyword" - }, - "supported_ciphers": { - "ignore_above": 1024, - "type": "keyword" - }, - "x509": { - "properties": { - "alternative_names": { - "ignore_above": 1024, - "type": "keyword" - }, - "issuer": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "not_after": { - "type": "date" - }, - "not_before": { - "type": "date" - }, - "public_key_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_curve": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_exponent": { - "index": false, - "type": "long" - }, - "public_key_size": { - "type": "long" - }, - "serial_number": { - "ignore_above": 1024, - "type": "keyword" - }, - "signature_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "version_number": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "curve": { - "ignore_above": 1024, - "type": "keyword" - }, - "established": { - "type": "boolean" - }, - "next_protocol": { - "ignore_above": 1024, - "type": "keyword" - }, - "resumed": { - "type": "boolean" - }, - "server": { - "properties": { - "certificate": { - "ignore_above": 1024, - "type": "keyword" - }, - "certificate_chain": { - "ignore_above": 1024, - "type": "keyword" - }, - "hash": { - "properties": { - "md5": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha1": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha256": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "issuer": { - "ignore_above": 1024, - "type": "keyword" - }, - "ja3s": { - "ignore_above": 1024, - "type": "keyword" - }, - "not_after": { - "type": "date" - }, - "not_before": { - "type": "date" - }, - "subject": { - "ignore_above": 1024, - "type": "keyword" - }, - "x509": { - "properties": { - "alternative_names": { - "ignore_above": 1024, - "type": "keyword" - }, - "issuer": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "not_after": { - "type": "date" - }, - "not_before": { - "type": "date" - }, - "public_key_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_curve": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_exponent": { - "index": false, - "type": "long" - }, - "public_key_size": { - "type": "long" - }, - "serial_number": { - "ignore_above": 1024, - "type": "keyword" - }, - "signature_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "version_number": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - }, - "version_protocol": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "trace": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "transaction": { - "dynamic": "false", - "properties": { - "breakdown": { - "properties": { - "count": { - "type": "long" - } - } - }, - "duration": { - "properties": { - "count": { - "type": "long" - }, - "histogram": { - "type": "histogram" - }, - "sum": { - "properties": { - "us": { - "meta": { - "unit": "micros" - }, - "type": "long" - } - } - }, - "us": { - "type": "long" - } - } - }, - "experience": { - "properties": { - "cls": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "fid": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "longtask": { - "properties": { - "count": { - "type": "long" - }, - "max": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "sum": { - "scaling_factor": 1000000, - "type": "scaled_float" - } - } - }, - "tbt": { - "scaling_factor": 1000000, - "type": "scaled_float" - } - } - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "marks": { - "dynamic": "true", - "properties": { - "*": { - "properties": { - "*": { - "dynamic": "true", - "type": "object" - } - } - } - } - }, - "message": { - "dynamic": "false", - "properties": { - "age": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "queue": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "result": { - "ignore_above": 1024, - "type": "keyword" - }, - "root": { - "type": "boolean" - }, - "sampled": { - "type": "boolean" - }, - "self_time": { - "properties": { - "count": { - "type": "long" - }, - "sum": { - "properties": { - "us": { - "meta": { - "unit": "micros" - }, - "type": "long" - } - } - } - } - }, - "span_count": { - "properties": { - "dropped": { - "type": "long" - } - } - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "url": { - "dynamic": "false", - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "extension": { - "ignore_above": 1024, - "type": "keyword" - }, - "fragment": { - "ignore_above": 1024, - "type": "keyword" - }, - "full": { - "ignore_above": 1024, - "type": "keyword" - }, - "original": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "password": { - "ignore_above": 1024, - "type": "keyword" - }, - "path": { - "ignore_above": 1024, - "type": "keyword" - }, - "port": { - "type": "long" - }, - "query": { - "ignore_above": 1024, - "type": "keyword" - }, - "registered_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "scheme": { - "ignore_above": 1024, - "type": "keyword" - }, - "subdomain": { - "ignore_above": 1024, - "type": "keyword" - }, - "top_level_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "username": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "user": { - "dynamic": "false", - "properties": { - "changes": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "effective": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - }, - "target": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "user_agent": { - "dynamic": "false", - "properties": { - "device": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "original": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "os": { - "properties": { - "family": { - "ignore_above": 1024, - "type": "keyword" - }, - "full": { - "ignore_above": 1024, - "type": "keyword" - }, - "kernel": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "platform": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "vlan": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "vulnerability": { - "properties": { - "category": { - "ignore_above": 1024, - "type": "keyword" - }, - "classification": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "enumeration": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "reference": { - "ignore_above": 1024, - "type": "keyword" - }, - "report_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "scanner": { - "properties": { - "vendor": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "score": { - "properties": { - "base": { - "type": "float" - }, - "environmental": { - "type": "float" - }, - "temporal": { - "type": "float" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "severity": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "x509": { - "properties": { - "alternative_names": { - "ignore_above": 1024, - "type": "keyword" - }, - "issuer": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "not_after": { - "type": "date" - }, - "not_before": { - "type": "date" - }, - "public_key_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_curve": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_exponent": { - "index": false, - "type": "long" - }, - "public_key_size": { - "type": "long" - }, - "serial_number": { - "ignore_above": 1024, - "type": "keyword" - }, - "signature_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "version_number": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "settings": { - "index": { - "auto_expand_replicas": "0-1", - "blocks": { - "read_only_allow_delete": "false" - }, - "codec": "best_compression", - "lifecycle": { - "name": "apm-rollover-30-days", - "rollover_alias": "apm-7.14.0-error" - }, - "mapping": { - "total_fields": { - "limit": "2000" - } - }, - "max_docvalue_fields_search": "200", - "number_of_replicas": "1", - "number_of_shards": "1", - "priority": "100", - "refresh_interval": "5s" - } - } - } -} - -{ - "type": "index", - "value": { - "aliases": { - "apm-7.14.0-metric": { - "is_write_index": true - } - }, - "index": "apm-7.14.0-metric-000001", - "mappings": { - "_meta": { - "beat": "apm", - "version": "7.14.0" - }, - "date_detection": false, - "dynamic_templates": [ - { - "labels": { - "mapping": { - "type": "keyword" - }, - "match_mapping_type": "string", - "path_match": "labels.*" - } - }, - { - "container.labels": { - "mapping": { - "type": "keyword" - }, - "match_mapping_type": "string", - "path_match": "container.labels.*" - } - }, - { - "fields": { - "mapping": { - "type": "keyword" - }, - "match_mapping_type": "string", - "path_match": "fields.*" - } - }, - { - "docker.container.labels": { - "mapping": { - "type": "keyword" - }, - "match_mapping_type": "string", - "path_match": "docker.container.labels.*" - } - }, - { - "kubernetes.labels.*": { - "mapping": { - "type": "keyword" - }, - "path_match": "kubernetes.labels.*" - } - }, - { - "kubernetes.annotations.*": { - "mapping": { - "type": "keyword" - }, - "path_match": "kubernetes.annotations.*" - } - }, - { - "kubernetes.selectors.*": { - "mapping": { - "type": "keyword" - }, - "path_match": "kubernetes.selectors.*" - } - }, - { - "labels_string": { - "mapping": { - "type": "keyword" - }, - "match_mapping_type": "string", - "path_match": "labels.*" - } - }, - { - "labels_boolean": { - "mapping": { - "type": "boolean" - }, - "match_mapping_type": "boolean", - "path_match": "labels.*" - } - }, - { - "labels_*": { - "mapping": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "path_match": "labels.*" - } - }, - { - "histogram": { - "mapping": { - "type": "histogram" - } - } - }, - { - "transaction.marks": { - "mapping": { - "type": "keyword" - }, - "match_mapping_type": "string", - "path_match": "transaction.marks.*" - } - }, - { - "transaction.marks.*.*": { - "mapping": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "path_match": "transaction.marks.*.*" - } - }, - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "agent": { - "dynamic": "false", - "properties": { - "build": { - "properties": { - "original": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "ephemeral_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "hostname": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "agent_config_applied": { - "type": "long" - }, - "as": { - "properties": { - "number": { - "type": "long" - }, - "organization": { - "properties": { - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "child": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "client": { - "dynamic": "false", - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "as": { - "properties": { - "number": { - "type": "long" - }, - "organization": { - "properties": { - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "bytes": { - "type": "long" - }, - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "geo": { - "properties": { - "city_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "location": { - "type": "geo_point" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "postal_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "ip": { - "type": "ip" - }, - "mac": { - "ignore_above": 1024, - "type": "keyword" - }, - "nat": { - "properties": { - "ip": { - "type": "ip" - }, - "port": { - "type": "long" - } - } - }, - "packets": { - "type": "long" - }, - "port": { - "type": "long" - }, - "registered_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "subdomain": { - "ignore_above": 1024, - "type": "keyword" - }, - "top_level_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "user": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "cloud": { - "properties": { - "account": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "availability_zone": { - "ignore_above": 1024, - "type": "keyword" - }, - "image": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "instance": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "machine": { - "dynamic": "false", - "properties": { - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "project": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "provider": { - "ignore_above": 1024, - "type": "keyword" - }, - "region": { - "ignore_above": 1024, - "type": "keyword" - }, - "service": { - "dynamic": "false", - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "clr": { - "properties": { - "gc": { - "properties": { - "count": { - "type": "long" - }, - "gen0size": { - "type": "long" - }, - "gen1size": { - "type": "float" - }, - "gen2size": { - "type": "long" - }, - "gen3size": { - "type": "float" - }, - "time": { - "type": "float" - } - } - } - } - }, - "code_signature": { - "properties": { - "exists": { - "type": "boolean" - }, - "signing_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "team_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "trusted": { - "type": "boolean" - }, - "valid": { - "type": "boolean" - } - } - }, - "container": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "image": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "tag": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "labels": { - "type": "object" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "runtime": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "destination": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "as": { - "properties": { - "number": { - "type": "long" - }, - "organization": { - "properties": { - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "bytes": { - "type": "long" - }, - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "geo": { - "properties": { - "city_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "location": { - "type": "geo_point" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "postal_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "ip": { - "type": "ip" - }, - "mac": { - "ignore_above": 1024, - "type": "keyword" - }, - "nat": { - "properties": { - "ip": { - "type": "ip" - }, - "port": { - "type": "long" - } - } - }, - "packets": { - "type": "long" - }, - "port": { - "type": "long" - }, - "registered_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "subdomain": { - "ignore_above": 1024, - "type": "keyword" - }, - "top_level_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "user": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "dll": { - "properties": { - "code_signature": { - "properties": { - "exists": { - "type": "boolean" - }, - "signing_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "team_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "trusted": { - "type": "boolean" - }, - "valid": { - "type": "boolean" - } - } - }, - "hash": { - "properties": { - "md5": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha1": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha256": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha512": { - "ignore_above": 1024, - "type": "keyword" - }, - "ssdeep": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "path": { - "ignore_above": 1024, - "type": "keyword" - }, - "pe": { - "properties": { - "architecture": { - "ignore_above": 1024, - "type": "keyword" - }, - "company": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "ignore_above": 1024, - "type": "keyword" - }, - "file_version": { - "ignore_above": 1024, - "type": "keyword" - }, - "imphash": { - "ignore_above": 1024, - "type": "keyword" - }, - "original_file_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "product": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "dns": { - "properties": { - "answers": { - "properties": { - "class": { - "ignore_above": 1024, - "type": "keyword" - }, - "data": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "ttl": { - "type": "long" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "header_flags": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "op_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "question": { - "properties": { - "class": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "registered_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "subdomain": { - "ignore_above": 1024, - "type": "keyword" - }, - "top_level_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "resolved_ip": { - "type": "ip" - }, - "response_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "docker": { - "properties": { - "container": { - "properties": { - "labels": { - "type": "object" - } - } - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "dynamic": "false", - "properties": { - "code": { - "ignore_above": 1024, - "type": "keyword" - }, - "culprit": { - "ignore_above": 1024, - "type": "keyword" - }, - "exception": { - "properties": { - "code": { - "ignore_above": 1024, - "type": "keyword" - }, - "handled": { - "type": "boolean" - }, - "message": { - "norms": false, - "type": "text" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "grouping_key": { - "ignore_above": 1024, - "type": "keyword" - }, - "grouping_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "log": { - "properties": { - "level": { - "ignore_above": 1024, - "type": "keyword" - }, - "logger_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "message": { - "norms": false, - "type": "text" - }, - "param_message": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "message": { - "norms": false, - "type": "text" - }, - "stack_trace": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "index": false, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "event": { - "properties": { - "action": { - "ignore_above": 1024, - "type": "keyword" - }, - "category": { - "ignore_above": 1024, - "type": "keyword" - }, - "code": { - "ignore_above": 1024, - "type": "keyword" - }, - "created": { - "type": "date" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "end": { - "type": "date" - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "ingested": { - "type": "date" - }, - "kind": { - "ignore_above": 1024, - "type": "keyword" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - }, - "original": { - "ignore_above": 1024, - "index": false, - "type": "keyword" - }, - "outcome": { - "ignore_above": 1024, - "type": "keyword" - }, - "provider": { - "ignore_above": 1024, - "type": "keyword" - }, - "reason": { - "ignore_above": 1024, - "type": "keyword" - }, - "reference": { - "ignore_above": 1024, - "type": "keyword" - }, - "risk_score": { - "type": "float" - }, - "risk_score_norm": { - "type": "float" - }, - "sequence": { - "type": "long" - }, - "severity": { - "type": "long" - }, - "start": { - "type": "date" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "url": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "experimental": { - "dynamic": "true", - "type": "object" - }, - "fields": { - "type": "object" - }, - "file": { - "properties": { - "accessed": { - "type": "date" - }, - "attributes": { - "ignore_above": 1024, - "type": "keyword" - }, - "code_signature": { - "properties": { - "exists": { - "type": "boolean" - }, - "signing_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "team_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "trusted": { - "type": "boolean" - }, - "valid": { - "type": "boolean" - } - } - }, - "created": { - "type": "date" - }, - "ctime": { - "type": "date" - }, - "device": { - "ignore_above": 1024, - "type": "keyword" - }, - "directory": { - "ignore_above": 1024, - "type": "keyword" - }, - "drive_letter": { - "ignore_above": 1, - "type": "keyword" - }, - "extension": { - "ignore_above": 1024, - "type": "keyword" - }, - "gid": { - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "ignore_above": 1024, - "type": "keyword" - }, - "hash": { - "properties": { - "md5": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha1": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha256": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha512": { - "ignore_above": 1024, - "type": "keyword" - }, - "ssdeep": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "inode": { - "ignore_above": 1024, - "type": "keyword" - }, - "mime_type": { - "ignore_above": 1024, - "type": "keyword" - }, - "mode": { - "ignore_above": 1024, - "type": "keyword" - }, - "mtime": { - "type": "date" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "owner": { - "ignore_above": 1024, - "type": "keyword" - }, - "path": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "pe": { - "properties": { - "architecture": { - "ignore_above": 1024, - "type": "keyword" - }, - "company": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "ignore_above": 1024, - "type": "keyword" - }, - "file_version": { - "ignore_above": 1024, - "type": "keyword" - }, - "imphash": { - "ignore_above": 1024, - "type": "keyword" - }, - "original_file_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "product": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "size": { - "type": "long" - }, - "target_path": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "uid": { - "ignore_above": 1024, - "type": "keyword" - }, - "x509": { - "properties": { - "alternative_names": { - "ignore_above": 1024, - "type": "keyword" - }, - "issuer": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "not_after": { - "type": "date" - }, - "not_before": { - "type": "date" - }, - "public_key_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_curve": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_exponent": { - "index": false, - "type": "long" - }, - "public_key_size": { - "type": "long" - }, - "serial_number": { - "ignore_above": 1024, - "type": "keyword" - }, - "signature_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "version_number": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "geo": { - "properties": { - "city_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "location": { - "type": "geo_point" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "postal_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "golang": { - "properties": { - "goroutines": { - "type": "long" - }, - "heap": { - "properties": { - "allocations": { - "properties": { - "active": { - "type": "float" - }, - "allocated": { - "type": "float" - }, - "frees": { - "type": "long" - }, - "idle": { - "type": "float" - }, - "mallocs": { - "type": "long" - }, - "objects": { - "type": "long" - }, - "total": { - "type": "float" - } - } - }, - "gc": { - "properties": { - "cpu_fraction": { - "type": "float" - }, - "next_gc_limit": { - "type": "float" - }, - "total_count": { - "type": "long" - }, - "total_pause": { - "properties": { - "ns": { - "type": "float" - } - } - } - } - }, - "system": { - "properties": { - "obtained": { - "type": "float" - }, - "released": { - "type": "float" - }, - "stack": { - "type": "float" - }, - "total": { - "type": "float" - } - } - } - } - } - } - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "properties": { - "md5": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha1": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha256": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha512": { - "ignore_above": 1024, - "type": "keyword" - }, - "ssdeep": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "dynamic": "false", - "properties": { - "architecture": { - "ignore_above": 1024, - "type": "keyword" - }, - "containerized": { - "type": "boolean" - }, - "cpu": { - "properties": { - "usage": { - "scaling_factor": 1000, - "type": "scaled_float" - } - } - }, - "disk": { - "properties": { - "read": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "write": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "geo": { - "properties": { - "city_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "location": { - "type": "geo_point" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "postal_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hostname": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "ip": { - "type": "ip" - }, - "mac": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "network": { - "properties": { - "egress": { - "properties": { - "bytes": { - "type": "long" - }, - "packets": { - "type": "long" - } - } - }, - "ingress": { - "properties": { - "bytes": { - "type": "long" - }, - "packets": { - "type": "long" - } - } - } - } - }, - "os": { - "properties": { - "build": { - "ignore_above": 1024, - "type": "keyword" - }, - "codename": { - "ignore_above": 1024, - "type": "keyword" - }, - "family": { - "ignore_above": 1024, - "type": "keyword" - }, - "full": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "kernel": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "platform": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "uptime": { - "type": "long" - }, - "user": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "http": { - "dynamic": "false", - "properties": { - "request": { - "properties": { - "body": { - "properties": { - "bytes": { - "type": "long" - }, - "content": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "bytes": { - "type": "long" - }, - "headers": { - "enabled": false, - "type": "object" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "method": { - "ignore_above": 1024, - "type": "keyword" - }, - "mime_type": { - "ignore_above": 1024, - "type": "keyword" - }, - "referrer": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "response": { - "properties": { - "body": { - "properties": { - "bytes": { - "type": "long" - }, - "content": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "bytes": { - "type": "long" - }, - "finished": { - "type": "boolean" - }, - "headers": { - "enabled": false, - "type": "object" - }, - "mime_type": { - "ignore_above": 1024, - "type": "keyword" - }, - "status_code": { - "type": "long" - } - } - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "interface": { - "properties": { - "alias": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "jvm": { - "properties": { - "gc": { - "properties": { - "alloc": { - "type": "float" - }, - "count": { - "type": "long" - }, - "time": { - "type": "long" - } - } - }, - "memory": { - "properties": { - "heap": { - "properties": { - "committed": { - "type": "float" - }, - "max": { - "type": "float" - }, - "pool": { - "properties": { - "committed": { - "type": "float" - }, - "max": { - "type": "float" - }, - "used": { - "type": "float" - } - } - }, - "used": { - "type": "float" - } - } - }, - "non_heap": { - "properties": { - "committed": { - "type": "float" - }, - "max": { - "type": "long" - }, - "used": { - "type": "float" - } - } - } - } - }, - "thread": { - "properties": { - "count": { - "type": "long" - } - } - } - } - }, - "kubernetes": { - "dynamic": "false", - "properties": { - "annotations": { - "properties": { - "*": { - "type": "object" - } - } - }, - "container": { - "properties": { - "image": { - "path": "container.image.name", - "type": "alias" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "deployment": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "labels": { - "properties": { - "*": { - "type": "object" - } - } - }, - "namespace": { - "ignore_above": 1024, - "type": "keyword" - }, - "node": { - "properties": { - "hostname": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "pod": { - "properties": { - "ip": { - "type": "ip" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "uid": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "replicaset": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "selectors": { - "properties": { - "*": { - "type": "object" - } - } - }, - "statefulset": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "labels": { - "dynamic": "true", - "properties": { - "a": { - "type": "keyword" - }, - "charset": { - "type": "keyword" - }, - "connection": { - "type": "keyword" - }, - "env": { - "type": "keyword" - }, - "etag": { - "type": "keyword" - }, - "generation": { - "type": "keyword" - }, - "hostname": { - "type": "keyword" - }, - "implementation": { - "type": "keyword" - }, - "major": { - "type": "keyword" - }, - "method": { - "type": "keyword" - }, - "minor": { - "type": "keyword" - }, - "name": { - "type": "keyword" - }, - "patchlevel": { - "type": "keyword" - }, - "status": { - "type": "keyword" - }, - "transport": { - "type": "keyword" - }, - "type": { - "type": "keyword" - }, - "version": { - "type": "keyword" - }, - "view": { - "type": "keyword" - } - } - }, - "log": { - "properties": { - "file": { - "properties": { - "path": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "level": { - "ignore_above": 1024, - "type": "keyword" - }, - "logger": { - "ignore_above": 1024, - "type": "keyword" - }, - "origin": { - "properties": { - "file": { - "properties": { - "line": { - "type": "long" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "function": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "original": { - "ignore_above": 1024, - "index": false, - "type": "keyword" - }, - "syslog": { - "properties": { - "facility": { - "properties": { - "code": { - "type": "long" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "priority": { - "type": "long" - }, - "severity": { - "properties": { - "code": { - "type": "long" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - } - } - }, - "message": { - "norms": false, - "type": "text" - }, - "metricset": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "period": { - "meta": { - "unit": "ms" - }, - "type": "long" - } - } - }, - "network": { - "dynamic": "false", - "properties": { - "application": { - "ignore_above": 1024, - "type": "keyword" - }, - "bytes": { - "type": "long" - }, - "carrier": { - "properties": { - "icc": { - "ignore_above": 1024, - "type": "keyword" - }, - "mcc": { - "ignore_above": 1024, - "type": "keyword" - }, - "mnc": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "community_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "connection_type": { - "ignore_above": 1024, - "type": "keyword" - }, - "direction": { - "ignore_above": 1024, - "type": "keyword" - }, - "forwarded_ip": { - "type": "ip" - }, - "iana_number": { - "ignore_above": 1024, - "type": "keyword" - }, - "inner": { - "properties": { - "vlan": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "packets": { - "type": "long" - }, - "protocol": { - "ignore_above": 1024, - "type": "keyword" - }, - "transport": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "vlan": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "nodejs": { - "properties": { - "eventloop": { - "properties": { - "delay": { - "properties": { - "avg": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - } - } - }, - "handles": { - "properties": { - "active": { - "type": "long" - } - } - }, - "memory": { - "properties": { - "arrayBuffers": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "external": { - "properties": { - "bytes": { - "type": "float" - } - } - }, - "heap": { - "properties": { - "allocated": { - "properties": { - "bytes": { - "type": "float" - } - } - }, - "used": { - "properties": { - "bytes": { - "type": "float" - } - } - } - } - } - } - }, - "requests": { - "properties": { - "active": { - "type": "long" - } - } - } - } - }, - "observer": { - "dynamic": "false", - "properties": { - "egress": { - "properties": { - "interface": { - "properties": { - "alias": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "vlan": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "zone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "geo": { - "properties": { - "city_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "location": { - "type": "geo_point" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "postal_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hostname": { - "ignore_above": 1024, - "type": "keyword" - }, - "ingress": { - "properties": { - "interface": { - "properties": { - "alias": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "vlan": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "zone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "ip": { - "type": "ip" - }, - "listening": { - "ignore_above": 1024, - "type": "keyword" - }, - "mac": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "os": { - "properties": { - "family": { - "ignore_above": 1024, - "type": "keyword" - }, - "full": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "kernel": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "platform": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "product": { - "ignore_above": 1024, - "type": "keyword" - }, - "serial_number": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "vendor": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - }, - "version_major": { - "type": "byte" - } - } - }, - "orchestrator": { - "properties": { - "api_version": { - "ignore_above": 1024, - "type": "keyword" - }, - "cluster": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "url": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "namespace": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "resource": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "organization": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "os": { - "properties": { - "family": { - "ignore_above": 1024, - "type": "keyword" - }, - "full": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "kernel": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "platform": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "package": { - "properties": { - "architecture": { - "ignore_above": 1024, - "type": "keyword" - }, - "build_version": { - "ignore_above": 1024, - "type": "keyword" - }, - "checksum": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "ignore_above": 1024, - "type": "keyword" - }, - "install_scope": { - "ignore_above": 1024, - "type": "keyword" - }, - "installed": { - "type": "date" - }, - "license": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "path": { - "ignore_above": 1024, - "type": "keyword" - }, - "reference": { - "ignore_above": 1024, - "type": "keyword" - }, - "size": { - "type": "long" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "parent": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "pe": { - "properties": { - "architecture": { - "ignore_above": 1024, - "type": "keyword" - }, - "company": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "ignore_above": 1024, - "type": "keyword" - }, - "file_version": { - "ignore_above": 1024, - "type": "keyword" - }, - "imphash": { - "ignore_above": 1024, - "type": "keyword" - }, - "original_file_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "product": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "process": { - "dynamic": "false", - "properties": { - "args": { - "ignore_above": 1024, - "type": "keyword" - }, - "args_count": { - "type": "long" - }, - "code_signature": { - "properties": { - "exists": { - "type": "boolean" - }, - "signing_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "team_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "trusted": { - "type": "boolean" - }, - "valid": { - "type": "boolean" - } - } - }, - "command_line": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "entity_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "executable": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "exit_code": { - "type": "long" - }, - "hash": { - "properties": { - "md5": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha1": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha256": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha512": { - "ignore_above": 1024, - "type": "keyword" - }, - "ssdeep": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "parent": { - "properties": { - "args": { - "ignore_above": 1024, - "type": "keyword" - }, - "args_count": { - "type": "long" - }, - "code_signature": { - "properties": { - "exists": { - "type": "boolean" - }, - "signing_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "team_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "trusted": { - "type": "boolean" - }, - "valid": { - "type": "boolean" - } - } - }, - "command_line": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "entity_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "executable": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "exit_code": { - "type": "long" - }, - "hash": { - "properties": { - "md5": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha1": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha256": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha512": { - "ignore_above": 1024, - "type": "keyword" - }, - "ssdeep": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "pe": { - "properties": { - "architecture": { - "ignore_above": 1024, - "type": "keyword" - }, - "company": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "ignore_above": 1024, - "type": "keyword" - }, - "file_version": { - "ignore_above": 1024, - "type": "keyword" - }, - "imphash": { - "ignore_above": 1024, - "type": "keyword" - }, - "original_file_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "product": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "pgid": { - "type": "long" - }, - "pid": { - "type": "long" - }, - "ppid": { - "type": "long" - }, - "start": { - "type": "date" - }, - "thread": { - "properties": { - "id": { - "type": "long" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "title": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "uptime": { - "type": "long" - }, - "working_directory": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "pe": { - "properties": { - "architecture": { - "ignore_above": 1024, - "type": "keyword" - }, - "company": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "ignore_above": 1024, - "type": "keyword" - }, - "file_version": { - "ignore_above": 1024, - "type": "keyword" - }, - "imphash": { - "ignore_above": 1024, - "type": "keyword" - }, - "original_file_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "product": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "pgid": { - "type": "long" - }, - "pid": { - "type": "long" - }, - "ppid": { - "type": "long" - }, - "start": { - "type": "date" - }, - "thread": { - "properties": { - "id": { - "type": "long" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "title": { - "ignore_above": 1024, - "type": "keyword" - }, - "uptime": { - "type": "long" - }, - "working_directory": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "processor": { - "properties": { - "event": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "profile": { - "dynamic": "false", - "properties": { - "alloc_objects": { - "properties": { - "count": { - "type": "long" - } - } - }, - "alloc_space": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "cpu": { - "properties": { - "ns": { - "meta": { - "unit": "nanos" - }, - "type": "long" - } - } - }, - "duration": { - "meta": { - "unit": "nanos" - }, - "type": "long" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "inuse_objects": { - "properties": { - "count": { - "type": "long" - } - } - }, - "inuse_space": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "samples": { - "properties": { - "count": { - "type": "long" - } - } - }, - "stack": { - "dynamic": "false", - "properties": { - "filename": { - "ignore_above": 1024, - "type": "keyword" - }, - "function": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "line": { - "type": "long" - } - } - }, - "top": { - "dynamic": "false", - "properties": { - "filename": { - "ignore_above": 1024, - "type": "keyword" - }, - "function": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "line": { - "type": "long" - } - } - }, - "wall": { - "properties": { - "us": { - "meta": { - "unit": "micros" - }, - "type": "long" - } - } - } - } - }, - "prometheus": { - "properties": { - "metrics": { - "properties": { - "django_http_ajax_requests": { - "type": "long" - }, - "django_http_exceptions_total_by_type": { - "type": "long" - }, - "django_http_exceptions_total_by_view": { - "type": "long" - }, - "django_http_requests_before_middlewares": { - "type": "long" - }, - "django_http_requests_total_by_method": { - "type": "long" - }, - "django_http_requests_total_by_transport": { - "type": "long" - }, - "django_http_requests_total_by_view_transport_method": { - "type": "long" - }, - "django_http_requests_unknown_latency": { - "type": "long" - }, - "django_http_requests_unknown_latency_including_middlewares": { - "type": "long" - }, - "django_http_responses_before_middlewares": { - "type": "long" - }, - "django_http_responses_streaming": { - "type": "long" - }, - "django_http_responses_total_by_charset": { - "type": "long" - }, - "django_http_responses_total_by_status": { - "type": "long" - }, - "django_http_responses_total_by_status_view_method": { - "type": "long" - }, - "django_migrations_applied_total": { - "type": "long" - }, - "django_migrations_unapplied_total": { - "type": "long" - }, - "opbeans_python_line_items": { - "type": "long" - }, - "opbeans_python_orders": { - "properties": { - "count": { - "type": "long" - }, - "sum": { - "type": "long" - } - } - }, - "process_cpu_seconds": { - "type": "float" - }, - "process_max_fds": { - "type": "float" - }, - "process_open_fds": { - "type": "long" - }, - "process_resident_memory_bytes": { - "type": "float" - }, - "process_start_time_seconds": { - "type": "float" - }, - "process_virtual_memory_bytes": { - "type": "float" - }, - "python_gc_collections": { - "type": "long" - }, - "python_gc_objects_collected": { - "type": "long" - }, - "python_gc_objects_uncollectable": { - "type": "long" - }, - "python_info": { - "type": "long" - }, - "random_counter": { - "type": "long" - }, - "random_gauge": { - "type": "float" - }, - "random_summary": { - "properties": { - "count": { - "type": "long" - }, - "sum": { - "type": "long" - } - } - } - } - } - } - }, - "registry": { - "properties": { - "data": { - "properties": { - "bytes": { - "ignore_above": 1024, - "type": "keyword" - }, - "strings": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hive": { - "ignore_above": 1024, - "type": "keyword" - }, - "key": { - "ignore_above": 1024, - "type": "keyword" - }, - "path": { - "ignore_above": 1024, - "type": "keyword" - }, - "value": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "related": { - "properties": { - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "hosts": { - "ignore_above": 1024, - "type": "keyword" - }, - "ip": { - "type": "ip" - }, - "user": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "ruby": { - "properties": { - "gc": { - "properties": { - "count": { - "type": "long" - } - } - }, - "heap": { - "properties": { - "allocations": { - "properties": { - "total": { - "type": "long" - } - } - }, - "slots": { - "properties": { - "free": { - "type": "long" - }, - "live": { - "type": "long" - } - } - } - } - }, - "threads": { - "type": "long" - } - } - }, - "rule": { - "properties": { - "author": { - "ignore_above": 1024, - "type": "keyword" - }, - "category": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "license": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "reference": { - "ignore_above": 1024, - "type": "keyword" - }, - "ruleset": { - "ignore_above": 1024, - "type": "keyword" - }, - "uuid": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "server": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "as": { - "properties": { - "number": { - "type": "long" - }, - "organization": { - "properties": { - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "bytes": { - "type": "long" - }, - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "geo": { - "properties": { - "city_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "location": { - "type": "geo_point" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "postal_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "ip": { - "type": "ip" - }, - "mac": { - "ignore_above": 1024, - "type": "keyword" - }, - "nat": { - "properties": { - "ip": { - "type": "ip" - }, - "port": { - "type": "long" - } - } - }, - "packets": { - "type": "long" - }, - "port": { - "type": "long" - }, - "registered_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "subdomain": { - "ignore_above": 1024, - "type": "keyword" - }, - "top_level_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "user": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "service": { - "dynamic": "false", - "properties": { - "environment": { - "ignore_above": 1024, - "type": "keyword" - }, - "ephemeral_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "framework": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "language": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "node": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "runtime": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "state": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "session": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "sequence": { - "type": "long" - } - } - }, - "source": { - "dynamic": "false", - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "as": { - "properties": { - "number": { - "type": "long" - }, - "organization": { - "properties": { - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "bytes": { - "type": "long" - }, - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "geo": { - "properties": { - "city_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "location": { - "type": "geo_point" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "postal_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "ip": { - "type": "ip" - }, - "mac": { - "ignore_above": 1024, - "type": "keyword" - }, - "nat": { - "properties": { - "ip": { - "type": "ip" - }, - "port": { - "type": "long" - } - } - }, - "packets": { - "type": "long" - }, - "port": { - "type": "long" - }, - "registered_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "subdomain": { - "ignore_above": 1024, - "type": "keyword" - }, - "top_level_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "user": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "sourcemap": { - "dynamic": "false", - "properties": { - "bundle_filepath": { - "ignore_above": 1024, - "type": "keyword" - }, - "service": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "span": { - "dynamic": "false", - "properties": { - "action": { - "ignore_above": 1024, - "type": "keyword" - }, - "db": { - "dynamic": "false", - "properties": { - "link": { - "ignore_above": 1024, - "type": "keyword" - }, - "rows_affected": { - "type": "long" - } - } - }, - "destination": { - "dynamic": "false", - "properties": { - "service": { - "dynamic": "false", - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "resource": { - "ignore_above": 1024, - "type": "keyword" - }, - "response_time": { - "properties": { - "count": { - "type": "long" - }, - "sum": { - "properties": { - "us": { - "meta": { - "unit": "micros" - }, - "type": "long" - } - } - } - } - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "duration": { - "properties": { - "us": { - "type": "long" - } - } - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "message": { - "dynamic": "false", - "properties": { - "age": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "queue": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "self_time": { - "properties": { - "count": { - "type": "long" - }, - "sum": { - "properties": { - "us": { - "meta": { - "unit": "micros" - }, - "type": "long" - } - } - } - } - }, - "start": { - "properties": { - "us": { - "type": "long" - } - } - }, - "subtype": { - "ignore_above": 1024, - "type": "keyword" - }, - "sync": { - "type": "boolean" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "system": { - "properties": { - "cpu": { - "properties": { - "total": { - "properties": { - "norm": { - "properties": { - "pct": { - "meta": { - "metric_type": "gauge", - "unit": "percent" - }, - "scaling_factor": 1000, - "type": "scaled_float" - } - } - } - } - } - } - }, - "memory": { - "properties": { - "actual": { - "properties": { - "free": { - "meta": { - "metric_type": "gauge", - "unit": "byte" - }, - "type": "long" - } - } - }, - "total": { - "meta": { - "metric_type": "gauge", - "unit": "byte" - }, - "type": "long" - } - } - }, - "process": { - "properties": { - "cgroup": { - "properties": { - "cpu": { - "properties": { - "cfs": { - "properties": { - "period": { - "properties": { - "us": { - "meta": { - "metric_type": "gauge", - "unit": "micros" - }, - "type": "long" - } - } - }, - "quota": { - "properties": { - "us": { - "meta": { - "metric_type": "gauge", - "unit": "micros" - }, - "type": "long" - } - } - } - } - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "stats": { - "properties": { - "periods": { - "meta": { - "metric_type": "counter" - }, - "type": "long" - }, - "throttled": { - "properties": { - "ns": { - "meta": { - "metric_type": "counter", - "unit": "nanos" - }, - "type": "long" - }, - "periods": { - "meta": { - "metric_type": "counter" - }, - "type": "long" - } - } - } - } - } - } - }, - "cpuacct": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "total": { - "properties": { - "ns": { - "meta": { - "metric_type": "counter", - "unit": "nanos" - }, - "type": "long" - } - } - } - } - }, - "memory": { - "properties": { - "mem": { - "properties": { - "limit": { - "properties": { - "bytes": { - "meta": { - "metric_type": "gauge", - "unit": "byte" - }, - "type": "long" - } - } - }, - "usage": { - "properties": { - "bytes": { - "meta": { - "metric_type": "gauge", - "unit": "byte" - }, - "type": "long" - } - } - } - } - }, - "stats": { - "properties": { - "inactive_file": { - "properties": { - "bytes": { - "type": "float" - } - } - } - } - } - } - } - } - }, - "cpu": { - "properties": { - "system": { - "properties": { - "norm": { - "properties": { - "pct": { - "type": "float" - } - } - } - } - }, - "total": { - "properties": { - "norm": { - "properties": { - "pct": { - "meta": { - "metric_type": "gauge", - "unit": "percent" - }, - "scaling_factor": 1000, - "type": "scaled_float" - } - } - } - } - }, - "user": { - "properties": { - "norm": { - "properties": { - "pct": { - "type": "float" - } - } - } - } - } - } - }, - "memory": { - "properties": { - "rss": { - "properties": { - "bytes": { - "meta": { - "metric_type": "gauge", - "unit": "byte" - }, - "type": "long" - } - } - }, - "size": { - "meta": { - "metric_type": "gauge", - "unit": "byte" - }, - "type": "long" - } - } - } - } - } - } - }, - "tags": { - "ignore_above": 1024, - "type": "keyword" - }, - "threat": { - "properties": { - "framework": { - "ignore_above": 1024, - "type": "keyword" - }, - "tactic": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "reference": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "technique": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "reference": { - "ignore_above": 1024, - "type": "keyword" - }, - "subtechnique": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "reference": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - } - } - }, - "timeseries": { - "properties": { - "instance": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "timestamp": { - "properties": { - "us": { - "type": "long" - } - } - }, - "tls": { - "properties": { - "cipher": { - "ignore_above": 1024, - "type": "keyword" - }, - "client": { - "properties": { - "certificate": { - "ignore_above": 1024, - "type": "keyword" - }, - "certificate_chain": { - "ignore_above": 1024, - "type": "keyword" - }, - "hash": { - "properties": { - "md5": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha1": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha256": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "issuer": { - "ignore_above": 1024, - "type": "keyword" - }, - "ja3": { - "ignore_above": 1024, - "type": "keyword" - }, - "not_after": { - "type": "date" - }, - "not_before": { - "type": "date" - }, - "server_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject": { - "ignore_above": 1024, - "type": "keyword" - }, - "supported_ciphers": { - "ignore_above": 1024, - "type": "keyword" - }, - "x509": { - "properties": { - "alternative_names": { - "ignore_above": 1024, - "type": "keyword" - }, - "issuer": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "not_after": { - "type": "date" - }, - "not_before": { - "type": "date" - }, - "public_key_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_curve": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_exponent": { - "index": false, - "type": "long" - }, - "public_key_size": { - "type": "long" - }, - "serial_number": { - "ignore_above": 1024, - "type": "keyword" - }, - "signature_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "version_number": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "curve": { - "ignore_above": 1024, - "type": "keyword" - }, - "established": { - "type": "boolean" - }, - "next_protocol": { - "ignore_above": 1024, - "type": "keyword" - }, - "resumed": { - "type": "boolean" - }, - "server": { - "properties": { - "certificate": { - "ignore_above": 1024, - "type": "keyword" - }, - "certificate_chain": { - "ignore_above": 1024, - "type": "keyword" - }, - "hash": { - "properties": { - "md5": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha1": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha256": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "issuer": { - "ignore_above": 1024, - "type": "keyword" - }, - "ja3s": { - "ignore_above": 1024, - "type": "keyword" - }, - "not_after": { - "type": "date" - }, - "not_before": { - "type": "date" - }, - "subject": { - "ignore_above": 1024, - "type": "keyword" - }, - "x509": { - "properties": { - "alternative_names": { - "ignore_above": 1024, - "type": "keyword" - }, - "issuer": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "not_after": { - "type": "date" - }, - "not_before": { - "type": "date" - }, - "public_key_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_curve": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_exponent": { - "index": false, - "type": "long" - }, - "public_key_size": { - "type": "long" - }, - "serial_number": { - "ignore_above": 1024, - "type": "keyword" - }, - "signature_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "version_number": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - }, - "version_protocol": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "trace": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "transaction": { - "dynamic": "false", - "properties": { - "breakdown": { - "properties": { - "count": { - "type": "long" - } - } - }, - "duration": { - "properties": { - "count": { - "type": "long" - }, - "histogram": { - "type": "histogram" - }, - "sum": { - "properties": { - "us": { - "meta": { - "unit": "micros" - }, - "type": "long" - } - } - }, - "us": { - "type": "long" - } - } - }, - "experience": { - "properties": { - "cls": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "fid": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "longtask": { - "properties": { - "count": { - "type": "long" - }, - "max": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "sum": { - "scaling_factor": 1000000, - "type": "scaled_float" - } - } - }, - "tbt": { - "scaling_factor": 1000000, - "type": "scaled_float" - } - } - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "marks": { - "dynamic": "true", - "properties": { - "*": { - "properties": { - "*": { - "dynamic": "true", - "type": "object" - } - } - } - } - }, - "message": { - "dynamic": "false", - "properties": { - "age": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "queue": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "result": { - "ignore_above": 1024, - "type": "keyword" - }, - "root": { - "type": "boolean" - }, - "sampled": { - "type": "boolean" - }, - "self_time": { - "properties": { - "count": { - "type": "long" - }, - "sum": { - "properties": { - "us": { - "meta": { - "unit": "micros" - }, - "type": "long" - } - } - } - } - }, - "span_count": { - "properties": { - "dropped": { - "type": "long" - } - } - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "url": { - "dynamic": "false", - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "extension": { - "ignore_above": 1024, - "type": "keyword" - }, - "fragment": { - "ignore_above": 1024, - "type": "keyword" - }, - "full": { - "ignore_above": 1024, - "type": "keyword" - }, - "original": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "password": { - "ignore_above": 1024, - "type": "keyword" - }, - "path": { - "ignore_above": 1024, - "type": "keyword" - }, - "port": { - "type": "long" - }, - "query": { - "ignore_above": 1024, - "type": "keyword" - }, - "registered_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "scheme": { - "ignore_above": 1024, - "type": "keyword" - }, - "subdomain": { - "ignore_above": 1024, - "type": "keyword" - }, - "top_level_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "username": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "user": { - "dynamic": "false", - "properties": { - "changes": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "effective": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - }, - "target": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "user_agent": { - "dynamic": "false", - "properties": { - "device": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "original": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "os": { - "properties": { - "family": { - "ignore_above": 1024, - "type": "keyword" - }, - "full": { - "ignore_above": 1024, - "type": "keyword" - }, - "kernel": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "platform": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "vlan": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "vulnerability": { - "properties": { - "category": { - "ignore_above": 1024, - "type": "keyword" - }, - "classification": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "enumeration": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "reference": { - "ignore_above": 1024, - "type": "keyword" - }, - "report_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "scanner": { - "properties": { - "vendor": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "score": { - "properties": { - "base": { - "type": "float" - }, - "environmental": { - "type": "float" - }, - "temporal": { - "type": "float" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "severity": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "x509": { - "properties": { - "alternative_names": { - "ignore_above": 1024, - "type": "keyword" - }, - "issuer": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "not_after": { - "type": "date" - }, - "not_before": { - "type": "date" - }, - "public_key_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_curve": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_exponent": { - "index": false, - "type": "long" - }, - "public_key_size": { - "type": "long" - }, - "serial_number": { - "ignore_above": 1024, - "type": "keyword" - }, - "signature_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "version_number": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "settings": { - "index": { - "auto_expand_replicas": "0-1", - "blocks": { - "read_only_allow_delete": "false" - }, - "codec": "best_compression", - "lifecycle": { - "name": "apm-rollover-30-days", - "rollover_alias": "apm-7.14.0-metric" - }, - "mapping": { - "total_fields": { - "limit": "2000" - } - }, - "max_docvalue_fields_search": "200", - "number_of_replicas": "1", - "number_of_shards": "1", - "priority": "100", - "refresh_interval": "5s" - } - } - } -} - -{ - "type": "index", - "value": { - "aliases": { - "apm-7.14.0-span": { - "is_write_index": true - } - }, - "index": "apm-7.14.0-span-000001", - "mappings": { - "_meta": { - "beat": "apm", - "version": "7.14.0" - }, - "date_detection": false, - "dynamic_templates": [ - { - "labels": { - "mapping": { - "type": "keyword" - }, - "match_mapping_type": "string", - "path_match": "labels.*" - } - }, - { - "container.labels": { - "mapping": { - "type": "keyword" - }, - "match_mapping_type": "string", - "path_match": "container.labels.*" - } - }, - { - "fields": { - "mapping": { - "type": "keyword" - }, - "match_mapping_type": "string", - "path_match": "fields.*" - } - }, - { - "docker.container.labels": { - "mapping": { - "type": "keyword" - }, - "match_mapping_type": "string", - "path_match": "docker.container.labels.*" - } - }, - { - "kubernetes.labels.*": { - "mapping": { - "type": "keyword" - }, - "path_match": "kubernetes.labels.*" - } - }, - { - "kubernetes.annotations.*": { - "mapping": { - "type": "keyword" - }, - "path_match": "kubernetes.annotations.*" - } - }, - { - "kubernetes.selectors.*": { - "mapping": { - "type": "keyword" - }, - "path_match": "kubernetes.selectors.*" - } - }, - { - "labels_string": { - "mapping": { - "type": "keyword" - }, - "match_mapping_type": "string", - "path_match": "labels.*" - } - }, - { - "labels_boolean": { - "mapping": { - "type": "boolean" - }, - "match_mapping_type": "boolean", - "path_match": "labels.*" - } - }, - { - "labels_*": { - "mapping": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "path_match": "labels.*" - } - }, - { - "histogram": { - "mapping": { - "type": "histogram" - } - } - }, - { - "transaction.marks": { - "mapping": { - "type": "keyword" - }, - "match_mapping_type": "string", - "path_match": "transaction.marks.*" - } - }, - { - "transaction.marks.*.*": { - "mapping": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "path_match": "transaction.marks.*.*" - } - }, - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "agent": { - "dynamic": "false", - "properties": { - "build": { - "properties": { - "original": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "ephemeral_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "hostname": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "as": { - "properties": { - "number": { - "type": "long" - }, - "organization": { - "properties": { - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "child": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "client": { - "dynamic": "false", - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "as": { - "properties": { - "number": { - "type": "long" - }, - "organization": { - "properties": { - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "bytes": { - "type": "long" - }, - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "geo": { - "properties": { - "city_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "location": { - "type": "geo_point" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "postal_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "ip": { - "type": "ip" - }, - "mac": { - "ignore_above": 1024, - "type": "keyword" - }, - "nat": { - "properties": { - "ip": { - "type": "ip" - }, - "port": { - "type": "long" - } - } - }, - "packets": { - "type": "long" - }, - "port": { - "type": "long" - }, - "registered_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "subdomain": { - "ignore_above": 1024, - "type": "keyword" - }, - "top_level_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "user": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "cloud": { - "properties": { - "account": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "availability_zone": { - "ignore_above": 1024, - "type": "keyword" - }, - "image": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "instance": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "machine": { - "dynamic": "false", - "properties": { - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "project": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "provider": { - "ignore_above": 1024, - "type": "keyword" - }, - "region": { - "ignore_above": 1024, - "type": "keyword" - }, - "service": { - "dynamic": "false", - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "code_signature": { - "properties": { - "exists": { - "type": "boolean" - }, - "signing_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "team_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "trusted": { - "type": "boolean" - }, - "valid": { - "type": "boolean" - } - } - }, - "container": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "image": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "tag": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "labels": { - "type": "object" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "runtime": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "destination": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "as": { - "properties": { - "number": { - "type": "long" - }, - "organization": { - "properties": { - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "bytes": { - "type": "long" - }, - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "geo": { - "properties": { - "city_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "location": { - "type": "geo_point" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "postal_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "ip": { - "type": "ip" - }, - "mac": { - "ignore_above": 1024, - "type": "keyword" - }, - "nat": { - "properties": { - "ip": { - "type": "ip" - }, - "port": { - "type": "long" - } - } - }, - "packets": { - "type": "long" - }, - "port": { - "type": "long" - }, - "registered_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "subdomain": { - "ignore_above": 1024, - "type": "keyword" - }, - "top_level_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "user": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "dll": { - "properties": { - "code_signature": { - "properties": { - "exists": { - "type": "boolean" - }, - "signing_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "team_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "trusted": { - "type": "boolean" - }, - "valid": { - "type": "boolean" - } - } - }, - "hash": { - "properties": { - "md5": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha1": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha256": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha512": { - "ignore_above": 1024, - "type": "keyword" - }, - "ssdeep": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "path": { - "ignore_above": 1024, - "type": "keyword" - }, - "pe": { - "properties": { - "architecture": { - "ignore_above": 1024, - "type": "keyword" - }, - "company": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "ignore_above": 1024, - "type": "keyword" - }, - "file_version": { - "ignore_above": 1024, - "type": "keyword" - }, - "imphash": { - "ignore_above": 1024, - "type": "keyword" - }, - "original_file_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "product": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "dns": { - "properties": { - "answers": { - "properties": { - "class": { - "ignore_above": 1024, - "type": "keyword" - }, - "data": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "ttl": { - "type": "long" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "header_flags": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "op_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "question": { - "properties": { - "class": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "registered_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "subdomain": { - "ignore_above": 1024, - "type": "keyword" - }, - "top_level_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "resolved_ip": { - "type": "ip" - }, - "response_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "docker": { - "properties": { - "container": { - "properties": { - "labels": { - "type": "object" - } - } - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "dynamic": "false", - "properties": { - "code": { - "ignore_above": 1024, - "type": "keyword" - }, - "culprit": { - "ignore_above": 1024, - "type": "keyword" - }, - "exception": { - "properties": { - "code": { - "ignore_above": 1024, - "type": "keyword" - }, - "handled": { - "type": "boolean" - }, - "message": { - "norms": false, - "type": "text" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "grouping_key": { - "ignore_above": 1024, - "type": "keyword" - }, - "grouping_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "log": { - "properties": { - "level": { - "ignore_above": 1024, - "type": "keyword" - }, - "logger_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "message": { - "norms": false, - "type": "text" - }, - "param_message": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "message": { - "norms": false, - "type": "text" - }, - "stack_trace": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "index": false, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "event": { - "properties": { - "action": { - "ignore_above": 1024, - "type": "keyword" - }, - "category": { - "ignore_above": 1024, - "type": "keyword" - }, - "code": { - "ignore_above": 1024, - "type": "keyword" - }, - "created": { - "type": "date" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "end": { - "type": "date" - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "ingested": { - "type": "date" - }, - "kind": { - "ignore_above": 1024, - "type": "keyword" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - }, - "original": { - "ignore_above": 1024, - "index": false, - "type": "keyword" - }, - "outcome": { - "ignore_above": 1024, - "type": "keyword" - }, - "provider": { - "ignore_above": 1024, - "type": "keyword" - }, - "reason": { - "ignore_above": 1024, - "type": "keyword" - }, - "reference": { - "ignore_above": 1024, - "type": "keyword" - }, - "risk_score": { - "type": "float" - }, - "risk_score_norm": { - "type": "float" - }, - "sequence": { - "type": "long" - }, - "severity": { - "type": "long" - }, - "start": { - "type": "date" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "url": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "experimental": { - "dynamic": "true", - "type": "object" - }, - "fields": { - "type": "object" - }, - "file": { - "properties": { - "accessed": { - "type": "date" - }, - "attributes": { - "ignore_above": 1024, - "type": "keyword" - }, - "code_signature": { - "properties": { - "exists": { - "type": "boolean" - }, - "signing_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "team_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "trusted": { - "type": "boolean" - }, - "valid": { - "type": "boolean" - } - } - }, - "created": { - "type": "date" - }, - "ctime": { - "type": "date" - }, - "device": { - "ignore_above": 1024, - "type": "keyword" - }, - "directory": { - "ignore_above": 1024, - "type": "keyword" - }, - "drive_letter": { - "ignore_above": 1, - "type": "keyword" - }, - "extension": { - "ignore_above": 1024, - "type": "keyword" - }, - "gid": { - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "ignore_above": 1024, - "type": "keyword" - }, - "hash": { - "properties": { - "md5": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha1": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha256": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha512": { - "ignore_above": 1024, - "type": "keyword" - }, - "ssdeep": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "inode": { - "ignore_above": 1024, - "type": "keyword" - }, - "mime_type": { - "ignore_above": 1024, - "type": "keyword" - }, - "mode": { - "ignore_above": 1024, - "type": "keyword" - }, - "mtime": { - "type": "date" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "owner": { - "ignore_above": 1024, - "type": "keyword" - }, - "path": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "pe": { - "properties": { - "architecture": { - "ignore_above": 1024, - "type": "keyword" - }, - "company": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "ignore_above": 1024, - "type": "keyword" - }, - "file_version": { - "ignore_above": 1024, - "type": "keyword" - }, - "imphash": { - "ignore_above": 1024, - "type": "keyword" - }, - "original_file_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "product": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "size": { - "type": "long" - }, - "target_path": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "uid": { - "ignore_above": 1024, - "type": "keyword" - }, - "x509": { - "properties": { - "alternative_names": { - "ignore_above": 1024, - "type": "keyword" - }, - "issuer": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "not_after": { - "type": "date" - }, - "not_before": { - "type": "date" - }, - "public_key_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_curve": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_exponent": { - "index": false, - "type": "long" - }, - "public_key_size": { - "type": "long" - }, - "serial_number": { - "ignore_above": 1024, - "type": "keyword" - }, - "signature_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "version_number": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "geo": { - "properties": { - "city_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "location": { - "type": "geo_point" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "postal_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "properties": { - "md5": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha1": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha256": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha512": { - "ignore_above": 1024, - "type": "keyword" - }, - "ssdeep": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "dynamic": "false", - "properties": { - "architecture": { - "ignore_above": 1024, - "type": "keyword" - }, - "containerized": { - "type": "boolean" - }, - "cpu": { - "properties": { - "usage": { - "scaling_factor": 1000, - "type": "scaled_float" - } - } - }, - "disk": { - "properties": { - "read": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "write": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "geo": { - "properties": { - "city_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "location": { - "type": "geo_point" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "postal_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hostname": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "ip": { - "type": "ip" - }, - "mac": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "network": { - "properties": { - "egress": { - "properties": { - "bytes": { - "type": "long" - }, - "packets": { - "type": "long" - } - } - }, - "ingress": { - "properties": { - "bytes": { - "type": "long" - }, - "packets": { - "type": "long" - } - } - } - } - }, - "os": { - "properties": { - "build": { - "ignore_above": 1024, - "type": "keyword" - }, - "codename": { - "ignore_above": 1024, - "type": "keyword" - }, - "family": { - "ignore_above": 1024, - "type": "keyword" - }, - "full": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "kernel": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "platform": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "uptime": { - "type": "long" - }, - "user": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "http": { - "dynamic": "false", - "properties": { - "request": { - "properties": { - "body": { - "properties": { - "bytes": { - "type": "long" - }, - "content": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "bytes": { - "type": "long" - }, - "headers": { - "enabled": false, - "type": "object" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "method": { - "ignore_above": 1024, - "type": "keyword" - }, - "mime_type": { - "ignore_above": 1024, - "type": "keyword" - }, - "referrer": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "response": { - "properties": { - "body": { - "properties": { - "bytes": { - "type": "long" - }, - "content": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "bytes": { - "type": "long" - }, - "finished": { - "type": "boolean" - }, - "headers": { - "enabled": false, - "type": "object" - }, - "mime_type": { - "ignore_above": 1024, - "type": "keyword" - }, - "status_code": { - "type": "long" - } - } - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "interface": { - "properties": { - "alias": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "kubernetes": { - "dynamic": "false", - "properties": { - "annotations": { - "properties": { - "*": { - "type": "object" - } - } - }, - "container": { - "properties": { - "image": { - "path": "container.image.name", - "type": "alias" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "deployment": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "labels": { - "properties": { - "*": { - "type": "object" - } - } - }, - "namespace": { - "ignore_above": 1024, - "type": "keyword" - }, - "node": { - "properties": { - "hostname": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "pod": { - "properties": { - "ip": { - "type": "ip" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "uid": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "replicaset": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "selectors": { - "properties": { - "*": { - "type": "object" - } - } - }, - "statefulset": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "labels": { - "dynamic": "true", - "properties": { - "events_encoded": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "events_failed": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "events_original": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "events_published": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "foo": { - "type": "keyword" - }, - "productId": { - "type": "keyword" - } - } - }, - "log": { - "properties": { - "file": { - "properties": { - "path": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "level": { - "ignore_above": 1024, - "type": "keyword" - }, - "logger": { - "ignore_above": 1024, - "type": "keyword" - }, - "origin": { - "properties": { - "file": { - "properties": { - "line": { - "type": "long" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "function": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "original": { - "ignore_above": 1024, - "index": false, - "type": "keyword" - }, - "syslog": { - "properties": { - "facility": { - "properties": { - "code": { - "type": "long" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "priority": { - "type": "long" - }, - "severity": { - "properties": { - "code": { - "type": "long" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - } - } - }, - "message": { - "norms": false, - "type": "text" - }, - "metricset": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "period": { - "meta": { - "unit": "ms" - }, - "type": "long" - } - } - }, - "network": { - "dynamic": "false", - "properties": { - "application": { - "ignore_above": 1024, - "type": "keyword" - }, - "bytes": { - "type": "long" - }, - "carrier": { - "properties": { - "icc": { - "ignore_above": 1024, - "type": "keyword" - }, - "mcc": { - "ignore_above": 1024, - "type": "keyword" - }, - "mnc": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "community_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "connection_type": { - "ignore_above": 1024, - "type": "keyword" - }, - "direction": { - "ignore_above": 1024, - "type": "keyword" - }, - "forwarded_ip": { - "type": "ip" - }, - "iana_number": { - "ignore_above": 1024, - "type": "keyword" - }, - "inner": { - "properties": { - "vlan": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "packets": { - "type": "long" - }, - "protocol": { - "ignore_above": 1024, - "type": "keyword" - }, - "transport": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "vlan": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "observer": { - "dynamic": "false", - "properties": { - "egress": { - "properties": { - "interface": { - "properties": { - "alias": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "vlan": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "zone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "geo": { - "properties": { - "city_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "location": { - "type": "geo_point" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "postal_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hostname": { - "ignore_above": 1024, - "type": "keyword" - }, - "ingress": { - "properties": { - "interface": { - "properties": { - "alias": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "vlan": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "zone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "ip": { - "type": "ip" - }, - "listening": { - "ignore_above": 1024, - "type": "keyword" - }, - "mac": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "os": { - "properties": { - "family": { - "ignore_above": 1024, - "type": "keyword" - }, - "full": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "kernel": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "platform": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "product": { - "ignore_above": 1024, - "type": "keyword" - }, - "serial_number": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "vendor": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - }, - "version_major": { - "type": "byte" - } - } - }, - "orchestrator": { - "properties": { - "api_version": { - "ignore_above": 1024, - "type": "keyword" - }, - "cluster": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "url": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "namespace": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "resource": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "organization": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "os": { - "properties": { - "family": { - "ignore_above": 1024, - "type": "keyword" - }, - "full": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "kernel": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "platform": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "package": { - "properties": { - "architecture": { - "ignore_above": 1024, - "type": "keyword" - }, - "build_version": { - "ignore_above": 1024, - "type": "keyword" - }, - "checksum": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "ignore_above": 1024, - "type": "keyword" - }, - "install_scope": { - "ignore_above": 1024, - "type": "keyword" - }, - "installed": { - "type": "date" - }, - "license": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "path": { - "ignore_above": 1024, - "type": "keyword" - }, - "reference": { - "ignore_above": 1024, - "type": "keyword" - }, - "size": { - "type": "long" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "parent": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "pe": { - "properties": { - "architecture": { - "ignore_above": 1024, - "type": "keyword" - }, - "company": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "ignore_above": 1024, - "type": "keyword" - }, - "file_version": { - "ignore_above": 1024, - "type": "keyword" - }, - "imphash": { - "ignore_above": 1024, - "type": "keyword" - }, - "original_file_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "product": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "process": { - "dynamic": "false", - "properties": { - "args": { - "ignore_above": 1024, - "type": "keyword" - }, - "args_count": { - "type": "long" - }, - "code_signature": { - "properties": { - "exists": { - "type": "boolean" - }, - "signing_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "team_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "trusted": { - "type": "boolean" - }, - "valid": { - "type": "boolean" - } - } - }, - "command_line": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "entity_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "executable": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "exit_code": { - "type": "long" - }, - "hash": { - "properties": { - "md5": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha1": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha256": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha512": { - "ignore_above": 1024, - "type": "keyword" - }, - "ssdeep": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "parent": { - "properties": { - "args": { - "ignore_above": 1024, - "type": "keyword" - }, - "args_count": { - "type": "long" - }, - "code_signature": { - "properties": { - "exists": { - "type": "boolean" - }, - "signing_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "team_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "trusted": { - "type": "boolean" - }, - "valid": { - "type": "boolean" - } - } - }, - "command_line": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "entity_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "executable": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "exit_code": { - "type": "long" - }, - "hash": { - "properties": { - "md5": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha1": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha256": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha512": { - "ignore_above": 1024, - "type": "keyword" - }, - "ssdeep": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "pe": { - "properties": { - "architecture": { - "ignore_above": 1024, - "type": "keyword" - }, - "company": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "ignore_above": 1024, - "type": "keyword" - }, - "file_version": { - "ignore_above": 1024, - "type": "keyword" - }, - "imphash": { - "ignore_above": 1024, - "type": "keyword" - }, - "original_file_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "product": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "pgid": { - "type": "long" - }, - "pid": { - "type": "long" - }, - "ppid": { - "type": "long" - }, - "start": { - "type": "date" - }, - "thread": { - "properties": { - "id": { - "type": "long" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "title": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "uptime": { - "type": "long" - }, - "working_directory": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "pe": { - "properties": { - "architecture": { - "ignore_above": 1024, - "type": "keyword" - }, - "company": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "ignore_above": 1024, - "type": "keyword" - }, - "file_version": { - "ignore_above": 1024, - "type": "keyword" - }, - "imphash": { - "ignore_above": 1024, - "type": "keyword" - }, - "original_file_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "product": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "pgid": { - "type": "long" - }, - "pid": { - "type": "long" - }, - "ppid": { - "type": "long" - }, - "start": { - "type": "date" - }, - "thread": { - "properties": { - "id": { - "type": "long" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "title": { - "ignore_above": 1024, - "type": "keyword" - }, - "uptime": { - "type": "long" - }, - "working_directory": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "processor": { - "properties": { - "event": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "profile": { - "dynamic": "false", - "properties": { - "alloc_objects": { - "properties": { - "count": { - "type": "long" - } - } - }, - "alloc_space": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "cpu": { - "properties": { - "ns": { - "meta": { - "unit": "nanos" - }, - "type": "long" - } - } - }, - "duration": { - "meta": { - "unit": "nanos" - }, - "type": "long" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "inuse_objects": { - "properties": { - "count": { - "type": "long" - } - } - }, - "inuse_space": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "samples": { - "properties": { - "count": { - "type": "long" - } - } - }, - "stack": { - "dynamic": "false", - "properties": { - "filename": { - "ignore_above": 1024, - "type": "keyword" - }, - "function": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "line": { - "type": "long" - } - } - }, - "top": { - "dynamic": "false", - "properties": { - "filename": { - "ignore_above": 1024, - "type": "keyword" - }, - "function": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "line": { - "type": "long" - } - } - }, - "wall": { - "properties": { - "us": { - "meta": { - "unit": "micros" - }, - "type": "long" - } - } - } - } - }, - "registry": { - "properties": { - "data": { - "properties": { - "bytes": { - "ignore_above": 1024, - "type": "keyword" - }, - "strings": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hive": { - "ignore_above": 1024, - "type": "keyword" - }, - "key": { - "ignore_above": 1024, - "type": "keyword" - }, - "path": { - "ignore_above": 1024, - "type": "keyword" - }, - "value": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "related": { - "properties": { - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "hosts": { - "ignore_above": 1024, - "type": "keyword" - }, - "ip": { - "type": "ip" - }, - "user": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "rule": { - "properties": { - "author": { - "ignore_above": 1024, - "type": "keyword" - }, - "category": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "license": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "reference": { - "ignore_above": 1024, - "type": "keyword" - }, - "ruleset": { - "ignore_above": 1024, - "type": "keyword" - }, - "uuid": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "server": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "as": { - "properties": { - "number": { - "type": "long" - }, - "organization": { - "properties": { - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "bytes": { - "type": "long" - }, - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "geo": { - "properties": { - "city_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "location": { - "type": "geo_point" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "postal_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "ip": { - "type": "ip" - }, - "mac": { - "ignore_above": 1024, - "type": "keyword" - }, - "nat": { - "properties": { - "ip": { - "type": "ip" - }, - "port": { - "type": "long" - } - } - }, - "packets": { - "type": "long" - }, - "port": { - "type": "long" - }, - "registered_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "subdomain": { - "ignore_above": 1024, - "type": "keyword" - }, - "top_level_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "user": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "service": { - "dynamic": "false", - "properties": { - "environment": { - "ignore_above": 1024, - "type": "keyword" - }, - "ephemeral_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "framework": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "language": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "node": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "runtime": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "state": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "session": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "sequence": { - "type": "long" - } - } - }, - "source": { - "dynamic": "false", - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "as": { - "properties": { - "number": { - "type": "long" - }, - "organization": { - "properties": { - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "bytes": { - "type": "long" - }, - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "geo": { - "properties": { - "city_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "location": { - "type": "geo_point" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "postal_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "ip": { - "type": "ip" - }, - "mac": { - "ignore_above": 1024, - "type": "keyword" - }, - "nat": { - "properties": { - "ip": { - "type": "ip" - }, - "port": { - "type": "long" - } - } - }, - "packets": { - "type": "long" - }, - "port": { - "type": "long" - }, - "registered_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "subdomain": { - "ignore_above": 1024, - "type": "keyword" - }, - "top_level_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "user": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "sourcemap": { - "dynamic": "false", - "properties": { - "bundle_filepath": { - "ignore_above": 1024, - "type": "keyword" - }, - "service": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "span": { - "dynamic": "false", - "properties": { - "action": { - "ignore_above": 1024, - "type": "keyword" - }, - "db": { - "dynamic": "false", - "properties": { - "link": { - "ignore_above": 1024, - "type": "keyword" - }, - "rows_affected": { - "type": "long" - } - } - }, - "destination": { - "dynamic": "false", - "properties": { - "service": { - "dynamic": "false", - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "resource": { - "ignore_above": 1024, - "type": "keyword" - }, - "response_time": { - "properties": { - "count": { - "type": "long" - }, - "sum": { - "properties": { - "us": { - "meta": { - "unit": "micros" - }, - "type": "long" - } - } - } - } - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "duration": { - "properties": { - "us": { - "type": "long" - } - } - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "message": { - "dynamic": "false", - "properties": { - "age": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "queue": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "self_time": { - "properties": { - "count": { - "type": "long" - }, - "sum": { - "properties": { - "us": { - "meta": { - "unit": "micros" - }, - "type": "long" - } - } - } - } - }, - "start": { - "properties": { - "us": { - "type": "long" - } - } - }, - "subtype": { - "ignore_above": 1024, - "type": "keyword" - }, - "sync": { - "type": "boolean" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "system": { - "properties": { - "cpu": { - "properties": { - "total": { - "properties": { - "norm": { - "properties": { - "pct": { - "meta": { - "metric_type": "gauge", - "unit": "percent" - }, - "scaling_factor": 1000, - "type": "scaled_float" - } - } - } - } - } - } - }, - "memory": { - "properties": { - "actual": { - "properties": { - "free": { - "meta": { - "metric_type": "gauge", - "unit": "byte" - }, - "type": "long" - } - } - }, - "total": { - "meta": { - "metric_type": "gauge", - "unit": "byte" - }, - "type": "long" - } - } - }, - "process": { - "properties": { - "cgroup": { - "properties": { - "cpu": { - "properties": { - "cfs": { - "properties": { - "period": { - "properties": { - "us": { - "meta": { - "metric_type": "gauge", - "unit": "micros" - }, - "type": "long" - } - } - }, - "quota": { - "properties": { - "us": { - "meta": { - "metric_type": "gauge", - "unit": "micros" - }, - "type": "long" - } - } - } - } - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "stats": { - "properties": { - "periods": { - "meta": { - "metric_type": "counter" - }, - "type": "long" - }, - "throttled": { - "properties": { - "ns": { - "meta": { - "metric_type": "counter", - "unit": "nanos" - }, - "type": "long" - }, - "periods": { - "meta": { - "metric_type": "counter" - }, - "type": "long" - } - } - } - } - } - } - }, - "cpuacct": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "total": { - "properties": { - "ns": { - "meta": { - "metric_type": "counter", - "unit": "nanos" - }, - "type": "long" - } - } - } - } - }, - "memory": { - "properties": { - "mem": { - "properties": { - "limit": { - "properties": { - "bytes": { - "meta": { - "metric_type": "gauge", - "unit": "byte" - }, - "type": "long" - } - } - }, - "usage": { - "properties": { - "bytes": { - "meta": { - "metric_type": "gauge", - "unit": "byte" - }, - "type": "long" - } - } - } - } - } - } - } - } - }, - "cpu": { - "properties": { - "total": { - "properties": { - "norm": { - "properties": { - "pct": { - "meta": { - "metric_type": "gauge", - "unit": "percent" - }, - "scaling_factor": 1000, - "type": "scaled_float" - } - } - } - } - } - } - }, - "memory": { - "properties": { - "rss": { - "properties": { - "bytes": { - "meta": { - "metric_type": "gauge", - "unit": "byte" - }, - "type": "long" - } - } - }, - "size": { - "meta": { - "metric_type": "gauge", - "unit": "byte" - }, - "type": "long" - } - } - } - } - } - } - }, - "tags": { - "ignore_above": 1024, - "type": "keyword" - }, - "threat": { - "properties": { - "framework": { - "ignore_above": 1024, - "type": "keyword" - }, - "tactic": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "reference": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "technique": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "reference": { - "ignore_above": 1024, - "type": "keyword" - }, - "subtechnique": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "reference": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - } - } - }, - "timeseries": { - "properties": { - "instance": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "timestamp": { - "properties": { - "us": { - "type": "long" - } - } - }, - "tls": { - "properties": { - "cipher": { - "ignore_above": 1024, - "type": "keyword" - }, - "client": { - "properties": { - "certificate": { - "ignore_above": 1024, - "type": "keyword" - }, - "certificate_chain": { - "ignore_above": 1024, - "type": "keyword" - }, - "hash": { - "properties": { - "md5": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha1": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha256": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "issuer": { - "ignore_above": 1024, - "type": "keyword" - }, - "ja3": { - "ignore_above": 1024, - "type": "keyword" - }, - "not_after": { - "type": "date" - }, - "not_before": { - "type": "date" - }, - "server_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject": { - "ignore_above": 1024, - "type": "keyword" - }, - "supported_ciphers": { - "ignore_above": 1024, - "type": "keyword" - }, - "x509": { - "properties": { - "alternative_names": { - "ignore_above": 1024, - "type": "keyword" - }, - "issuer": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "not_after": { - "type": "date" - }, - "not_before": { - "type": "date" - }, - "public_key_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_curve": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_exponent": { - "index": false, - "type": "long" - }, - "public_key_size": { - "type": "long" - }, - "serial_number": { - "ignore_above": 1024, - "type": "keyword" - }, - "signature_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "version_number": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "curve": { - "ignore_above": 1024, - "type": "keyword" - }, - "established": { - "type": "boolean" - }, - "next_protocol": { - "ignore_above": 1024, - "type": "keyword" - }, - "resumed": { - "type": "boolean" - }, - "server": { - "properties": { - "certificate": { - "ignore_above": 1024, - "type": "keyword" - }, - "certificate_chain": { - "ignore_above": 1024, - "type": "keyword" - }, - "hash": { - "properties": { - "md5": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha1": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha256": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "issuer": { - "ignore_above": 1024, - "type": "keyword" - }, - "ja3s": { - "ignore_above": 1024, - "type": "keyword" - }, - "not_after": { - "type": "date" - }, - "not_before": { - "type": "date" - }, - "subject": { - "ignore_above": 1024, - "type": "keyword" - }, - "x509": { - "properties": { - "alternative_names": { - "ignore_above": 1024, - "type": "keyword" - }, - "issuer": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "not_after": { - "type": "date" - }, - "not_before": { - "type": "date" - }, - "public_key_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_curve": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_exponent": { - "index": false, - "type": "long" - }, - "public_key_size": { - "type": "long" - }, - "serial_number": { - "ignore_above": 1024, - "type": "keyword" - }, - "signature_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "version_number": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - }, - "version_protocol": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "trace": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "transaction": { - "dynamic": "false", - "properties": { - "breakdown": { - "properties": { - "count": { - "type": "long" - } - } - }, - "duration": { - "properties": { - "count": { - "type": "long" - }, - "histogram": { - "type": "histogram" - }, - "sum": { - "properties": { - "us": { - "meta": { - "unit": "micros" - }, - "type": "long" - } - } - }, - "us": { - "type": "long" - } - } - }, - "experience": { - "properties": { - "cls": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "fid": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "longtask": { - "properties": { - "count": { - "type": "long" - }, - "max": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "sum": { - "scaling_factor": 1000000, - "type": "scaled_float" - } - } - }, - "tbt": { - "scaling_factor": 1000000, - "type": "scaled_float" - } - } - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "marks": { - "dynamic": "true", - "properties": { - "*": { - "properties": { - "*": { - "dynamic": "true", - "type": "object" - } - } - } - } - }, - "message": { - "dynamic": "false", - "properties": { - "age": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "queue": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "result": { - "ignore_above": 1024, - "type": "keyword" - }, - "root": { - "type": "boolean" - }, - "sampled": { - "type": "boolean" - }, - "self_time": { - "properties": { - "count": { - "type": "long" - }, - "sum": { - "properties": { - "us": { - "meta": { - "unit": "micros" - }, - "type": "long" - } - } - } - } - }, - "span_count": { - "properties": { - "dropped": { - "type": "long" - } - } - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "url": { - "dynamic": "false", - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "extension": { - "ignore_above": 1024, - "type": "keyword" - }, - "fragment": { - "ignore_above": 1024, - "type": "keyword" - }, - "full": { - "ignore_above": 1024, - "type": "keyword" - }, - "original": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "password": { - "ignore_above": 1024, - "type": "keyword" - }, - "path": { - "ignore_above": 1024, - "type": "keyword" - }, - "port": { - "type": "long" - }, - "query": { - "ignore_above": 1024, - "type": "keyword" - }, - "registered_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "scheme": { - "ignore_above": 1024, - "type": "keyword" - }, - "subdomain": { - "ignore_above": 1024, - "type": "keyword" - }, - "top_level_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "username": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "user": { - "dynamic": "false", - "properties": { - "changes": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "effective": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - }, - "target": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "user_agent": { - "dynamic": "false", - "properties": { - "device": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "original": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "os": { - "properties": { - "family": { - "ignore_above": 1024, - "type": "keyword" - }, - "full": { - "ignore_above": 1024, - "type": "keyword" - }, - "kernel": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "platform": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "vlan": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "vulnerability": { - "properties": { - "category": { - "ignore_above": 1024, - "type": "keyword" - }, - "classification": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "enumeration": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "reference": { - "ignore_above": 1024, - "type": "keyword" - }, - "report_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "scanner": { - "properties": { - "vendor": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "score": { - "properties": { - "base": { - "type": "float" - }, - "environmental": { - "type": "float" - }, - "temporal": { - "type": "float" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "severity": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "x509": { - "properties": { - "alternative_names": { - "ignore_above": 1024, - "type": "keyword" - }, - "issuer": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "not_after": { - "type": "date" - }, - "not_before": { - "type": "date" - }, - "public_key_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_curve": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_exponent": { - "index": false, - "type": "long" - }, - "public_key_size": { - "type": "long" - }, - "serial_number": { - "ignore_above": 1024, - "type": "keyword" - }, - "signature_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "version_number": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "settings": { - "index": { - "auto_expand_replicas": "0-1", - "blocks": { - "read_only_allow_delete": "false" - }, - "codec": "best_compression", - "lifecycle": { - "name": "apm-rollover-30-days", - "rollover_alias": "apm-7.14.0-span" - }, - "mapping": { - "total_fields": { - "limit": "2000" - } - }, - "max_docvalue_fields_search": "200", - "number_of_replicas": "1", - "number_of_shards": "1", - "priority": "100", - "refresh_interval": "5s" - } - } - } -} - -{ - "type": "index", - "value": { - "aliases": { - "apm-7.14.0-transaction": { - "is_write_index": true - } - }, - "index": "apm-7.14.0-transaction-000001", - "mappings": { - "_meta": { - "beat": "apm", - "version": "7.14.0" - }, - "date_detection": false, - "dynamic_templates": [ - { - "labels": { - "mapping": { - "type": "keyword" - }, - "match_mapping_type": "string", - "path_match": "labels.*" - } - }, - { - "container.labels": { - "mapping": { - "type": "keyword" - }, - "match_mapping_type": "string", - "path_match": "container.labels.*" - } - }, - { - "fields": { - "mapping": { - "type": "keyword" - }, - "match_mapping_type": "string", - "path_match": "fields.*" - } - }, - { - "docker.container.labels": { - "mapping": { - "type": "keyword" - }, - "match_mapping_type": "string", - "path_match": "docker.container.labels.*" - } - }, - { - "kubernetes.labels.*": { - "mapping": { - "type": "keyword" - }, - "path_match": "kubernetes.labels.*" - } - }, - { - "kubernetes.annotations.*": { - "mapping": { - "type": "keyword" - }, - "path_match": "kubernetes.annotations.*" - } - }, - { - "kubernetes.selectors.*": { - "mapping": { - "type": "keyword" - }, - "path_match": "kubernetes.selectors.*" - } - }, - { - "labels_string": { - "mapping": { - "type": "keyword" - }, - "match_mapping_type": "string", - "path_match": "labels.*" - } - }, - { - "labels_boolean": { - "mapping": { - "type": "boolean" - }, - "match_mapping_type": "boolean", - "path_match": "labels.*" - } - }, - { - "labels_*": { - "mapping": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "path_match": "labels.*" - } - }, - { - "histogram": { - "mapping": { - "type": "histogram" - } - } - }, - { - "transaction.marks": { - "mapping": { - "type": "keyword" - }, - "match_mapping_type": "string", - "path_match": "transaction.marks.*" - } - }, - { - "transaction.marks.*.*": { - "mapping": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "path_match": "transaction.marks.*.*" - } - }, - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "agent": { - "dynamic": "false", - "properties": { - "build": { - "properties": { - "original": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "ephemeral_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "hostname": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "as": { - "properties": { - "number": { - "type": "long" - }, - "organization": { - "properties": { - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "child": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "client": { - "dynamic": "false", - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "as": { - "properties": { - "number": { - "type": "long" - }, - "organization": { - "properties": { - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "bytes": { - "type": "long" - }, - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "geo": { - "properties": { - "city_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "location": { - "type": "geo_point" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "postal_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "ip": { - "type": "ip" - }, - "mac": { - "ignore_above": 1024, - "type": "keyword" - }, - "nat": { - "properties": { - "ip": { - "type": "ip" - }, - "port": { - "type": "long" - } - } - }, - "packets": { - "type": "long" - }, - "port": { - "type": "long" - }, - "registered_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "subdomain": { - "ignore_above": 1024, - "type": "keyword" - }, - "top_level_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "user": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "cloud": { - "properties": { - "account": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "availability_zone": { - "ignore_above": 1024, - "type": "keyword" - }, - "image": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "instance": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "machine": { - "dynamic": "false", - "properties": { - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "project": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "provider": { - "ignore_above": 1024, - "type": "keyword" - }, - "region": { - "ignore_above": 1024, - "type": "keyword" - }, - "service": { - "dynamic": "false", - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "code_signature": { - "properties": { - "exists": { - "type": "boolean" - }, - "signing_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "team_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "trusted": { - "type": "boolean" - }, - "valid": { - "type": "boolean" - } - } - }, - "container": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "image": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "tag": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "labels": { - "type": "object" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "runtime": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "destination": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "as": { - "properties": { - "number": { - "type": "long" - }, - "organization": { - "properties": { - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "bytes": { - "type": "long" - }, - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "geo": { - "properties": { - "city_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "location": { - "type": "geo_point" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "postal_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "ip": { - "type": "ip" - }, - "mac": { - "ignore_above": 1024, - "type": "keyword" - }, - "nat": { - "properties": { - "ip": { - "type": "ip" - }, - "port": { - "type": "long" - } - } - }, - "packets": { - "type": "long" - }, - "port": { - "type": "long" - }, - "registered_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "subdomain": { - "ignore_above": 1024, - "type": "keyword" - }, - "top_level_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "user": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "dll": { - "properties": { - "code_signature": { - "properties": { - "exists": { - "type": "boolean" - }, - "signing_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "team_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "trusted": { - "type": "boolean" - }, - "valid": { - "type": "boolean" - } - } - }, - "hash": { - "properties": { - "md5": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha1": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha256": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha512": { - "ignore_above": 1024, - "type": "keyword" - }, - "ssdeep": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "path": { - "ignore_above": 1024, - "type": "keyword" - }, - "pe": { - "properties": { - "architecture": { - "ignore_above": 1024, - "type": "keyword" - }, - "company": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "ignore_above": 1024, - "type": "keyword" - }, - "file_version": { - "ignore_above": 1024, - "type": "keyword" - }, - "imphash": { - "ignore_above": 1024, - "type": "keyword" - }, - "original_file_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "product": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "dns": { - "properties": { - "answers": { - "properties": { - "class": { - "ignore_above": 1024, - "type": "keyword" - }, - "data": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "ttl": { - "type": "long" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "header_flags": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "op_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "question": { - "properties": { - "class": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "registered_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "subdomain": { - "ignore_above": 1024, - "type": "keyword" - }, - "top_level_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "resolved_ip": { - "type": "ip" - }, - "response_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "docker": { - "properties": { - "container": { - "properties": { - "labels": { - "type": "object" - } - } - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "dynamic": "false", - "properties": { - "code": { - "ignore_above": 1024, - "type": "keyword" - }, - "culprit": { - "ignore_above": 1024, - "type": "keyword" - }, - "exception": { - "properties": { - "code": { - "ignore_above": 1024, - "type": "keyword" - }, - "handled": { - "type": "boolean" - }, - "message": { - "norms": false, - "type": "text" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "grouping_key": { - "ignore_above": 1024, - "type": "keyword" - }, - "grouping_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "log": { - "properties": { - "level": { - "ignore_above": 1024, - "type": "keyword" - }, - "logger_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "message": { - "norms": false, - "type": "text" - }, - "param_message": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "message": { - "norms": false, - "type": "text" - }, - "stack_trace": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "index": false, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "event": { - "properties": { - "action": { - "ignore_above": 1024, - "type": "keyword" - }, - "category": { - "ignore_above": 1024, - "type": "keyword" - }, - "code": { - "ignore_above": 1024, - "type": "keyword" - }, - "created": { - "type": "date" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "end": { - "type": "date" - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "ingested": { - "type": "date" - }, - "kind": { - "ignore_above": 1024, - "type": "keyword" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - }, - "original": { - "ignore_above": 1024, - "index": false, - "type": "keyword" - }, - "outcome": { - "ignore_above": 1024, - "type": "keyword" - }, - "provider": { - "ignore_above": 1024, - "type": "keyword" - }, - "reason": { - "ignore_above": 1024, - "type": "keyword" - }, - "reference": { - "ignore_above": 1024, - "type": "keyword" - }, - "risk_score": { - "type": "float" - }, - "risk_score_norm": { - "type": "float" - }, - "sequence": { - "type": "long" - }, - "severity": { - "type": "long" - }, - "start": { - "type": "date" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "url": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "experimental": { - "dynamic": "true", - "type": "object" - }, - "fields": { - "type": "object" - }, - "file": { - "properties": { - "accessed": { - "type": "date" - }, - "attributes": { - "ignore_above": 1024, - "type": "keyword" - }, - "code_signature": { - "properties": { - "exists": { - "type": "boolean" - }, - "signing_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "team_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "trusted": { - "type": "boolean" - }, - "valid": { - "type": "boolean" - } - } - }, - "created": { - "type": "date" - }, - "ctime": { - "type": "date" - }, - "device": { - "ignore_above": 1024, - "type": "keyword" - }, - "directory": { - "ignore_above": 1024, - "type": "keyword" - }, - "drive_letter": { - "ignore_above": 1, - "type": "keyword" - }, - "extension": { - "ignore_above": 1024, - "type": "keyword" - }, - "gid": { - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "ignore_above": 1024, - "type": "keyword" - }, - "hash": { - "properties": { - "md5": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha1": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha256": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha512": { - "ignore_above": 1024, - "type": "keyword" - }, - "ssdeep": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "inode": { - "ignore_above": 1024, - "type": "keyword" - }, - "mime_type": { - "ignore_above": 1024, - "type": "keyword" - }, - "mode": { - "ignore_above": 1024, - "type": "keyword" - }, - "mtime": { - "type": "date" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "owner": { - "ignore_above": 1024, - "type": "keyword" - }, - "path": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "pe": { - "properties": { - "architecture": { - "ignore_above": 1024, - "type": "keyword" - }, - "company": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "ignore_above": 1024, - "type": "keyword" - }, - "file_version": { - "ignore_above": 1024, - "type": "keyword" - }, - "imphash": { - "ignore_above": 1024, - "type": "keyword" - }, - "original_file_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "product": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "size": { - "type": "long" - }, - "target_path": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "uid": { - "ignore_above": 1024, - "type": "keyword" - }, - "x509": { - "properties": { - "alternative_names": { - "ignore_above": 1024, - "type": "keyword" - }, - "issuer": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "not_after": { - "type": "date" - }, - "not_before": { - "type": "date" - }, - "public_key_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_curve": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_exponent": { - "index": false, - "type": "long" - }, - "public_key_size": { - "type": "long" - }, - "serial_number": { - "ignore_above": 1024, - "type": "keyword" - }, - "signature_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "version_number": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "geo": { - "properties": { - "city_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "location": { - "type": "geo_point" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "postal_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "properties": { - "md5": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha1": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha256": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha512": { - "ignore_above": 1024, - "type": "keyword" - }, - "ssdeep": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "dynamic": "false", - "properties": { - "architecture": { - "ignore_above": 1024, - "type": "keyword" - }, - "containerized": { - "type": "boolean" - }, - "cpu": { - "properties": { - "usage": { - "scaling_factor": 1000, - "type": "scaled_float" - } - } - }, - "disk": { - "properties": { - "read": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "write": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "geo": { - "properties": { - "city_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "location": { - "type": "geo_point" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "postal_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hostname": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "ip": { - "type": "ip" - }, - "mac": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "network": { - "properties": { - "egress": { - "properties": { - "bytes": { - "type": "long" - }, - "packets": { - "type": "long" - } - } - }, - "ingress": { - "properties": { - "bytes": { - "type": "long" - }, - "packets": { - "type": "long" - } - } - } - } - }, - "os": { - "properties": { - "build": { - "ignore_above": 1024, - "type": "keyword" - }, - "codename": { - "ignore_above": 1024, - "type": "keyword" - }, - "family": { - "ignore_above": 1024, - "type": "keyword" - }, - "full": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "kernel": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "platform": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "uptime": { - "type": "long" - }, - "user": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "http": { - "dynamic": "false", - "properties": { - "request": { - "properties": { - "body": { - "properties": { - "bytes": { - "type": "long" - }, - "content": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "bytes": { - "type": "long" - }, - "headers": { - "enabled": false, - "type": "object" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "method": { - "ignore_above": 1024, - "type": "keyword" - }, - "mime_type": { - "ignore_above": 1024, - "type": "keyword" - }, - "referrer": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "response": { - "properties": { - "body": { - "properties": { - "bytes": { - "type": "long" - }, - "content": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "bytes": { - "type": "long" - }, - "finished": { - "type": "boolean" - }, - "headers": { - "enabled": false, - "type": "object" - }, - "mime_type": { - "ignore_above": 1024, - "type": "keyword" - }, - "status_code": { - "type": "long" - } - } - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "interface": { - "properties": { - "alias": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "kubernetes": { - "dynamic": "false", - "properties": { - "annotations": { - "properties": { - "*": { - "type": "object" - } - } - }, - "container": { - "properties": { - "image": { - "path": "container.image.name", - "type": "alias" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "deployment": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "labels": { - "properties": { - "*": { - "type": "object" - } - } - }, - "namespace": { - "ignore_above": 1024, - "type": "keyword" - }, - "node": { - "properties": { - "hostname": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "pod": { - "properties": { - "ip": { - "type": "ip" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "uid": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "replicaset": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "selectors": { - "properties": { - "*": { - "type": "object" - } - } - }, - "statefulset": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "labels": { - "dynamic": "true", - "properties": { - "company": { - "type": "keyword" - }, - "customer_email": { - "type": "keyword" - }, - "customer_name": { - "type": "keyword" - }, - "customer_tier": { - "type": "keyword" - }, - "foo": { - "type": "keyword" - }, - "lorem": { - "type": "keyword" - }, - "multi-line": { - "type": "keyword" - }, - "request_id": { - "type": "keyword" - }, - "served_from_cache": { - "type": "keyword" - }, - "this-is-a-very-long-tag-name-without-any-spaces": { - "type": "keyword" - }, - "worker": { - "type": "keyword" - } - } - }, - "log": { - "properties": { - "file": { - "properties": { - "path": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "level": { - "ignore_above": 1024, - "type": "keyword" - }, - "logger": { - "ignore_above": 1024, - "type": "keyword" - }, - "origin": { - "properties": { - "file": { - "properties": { - "line": { - "type": "long" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "function": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "original": { - "ignore_above": 1024, - "index": false, - "type": "keyword" - }, - "syslog": { - "properties": { - "facility": { - "properties": { - "code": { - "type": "long" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "priority": { - "type": "long" - }, - "severity": { - "properties": { - "code": { - "type": "long" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - } - } - }, - "message": { - "norms": false, - "type": "text" - }, - "metricset": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "period": { - "meta": { - "unit": "ms" - }, - "type": "long" - } - } - }, - "network": { - "dynamic": "false", - "properties": { - "application": { - "ignore_above": 1024, - "type": "keyword" - }, - "bytes": { - "type": "long" - }, - "carrier": { - "properties": { - "icc": { - "ignore_above": 1024, - "type": "keyword" - }, - "mcc": { - "ignore_above": 1024, - "type": "keyword" - }, - "mnc": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "community_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "connection_type": { - "ignore_above": 1024, - "type": "keyword" - }, - "direction": { - "ignore_above": 1024, - "type": "keyword" - }, - "forwarded_ip": { - "type": "ip" - }, - "iana_number": { - "ignore_above": 1024, - "type": "keyword" - }, - "inner": { - "properties": { - "vlan": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "packets": { - "type": "long" - }, - "protocol": { - "ignore_above": 1024, - "type": "keyword" - }, - "transport": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "vlan": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "observer": { - "dynamic": "false", - "properties": { - "egress": { - "properties": { - "interface": { - "properties": { - "alias": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "vlan": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "zone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "geo": { - "properties": { - "city_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "location": { - "type": "geo_point" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "postal_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hostname": { - "ignore_above": 1024, - "type": "keyword" - }, - "ingress": { - "properties": { - "interface": { - "properties": { - "alias": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "vlan": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "zone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "ip": { - "type": "ip" - }, - "listening": { - "ignore_above": 1024, - "type": "keyword" - }, - "mac": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "os": { - "properties": { - "family": { - "ignore_above": 1024, - "type": "keyword" - }, - "full": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "kernel": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "platform": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "product": { - "ignore_above": 1024, - "type": "keyword" - }, - "serial_number": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "vendor": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - }, - "version_major": { - "type": "byte" - } - } - }, - "orchestrator": { - "properties": { - "api_version": { - "ignore_above": 1024, - "type": "keyword" - }, - "cluster": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "url": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "namespace": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "resource": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "organization": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "os": { - "properties": { - "family": { - "ignore_above": 1024, - "type": "keyword" - }, - "full": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "kernel": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "platform": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "package": { - "properties": { - "architecture": { - "ignore_above": 1024, - "type": "keyword" - }, - "build_version": { - "ignore_above": 1024, - "type": "keyword" - }, - "checksum": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "ignore_above": 1024, - "type": "keyword" - }, - "install_scope": { - "ignore_above": 1024, - "type": "keyword" - }, - "installed": { - "type": "date" - }, - "license": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "path": { - "ignore_above": 1024, - "type": "keyword" - }, - "reference": { - "ignore_above": 1024, - "type": "keyword" - }, - "size": { - "type": "long" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "parent": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "pe": { - "properties": { - "architecture": { - "ignore_above": 1024, - "type": "keyword" - }, - "company": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "ignore_above": 1024, - "type": "keyword" - }, - "file_version": { - "ignore_above": 1024, - "type": "keyword" - }, - "imphash": { - "ignore_above": 1024, - "type": "keyword" - }, - "original_file_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "product": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "process": { - "dynamic": "false", - "properties": { - "args": { - "ignore_above": 1024, - "type": "keyword" - }, - "args_count": { - "type": "long" - }, - "code_signature": { - "properties": { - "exists": { - "type": "boolean" - }, - "signing_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "team_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "trusted": { - "type": "boolean" - }, - "valid": { - "type": "boolean" - } - } - }, - "command_line": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "entity_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "executable": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "exit_code": { - "type": "long" - }, - "hash": { - "properties": { - "md5": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha1": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha256": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha512": { - "ignore_above": 1024, - "type": "keyword" - }, - "ssdeep": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "parent": { - "properties": { - "args": { - "ignore_above": 1024, - "type": "keyword" - }, - "args_count": { - "type": "long" - }, - "code_signature": { - "properties": { - "exists": { - "type": "boolean" - }, - "signing_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "team_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "trusted": { - "type": "boolean" - }, - "valid": { - "type": "boolean" - } - } - }, - "command_line": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "entity_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "executable": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "exit_code": { - "type": "long" - }, - "hash": { - "properties": { - "md5": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha1": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha256": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha512": { - "ignore_above": 1024, - "type": "keyword" - }, - "ssdeep": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "pe": { - "properties": { - "architecture": { - "ignore_above": 1024, - "type": "keyword" - }, - "company": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "ignore_above": 1024, - "type": "keyword" - }, - "file_version": { - "ignore_above": 1024, - "type": "keyword" - }, - "imphash": { - "ignore_above": 1024, - "type": "keyword" - }, - "original_file_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "product": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "pgid": { - "type": "long" - }, - "pid": { - "type": "long" - }, - "ppid": { - "type": "long" - }, - "start": { - "type": "date" - }, - "thread": { - "properties": { - "id": { - "type": "long" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "title": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "uptime": { - "type": "long" - }, - "working_directory": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "pe": { - "properties": { - "architecture": { - "ignore_above": 1024, - "type": "keyword" - }, - "company": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "ignore_above": 1024, - "type": "keyword" - }, - "file_version": { - "ignore_above": 1024, - "type": "keyword" - }, - "imphash": { - "ignore_above": 1024, - "type": "keyword" - }, - "original_file_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "product": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "pgid": { - "type": "long" - }, - "pid": { - "type": "long" - }, - "ppid": { - "type": "long" - }, - "start": { - "type": "date" - }, - "thread": { - "properties": { - "id": { - "type": "long" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "title": { - "ignore_above": 1024, - "type": "keyword" - }, - "uptime": { - "type": "long" - }, - "working_directory": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "processor": { - "properties": { - "event": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "profile": { - "dynamic": "false", - "properties": { - "alloc_objects": { - "properties": { - "count": { - "type": "long" - } - } - }, - "alloc_space": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "cpu": { - "properties": { - "ns": { - "meta": { - "unit": "nanos" - }, - "type": "long" - } - } - }, - "duration": { - "meta": { - "unit": "nanos" - }, - "type": "long" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "inuse_objects": { - "properties": { - "count": { - "type": "long" - } - } - }, - "inuse_space": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "samples": { - "properties": { - "count": { - "type": "long" - } - } - }, - "stack": { - "dynamic": "false", - "properties": { - "filename": { - "ignore_above": 1024, - "type": "keyword" - }, - "function": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "line": { - "type": "long" - } - } - }, - "top": { - "dynamic": "false", - "properties": { - "filename": { - "ignore_above": 1024, - "type": "keyword" - }, - "function": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "line": { - "type": "long" - } - } - }, - "wall": { - "properties": { - "us": { - "meta": { - "unit": "micros" - }, - "type": "long" - } - } - } - } - }, - "registry": { - "properties": { - "data": { - "properties": { - "bytes": { - "ignore_above": 1024, - "type": "keyword" - }, - "strings": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hive": { - "ignore_above": 1024, - "type": "keyword" - }, - "key": { - "ignore_above": 1024, - "type": "keyword" - }, - "path": { - "ignore_above": 1024, - "type": "keyword" - }, - "value": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "related": { - "properties": { - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "hosts": { - "ignore_above": 1024, - "type": "keyword" - }, - "ip": { - "type": "ip" - }, - "user": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "rule": { - "properties": { - "author": { - "ignore_above": 1024, - "type": "keyword" - }, - "category": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "license": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "reference": { - "ignore_above": 1024, - "type": "keyword" - }, - "ruleset": { - "ignore_above": 1024, - "type": "keyword" - }, - "uuid": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "server": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "as": { - "properties": { - "number": { - "type": "long" - }, - "organization": { - "properties": { - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "bytes": { - "type": "long" - }, - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "geo": { - "properties": { - "city_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "location": { - "type": "geo_point" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "postal_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "ip": { - "type": "ip" - }, - "mac": { - "ignore_above": 1024, - "type": "keyword" - }, - "nat": { - "properties": { - "ip": { - "type": "ip" - }, - "port": { - "type": "long" - } - } - }, - "packets": { - "type": "long" - }, - "port": { - "type": "long" - }, - "registered_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "subdomain": { - "ignore_above": 1024, - "type": "keyword" - }, - "top_level_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "user": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "service": { - "dynamic": "false", - "properties": { - "environment": { - "ignore_above": 1024, - "type": "keyword" - }, - "ephemeral_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "framework": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "language": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "node": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "runtime": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "state": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "session": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "sequence": { - "type": "long" - } - } - }, - "source": { - "dynamic": "false", - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "as": { - "properties": { - "number": { - "type": "long" - }, - "organization": { - "properties": { - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "bytes": { - "type": "long" - }, - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "geo": { - "properties": { - "city_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "continent_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "country_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "location": { - "type": "geo_point" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "postal_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_iso_code": { - "ignore_above": 1024, - "type": "keyword" - }, - "region_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "timezone": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "ip": { - "type": "ip" - }, - "mac": { - "ignore_above": 1024, - "type": "keyword" - }, - "nat": { - "properties": { - "ip": { - "type": "ip" - }, - "port": { - "type": "long" - } - } - }, - "packets": { - "type": "long" - }, - "port": { - "type": "long" - }, - "registered_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "subdomain": { - "ignore_above": 1024, - "type": "keyword" - }, - "top_level_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "user": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "sourcemap": { - "dynamic": "false", - "properties": { - "bundle_filepath": { - "ignore_above": 1024, - "type": "keyword" - }, - "service": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "span": { - "dynamic": "false", - "properties": { - "action": { - "ignore_above": 1024, - "type": "keyword" - }, - "db": { - "dynamic": "false", - "properties": { - "link": { - "ignore_above": 1024, - "type": "keyword" - }, - "rows_affected": { - "type": "long" - } - } - }, - "destination": { - "dynamic": "false", - "properties": { - "service": { - "dynamic": "false", - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "resource": { - "ignore_above": 1024, - "type": "keyword" - }, - "response_time": { - "properties": { - "count": { - "type": "long" - }, - "sum": { - "properties": { - "us": { - "meta": { - "unit": "micros" - }, - "type": "long" - } - } - } - } - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "duration": { - "properties": { - "us": { - "type": "long" - } - } - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "message": { - "dynamic": "false", - "properties": { - "age": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "queue": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "self_time": { - "properties": { - "count": { - "type": "long" - }, - "sum": { - "properties": { - "us": { - "meta": { - "unit": "micros" - }, - "type": "long" - } - } - } - } - }, - "start": { - "properties": { - "us": { - "type": "long" - } - } - }, - "subtype": { - "ignore_above": 1024, - "type": "keyword" - }, - "sync": { - "type": "boolean" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "system": { - "properties": { - "cpu": { - "properties": { - "total": { - "properties": { - "norm": { - "properties": { - "pct": { - "meta": { - "metric_type": "gauge", - "unit": "percent" - }, - "scaling_factor": 1000, - "type": "scaled_float" - } - } - } - } - } - } - }, - "memory": { - "properties": { - "actual": { - "properties": { - "free": { - "meta": { - "metric_type": "gauge", - "unit": "byte" - }, - "type": "long" - } - } - }, - "total": { - "meta": { - "metric_type": "gauge", - "unit": "byte" - }, - "type": "long" - } - } - }, - "process": { - "properties": { - "cgroup": { - "properties": { - "cpu": { - "properties": { - "cfs": { - "properties": { - "period": { - "properties": { - "us": { - "meta": { - "metric_type": "gauge", - "unit": "micros" - }, - "type": "long" - } - } - }, - "quota": { - "properties": { - "us": { - "meta": { - "metric_type": "gauge", - "unit": "micros" - }, - "type": "long" - } - } - } - } - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "stats": { - "properties": { - "periods": { - "meta": { - "metric_type": "counter" - }, - "type": "long" - }, - "throttled": { - "properties": { - "ns": { - "meta": { - "metric_type": "counter", - "unit": "nanos" - }, - "type": "long" - }, - "periods": { - "meta": { - "metric_type": "counter" - }, - "type": "long" - } - } - } - } - } - } - }, - "cpuacct": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "total": { - "properties": { - "ns": { - "meta": { - "metric_type": "counter", - "unit": "nanos" - }, - "type": "long" - } - } - } - } - }, - "memory": { - "properties": { - "mem": { - "properties": { - "limit": { - "properties": { - "bytes": { - "meta": { - "metric_type": "gauge", - "unit": "byte" - }, - "type": "long" - } - } - }, - "usage": { - "properties": { - "bytes": { - "meta": { - "metric_type": "gauge", - "unit": "byte" - }, - "type": "long" - } - } - } - } - } - } - } - } - }, - "cpu": { - "properties": { - "total": { - "properties": { - "norm": { - "properties": { - "pct": { - "meta": { - "metric_type": "gauge", - "unit": "percent" - }, - "scaling_factor": 1000, - "type": "scaled_float" - } - } - } - } - } - } - }, - "memory": { - "properties": { - "rss": { - "properties": { - "bytes": { - "meta": { - "metric_type": "gauge", - "unit": "byte" - }, - "type": "long" - } - } - }, - "size": { - "meta": { - "metric_type": "gauge", - "unit": "byte" - }, - "type": "long" - } - } - } - } - } - } - }, - "tags": { - "ignore_above": 1024, - "type": "keyword" - }, - "threat": { - "properties": { - "framework": { - "ignore_above": 1024, - "type": "keyword" - }, - "tactic": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "reference": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "technique": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "reference": { - "ignore_above": 1024, - "type": "keyword" - }, - "subtechnique": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "reference": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - } - } - }, - "timeseries": { - "properties": { - "instance": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "timestamp": { - "properties": { - "us": { - "type": "long" - } - } - }, - "tls": { - "properties": { - "cipher": { - "ignore_above": 1024, - "type": "keyword" - }, - "client": { - "properties": { - "certificate": { - "ignore_above": 1024, - "type": "keyword" - }, - "certificate_chain": { - "ignore_above": 1024, - "type": "keyword" - }, - "hash": { - "properties": { - "md5": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha1": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha256": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "issuer": { - "ignore_above": 1024, - "type": "keyword" - }, - "ja3": { - "ignore_above": 1024, - "type": "keyword" - }, - "not_after": { - "type": "date" - }, - "not_before": { - "type": "date" - }, - "server_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject": { - "ignore_above": 1024, - "type": "keyword" - }, - "supported_ciphers": { - "ignore_above": 1024, - "type": "keyword" - }, - "x509": { - "properties": { - "alternative_names": { - "ignore_above": 1024, - "type": "keyword" - }, - "issuer": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "not_after": { - "type": "date" - }, - "not_before": { - "type": "date" - }, - "public_key_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_curve": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_exponent": { - "index": false, - "type": "long" - }, - "public_key_size": { - "type": "long" - }, - "serial_number": { - "ignore_above": 1024, - "type": "keyword" - }, - "signature_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "version_number": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "curve": { - "ignore_above": 1024, - "type": "keyword" - }, - "established": { - "type": "boolean" - }, - "next_protocol": { - "ignore_above": 1024, - "type": "keyword" - }, - "resumed": { - "type": "boolean" - }, - "server": { - "properties": { - "certificate": { - "ignore_above": 1024, - "type": "keyword" - }, - "certificate_chain": { - "ignore_above": 1024, - "type": "keyword" - }, - "hash": { - "properties": { - "md5": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha1": { - "ignore_above": 1024, - "type": "keyword" - }, - "sha256": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "issuer": { - "ignore_above": 1024, - "type": "keyword" - }, - "ja3s": { - "ignore_above": 1024, - "type": "keyword" - }, - "not_after": { - "type": "date" - }, - "not_before": { - "type": "date" - }, - "subject": { - "ignore_above": 1024, - "type": "keyword" - }, - "x509": { - "properties": { - "alternative_names": { - "ignore_above": 1024, - "type": "keyword" - }, - "issuer": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "not_after": { - "type": "date" - }, - "not_before": { - "type": "date" - }, - "public_key_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_curve": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_exponent": { - "index": false, - "type": "long" - }, - "public_key_size": { - "type": "long" - }, - "serial_number": { - "ignore_above": 1024, - "type": "keyword" - }, - "signature_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "version_number": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - }, - "version_protocol": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "trace": { - "dynamic": "false", - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "transaction": { - "dynamic": "false", - "properties": { - "breakdown": { - "properties": { - "count": { - "type": "long" - } - } - }, - "duration": { - "properties": { - "count": { - "type": "long" - }, - "histogram": { - "type": "histogram" - }, - "sum": { - "properties": { - "us": { - "meta": { - "unit": "micros" - }, - "type": "long" - } - } - }, - "us": { - "type": "long" - } - } - }, - "experience": { - "properties": { - "cls": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "fid": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "longtask": { - "properties": { - "count": { - "type": "long" - }, - "max": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "sum": { - "scaling_factor": 1000000, - "type": "scaled_float" - } - } - }, - "tbt": { - "scaling_factor": 1000000, - "type": "scaled_float" - } - } - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "marks": { - "dynamic": "true", - "properties": { - "*": { - "properties": { - "*": { - "dynamic": "true", - "type": "object" - } - } - }, - "agent": { - "properties": { - "domComplete": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "domInteractive": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "timeToFirstByte": { - "scaling_factor": 1000000, - "type": "scaled_float" - } - } - }, - "navigationTiming": { - "properties": { - "connectEnd": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "connectStart": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "domComplete": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "domContentLoadedEventEnd": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "domContentLoadedEventStart": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "domInteractive": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "domLoading": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "domainLookupEnd": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "domainLookupStart": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "fetchStart": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "loadEventEnd": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "loadEventStart": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "requestStart": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "responseEnd": { - "scaling_factor": 1000000, - "type": "scaled_float" - }, - "responseStart": { - "scaling_factor": 1000000, - "type": "scaled_float" - } - } - } - } - }, - "message": { - "dynamic": "false", - "properties": { - "age": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "queue": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "result": { - "ignore_above": 1024, - "type": "keyword" - }, - "root": { - "type": "boolean" - }, - "sampled": { - "type": "boolean" - }, - "self_time": { - "properties": { - "count": { - "type": "long" - }, - "sum": { - "properties": { - "us": { - "meta": { - "unit": "micros" - }, - "type": "long" - } - } - } - } - }, - "span_count": { - "properties": { - "dropped": { - "type": "long" - } - } - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "url": { - "dynamic": "false", - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "extension": { - "ignore_above": 1024, - "type": "keyword" - }, - "fragment": { - "ignore_above": 1024, - "type": "keyword" - }, - "full": { - "ignore_above": 1024, - "type": "keyword" - }, - "original": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "password": { - "ignore_above": 1024, - "type": "keyword" - }, - "path": { - "ignore_above": 1024, - "type": "keyword" - }, - "port": { - "type": "long" - }, - "query": { - "ignore_above": 1024, - "type": "keyword" - }, - "registered_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "scheme": { - "ignore_above": 1024, - "type": "keyword" - }, - "subdomain": { - "ignore_above": 1024, - "type": "keyword" - }, - "top_level_domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "username": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "user": { - "dynamic": "false", - "properties": { - "changes": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "effective": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - }, - "target": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "email": { - "ignore_above": 1024, - "type": "keyword" - }, - "full_name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "group": { - "properties": { - "domain": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "roles": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "user_agent": { - "dynamic": "false", - "properties": { - "device": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "original": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "os": { - "properties": { - "family": { - "ignore_above": 1024, - "type": "keyword" - }, - "full": { - "ignore_above": 1024, - "type": "keyword" - }, - "kernel": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "platform": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "vlan": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "vulnerability": { - "properties": { - "category": { - "ignore_above": 1024, - "type": "keyword" - }, - "classification": { - "ignore_above": 1024, - "type": "keyword" - }, - "description": { - "fields": { - "text": { - "norms": false, - "type": "text" - } - }, - "ignore_above": 1024, - "type": "keyword" - }, - "enumeration": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "reference": { - "ignore_above": 1024, - "type": "keyword" - }, - "report_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "scanner": { - "properties": { - "vendor": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "score": { - "properties": { - "base": { - "type": "float" - }, - "environmental": { - "type": "float" - }, - "temporal": { - "type": "float" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "severity": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "x509": { - "properties": { - "alternative_names": { - "ignore_above": 1024, - "type": "keyword" - }, - "issuer": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "not_after": { - "type": "date" - }, - "not_before": { - "type": "date" - }, - "public_key_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_curve": { - "ignore_above": 1024, - "type": "keyword" - }, - "public_key_exponent": { - "index": false, - "type": "long" - }, - "public_key_size": { - "type": "long" - }, - "serial_number": { - "ignore_above": 1024, - "type": "keyword" - }, - "signature_algorithm": { - "ignore_above": 1024, - "type": "keyword" - }, - "subject": { - "properties": { - "common_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "country": { - "ignore_above": 1024, - "type": "keyword" - }, - "distinguished_name": { - "ignore_above": 1024, - "type": "keyword" - }, - "locality": { - "ignore_above": 1024, - "type": "keyword" - }, - "organization": { - "ignore_above": 1024, - "type": "keyword" - }, - "organizational_unit": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_or_province": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "version_number": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "settings": { - "index": { - "auto_expand_replicas": "0-1", - "blocks": { - "read_only_allow_delete": "false" - }, - "codec": "best_compression", - "lifecycle": { - "name": "apm-rollover-30-days", - "rollover_alias": "apm-7.14.0-transaction" - }, - "mapping": { - "total_fields": { - "limit": "2000" - } - }, - "max_docvalue_fields_search": "200", - "number_of_replicas": "1", - "number_of_shards": "1", - "priority": "100", - "refresh_interval": "5s" - } - } - } -} \ No newline at end of file diff --git a/x-pack/test/apm_api_integration/common/registry.ts b/x-pack/test/apm_api_integration/common/registry.ts index 78c5bcb383c93..a37cd26f1fc3c 100644 --- a/x-pack/test/apm_api_integration/common/registry.ts +++ b/x-pack/test/apm_api_integration/common/registry.ts @@ -15,7 +15,6 @@ import { FtrProviderContext } from './ftr_provider_context'; type ArchiveName = | 'apm_8.0.0' - | 'apm_8.0.0_empty' | '8.0.0' | 'metrics_8.0.0' | 'ml_8.0.0' diff --git a/x-pack/test/apm_api_integration/common/trace_data.ts b/x-pack/test/apm_api_integration/common/trace_data.ts deleted file mode 100644 index 9c96d3fa1e0b0..0000000000000 --- a/x-pack/test/apm_api_integration/common/trace_data.ts +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { - getSpanDestinationMetrics, - getTransactionMetrics, - toElasticsearchOutput, -} from '@elastic/apm-generator'; -import { chunk } from 'lodash'; -import pLimit from 'p-limit'; -import { inspect } from 'util'; -import { InheritedFtrProviderContext } from './ftr_provider_context'; - -export async function traceData(context: InheritedFtrProviderContext) { - const es = context.getService('es'); - return { - index: (events: any[]) => { - const esEvents = toElasticsearchOutput( - events.concat(getTransactionMetrics(events)).concat(getSpanDestinationMetrics(events)), - '7.14.0' - ); - - const batches = chunk(esEvents, 1000); - const limiter = pLimit(1); - - return Promise.all( - batches.map((batch) => - limiter(() => { - return es.bulk({ - body: batch.flatMap(({ _index, _source }) => [{ index: { _index } }, _source]), - require_alias: true, - refresh: true, - }); - }) - ) - ).then((results) => { - const errors = results - .flatMap((result) => result.body.items) - .filter((item) => !!item.index?.error) - .map((item) => item.index?.error); - - if (errors.length) { - // eslint-disable-next-line no-console - console.log(inspect(errors.slice(0, 10), { depth: null })); - throw new Error('Failed to upload some events'); - } - return results; - }); - }, - clean: () => { - return es.deleteByQuery({ - index: 'apm-*', - body: { - query: { - match_all: {}, - }, - }, - }); - }, - }; -} diff --git a/x-pack/test/apm_api_integration/tests/services/throughput.ts b/x-pack/test/apm_api_integration/tests/services/throughput.ts index 8465e43d970aa..3ca5b62cb51ee 100644 --- a/x-pack/test/apm_api_integration/tests/services/throughput.ts +++ b/x-pack/test/apm_api_integration/tests/services/throughput.ts @@ -5,14 +5,11 @@ * 2.0. */ -import { service, timerange } from '@elastic/apm-generator'; import expect from '@kbn/expect'; -import { first, last, mean, uniq } from 'lodash'; +import { first, last, mean } from 'lodash'; import moment from 'moment'; -import { ENVIRONMENT_ALL } from '../../../../plugins/apm/common/environment_filter_values'; import { isFiniteNumber } from '../../../../plugins/apm/common/utils/is_finite_number'; import { APIReturnType } from '../../../../plugins/apm/public/services/rest/createCallApmApi'; -import { PromiseReturnType } from '../../../../plugins/observability/typings/common'; import archives_metadata from '../../common/fixtures/es_archiver/archives_metadata'; import { FtrProviderContext } from '../../common/ftr_provider_context'; import { registry } from '../../common/registry'; @@ -21,148 +18,10 @@ type ThroughputReturn = APIReturnType<'GET /internal/apm/services/{serviceName}/ export default function ApiTest({ getService }: FtrProviderContext) { const apmApiClient = getService('apmApiClient'); - const traceData = getService('traceData'); const archiveName = 'apm_8.0.0'; const metadata = archives_metadata[archiveName]; - registry.when( - 'Throughput with statically generated data', - { config: 'basic', archives: ['apm_8.0.0_empty'] }, - () => { - const start = new Date('2021-01-01T00:00:00.000Z').getTime(); - const end = new Date('2021-01-01T00:15:00.000Z').getTime() - 1; - - const GO_PROD_RATE = 10; - const GO_DEV_RATE = 5; - const JAVA_PROD_RATE = 20; - - before(async () => { - const serviceGoProdInstance = service('synth-go', 'production', 'go').instance( - 'instance-a' - ); - const serviceGoDevInstance = service('synth-go', 'development', 'go').instance( - 'instance-b' - ); - const serviceJavaInstance = service('synth-java', 'production', 'java').instance( - 'instance-c' - ); - - await traceData.index([ - ...timerange(start, end) - .interval('1s') - .rate(GO_PROD_RATE) - .flatMap((timestamp) => - serviceGoProdInstance - .transaction('GET /api/product/list') - .duration(1000) - .timestamp(timestamp) - .serialize() - ), - ...timerange(start, end) - .interval('1s') - .rate(GO_DEV_RATE) - .flatMap((timestamp) => - serviceGoDevInstance - .transaction('GET /api/product/:id') - .duration(1000) - .timestamp(timestamp) - .serialize() - ), - ...timerange(start, end) - .interval('1s') - .rate(JAVA_PROD_RATE) - .flatMap((timestamp) => - serviceJavaInstance - .transaction('POST /api/product/buy') - .duration(1000) - .timestamp(timestamp) - .serialize() - ), - ]); - }); - - after(() => traceData.clean()); - - async function callApi(overrides?: { - start?: string; - end?: string; - transactionType?: string; - environment?: string; - kuery?: string; - }) { - const response = await apmApiClient.readUser({ - endpoint: 'GET /api/apm/services/{serviceName}/throughput', - params: { - path: { - serviceName: 'synth-go', - }, - query: { - start: new Date(start).toISOString(), - end: new Date(end).toISOString(), - transactionType: 'request', - environment: 'production', - kuery: 'processor.event:transaction', - ...overrides, - }, - }, - }); - - return response.body; - } - - describe('when calling it with the default parameters', () => { - let body: PromiseReturnType; - - before(async () => { - body = await callApi(); - }); - - it('returns the throughput in seconds', () => { - expect(body.throughputUnit).to.eql('second'); - }); - - it('returns the expected throughput', () => { - const throughputValues = uniq(body.currentPeriod.map((coord) => coord.y)); - expect(throughputValues).to.eql([GO_PROD_RATE]); - }); - }); - - describe('when setting environment to all', () => { - let body: PromiseReturnType; - - before(async () => { - body = await callApi({ - environment: ENVIRONMENT_ALL.value, - }); - }); - - it('returns data for all environments', () => { - const throughputValues = body.currentPeriod.map(({ y }) => y); - expect(uniq(throughputValues)).to.eql([GO_PROD_RATE + GO_DEV_RATE]); - expect(body.throughputUnit).to.eql('second'); - }); - }); - - describe('when defining a kuery', () => { - let body: PromiseReturnType; - - before(async () => { - body = await callApi({ - kuery: `processor.event:transaction and transaction.name:"GET /api/product/:id"`, - environment: ENVIRONMENT_ALL.value, - }); - }); - - it('returns data that matches the kuery', () => { - const throughputValues = body.currentPeriod.map(({ y }) => y); - expect(uniq(throughputValues)).to.eql([GO_DEV_RATE]); - expect(body.throughputUnit).to.eql('second'); - }); - }); - } - ); - registry.when('Throughput when data is not loaded', { config: 'basic', archives: [] }, () => { it('handles the empty state', async () => { const response = await apmApiClient.readUser({ diff --git a/yarn.lock b/yarn.lock index 677b75fec64f3..5dd96c328d898 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2236,10 +2236,6 @@ is-absolute "^1.0.0" is-negated-glob "^1.0.0" -"@elastic/apm-generator@link:bazel-bin/packages/elastic-apm-generator": - version "0.0.0" - uid "" - "@elastic/apm-rum-core@^5.12.1": version "5.12.1" resolved "https://registry.yarnpkg.com/@elastic/apm-rum-core/-/apm-rum-core-5.12.1.tgz#ad78787876c68b9ce718d1c42b8e7b12b12eaa69" From 1b62981a1a51e4edcaad538fb3c26e3ed1de2b17 Mon Sep 17 00:00:00 2001 From: Ignacio Rivas Date: Tue, 12 Oct 2021 15:56:17 +0100 Subject: [PATCH 059/107] [Upgrade Assistant] Remove Fix manually heading when there are no manual steps --- .../kibana_deprecations_service.mock.ts | 11 ++++ .../deprecation_details_flyout.test.ts | 12 +++++ .../kibana_deprecation_issues.test.tsx | 2 +- .../deprecation_details_flyout.tsx | 52 ++++++++++--------- 4 files changed, 51 insertions(+), 26 deletions(-) diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/helpers/kibana_deprecations_service.mock.ts b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/helpers/kibana_deprecations_service.mock.ts index c51e415d7e916..fb0edcdc875d1 100644 --- a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/helpers/kibana_deprecations_service.mock.ts +++ b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/helpers/kibana_deprecations_service.mock.ts @@ -34,6 +34,17 @@ const kibanaDeprecations: DomainDeprecationDetails[] = [ message: 'Test deprecation message 2', deprecationType: 'feature', }, + { + correctiveActions: { + // Has no manual steps. + manualSteps: [], + }, + domainId: 'test_domain_3', + level: 'warning', + title: 'Test deprecation title 3', + message: 'Test deprecation message 3', + deprecationType: 'feature', + }, ]; const setLoadDeprecations = ({ diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/kibana_deprecations/deprecation_details_flyout.test.ts b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/kibana_deprecations/deprecation_details_flyout.test.ts index 1b782ae36181c..eb76e3c016a39 100644 --- a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/kibana_deprecations/deprecation_details_flyout.test.ts +++ b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/kibana_deprecations/deprecation_details_flyout.test.ts @@ -61,6 +61,18 @@ describe('Kibana deprecation details flyout', () => { expect(find('kibanaDeprecationDetails.flyoutTitle').text()).toBe(manualDeprecation.title); expect(find('manualStepsListItem').length).toBe(3); }); + + test(`doesn't show corrective actions title and steps if there aren't any`, async () => { + const { find, exists, actions } = testBed; + const manualDeprecation = mockedKibanaDeprecations[2]; + + await actions.table.clickDeprecationAt(2); + + expect(exists('kibanaDeprecationDetails')).toBe(true); + expect(exists('kibanaDeprecationDetails.manualStepsTitle')).toBe(false); + expect(exists('manualStepsListItem')).toBe(false); + expect(find('kibanaDeprecationDetails.flyoutTitle').text()).toBe(manualDeprecation.title); + }); }); describe('Deprecation with automatic resolution', () => { diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/fix_issues_step/kibana_deprecation_issues.test.tsx b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/fix_issues_step/kibana_deprecation_issues.test.tsx index 65d413d5ec433..719e2f674fb2f 100644 --- a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/fix_issues_step/kibana_deprecation_issues.test.tsx +++ b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/fix_issues_step/kibana_deprecation_issues.test.tsx @@ -55,7 +55,7 @@ describe('Overview - Fix deprecation issues step - Kibana deprecations', () => { expect(exists('kibanaStatsPanel')).toBe(true); expect(find('kibanaStatsPanel.criticalDeprecations').text()).toContain(1); - expect(find('kibanaStatsPanel.warningDeprecations').text()).toContain(1); + expect(find('kibanaStatsPanel.warningDeprecations').text()).toContain(2); }); test('panel links to Kibana deprecations page', () => { diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/deprecation_details_flyout.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/deprecation_details_flyout.tsx index a1242c2da9b0c..8844386be5081 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/deprecation_details_flyout.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/deprecation_details_flyout.tsx @@ -192,31 +192,33 @@ export const DeprecationDetailsFlyout = ({ )} - -

{i18nTexts.manualFixTitle}

-
- - - - - {correctiveActions.manualSteps.length === 1 ? ( -

- {correctiveActions.manualSteps[0]} -

- ) : ( -
    - {correctiveActions.manualSteps.map((step, stepIndex) => ( -
  1. - {step} -
  2. - ))} -
- )} -
+ {correctiveActions.manualSteps.length > 0 && ( + <> + +

{i18nTexts.manualFixTitle}

+
+ + + {correctiveActions.manualSteps.length === 1 ? ( +

+ {correctiveActions.manualSteps[0]} +

+ ) : ( +
    + {correctiveActions.manualSteps.map((step, stepIndex) => ( +
  1. + {step} +
  2. + ))} +
+ )} +
+ + )}

)} From ea9d1ae6f11ac80ac73b3e57e56dd3c9cd98c2c2 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 12 Oct 2021 11:29:55 -0400 Subject: [PATCH 060/107] [buildkite] buildkite dependencies need to install before print_agent_links (#114573) (#114658) Co-authored-by: Brian Seeders --- .buildkite/scripts/lifecycle/pre_command.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.buildkite/scripts/lifecycle/pre_command.sh b/.buildkite/scripts/lifecycle/pre_command.sh index be31bb74ef668..cae6a07708d46 100755 --- a/.buildkite/scripts/lifecycle/pre_command.sh +++ b/.buildkite/scripts/lifecycle/pre_command.sh @@ -4,16 +4,17 @@ set -euo pipefail source .buildkite/scripts/common/util.sh -node .buildkite/scripts/lifecycle/print_agent_links.js || true - -echo '--- Job Environment Setup' +BUILDKITE_TOKEN="$(retry 5 5 vault read -field=buildkite_token_all_jobs secret/kibana-issues/dev/buildkite-ci)" +export BUILDKITE_TOKEN +echo '--- Install buildkite dependencies' cd '.buildkite' retry 5 15 yarn install cd - -BUILDKITE_TOKEN="$(retry 5 5 vault read -field=buildkite_token_all_jobs secret/kibana-issues/dev/buildkite-ci)" -export BUILDKITE_TOKEN +node .buildkite/scripts/lifecycle/print_agent_links.js || true + +echo '--- Job Environment Setup' # Set up a custom ES Snapshot Manifest if one has been specified for this build { From 1969514e0132b8dd78bdd6ba1726faab1dc52222 Mon Sep 17 00:00:00 2001 From: Kaarina Tungseth Date: Tue, 12 Oct 2021 11:13:07 -0500 Subject: [PATCH 061/107] [DOCS] Reformats the Logs settings tables into definition lists (#114140) (#114671) --- .../general-infra-logs-ui-settings.asciidoc | 41 +++++++++---------- 1 file changed, 19 insertions(+), 22 deletions(-) diff --git a/docs/settings/general-infra-logs-ui-settings.asciidoc b/docs/settings/general-infra-logs-ui-settings.asciidoc index 282239dcf166c..1e6dcf012206b 100644 --- a/docs/settings/general-infra-logs-ui-settings.asciidoc +++ b/docs/settings/general-infra-logs-ui-settings.asciidoc @@ -1,31 +1,28 @@ -[cols="2*<"] -|=== -| `xpack.infra.enabled` - | deprecated:[7.16.0,"In 8.0 and later, this setting will no longer be supported."] - Set to `false` to disable the Logs and Metrics app plugin {kib}. Defaults to `true`. -| `xpack.infra.sources.default.logAlias` - | Index pattern for matching indices that contain log data. Defaults to `filebeat-*,kibana_sample_data_logs*`. To match multiple wildcard patterns, use a comma to separate the names, with no space after the comma. For example, `logstash-app1-*,default-logs-*`. +`xpack.infra.enabled`:: +deprecated:[7.16.0,"In 8.0 and later, this setting will no longer be supported."] +Set to `false` to disable the Logs and Metrics app plugin {kib}. Defaults to `true`. -| `xpack.infra.sources.default.metricAlias` - | Index pattern for matching indices that contain Metricbeat data. Defaults to `metricbeat-*`. To match multiple wildcard patterns, use a comma to separate the names, with no space after the comma. For example, `logstash-app1-*,default-logs-*`. +`xpack.infra.sources.default.logAlias`:: +Index pattern for matching indices that contain log data. Defaults to `filebeat-*,kibana_sample_data_logs*`. To match multiple wildcard patterns, use a comma to separate the names, with no space after the comma. For example, `logstash-app1-*,default-logs-*`. -| `xpack.infra.sources.default.fields.timestamp` - | Timestamp used to sort log entries. Defaults to `@timestamp`. +`xpack.infra.sources.default.metricAlias`:: +Index pattern for matching indices that contain Metricbeat data. Defaults to `metricbeat-*`. To match multiple wildcard patterns, use a comma to separate the names, with no space after the comma. For example, `logstash-app1-*,default-logs-*`. -| `xpack.infra.sources.default.fields.message` - | Fields used to display messages in the Logs app. Defaults to `['message', '@message']`. +`xpack.infra.sources.default.fields.timestamp`:: +Timestamp used to sort log entries. Defaults to `@timestamp`. -| `xpack.infra.sources.default.fields.tiebreaker` - | Field used to break ties between two entries with the same timestamp. Defaults to `_doc`. +`xpack.infra.sources.default.fields.message`:: +Fields used to display messages in the Logs app. Defaults to `['message', '@message']`. -| `xpack.infra.sources.default.fields.host` - | Field used to identify hosts. Defaults to `host.name`. +`xpack.infra.sources.default.fields.tiebreaker`:: +Field used to break ties between two entries with the same timestamp. Defaults to `_doc`. -| `xpack.infra.sources.default.fields.container` - | Field used to identify Docker containers. Defaults to `container.id`. +`xpack.infra.sources.default.fields.host`:: +Field used to identify hosts. Defaults to `host.name`. -| `xpack.infra.sources.default.fields.pod` - | Field used to identify Kubernetes pods. Defaults to `kubernetes.pod.uid`. +`xpack.infra.sources.default.fields.container`:: +Field used to identify Docker containers. Defaults to `container.id`. -|=== +`xpack.infra.sources.default.fields.pod`:: +Field used to identify Kubernetes pods. Defaults to `kubernetes.pod.uid`. \ No newline at end of file From 54428a790fc7700bd33a7c2dcf949ebb4a96f479 Mon Sep 17 00:00:00 2001 From: Kaarina Tungseth Date: Tue, 12 Oct 2021 11:17:47 -0500 Subject: [PATCH 062/107] [DOCS] Reformats the Machine learning settings tables into definition lists (#114143) (#114674) --- docs/settings/ml-settings.asciidoc | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/docs/settings/ml-settings.asciidoc b/docs/settings/ml-settings.asciidoc index 59fa236e08275..e67876c76df0d 100644 --- a/docs/settings/ml-settings.asciidoc +++ b/docs/settings/ml-settings.asciidoc @@ -11,18 +11,14 @@ enabled by default. [[general-ml-settings-kb]] ==== General {ml} settings -[cols="2*<"] -|=== -| `xpack.ml.enabled` {ess-icon} - | deprecated:[7.16.0,"In 8.0 and later, this setting will no longer be supported."] - Set to `true` (default) to enable {kib} {ml-features}. + - + - If set to `false` in `kibana.yml`, the {ml} icon is hidden in this {kib} - instance. If `xpack.ml.enabled` is set to `true` in `elasticsearch.yml`, however, - you can still use the {ml} APIs. To disable {ml} entirely, see the - {ref}/ml-settings.html[{es} {ml} settings]. - -|=== +`xpack.ml.enabled` {ess-icon}:: +deprecated:[7.16.0,"In 8.0 and later, this setting will no longer be supported."] +Set to `true` (default) to enable {kib} {ml-features}. + ++ +If set to `false` in `kibana.yml`, the {ml} icon is hidden in this {kib} +instance. If `xpack.ml.enabled` is set to `true` in `elasticsearch.yml`, however, +you can still use the {ml} APIs. To disable {ml} entirely, refer to +{ref}/ml-settings.html[{es} {ml} settings]. [[advanced-ml-settings-kb]] ==== Advanced {ml} settings From d3defe0ac72b5c61daa42254c85eda254ef6ecc3 Mon Sep 17 00:00:00 2001 From: Kaarina Tungseth Date: Tue, 12 Oct 2021 11:20:57 -0500 Subject: [PATCH 063/107] [DOCS] Reformats the Search sessions settings tables into definition lists (#114145) (#114677) --- .../search-sessions-settings.asciidoc | 39 +++++++------------ 1 file changed, 14 insertions(+), 25 deletions(-) diff --git a/docs/settings/search-sessions-settings.asciidoc b/docs/settings/search-sessions-settings.asciidoc index abd6a8f12b568..7b03cd23a9023 100644 --- a/docs/settings/search-sessions-settings.asciidoc +++ b/docs/settings/search-sessions-settings.asciidoc @@ -7,37 +7,26 @@ Configure the search session settings in your `kibana.yml` configuration file. +`xpack.data_enhanced.search.sessions.enabled` {ess-icon}:: +Set to `true` (default) to enable search sessions. -[cols="2*<"] -|=== -a| `xpack.data_enhanced.` -`search.sessions.enabled` {ess-icon} -| Set to `true` (default) to enable search sessions. +`xpack.data_enhanced.search.sessions.trackingInterval` {ess-icon}:: +The frequency for updating the state of a search session. The default is `10s`. -a| `xpack.data_enhanced.` -`search.sessions.trackingInterval` {ess-icon} -| The frequency for updating the state of a search session. The default is `10s`. - -a| `xpack.data_enhanced.` -`search.sessions.pageSize` {ess-icon} -| How many search sessions {kib} processes at once while monitoring +`xpack.data_enhanced.search.sessions.pageSize` {ess-icon}:: +How many search sessions {kib} processes at once while monitoring session progress. The default is `100`. -a| `xpack.data_enhanced.` -`search.sessions.notTouchedTimeout` {ess-icon} -| How long {kib} stores search results from unsaved sessions, +`xpack.data_enhanced.search.sessions.notTouchedTimeout` {ess-icon}:: +How long {kib} stores search results from unsaved sessions, after the last search in the session completes. The default is `5m`. -a| `xpack.data_enhanced.` -`search.sessions.notTouchedInProgressTimeout` {ess-icon} -| How long a search session can run after a user navigates away without saving a session. The default is `1m`. +`xpack.data_enhanced.search.sessions.notTouchedInProgressTimeout` {ess-icon}:: +How long a search session can run after a user navigates away without saving a session. The default is `1m`. -a| `xpack.data_enhanced.` -`search.sessions.maxUpdateRetries` {ess-icon} -| How many retries {kib} can perform while attempting to save a search session. The default is `3`. +`xpack.data_enhanced.search.sessions.maxUpdateRetries` {ess-icon}:: +How many retries {kib} can perform while attempting to save a search session. The default is `3`. -a| `xpack.data_enhanced.` -`search.sessions.defaultExpiration` {ess-icon} -| How long search session results are stored before they are deleted. +`xpack.data_enhanced.search.sessions.defaultExpiration` {ess-icon}:: +How long search session results are stored before they are deleted. Extending a search session resets the expiration by the same value. The default is `7d`. -|=== From 1f3c99ba468333ff140555014b96acf7d5a1c356 Mon Sep 17 00:00:00 2001 From: Kaarina Tungseth Date: Tue, 12 Oct 2021 11:23:27 -0500 Subject: [PATCH 064/107] [DOCS] Reformats the Spaces settings tables into definition lists (#114146) (#114680) --- docs/settings/spaces-settings.asciidoc | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/docs/settings/spaces-settings.asciidoc b/docs/settings/spaces-settings.asciidoc index 8504464da1dfb..30b7beceb70ba 100644 --- a/docs/settings/spaces-settings.asciidoc +++ b/docs/settings/spaces-settings.asciidoc @@ -12,17 +12,13 @@ roles when Security is enabled. [[spaces-settings]] ==== Spaces settings -[cols="2*<"] -|=== -| `xpack.spaces.enabled` - | deprecated:[7.16.0,"In 8.0 and later, this setting will no longer be supported."] - Set to `true` (default) to enable Spaces in {kib}. - This setting is deprecated. Starting in 8.0, it will not be possible to disable this plugin. +`xpack.spaces.enabled`:: +deprecated:[7.16.0,"In 8.0 and later, this setting will no longer be supported."] +Set to `true` (default) to enable Spaces in {kib}. +This setting is deprecated. Starting in 8.0, it will not be possible to disable this plugin. -| `xpack.spaces.maxSpaces` - | The maximum amount of Spaces that can be used with this instance of {kib}. Some operations - in {kib} return all spaces using a single `_search` from {es}, so this must be - set lower than the `index.max_result_window` in {es}. - Defaults to `1000`. - -|=== +`xpack.spaces.maxSpaces`:: +The maximum amount of Spaces that can be used with this instance of {kib}. Some operations +in {kib} return all spaces using a single `_search` from {es}, so this must be +set lower than the `index.max_result_window` in {es}. +Defaults to `1000`. From 685fd8c9c2f9bb2c61bb604c93bb5fa9f730d13f Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 12 Oct 2021 13:25:59 -0400 Subject: [PATCH 065/107] refactor (#114603) (#114621) Co-authored-by: Gloria Hornero --- .../cypress/integration/timelines/pagination.spec.ts | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/x-pack/plugins/security_solution/cypress/integration/timelines/pagination.spec.ts b/x-pack/plugins/security_solution/cypress/integration/timelines/pagination.spec.ts index b569ea7cc082f..ce7b589f53c5a 100644 --- a/x-pack/plugins/security_solution/cypress/integration/timelines/pagination.spec.ts +++ b/x-pack/plugins/security_solution/cypress/integration/timelines/pagination.spec.ts @@ -24,7 +24,7 @@ import { HOSTS_URL } from '../../urls/navigation'; const defaultPageSize = 25; describe('Pagination', () => { - beforeEach(() => { + before(() => { cleanKibana(); loginAndWaitForPage(HOSTS_URL); openTimelineUsingToggle(); @@ -41,20 +41,13 @@ describe('Pagination', () => { it('should be able to change items count per page with the dropdown', () => { const itemsPerPage = 100; - cy.intercept('POST', '/internal/bsearch').as('refetch'); - cy.get(TIMELINE_EVENTS_COUNT_PER_PAGE_BTN).first().click(); cy.get(TIMELINE_EVENTS_COUNT_PER_PAGE_OPTION(itemsPerPage)).click(); - cy.wait('@refetch').its('response.statusCode').should('eq', 200); cy.get(TIMELINE_EVENTS_COUNT_PER_PAGE).should('contain.text', itemsPerPage); }); it('should be able to go to next / previous page', () => { - cy.intercept('POST', '/internal/bsearch').as('refetch'); cy.get(`${TIMELINE_FLYOUT} ${TIMELINE_EVENTS_COUNT_NEXT_PAGE}`).first().click(); - cy.wait('@refetch').its('response.statusCode').should('eq', 200); - cy.get(`${TIMELINE_FLYOUT} ${TIMELINE_EVENTS_COUNT_PREV_PAGE}`).first().click(); - cy.wait('@refetch').its('response.statusCode').should('eq', 200); }); }); From 3e5fd34c72f3f6e101d0587596adc49895d3bfe3 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 12 Oct 2021 13:49:34 -0400 Subject: [PATCH 066/107] [Fleet] Fix agent count in update modal (#114622) (#114646) Co-authored-by: Cristina Amico --- .../screens/detail/settings/update_button.tsx | 20 ++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/update_button.tsx b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/update_button.tsx index 8cdb3ece30621..48569d782a70b 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/update_button.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/update_button.tsx @@ -18,12 +18,12 @@ import { EuiConfirmModal, EuiSpacer, } from '@elastic/eui'; -import { sumBy } from 'lodash'; import type { GetAgentPoliciesResponse, PackageInfo, UpgradePackagePolicyDryRunResponse, + PackagePolicy, } from '../../../../../types'; import { InstallStatus } from '../../../../../types'; import { AGENT_POLICY_SAVED_OBJECT_TYPE } from '../../../../../constants'; @@ -109,10 +109,24 @@ export const UpdateButton: React.FunctionComponent = ({ }, [packagePolicyIds]); const packagePolicyCount = useMemo(() => packagePolicyIds.length, [packagePolicyIds]); + + function isStringArray(arr: unknown | string[]): arr is string[] { + return Array.isArray(arr) && arr.every((p) => typeof p === 'string'); + } + const agentCount = useMemo( - () => sumBy(agentPolicyData?.items, ({ agents }) => agents ?? 0), - [agentPolicyData] + () => + agentPolicyData?.items.reduce((acc, item) => { + const existingPolicies = isStringArray(item?.package_policies) + ? (item?.package_policies as string[]).filter((p) => packagePolicyIds.includes(p)) + : (item?.package_policies as PackagePolicy[]).filter((p) => + packagePolicyIds.includes(p.id) + ); + return (acc += existingPolicies.length > 0 && item?.agents ? item?.agents : 0); + }, 0), + [agentPolicyData, packagePolicyIds] ); + const conflictCount = useMemo( () => dryRunData?.filter((item) => item.hasErrors).length, [dryRunData] From 8c7d55d31833dd6d689ade79106801680a928a15 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 12 Oct 2021 13:51:23 -0400 Subject: [PATCH 067/107] [Exploratory view] Render content only on expand (#114237) (#114651) Co-authored-by: Shahzad --- .../shared/exploratory_view/series_editor/series.tsx | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/series.tsx b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/series.tsx index 11f96afe7ceab..d320b84c6a684 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/series.tsx +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/series.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import React from 'react'; +import React, { useEffect, useState } from 'react'; import styled from 'styled-components'; import { i18n } from '@kbn/i18n'; import { EuiFlexItem, EuiFlexGroup, EuiPanel, EuiAccordion, EuiSpacer } from '@elastic/eui'; @@ -47,6 +47,14 @@ export function Series({ item, isExpanded, toggleExpanded }: Props) { seriesId: id, }; + const [isExapndedOnce, setIsExapndedOnce] = useState(false); + + useEffect(() => { + if (isExpanded) { + setIsExapndedOnce(true); + } + }, [isExpanded]); + return ( - + {isExapndedOnce && } From ab888ed17d610c00ffc187855567aa1f0fedabf5 Mon Sep 17 00:00:00 2001 From: Nathan Reese Date: Tue, 12 Oct 2021 11:52:06 -0600 Subject: [PATCH 068/107] [Maps] Fix apis Maps endpoints getTile should return vector tile containing document (#114509) (#114623) * [Maps] Fix apis Maps endpoints getTile should return vector tile containing document * use find instead of if statement * eslint * can not use layer.feature.find is layer.feature is not an array * unskip other test where fix has been merged Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> # Conflicts: # x-pack/test/api_integration/apis/maps/get_tile.js Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../api_integration/apis/maps/get_tile.js | 28 ++++++++++++++----- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/x-pack/test/api_integration/apis/maps/get_tile.js b/x-pack/test/api_integration/apis/maps/get_tile.js index cacd7326d842a..a1d4f10ca7be8 100644 --- a/x-pack/test/api_integration/apis/maps/get_tile.js +++ b/x-pack/test/api_integration/apis/maps/get_tile.js @@ -10,12 +10,19 @@ import Protobuf from 'pbf'; import expect from '@kbn/expect'; import { MVT_SOURCE_LAYER_NAME } from '../../../../plugins/maps/common/constants'; +function findFeature(layer, callbackFn) { + for (let i = 0; i < layer.length; i++) { + const feature = layer.feature(i); + if (callbackFn(feature)) { + return feature; + } + } +} + export default function ({ getService }) { const supertest = getService('supertest'); - // FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/114471 - // FLAKY: https://github.com/elastic/kibana/issues/114417 - describe.skip('getTile', () => { + describe('getTile', () => { it('should return vector tile containing document', async () => { const resp = await supertest .get( @@ -33,8 +40,12 @@ export default function ({ getService }) { const layer = jsonTile.layers[MVT_SOURCE_LAYER_NAME]; expect(layer.length).to.be(3); // 2 docs + the metadata feature - // 1st doc - const feature = layer.feature(0); + // Verify ES document + + const feature = findFeature(layer, (feature) => { + return feature.properties._id === 'AU_x3_BsGFA8no6Qjjug'; + }); + expect(feature).not.to.be(undefined); expect(feature.type).to.be(1); expect(feature.extent).to.be(4096); expect(feature.id).to.be(undefined); @@ -47,8 +58,11 @@ export default function ({ getService }) { }); expect(feature.loadGeometry()).to.eql([[{ x: 44, y: 2382 }]]); - // Metadata feature - const metadataFeature = layer.feature(2); + // Verify metadata feature + const metadataFeature = findFeature(layer, (feature) => { + return feature.properties.__kbn_metadata_feature__; + }); + expect(metadataFeature).not.to.be(undefined); expect(metadataFeature.type).to.be(3); expect(metadataFeature.extent).to.be(4096); expect(metadataFeature.id).to.be(undefined); From e574602dbefedca600ff97b7bc7736abe976a280 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 12 Oct 2021 13:59:16 -0400 Subject: [PATCH 069/107] [Stack Monitoring] Fix blank page between loading page and overview (#114550) (#114663) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Zacqary Adam Xeper --- .../public/application/pages/loading_page.tsx | 10 +++++++++- .../monitoring/public/application/route_init.tsx | 5 ++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/monitoring/public/application/pages/loading_page.tsx b/x-pack/plugins/monitoring/public/application/pages/loading_page.tsx index d5c1bcf80c23e..ebc43dd5c627e 100644 --- a/x-pack/plugins/monitoring/public/application/pages/loading_page.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/loading_page.tsx @@ -15,12 +15,20 @@ import { CODE_PATH_ELASTICSEARCH } from '../../../common/constants'; const CODE_PATHS = [CODE_PATH_ELASTICSEARCH]; -export const LoadingPage = () => { +export const LoadingPage = ({ staticLoadingState }: { staticLoadingState?: boolean }) => { const { clusters, loaded } = useClusters(null, undefined, CODE_PATHS); const title = i18n.translate('xpack.monitoring.loading.pageTitle', { defaultMessage: 'Loading', }); + if (staticLoadingState) { + return ( + + ; + + ); + } + return ( {loaded === false ? : renderRedirections(clusters)} diff --git a/x-pack/plugins/monitoring/public/application/route_init.tsx b/x-pack/plugins/monitoring/public/application/route_init.tsx index 8a11df3de50ae..092b3f54036c9 100644 --- a/x-pack/plugins/monitoring/public/application/route_init.tsx +++ b/x-pack/plugins/monitoring/public/application/route_init.tsx @@ -9,6 +9,7 @@ import { Route, Redirect, useLocation } from 'react-router-dom'; import { useClusters } from './hooks/use_clusters'; import { GlobalStateContext } from './contexts/global_state_context'; import { getClusterFromClusters } from '../lib/get_cluster_from_clusters'; +import { LoadingPage } from './pages/loading_page'; export interface ComponentProps { clusters: []; @@ -66,7 +67,9 @@ export const RouteInit: React.FC = ({ - ) : null; + ) : ( + + ); }; const isExpired = (license: any): boolean => { From d0f425baeabf5c1ca3a1ab16d8828a824b87fc44 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 12 Oct 2021 13:59:54 -0400 Subject: [PATCH 070/107] [Lens] Fix Metric visualization scale (#113956) (#114662) * :bug: Fix metric rescale * :camera_flash: Restored old snapshots * :bug: Extend the fix to all scenarios * :camera_flash: Refresh snapshots for new fix Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Marco Liberati --- .../metric_visualization/expression.test.tsx | 20 ++++++++++++++----- .../metric_visualization/expression.tsx | 2 +- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/x-pack/plugins/lens/public/metric_visualization/expression.test.tsx b/x-pack/plugins/lens/public/metric_visualization/expression.test.tsx index a3ac5b5837772..db70a7c8508e5 100644 --- a/x-pack/plugins/lens/public/metric_visualization/expression.test.tsx +++ b/x-pack/plugins/lens/public/metric_visualization/expression.test.tsx @@ -90,7 +90,9 @@ describe('metric_expression', () => { reportDescription="Fancy chart description" reportTitle="My fanci metric chart" > - +
{ reportDescription="Fancy chart description" reportTitle="My fanci metric chart" > - +
{ reportDescription="" reportTitle="" > - +
{ reportDescription="" reportTitle="" > - +
{ reportDescription="" reportTitle="" > - +
- +
{value}
From 62b2948743094196830c3cc7e9c3871e6b558f81 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 12 Oct 2021 14:00:11 -0400 Subject: [PATCH 071/107] Short url docs (#113084) (#114701) Co-authored-by: Vadim Kibana <82822460+vadimkibana@users.noreply.github.com> --- docs/api/short-urls.asciidoc | 9 ++ docs/api/short-urls/create-short-url.asciidoc | 86 +++++++++++++++++++ docs/api/short-urls/delete-short-url.asciidoc | 39 +++++++++ docs/api/short-urls/get-short-url.asciidoc | 56 ++++++++++++ .../api/short-urls/resolve-short-url.asciidoc | 56 ++++++++++++ docs/api/url-shortening.asciidoc | 62 ------------- docs/user/api.asciidoc | 16 ++-- 7 files changed, 254 insertions(+), 70 deletions(-) create mode 100644 docs/api/short-urls.asciidoc create mode 100644 docs/api/short-urls/create-short-url.asciidoc create mode 100644 docs/api/short-urls/delete-short-url.asciidoc create mode 100644 docs/api/short-urls/get-short-url.asciidoc create mode 100644 docs/api/short-urls/resolve-short-url.asciidoc delete mode 100644 docs/api/url-shortening.asciidoc diff --git a/docs/api/short-urls.asciidoc b/docs/api/short-urls.asciidoc new file mode 100644 index 0000000000000..ded639c897f3f --- /dev/null +++ b/docs/api/short-urls.asciidoc @@ -0,0 +1,9 @@ +[[short-urls-api]] +== Short URLs APIs + +Manage {kib} short URLs. + +include::short-urls/create-short-url.asciidoc[] +include::short-urls/get-short-url.asciidoc[] +include::short-urls/delete-short-url.asciidoc[] +include::short-urls/resolve-short-url.asciidoc[] diff --git a/docs/api/short-urls/create-short-url.asciidoc b/docs/api/short-urls/create-short-url.asciidoc new file mode 100644 index 0000000000000..a9138a4c555da --- /dev/null +++ b/docs/api/short-urls/create-short-url.asciidoc @@ -0,0 +1,86 @@ +[[short-urls-api-create]] +=== Create short URL API +++++ +Create short URL +++++ + +experimental[] Create a {kib} short URL. {kib} URLs may be long and cumbersome, short URLs are much +easier to remember and share. + +Short URLs are created by specifying the locator ID and locator parameters. When a short URL is +resolved, the locator ID and locator parameters are used to redirect user to the right {kib} page. + + +[[short-urls-api-create-request]] +==== Request + +`POST :/api/short_url` + + +[[short-urls-api-create-request-body]] +==== Request body + +`locatorId`:: + (Required, string) ID of the locator. + +`params`:: + (Required, object) Object which contains all necessary parameters for the given locator to resolve + to a {kib} location. ++ +WARNING: When you create a short URL, locator params are not validated, which allows you to pass +arbitrary and ill-formed data into the API that can break {kib}. Make sure +any data that you send to the API is properly formed. + +`slug`:: + (Optional, string) A custom short URL slug. Slug is the part of the short URL that identifies it. + You can provide a custom slug which consists of latin alphabet letters, numbers and `-._` + characters. The slug must be at least 3 characters long, but no longer than 255 characters. + +`humanReadableSlug`:: + (Optional, boolean) When the `slug` parameter is omitted, the API will generate a random + human-readable slug, if `humanReadableSlug` is set to `true`. + + +[[short-urls-api-create-response-codes]] +==== Response code + +`200`:: + Indicates a successful call. + + +[[short-urls-api-create-example]] +==== Example + +[source,sh] +-------------------------------------------------- +$ curl -X POST api/short_url -H 'kbn-xsrf: true' -H 'Content-Type: application/json' -d ' +{ + "locatorId": "LOCATOR_ID", + "params": {}, + "humanReadableSlug": true +}' +-------------------------------------------------- +// KIBANA + +The API returns the following: + +[source,sh] +-------------------------------------------------- +{ + "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", <1> + "slug": "adjective-adjective-noun", <2> + "locator": { + "id": "LOCATOR_ID", + "version": "x.x.x", <3> + "state": {} <4> + }, + "accessCount": 0, + "accessDate": 1632680100000, + "createDate": 1632680100000 +} +-------------------------------------------------- + +<1> A random ID is automatically generated. +<2> A random human-readable slug is automatically generated if the `humanReadableSlug` parameter is set to `true`. If set to `false` a random short string is generated. +<3> The version of {kib} when short URL was created is stored. +<4> Locator params provided as `params` property are stored. diff --git a/docs/api/short-urls/delete-short-url.asciidoc b/docs/api/short-urls/delete-short-url.asciidoc new file mode 100644 index 0000000000000..f405ccf1a7472 --- /dev/null +++ b/docs/api/short-urls/delete-short-url.asciidoc @@ -0,0 +1,39 @@ +[[short-urls-api-delete]] +=== Delete short URL API +++++ +Delete short URL +++++ + +experimental[] Delete a {kib} short URL. + + +[[short-urls-api-delete-request]] +==== Request + +`DELETE :/api/short_url/` + + +[[short-urls-api-delete-path-params]] +==== Path parameters + +`id`:: + (Required, string) The short URL ID that you want to remove. + + +[[short-urls-api-delete-response-codes]] +==== Response code + +`200`:: + Indicates a successful call. + + +[[short-urls-api-delete-example]] +==== Example + +Delete a short URL `12345` ID: + +[source,sh] +-------------------------------------------------- +$ curl -X DELETE api/short_url/12345 +-------------------------------------------------- +// KIBANA diff --git a/docs/api/short-urls/get-short-url.asciidoc b/docs/api/short-urls/get-short-url.asciidoc new file mode 100644 index 0000000000000..bf4303d442fb0 --- /dev/null +++ b/docs/api/short-urls/get-short-url.asciidoc @@ -0,0 +1,56 @@ +[[short-urls-api-get]] +=== Get short URL API +++++ +Get short URL +++++ + +experimental[] Retrieve a single {kib} short URL. + +[[short-urls-api-get-request]] +==== Request + +`GET :/api/short_url/` + + +[[short-urls-api-get-params]] +==== Path parameters + +`id`:: + (Required, string) The ID of the short URL. + + +[[short-urls-api-get-codes]] +==== Response code + +`200`:: + Indicates a successful call. + + +[[short-urls-api-get-example]] +==== Example + +Retrieve the short URL with the `12345` ID: + +[source,sh] +-------------------------------------------------- +$ curl -X GET api/short_url/12345 +-------------------------------------------------- +// KIBANA + +The API returns the following: + +[source,sh] +-------------------------------------------------- +{ + "id": "12345", + "slug": "adjective-adjective-noun", + "locator": { + "id": "LOCATOR_ID", + "version": "x.x.x", + "state": {} + }, + "accessCount": 0, + "accessDate": 1632680100000, + "createDate": 1632680100000 +} +-------------------------------------------------- diff --git a/docs/api/short-urls/resolve-short-url.asciidoc b/docs/api/short-urls/resolve-short-url.asciidoc new file mode 100644 index 0000000000000..32ad7ba7625c0 --- /dev/null +++ b/docs/api/short-urls/resolve-short-url.asciidoc @@ -0,0 +1,56 @@ +[[short-urls-api-resolve]] +=== Resolve short URL API +++++ +Resolve short URL +++++ + +experimental[] Resolve a single {kib} short URL by its slug. + +[[short-urls-api-resolve-request]] +==== Request + +`GET :/api/short_url/_slug/` + + +[[short-urls-api-resolve-params]] +==== Path parameters + +`slug`:: + (Required, string) The slug of the short URL. + + +[[short-urls-api-resolve-codes]] +==== Response code + +`200`:: + Indicates a successful call. + + +[[short-urls-api-resolve-example]] +==== Example + +Retrieve the short URL with the `hello-world` ID: + +[source,sh] +-------------------------------------------------- +$ curl -X GET api/short_url/_slug/hello-world +-------------------------------------------------- +// KIBANA + +The API returns the following: + +[source,sh] +-------------------------------------------------- +{ + "id": "12345", + "slug": "hello-world", + "locator": { + "id": "LOCATOR_ID", + "version": "x.x.x", + "state": {} + }, + "accessCount": 0, + "accessDate": 1632680100000, + "createDate": 1632680100000 +} +-------------------------------------------------- diff --git a/docs/api/url-shortening.asciidoc b/docs/api/url-shortening.asciidoc deleted file mode 100644 index ffe1d925e5dcb..0000000000000 --- a/docs/api/url-shortening.asciidoc +++ /dev/null @@ -1,62 +0,0 @@ -[[url-shortening-api]] -== Shorten URL API -++++ -Shorten URL -++++ - -experimental[] Convert a {kib} URL into a token. {kib} URLs contain the state of the application, which makes them long and cumbersome. -Internet Explorer has URL length restrictions, and some wiki and markup parsers don't do well with the full-length version of the {kib} URL. - -Short URLs are designed to make sharing {kib} URLs easier. - -[float] -[[url-shortening-api-request]] -=== Request - -`POST :/api/shorten_url` - -[float] -[[url-shortening-api-request-body]] -=== Request body - -`url`:: - (Required, string) The {kib} URL that you want to shorten, relative to `/app/kibana`. - -[float] -[[url-shortening-api-response-body]] -=== Response body - -urlId:: A top-level property that contains the shortened URL token for the provided request body. - -[float] -[[url-shortening-api-codes]] -=== Response code - -`200`:: - Indicates a successful call. - -[float] -[[url-shortening-api-example]] -=== Example - -[source,sh] --------------------------------------------------- -$ curl -X POST api/shorten_url -{ - "url": "/app/kibana#/dashboard?_g=()&_a=(description:'',filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),panels:!((embeddableConfig:(),gridData:(h:15,i:'1',w:24,x:0,y:0),id:'8f4d0c00-4c86-11e8-b3d7-01146121b73d',panelIndex:'1',type:visualization,version:'7.0.0-alpha1')),query:(language:lucene,query:''),timeRestore:!f,title:'New%20Dashboard',viewMode:edit)" -} --------------------------------------------------- -// KIBANA - -The API returns the following: - -[source,sh] --------------------------------------------------- -{ - "urlId": "f73b295ff92718b26bc94edac766d8e3" -} --------------------------------------------------- - -For easy sharing, construct the shortened {kib} URL: - -`http://localhost:5601/goto/f73b295ff92718b26bc94edac766d8e3` diff --git a/docs/user/api.asciidoc b/docs/user/api.asciidoc index 12e200bb0ba27..e17d52675437e 100644 --- a/docs/user/api.asciidoc +++ b/docs/user/api.asciidoc @@ -1,8 +1,8 @@ [[api]] = REST API -Some {kib} features are provided via a REST API, which is ideal for creating an -integration with {kib}, or automating certain aspects of configuring and +Some {kib} features are provided via a REST API, which is ideal for creating an +integration with {kib}, or automating certain aspects of configuring and deploying {kib}. [float] @@ -18,15 +18,15 @@ NOTE: The {kib} Console supports only Elasticsearch APIs. You are unable to inte [float] [[api-authentication]] === Authentication -The {kib} APIs support key- and token-based authentication. +The {kib} APIs support key- and token-based authentication. [float] [[token-api-authentication]] ==== Token-based authentication -To use token-based authentication, you use the same username and password that you use to log into Elastic. -In a given HTTP tool, and when available, you can select to use its 'Basic Authentication' option, -which is where the username and password are stored in order to be passed as part of the call. +To use token-based authentication, you use the same username and password that you use to log into Elastic. +In a given HTTP tool, and when available, you can select to use its 'Basic Authentication' option, +which is where the username and password are stored in order to be passed as part of the call. [float] [[key-authentication]] @@ -65,7 +65,7 @@ For all APIs, you must use a request header. The {kib} APIs support the `kbn-xsr * XSRF protections are disabled using the <> setting `Content-Type: application/json`:: - Applicable only when you send a payload in the API request. {kib} API requests and responses use JSON. + Applicable only when you send a payload in the API request. {kib} API requests and responses use JSON. Typically, if you include the `kbn-xsrf` header, you must also include the `Content-Type` header. Request header example: @@ -97,6 +97,6 @@ include::{kib-repo-dir}/api/actions-and-connectors.asciidoc[] include::{kib-repo-dir}/api/dashboard-api.asciidoc[] include::{kib-repo-dir}/api/logstash-configuration-management.asciidoc[] include::{kib-repo-dir}/api/machine-learning.asciidoc[] -include::{kib-repo-dir}/api/url-shortening.asciidoc[] +include::{kib-repo-dir}/api/short-urls.asciidoc[] include::{kib-repo-dir}/api/task-manager/health.asciidoc[] include::{kib-repo-dir}/api/upgrade-assistant.asciidoc[] From e060d3921f747a60a54bd99f206dc99308cf7719 Mon Sep 17 00:00:00 2001 From: Sandra G Date: Tue, 12 Oct 2021 14:19:49 -0400 Subject: [PATCH 072/107] [Stack Monitoring] Add breadcrumbs to ES pages after migrating from Angular (#114555) (#114635) * add breadcrumbs * fix bad merge * fix types Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> # Conflicts: # x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_page.tsx # x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_shard_page.tsx # x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_advanced_page.tsx # x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_page.tsx # x-pack/plugins/monitoring/public/application/pages/elasticsearch/indices_page.tsx # x-pack/plugins/monitoring/public/application/pages/elasticsearch/ml_jobs_page.tsx # x-pack/plugins/monitoring/public/application/pages/elasticsearch/node_page.tsx Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../pages/elasticsearch/ccr_page.tsx | 13 +++++++++-- .../pages/elasticsearch/ccr_shard_page.tsx | 22 +++++++++++++++--- .../elasticsearch/index_advanced_page.tsx | 21 +++++++++++++++-- .../pages/elasticsearch/index_page.tsx | 21 ++++++++++++++--- .../pages/elasticsearch/indices_page.tsx | 14 +++++++++-- .../pages/elasticsearch/ml_jobs_page.tsx | 14 +++++++++-- .../elasticsearch/node_advanced_page.tsx | 23 ++++++++++++++++--- .../pages/elasticsearch/node_page.tsx | 23 +++++++++++++++---- 8 files changed, 130 insertions(+), 21 deletions(-) diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_page.tsx b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_page.tsx index f03e73000f6bf..76d924f919c04 100644 --- a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_page.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_page.tsx @@ -4,7 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import React, { useContext, useState, useCallback } from 'react'; +import React, { useContext, useState, useCallback, useEffect } from 'react'; import { i18n } from '@kbn/i18n'; import { find } from 'lodash'; import { ElasticsearchTemplate } from './elasticsearch_template'; @@ -18,7 +18,7 @@ import { SetupModeContext } from '../../../components/setup_mode/setup_mode_cont import { AlertsByName } from '../../../alerts/types'; import { fetchAlerts } from '../../../lib/fetch_alerts'; import { RULE_CCR_READ_EXCEPTIONS } from '../../../../common/constants'; - +import { BreadcrumbContainer } from '../../hooks/use_breadcrumbs'; interface SetupModeProps { setupMode: any; flyoutComponent: any; @@ -27,6 +27,7 @@ interface SetupModeProps { export const ElasticsearchCcrPage: React.FC = ({ clusters }) => { const globalState = useContext(GlobalStateContext); + const { generate: generateBreadcrumbs } = useContext(BreadcrumbContainer.Context); const { services } = useKibana<{ data: any }>(); const clusterUuid = globalState.cluster_uuid; @@ -37,6 +38,14 @@ export const ElasticsearchCcrPage: React.FC = ({ clusters }) => const [data, setData] = useState({} as any); const [alerts, setAlerts] = useState({}); + useEffect(() => { + if (cluster) { + generateBreadcrumbs(cluster.cluster_name, { + inElasticsearch: true, + }); + } + }, [cluster, generateBreadcrumbs]); + const title = i18n.translate('xpack.monitoring.elasticsearch.ccr.title', { defaultMessage: 'Elasticsearch - Ccr', }); diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_shard_page.tsx b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_shard_page.tsx index fdcc273c94532..1ef5451209c65 100644 --- a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_shard_page.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_shard_page.tsx @@ -4,8 +4,9 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import React, { useContext, useState, useCallback } from 'react'; +import React, { useContext, useState, useCallback, useEffect } from 'react'; import { useParams } from 'react-router-dom'; +import { find } from 'lodash'; import { get } from 'lodash'; import { i18n } from '@kbn/i18n'; import { PageTemplate } from '../page_template'; @@ -19,6 +20,7 @@ import { SetupModeContext } from '../../../components/setup_mode/setup_mode_cont import { AlertsByName } from '../../../alerts/types'; import { fetchAlerts } from '../../../lib/fetch_alerts'; import { RULE_CCR_READ_EXCEPTIONS } from '../../../../common/constants'; +import { BreadcrumbContainer } from '../../hooks/use_breadcrumbs'; interface SetupModeProps { setupMode: any; @@ -26,14 +28,28 @@ interface SetupModeProps { bottomBarComponent: any; } -export const ElasticsearchCcrShardPage: React.FC = () => { +export const ElasticsearchCcrShardPage: React.FC = ({ clusters }) => { const globalState = useContext(GlobalStateContext); const { services } = useKibana<{ data: any }>(); + const [data, setData] = useState({} as any); const { index, shardId }: { index: string; shardId: string } = useParams(); + const { generate: generateBreadcrumbs } = useContext(BreadcrumbContainer.Context); const clusterUuid = globalState.cluster_uuid; + const cluster = find(clusters, { + cluster_uuid: clusterUuid, + }) as any; + + useEffect(() => { + if (cluster) { + generateBreadcrumbs(cluster.cluster_name, { + inElasticsearch: true, + name: 'ccr', + instance: `Index: ${index} Shard: ${shardId}`, + }); + } + }, [cluster, generateBreadcrumbs, index, shardId]); const ccs = globalState.ccs; - const [data, setData] = useState({} as any); const [alerts, setAlerts] = useState({}); const title = i18n.translate('xpack.monitoring.elasticsearch.ccr.shard.title', { diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_advanced_page.tsx b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_advanced_page.tsx index 058877b4ea841..e9786c0da723e 100644 --- a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_advanced_page.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_advanced_page.tsx @@ -4,8 +4,9 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import React, { useContext, useState, useCallback } from 'react'; +import React, { useContext, useState, useCallback, useEffect } from 'react'; import { i18n } from '@kbn/i18n'; +import { find } from 'lodash'; import { useParams } from 'react-router-dom'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; import { GlobalStateContext } from '../../contexts/global_state_context'; @@ -25,9 +26,11 @@ interface SetupModeProps { import { AlertsByName } from '../../../alerts/types'; import { fetchAlerts } from '../../../lib/fetch_alerts'; import { RULE_LARGE_SHARD_SIZE } from '../../../../common/constants'; +import { BreadcrumbContainer } from '../../hooks/use_breadcrumbs'; -export const ElasticsearchIndexAdvancedPage: React.FC = () => { +export const ElasticsearchIndexAdvancedPage: React.FC = ({ clusters }) => { const globalState = useContext(GlobalStateContext); + const { generate: generateBreadcrumbs } = useContext(BreadcrumbContainer.Context); const { services } = useKibana<{ data: any }>(); const { index }: { index: string } = useParams(); const { zoomInfo, onBrush } = useCharts(); @@ -35,6 +38,20 @@ export const ElasticsearchIndexAdvancedPage: React.FC = () => { const [data, setData] = useState({} as any); const [alerts, setAlerts] = useState({}); + const cluster = find(clusters, { + cluster_uuid: clusterUuid, + }) as any; + + useEffect(() => { + if (cluster) { + generateBreadcrumbs(cluster.cluster_name, { + inElasticsearch: true, + name: 'indices', + instance: index, + }); + } + }, [cluster, generateBreadcrumbs, index]); + const title = i18n.translate('xpack.monitoring.elasticsearch.index.advanced.title', { defaultMessage: 'Elasticsearch - Indices - {indexName} - Advanced', values: { diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_page.tsx b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_page.tsx index 854fc16d59d2d..c6049e27cf571 100644 --- a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_page.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_page.tsx @@ -4,9 +4,10 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import React, { useContext, useState, useCallback } from 'react'; +import React, { useContext, useState, useCallback, useEffect } from 'react'; import { i18n } from '@kbn/i18n'; import { useParams } from 'react-router-dom'; +import { find } from 'lodash'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; import { GlobalStateContext } from '../../contexts/global_state_context'; // @ts-ignore @@ -23,15 +24,16 @@ import { labels } from '../../../components/elasticsearch/shard_allocation/lib/l import { AlertsByName } from '../../../alerts/types'; import { fetchAlerts } from '../../../lib/fetch_alerts'; import { RULE_LARGE_SHARD_SIZE } from '../../../../common/constants'; - +import { BreadcrumbContainer } from '../../hooks/use_breadcrumbs'; interface SetupModeProps { setupMode: any; flyoutComponent: any; bottomBarComponent: any; } -export const ElasticsearchIndexPage: React.FC = () => { +export const ElasticsearchIndexPage: React.FC = ({ clusters }) => { const globalState = useContext(GlobalStateContext); + const { generate: generateBreadcrumbs } = useContext(BreadcrumbContainer.Context); const { services } = useKibana<{ data: any }>(); const { index }: { index: string } = useParams(); const { zoomInfo, onBrush } = useCharts(); @@ -40,6 +42,19 @@ export const ElasticsearchIndexPage: React.FC = () => { const [indexLabel, setIndexLabel] = useState(labels.index as any); const [nodesByIndicesData, setNodesByIndicesData] = useState([]); const [alerts, setAlerts] = useState({}); + const cluster = find(clusters, { + cluster_uuid: clusterUuid, + }) as any; + + useEffect(() => { + if (cluster) { + generateBreadcrumbs(cluster.cluster_name, { + inElasticsearch: true, + name: 'indices', + instance: index, + }); + } + }, [cluster, generateBreadcrumbs, index]); const title = i18n.translate('xpack.monitoring.elasticsearch.index.overview.title', { defaultMessage: 'Elasticsearch - Indices - {indexName} - Overview', diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/indices_page.tsx b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/indices_page.tsx index 59ebffc7b8617..1ed2281e3bda6 100644 --- a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/indices_page.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/indices_page.tsx @@ -4,7 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import React, { useContext, useState, useCallback } from 'react'; +import React, { useContext, useState, useCallback, useEffect } from 'react'; import { i18n } from '@kbn/i18n'; import { find } from 'lodash'; import { ElasticsearchTemplate } from './elasticsearch_template'; @@ -19,6 +19,7 @@ import { useLocalStorage } from '../../hooks/use_local_storage'; import { AlertsByName } from '../../../alerts/types'; import { fetchAlerts } from '../../../lib/fetch_alerts'; import { RULE_LARGE_SHARD_SIZE } from '../../../../common/constants'; +import { BreadcrumbContainer } from '../../hooks/use_breadcrumbs'; interface SetupModeProps { setupMode: any; @@ -28,13 +29,14 @@ interface SetupModeProps { export const ElasticsearchIndicesPage: React.FC = ({ clusters }) => { const globalState = useContext(GlobalStateContext); + const { generate: generateBreadcrumbs } = useContext(BreadcrumbContainer.Context); const { services } = useKibana<{ data: any }>(); const { getPaginationTableProps } = useTable('elasticsearch.indices'); const clusterUuid = globalState.cluster_uuid; const ccs = globalState.ccs; const cluster = find(clusters, { cluster_uuid: clusterUuid, - }); + }) as any; const [data, setData] = useState({} as any); const [showSystemIndices, setShowSystemIndices] = useLocalStorage( 'showSystemIndices', @@ -42,6 +44,14 @@ export const ElasticsearchIndicesPage: React.FC = ({ clusters }) ); const [alerts, setAlerts] = useState({}); + useEffect(() => { + if (cluster) { + generateBreadcrumbs(cluster.cluster_name, { + inElasticsearch: true, + }); + } + }, [cluster, generateBreadcrumbs]); + const title = i18n.translate('xpack.monitoring.elasticsearch.indices.routeTitle', { defaultMessage: 'Elasticsearch - Indices', }); diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ml_jobs_page.tsx b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ml_jobs_page.tsx index 4e4c263c1e1f4..cde2e7a2b93f2 100644 --- a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ml_jobs_page.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ml_jobs_page.tsx @@ -4,7 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import React, { useContext, useState, useCallback } from 'react'; +import React, { useContext, useState, useCallback, useEffect } from 'react'; import { i18n } from '@kbn/i18n'; import { find } from 'lodash'; import { ElasticsearchTemplate } from './elasticsearch_template'; @@ -16,6 +16,7 @@ import { SetupModeRenderer } from '../../setup_mode/setup_mode_renderer'; import { SetupModeContext } from '../../../components/setup_mode/setup_mode_context'; import { useTable } from '../../hooks/use_table'; import type { MLJobs } from '../../../types'; +import { BreadcrumbContainer } from '../../hooks/use_breadcrumbs'; interface SetupModeProps { setupMode: any; @@ -25,13 +26,22 @@ interface SetupModeProps { export const ElasticsearchMLJobsPage: React.FC = ({ clusters }) => { const globalState = useContext(GlobalStateContext); + const { generate: generateBreadcrumbs } = useContext(BreadcrumbContainer.Context); const { services } = useKibana<{ data: any }>(); const { getPaginationTableProps } = useTable('elasticsearch.mlJobs'); const clusterUuid = globalState.cluster_uuid; const ccs = globalState.ccs; const cluster = find(clusters, { cluster_uuid: clusterUuid, - }); + }) as any; + + useEffect(() => { + if (cluster) { + generateBreadcrumbs(cluster.cluster_name, { + inElasticsearch: true, + }); + } + }, [cluster, generateBreadcrumbs]); const [data, setData] = useState({} as any); const title = i18n.translate('xpack.monitoring.elasticsearch.mlJobs.routeTitle', { diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/node_advanced_page.tsx b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/node_advanced_page.tsx index 9c0f5f4627b01..820eb2fb20cd8 100644 --- a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/node_advanced_page.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/node_advanced_page.tsx @@ -4,8 +4,9 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import React, { useContext, useState, useCallback } from 'react'; +import React, { useContext, useState, useCallback, useEffect } from 'react'; import { useParams } from 'react-router-dom'; +import { find } from 'lodash'; import { i18n } from '@kbn/i18n'; import { ItemTemplate } from './item_template'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; @@ -24,19 +25,35 @@ import { RULE_DISK_USAGE, RULE_MEMORY_USAGE, } from '../../../../common/constants'; +import { BreadcrumbContainer } from '../../hooks/use_breadcrumbs'; -export const ElasticsearchNodeAdvancedPage: React.FC = () => { +export const ElasticsearchNodeAdvancedPage: React.FC = ({ clusters }) => { const globalState = useContext(GlobalStateContext); + const { generate: generateBreadcrumbs } = useContext(BreadcrumbContainer.Context); const { zoomInfo, onBrush } = useCharts(); + const [data, setData] = useState({} as any); const { node }: { node: string } = useParams(); const { services } = useKibana<{ data: any }>(); const clusterUuid = globalState.cluster_uuid; const ccs = globalState.ccs; - const [data, setData] = useState({} as any); const [alerts, setAlerts] = useState({}); + const cluster = find(clusters, { + cluster_uuid: clusterUuid, + }) as any; + + useEffect(() => { + if (cluster) { + generateBreadcrumbs(cluster.cluster_name, { + inElasticsearch: true, + name: 'nodes', + instance: data?.nodeSummary?.name, + }); + } + }, [cluster, generateBreadcrumbs, data?.nodeSummary?.name]); + const title = i18n.translate('xpack.monitoring.elasticsearch.node.advanced.title', { defaultMessage: 'Elasticsearch - Nodes - {nodeName} - Advanced', values: { diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/node_page.tsx b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/node_page.tsx index 45e95fe888194..5cf5579a2451f 100644 --- a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/node_page.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/node_page.tsx @@ -4,8 +4,9 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import React, { useContext, useState, useCallback } from 'react'; +import React, { useContext, useState, useCallback, useEffect } from 'react'; import { useParams } from 'react-router-dom'; +import { find } from 'lodash'; import { i18n } from '@kbn/i18n'; import { ItemTemplate } from './item_template'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; @@ -29,15 +30,16 @@ import { RULE_DISK_USAGE, RULE_MEMORY_USAGE, } from '../../../../common/constants'; - +import { BreadcrumbContainer } from '../../hooks/use_breadcrumbs'; interface SetupModeProps { setupMode: any; flyoutComponent: any; bottomBarComponent: any; } -export const ElasticsearchNodePage: React.FC = () => { +export const ElasticsearchNodePage: React.FC = ({ clusters }) => { const globalState = useContext(GlobalStateContext); + const { generate: generateBreadcrumbs } = useContext(BreadcrumbContainer.Context); const { zoomInfo, onBrush } = useCharts(); const [showSystemIndices, setShowSystemIndices] = useLocalStorage( 'showSystemIndices', @@ -47,10 +49,23 @@ export const ElasticsearchNodePage: React.FC = () => { const { node }: { node: string } = useParams(); const { services } = useKibana<{ data: any }>(); + const [data, setData] = useState({} as any); const clusterUuid = globalState.cluster_uuid; + const cluster = find(clusters, { + cluster_uuid: clusterUuid, + }) as any; + + useEffect(() => { + if (cluster) { + generateBreadcrumbs(cluster.cluster_name, { + inElasticsearch: true, + name: 'nodes', + instance: data?.nodeSummary?.name, + }); + } + }, [cluster, generateBreadcrumbs, data?.nodeSummary?.name]); const ccs = globalState.ccs; - const [data, setData] = useState({} as any); const [nodesByIndicesData, setNodesByIndicesData] = useState([]); const title = i18n.translate('xpack.monitoring.elasticsearch.node.overview.title', { From 1eb212e7e4da86f43718e3836de75fcce3f7f7ad Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 12 Oct 2021 14:22:11 -0400 Subject: [PATCH 073/107] Update dependency @elastic/charts to v37 (master) (#113968) (#114645) Co-authored-by: Marco Vettorello --- api_docs/charts.json | 4 +-- package.json | 2 +- .../static/utils/transform_click_event.ts | 4 +-- .../apps/main/components/chart/histogram.tsx | 7 +++-- .../vis_types/pie/public/utils/get_layers.ts | 1 - .../components/timelion_vis_component.tsx | 2 ++ .../timelion/public/helpers/panel_utils.ts | 6 ++-- .../xy/public/components/xy_settings.tsx | 1 - .../vis_types/xy/public/config/get_axis.ts | 16 ++--------- .../vis_types/xy/public/utils/domain.ts | 12 ++++---- .../utils/render_all_series.test.mocks.ts | 15 ++++++++-- .../vis_types/xy/public/vis_component.tsx | 6 +++- .../apps/dashboard/dashboard_state.ts | 14 ++++------ .../page_objects/visualize_chart_page.ts | 12 ++++---- .../services/visualizations/pie_chart.ts | 20 +++++++++++-- .../alerting/chart_preview/index.tsx | 2 +- .../RumDashboard/Charts/PageLoadDistChart.tsx | 5 ++-- .../distribution/index.tsx | 12 ++++---- .../transaction_details_tabs.tsx | 4 +-- .../app/transaction_details/types.ts | 4 +-- .../shared/charts/breakdown_chart/index.tsx | 5 +++- .../components/shared/charts/helper/helper.ts | 4 +-- .../shared/charts/timeseries_chart.tsx | 5 +++- .../document_count_chart.tsx | 9 ++++-- .../heatmap_visualization/chart_component.tsx | 3 +- .../pie_visualization/render_function.tsx | 1 - .../__snapshots__/expression.test.tsx.snap | 28 +++++++++---------- .../xy_visualization/expression.test.tsx | 16 +++++++---- .../public/xy_visualization/expression.tsx | 25 +++++++++-------- .../lens/public/xy_visualization/x_domain.tsx | 6 ++-- .../create_calendar.tsx | 8 +++--- .../explorer/swimlane_container.tsx | 23 ++++++++------- .../pages/components/charts/common/utils.ts | 2 +- .../event_rate_chart/event_rate_chart.tsx | 6 +--- .../components/app/section/apm/index.tsx | 12 ++++++-- .../public/components/app/section/helper.ts | 4 +-- .../components/app/section/logs/index.tsx | 12 ++++++-- .../components/app/section/uptime/index.tsx | 3 +- .../alert_types/threshold/visualization.tsx | 7 ++++- .../common/charts/duration_chart.tsx | 2 +- .../watch_visualization.tsx | 7 ++++- yarn.lock | 11 ++++---- 42 files changed, 205 insertions(+), 143 deletions(-) diff --git a/api_docs/charts.json b/api_docs/charts.json index 5d4f047a247e2..83a2a93df42a1 100644 --- a/api_docs/charts.json +++ b/api_docs/charts.json @@ -229,7 +229,7 @@ ", xAccessor: string | number | ", "AccessorFn", ") => ({ x: selectedRange }: ", - "XYBrushArea", + "XYBrushEvent", ") => ", { "pluginId": "charts", @@ -4266,4 +4266,4 @@ } ] } -} \ No newline at end of file +} diff --git a/package.json b/package.json index 49a2c38b99bae..997772a4626f7 100644 --- a/package.json +++ b/package.json @@ -92,7 +92,7 @@ "@babel/runtime": "^7.15.4", "@elastic/apm-rum": "^5.9.1", "@elastic/apm-rum-react": "^1.3.1", - "@elastic/charts": "34.2.1", + "@elastic/charts": "37.0.0", "@elastic/datemath": "link:bazel-bin/packages/elastic-datemath", "@elastic/elasticsearch": "npm:@elastic/elasticsearch-canary@^7.16.0-canary.4", "@elastic/ems-client": "7.15.0", diff --git a/src/plugins/charts/public/static/utils/transform_click_event.ts b/src/plugins/charts/public/static/utils/transform_click_event.ts index 7fdd59f47988d..d175046b20ebb 100644 --- a/src/plugins/charts/public/static/utils/transform_click_event.ts +++ b/src/plugins/charts/public/static/utils/transform_click_event.ts @@ -9,7 +9,7 @@ import { XYChartSeriesIdentifier, GeometryValue, - XYBrushArea, + XYBrushEvent, Accessor, AccessorFn, Datum, @@ -261,7 +261,7 @@ export const getFilterFromSeriesFn = */ export const getBrushFromChartBrushEventFn = (table: Datatable, xAccessor: Accessor | AccessorFn) => - ({ x: selectedRange }: XYBrushArea): BrushTriggerEvent => { + ({ x: selectedRange }: XYBrushEvent): BrushTriggerEvent => { const [start, end] = selectedRange ?? [0, 0]; const range: [number, number] = [start, end]; const column = table.columns.findIndex(({ id }) => validateAccessorId(id, xAccessor)); diff --git a/src/plugins/discover/public/application/apps/main/components/chart/histogram.tsx b/src/plugins/discover/public/application/apps/main/components/chart/histogram.tsx index 333050e1ca5e6..350c46591c8b4 100644 --- a/src/plugins/discover/public/application/apps/main/components/chart/histogram.tsx +++ b/src/plugins/discover/public/application/apps/main/components/chart/histogram.tsx @@ -14,6 +14,7 @@ import dateMath from '@elastic/datemath'; import { Axis, BrushEndListener, + XYBrushEvent, Chart, ElementClickListener, HistogramBarSeries, @@ -65,8 +66,8 @@ export function DiscoverHistogram({ const timeZone = getTimezone(uiSettings); const { chartData, fetchStatus } = dataState; - const onBrushEnd: BrushEndListener = useCallback( - ({ x }) => { + const onBrushEnd = useCallback( + ({ x }: XYBrushEvent) => { if (!x) { return; } @@ -184,7 +185,7 @@ export function DiscoverHistogram({ { const fillLabel: Partial = { - textInvertible: true, valueFont: { fontWeight: 700, }, diff --git a/src/plugins/vis_types/timelion/public/components/timelion_vis_component.tsx b/src/plugins/vis_types/timelion/public/components/timelion_vis_component.tsx index d7b7bb14723d7..e6d2638bedf48 100644 --- a/src/plugins/vis_types/timelion/public/components/timelion_vis_component.tsx +++ b/src/plugins/vis_types/timelion/public/components/timelion_vis_component.tsx @@ -64,6 +64,8 @@ const DefaultYAxis = () => ( id="left" domain={withStaticPadding({ fit: false, + min: NaN, + max: NaN, })} position={Position.Left} groupId={`${MAIN_GROUP_ID}`} diff --git a/src/plugins/vis_types/timelion/public/helpers/panel_utils.ts b/src/plugins/vis_types/timelion/public/helpers/panel_utils.ts index 3c76b95bd05ca..98be5efc55a26 100644 --- a/src/plugins/vis_types/timelion/public/helpers/panel_utils.ts +++ b/src/plugins/vis_types/timelion/public/helpers/panel_utils.ts @@ -88,8 +88,8 @@ const adaptYaxisParams = (yaxis: IAxis) => { tickFormat: y.tickFormatter, domain: withStaticPadding({ fit: y.min === undefined && y.max === undefined, - min: y.min, - max: y.max, + min: y.min ?? NaN, + max: y.max ?? NaN, }), }; }; @@ -118,6 +118,8 @@ export const extractAllYAxis = (series: Series[]) => { groupId, domain: withStaticPadding({ fit: false, + min: NaN, + max: NaN, }), id: (yaxis?.position || Position.Left) + index, position: Position.Left, diff --git a/src/plugins/vis_types/xy/public/components/xy_settings.tsx b/src/plugins/vis_types/xy/public/components/xy_settings.tsx index 92b47edccfd92..8775ed18e6bf4 100644 --- a/src/plugins/vis_types/xy/public/components/xy_settings.tsx +++ b/src/plugins/vis_types/xy/public/components/xy_settings.tsx @@ -71,7 +71,6 @@ function getValueLabelsStyling() { return { displayValue: { fontSize: { min: VALUE_LABELS_MIN_FONTSIZE, max: VALUE_LABELS_MAX_FONTSIZE }, - fill: { textInverted: false, textContrast: true }, alignment: { horizontal: HorizontalAlignment.Center, vertical: VerticalAlignment.Middle }, }, }; diff --git a/src/plugins/vis_types/xy/public/config/get_axis.ts b/src/plugins/vis_types/xy/public/config/get_axis.ts index b5cc96830e46a..09495725296cd 100644 --- a/src/plugins/vis_types/xy/public/config/get_axis.ts +++ b/src/plugins/vis_types/xy/public/config/get_axis.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { identity, isNil } from 'lodash'; +import { identity } from 'lodash'; import { AxisSpec, TickFormatter, YDomainRange, ScaleType as ECScaleType } from '@elastic/charts'; @@ -171,17 +171,5 @@ function getAxisDomain( const fit = defaultYExtents; const padding = boundsMargin || undefined; - if (!isNil(min) && !isNil(max)) { - return { fit, padding, min, max }; - } - - if (!isNil(min)) { - return { fit, padding, min }; - } - - if (!isNil(max)) { - return { fit, padding, max }; - } - - return { fit, padding }; + return { fit, padding, min: min ?? NaN, max: max ?? NaN }; } diff --git a/src/plugins/vis_types/xy/public/utils/domain.ts b/src/plugins/vis_types/xy/public/utils/domain.ts index fa8dd74e3942a..5b1310863979a 100644 --- a/src/plugins/vis_types/xy/public/utils/domain.ts +++ b/src/plugins/vis_types/xy/public/utils/domain.ts @@ -33,6 +33,8 @@ export const getXDomain = (params: Aspect['params']): DomainRange => { return { minInterval, + min: NaN, + max: NaN, }; }; @@ -74,9 +76,9 @@ export const getAdjustedDomain = ( }; } - return 'interval' in params - ? { - minInterval: params.interval, - } - : {}; + return { + minInterval: 'interval' in params ? params.interval : undefined, + min: NaN, + max: NaN, + }; }; diff --git a/src/plugins/vis_types/xy/public/utils/render_all_series.test.mocks.ts b/src/plugins/vis_types/xy/public/utils/render_all_series.test.mocks.ts index 5fe1b03dd8b93..c14e313b1e7a4 100644 --- a/src/plugins/vis_types/xy/public/utils/render_all_series.test.mocks.ts +++ b/src/plugins/vis_types/xy/public/utils/render_all_series.test.mocks.ts @@ -112,7 +112,10 @@ export const getVisConfig = (): VisConfig => { mode: AxisMode.Normal, type: 'linear', }, - domain: {}, + domain: { + min: NaN, + max: NaN, + }, integersOnly: false, }, ], @@ -246,7 +249,10 @@ export const getVisConfigMutipleYaxis = (): VisConfig => { mode: AxisMode.Normal, type: 'linear', }, - domain: {}, + domain: { + min: NaN, + max: NaN, + }, integersOnly: false, }, ], @@ -435,7 +441,10 @@ export const getVisConfigPercentiles = (): VisConfig => { mode: AxisMode.Normal, type: 'linear', }, - domain: {}, + domain: { + min: NaN, + max: NaN, + }, integersOnly: false, }, ], diff --git a/src/plugins/vis_types/xy/public/vis_component.tsx b/src/plugins/vis_types/xy/public/vis_component.tsx index f4d566f49602e..515ad3e7eaf6f 100644 --- a/src/plugins/vis_types/xy/public/vis_component.tsx +++ b/src/plugins/vis_types/xy/public/vis_component.tsx @@ -19,6 +19,7 @@ import { ScaleType, AccessorFn, Accessor, + XYBrushEvent, } from '@elastic/charts'; import { compact } from 'lodash'; @@ -131,7 +132,10 @@ const VisComponent = (props: VisComponentProps) => { ): BrushEndListener | undefined => { if (xAccessor !== null && isInterval) { return (brushArea) => { - const event = getBrushFromChartBrushEventFn(visData, xAccessor)(brushArea); + const event = getBrushFromChartBrushEventFn( + visData, + xAccessor + )(brushArea as XYBrushEvent); props.fireEvent(event); }; } diff --git a/test/functional/apps/dashboard/dashboard_state.ts b/test/functional/apps/dashboard/dashboard_state.ts index b5cb0194a0a78..c8fa4ad19a4d5 100644 --- a/test/functional/apps/dashboard/dashboard_state.ts +++ b/test/functional/apps/dashboard/dashboard_state.ts @@ -7,6 +7,7 @@ */ import expect from '@kbn/expect'; +import chroma from 'chroma-js'; import { PIE_CHART_VIS_NAME, AREA_CHART_VIS_NAME } from '../../page_objects/dashboard_page'; import { DEFAULT_PANEL_WIDTH } from '../../../../src/plugins/dashboard/public/application/embeddable/dashboard_constants'; @@ -299,14 +300,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.header.waitUntilLoadingHasFinished(); await retry.try(async () => { - const allPieSlicesColor = await pieChart.getAllPieSliceStyles('80,000'); - let whitePieSliceCounts = 0; - allPieSlicesColor.forEach((style) => { - if (style.indexOf('rgb(255, 255, 255)') > -1) { - whitePieSliceCounts++; - } - }); - + const allPieSlicesColor = await pieChart.getAllPieSliceColor('80,000'); + const whitePieSliceCounts = allPieSlicesColor.reduce((count, color) => { + // converting the color to a common format, testing the color, not the string format + return chroma(color).hex().toUpperCase() === '#FFFFFF' ? count + 1 : count; + }, 0); expect(whitePieSliceCounts).to.be(1); }); }); diff --git a/test/functional/page_objects/visualize_chart_page.ts b/test/functional/page_objects/visualize_chart_page.ts index d2e4091f93577..b0e9e21d07b0b 100644 --- a/test/functional/page_objects/visualize_chart_page.ts +++ b/test/functional/page_objects/visualize_chart_page.ts @@ -7,7 +7,7 @@ */ import { Position } from '@elastic/charts'; -import Color from 'color'; +import chroma from 'chroma-js'; import { FtrService } from '../ftr_provider_context'; @@ -181,17 +181,17 @@ export class VisualizeChartPageObject extends FtrService { return items.some(({ color: c }) => c === color); } - public async doesSelectedLegendColorExistForPie(color: string) { + public async doesSelectedLegendColorExistForPie(matchingColor: string) { if (await this.isNewLibraryChart(pieChartSelector)) { + const hexMatchingColor = chroma(matchingColor).hex().toUpperCase(); const slices = (await this.getEsChartDebugState(pieChartSelector))?.partition?.[0]?.partitions ?? []; - return slices.some(({ color: c }) => { - const rgbColor = new Color(color).rgb().toString(); - return c === rgbColor; + return slices.some(({ color }) => { + return hexMatchingColor === chroma(color).hex().toUpperCase(); }); } - return await this.testSubjects.exists(`legendSelectedColor-${color}`); + return await this.testSubjects.exists(`legendSelectedColor-${matchingColor}`); } public async expectError() { diff --git a/test/functional/services/visualizations/pie_chart.ts b/test/functional/services/visualizations/pie_chart.ts index 7c925318f0211..ff0c24e2830cf 100644 --- a/test/functional/services/visualizations/pie_chart.ts +++ b/test/functional/services/visualizations/pie_chart.ts @@ -7,6 +7,7 @@ */ import expect from '@kbn/expect'; +import { isNil } from 'lodash'; import { FtrService } from '../../ftr_provider_context'; const pieChartSelector = 'visTypePieChart'; @@ -100,8 +101,8 @@ export class PieChartService extends FtrService { return await pieSlice.getAttribute('style'); } - async getAllPieSliceStyles(name: string) { - this.log.debug(`VisualizePage.getAllPieSliceStyles(${name})`); + async getAllPieSliceColor(name: string) { + this.log.debug(`VisualizePage.getAllPieSliceColor(${name})`); if (await this.visChart.isNewLibraryChart(pieChartSelector)) { const slices = (await this.visChart.getEsChartDebugState(pieChartSelector))?.partition?.[0]?.partitions ?? @@ -112,9 +113,22 @@ export class PieChartService extends FtrService { return selectedSlice.map((slice) => slice.color); } const pieSlices = await this.getAllPieSlices(name); - return await Promise.all( + const slicesStyles = await Promise.all( pieSlices.map(async (pieSlice) => await pieSlice.getAttribute('style')) ); + return slicesStyles + .map( + (styles) => + styles.split(';').reduce>((styleAsObj, style) => { + const stylePair = style.split(':'); + if (stylePair.length !== 2) { + return styleAsObj; + } + styleAsObj[stylePair[0].trim()] = stylePair[1].trim(); + return styleAsObj; + }, {}).fill // in vislib the color is available on the `fill` style prop + ) + .filter((d) => !isNil(d)); } async getPieChartData() { diff --git a/x-pack/plugins/apm/public/components/alerting/chart_preview/index.tsx b/x-pack/plugins/apm/public/components/alerting/chart_preview/index.tsx index 8a54c76df0f69..ee6a58b0dbb76 100644 --- a/x-pack/plugins/apm/public/components/alerting/chart_preview/index.tsx +++ b/x-pack/plugins/apm/public/components/alerting/chart_preview/index.tsx @@ -96,7 +96,7 @@ export function ChartPreview({ position={Position.Left} tickFormat={yTickFormat} ticks={5} - domain={{ max: yMax }} + domain={{ max: yMax, min: NaN }} /> { + const onBrushEnd = ({ x }: XYBrushEvent) => { if (!x) { return; } @@ -99,7 +100,7 @@ export function PageLoadDistChart({ diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/distribution/index.tsx b/x-pack/plugins/apm/public/components/app/transaction_details/distribution/index.tsx index ca162be92cdae..abcf15b25b777 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/distribution/index.tsx +++ b/x-pack/plugins/apm/public/components/app/transaction_details/distribution/index.tsx @@ -6,7 +6,7 @@ */ import React, { useEffect } from 'react'; -import { BrushEndListener, XYBrushArea } from '@elastic/charts'; +import { BrushEndListener, XYBrushEvent } from '@elastic/charts'; import { EuiBadge, EuiFlexGroup, @@ -61,7 +61,7 @@ export function getFormattedSelection(selection: Selection): string { } interface TransactionDistributionProps { - onChartSelection: BrushEndListener; + onChartSelection: (event: XYBrushEvent) => void; onClearSelection: () => void; selection?: Selection; traceSamples: TabContentProps['traceSamples']; @@ -126,10 +126,8 @@ export function TransactionDistribution({ const trackApmEvent = useUiTracker({ app: 'apm' }); - const onTrackedChartSelection: BrushEndListener = ( - brushArea: XYBrushArea - ) => { - onChartSelection(brushArea); + const onTrackedChartSelection = (brushEvent: XYBrushEvent) => { + onChartSelection(brushEvent); trackApmEvent({ metric: 'transaction_distribution_chart_selection' }); }; @@ -216,7 +214,7 @@ export function TransactionDistribution({ markerCurrentTransaction={markerCurrentTransaction} markerPercentile={DEFAULT_PERCENTILE_THRESHOLD} markerValue={response.percentileThresholdValue ?? 0} - onChartSelection={onTrackedChartSelection} + onChartSelection={onTrackedChartSelection as BrushEndListener} hasData={hasData} selection={selection} status={status} diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/transaction_details_tabs.tsx b/x-pack/plugins/apm/public/components/app/transaction_details/transaction_details_tabs.tsx index b249161980586..9ccca9886e679 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/transaction_details_tabs.tsx +++ b/x-pack/plugins/apm/public/components/app/transaction_details/transaction_details_tabs.tsx @@ -10,7 +10,7 @@ import React, { useCallback, useEffect, useState } from 'react'; import { omit } from 'lodash'; import { useHistory } from 'react-router-dom'; -import { XYBrushArea } from '@elastic/charts'; +import { XYBrushEvent } from '@elastic/charts'; import { EuiPanel, EuiSpacer, EuiTabs, EuiTab } from '@elastic/eui'; import { useUrlParams } from '../../../context/url_params_context/use_url_params'; @@ -48,7 +48,7 @@ export function TransactionDetailsTabs() { environment, }); - const selectSampleFromChartSelection = (selection: XYBrushArea) => { + const selectSampleFromChartSelection = (selection: XYBrushEvent) => { if (selection !== undefined) { const { x } = selection; if (Array.isArray(x)) { diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/types.ts b/x-pack/plugins/apm/public/components/app/transaction_details/types.ts index 1ccb3d01a9b28..c3d2b9648e82a 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/types.ts +++ b/x-pack/plugins/apm/public/components/app/transaction_details/types.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { XYBrushArea } from '@elastic/charts'; +import { XYBrushEvent } from '@elastic/charts'; import type { TraceSample } from '../../../hooks/use_transaction_trace_samples_fetcher'; @@ -14,6 +14,6 @@ export interface TabContentProps { onFilter: () => void; sampleRangeFrom?: number; sampleRangeTo?: number; - selectSampleFromChartSelection: (selection: XYBrushArea) => void; + selectSampleFromChartSelection: (selection: XYBrushEvent) => void; traceSamples: TraceSample[]; } diff --git a/x-pack/plugins/apm/public/components/shared/charts/breakdown_chart/index.tsx b/x-pack/plugins/apm/public/components/shared/charts/breakdown_chart/index.tsx index 9dc2fbd4cc961..0c5cbef390a3f 100644 --- a/x-pack/plugins/apm/public/components/shared/charts/breakdown_chart/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/charts/breakdown_chart/index.tsx @@ -17,6 +17,7 @@ import { ScaleType, Settings, TickFormatter, + XYBrushEvent, } from '@elastic/charts'; import { EuiIcon } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; @@ -90,7 +91,9 @@ export function BreakdownChart({ onBrushEnd({ x, history })} + onBrushEnd={(event) => + onBrushEnd({ x: (event as XYBrushEvent).x, history }) + } showLegend showLegendExtra legendPosition={Position.Bottom} diff --git a/x-pack/plugins/apm/public/components/shared/charts/helper/helper.ts b/x-pack/plugins/apm/public/components/shared/charts/helper/helper.ts index d94f2ce8f5c5d..9dccddd509387 100644 --- a/x-pack/plugins/apm/public/components/shared/charts/helper/helper.ts +++ b/x-pack/plugins/apm/public/components/shared/charts/helper/helper.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { XYBrushArea } from '@elastic/charts'; +import { XYBrushEvent } from '@elastic/charts'; import { History } from 'history'; import { Coordinate, TimeSeries } from '../../../../../typings/timeseries'; import { fromQuery, toQuery } from '../../Links/url_helpers'; @@ -14,7 +14,7 @@ export const onBrushEnd = ({ x, history, }: { - x: XYBrushArea['x']; + x: XYBrushEvent['x']; history: History; }) => { if (x) { diff --git a/x-pack/plugins/apm/public/components/shared/charts/timeseries_chart.tsx b/x-pack/plugins/apm/public/components/shared/charts/timeseries_chart.tsx index 65ecdec0f36a5..08e8908d50e7a 100644 --- a/x-pack/plugins/apm/public/components/shared/charts/timeseries_chart.tsx +++ b/x-pack/plugins/apm/public/components/shared/charts/timeseries_chart.tsx @@ -20,6 +20,7 @@ import { ScaleType, Settings, YDomainRange, + XYBrushEvent, } from '@elastic/charts'; import { EuiIcon } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; @@ -115,7 +116,9 @@ export function TimeseriesChart({ onBrushEnd({ x, history })} + onBrushEnd={(event) => + onBrushEnd({ x: (event as XYBrushEvent).x, history }) + } theme={{ ...chartTheme, areaSeriesStyle: { diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/document_count_content/document_count_chart/document_count_chart.tsx b/x-pack/plugins/data_visualizer/public/application/common/components/document_count_content/document_count_chart/document_count_chart.tsx index b8df4defa18a2..6459fc4006cea 100644 --- a/x-pack/plugins/data_visualizer/public/application/common/components/document_count_content/document_count_chart/document_count_chart.tsx +++ b/x-pack/plugins/data_visualizer/public/application/common/components/document_count_content/document_count_chart/document_count_chart.tsx @@ -20,6 +20,7 @@ import { ScaleType, Settings, XYChartElementEvent, + XYBrushEvent, } from '@elastic/charts'; import moment from 'moment'; import { useDataVisualizerKibana } from '../../../../kibana_context'; @@ -91,7 +92,7 @@ export const DocumentCountChart: FC = ({ [data] ); - const onBrushEnd: BrushEndListener = ({ x }) => { + const onBrushEnd = ({ x }: XYBrushEvent) => { if (!x) { return; } @@ -117,7 +118,11 @@ export const DocumentCountChart: FC = ({ height: 120, }} > - + = ({ }; const config: HeatmapSpec['config'] = { - onBrushEnd, grid: { stroke: { width: @@ -338,6 +338,7 @@ export const HeatmapComponent: FC = ({ labelOptions: { maxLines: args.legend.shouldTruncate ? args.legend?.maxLines ?? 1 : 0 }, }, }} + onBrushEnd={onBrushEnd as BrushEndListener} /> = { - textInvertible: true, valueFont: { fontWeight: 700, }, diff --git a/x-pack/plugins/lens/public/xy_visualization/__snapshots__/expression.test.tsx.snap b/x-pack/plugins/lens/public/xy_visualization/__snapshots__/expression.test.tsx.snap index fe3137c905ffb..0fad522624975 100644 --- a/x-pack/plugins/lens/public/xy_visualization/__snapshots__/expression.test.tsx.snap +++ b/x-pack/plugins/lens/public/xy_visualization/__snapshots__/expression.test.tsx.snap @@ -73,8 +73,8 @@ exports[`xy_expression XYChart component it renders area 1`] = ` domain={ Object { "fit": false, - "max": undefined, - "min": undefined, + "max": NaN, + "min": NaN, } } gridLine={ @@ -302,8 +302,8 @@ exports[`xy_expression XYChart component it renders bar 1`] = ` domain={ Object { "fit": false, - "max": undefined, - "min": undefined, + "max": NaN, + "min": NaN, } } gridLine={ @@ -545,8 +545,8 @@ exports[`xy_expression XYChart component it renders horizontal bar 1`] = ` domain={ Object { "fit": false, - "max": undefined, - "min": undefined, + "max": NaN, + "min": NaN, } } gridLine={ @@ -788,8 +788,8 @@ exports[`xy_expression XYChart component it renders line 1`] = ` domain={ Object { "fit": false, - "max": undefined, - "min": undefined, + "max": NaN, + "min": NaN, } } gridLine={ @@ -1017,8 +1017,8 @@ exports[`xy_expression XYChart component it renders stacked area 1`] = ` domain={ Object { "fit": false, - "max": undefined, - "min": undefined, + "max": NaN, + "min": NaN, } } gridLine={ @@ -1254,8 +1254,8 @@ exports[`xy_expression XYChart component it renders stacked bar 1`] = ` domain={ Object { "fit": false, - "max": undefined, - "min": undefined, + "max": NaN, + "min": NaN, } } gridLine={ @@ -1505,8 +1505,8 @@ exports[`xy_expression XYChart component it renders stacked horizontal bar 1`] = domain={ Object { "fit": false, - "max": undefined, - "min": undefined, + "max": NaN, + "min": NaN, } } gridLine={ diff --git a/x-pack/plugins/lens/public/xy_visualization/expression.test.tsx b/x-pack/plugins/lens/public/xy_visualization/expression.test.tsx index 4056aa730c2ab..af2995fb65b71 100644 --- a/x-pack/plugins/lens/public/xy_visualization/expression.test.tsx +++ b/x-pack/plugins/lens/public/xy_visualization/expression.test.tsx @@ -809,8 +809,8 @@ describe('xy_expression', () => { ); expect(component.find(Axis).find('[id="left"]').prop('domain')).toEqual({ fit: true, - min: undefined, - max: undefined, + min: NaN, + max: NaN, }); }); @@ -838,6 +838,8 @@ describe('xy_expression', () => { ); expect(component.find(Axis).find('[id="left"]').prop('domain')).toEqual({ fit: false, + min: NaN, + max: NaN, }); }); @@ -867,8 +869,8 @@ describe('xy_expression', () => { ); expect(component.find(Axis).find('[id="left"]').prop('domain')).toEqual({ fit: false, - min: undefined, - max: undefined, + min: NaN, + max: NaN, }); }); @@ -959,7 +961,11 @@ describe('xy_expression', () => { }} /> ); - expect(component.find(Settings).prop('xDomain')).toEqual({ minInterval: 101 }); + expect(component.find(Settings).prop('xDomain')).toEqual({ + minInterval: 101, + min: NaN, + max: NaN, + }); }); test('disabled legend extra by default', () => { diff --git a/x-pack/plugins/lens/public/xy_visualization/expression.tsx b/x-pack/plugins/lens/public/xy_visualization/expression.tsx index 484032e5ffbd9..20cc04797e1d1 100644 --- a/x-pack/plugins/lens/public/xy_visualization/expression.tsx +++ b/x-pack/plugins/lens/public/xy_visualization/expression.tsx @@ -25,9 +25,12 @@ import { LayoutDirection, ElementClickListener, BrushEndListener, + XYBrushEvent, CurveType, LegendPositionConfig, LabelOverflowConstraint, + DisplayValueStyle, + RecursivePartial, } from '@elastic/charts'; import { I18nProvider } from '@kbn/i18n/react'; import type { @@ -169,7 +172,9 @@ export const getXyChartRenderer = (dependencies: { }, }); -function getValueLabelsStyling(isHorizontal: boolean) { +function getValueLabelsStyling(isHorizontal: boolean): { + displayValue: RecursivePartial; +} { const VALUE_LABELS_MAX_FONTSIZE = 12; const VALUE_LABELS_MIN_FONTSIZE = 10; const VALUE_LABELS_VERTICAL_OFFSET = -10; @@ -178,11 +183,9 @@ function getValueLabelsStyling(isHorizontal: boolean) { return { displayValue: { fontSize: { min: VALUE_LABELS_MIN_FONTSIZE, max: VALUE_LABELS_MAX_FONTSIZE }, - fill: { textContrast: true, textInverted: false, textBorder: 0 }, + fill: { textBorder: 0 }, alignment: isHorizontal - ? { - vertical: VerticalAlignment.Middle, - } + ? { vertical: VerticalAlignment.Middle } : { horizontal: HorizontalAlignment.Center }, offsetX: isHorizontal ? VALUE_LABELS_HORIZONTAL_OFFSET : 0, offsetY: isHorizontal ? 0 : VALUE_LABELS_VERTICAL_OFFSET, @@ -388,14 +391,14 @@ export function XYChart({ }) ); const fit = !hasBarOrArea && extent.mode === 'dataBounds'; - let min: undefined | number; - let max: undefined | number; + let min: number = NaN; + let max: number = NaN; if (extent.mode === 'custom') { const { inclusiveZeroError, boundaryError } = validateExtent(hasBarOrArea, extent); if (!inclusiveZeroError && !boundaryError) { - min = extent.lowerBound; - max = extent.upperBound; + min = extent.lowerBound ?? NaN; + max = extent.upperBound ?? NaN; } } else { const axisHasThreshold = thresholdLayers.some(({ yConfig }) => @@ -517,7 +520,7 @@ export function XYChart({ onClickValue(context); }; - const brushHandler: BrushEndListener = ({ x }) => { + const brushHandler = ({ x }: XYBrushEvent) => { if (!x) { return; } @@ -592,7 +595,7 @@ export function XYChart({ allowBrushingLastHistogramBucket={Boolean(isTimeViz)} rotation={shouldRotate ? 90 : 0} xDomain={xDomain} - onBrushEnd={interactive ? brushHandler : undefined} + onBrushEnd={interactive ? (brushHandler as BrushEndListener) : undefined} onElementClick={interactive ? clickHandler : undefined} legendAction={getLegendAction( filteredLayers, diff --git a/x-pack/plugins/lens/public/xy_visualization/x_domain.tsx b/x-pack/plugins/lens/public/xy_visualization/x_domain.tsx index ccb047d54e369..d5eb8ac1e92ba 100644 --- a/x-pack/plugins/lens/public/xy_visualization/x_domain.tsx +++ b/x-pack/plugins/lens/public/xy_visualization/x_domain.tsx @@ -26,12 +26,12 @@ export const getXDomain = ( ) => { const baseDomain = isTimeViz ? { - min: data.dateRange?.fromDate.getTime(), - max: data.dateRange?.toDate.getTime(), + min: data.dateRange?.fromDate.getTime() ?? NaN, + max: data.dateRange?.toDate.getTime() ?? NaN, minInterval, } : isHistogram - ? { minInterval } + ? { minInterval, min: NaN, max: NaN } : undefined; if (isHistogram && isFullyQualified(baseDomain)) { diff --git a/x-pack/plugins/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/create_calendar.tsx b/x-pack/plugins/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/create_calendar.tsx index b4015d0c0eb92..1fae57c7922ce 100644 --- a/x-pack/plugins/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/create_calendar.tsx +++ b/x-pack/plugins/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/create_calendar.tsx @@ -9,7 +9,7 @@ import React, { FC, Fragment, useCallback, memo } from 'react'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n/react'; import moment from 'moment'; -import { XYBrushArea } from '@elastic/charts'; +import { XYBrushEvent, BrushEndListener } from '@elastic/charts'; import { EuiFlexGroup, EuiFlexItem, @@ -57,7 +57,7 @@ export const CreateCalendar: FC = ({ const { euiTheme } = useCurrentEuiTheme(); const onBrushEnd = useCallback( - ({ x }: XYBrushArea) => { + ({ x }: XYBrushEvent) => { if (x && x.length === 2) { const end = x[1] < minSelectableTimeStamp ? null : x[1]; if (end !== null) { @@ -252,7 +252,7 @@ interface ChartProps { eventRateData: LineChartPoint[]; anomalies: Anomaly[]; loading: boolean; - onBrushEnd(area: XYBrushArea): void; + onBrushEnd(area: XYBrushEvent): void; overlayRanges: Array<{ start: number; end: number }>; overlayColor: string; } @@ -272,7 +272,7 @@ const Chart: FC = memo( color: overlayColor, showMarker: false, }))} - onBrushEnd={onBrushEnd} + onBrushEnd={onBrushEnd as BrushEndListener} /> ), (prev: ChartProps, next: ChartProps) => { diff --git a/x-pack/plugins/ml/public/application/explorer/swimlane_container.tsx b/x-pack/plugins/ml/public/application/explorer/swimlane_container.tsx index 49bd00d888cf8..ef8e80381293e 100644 --- a/x-pack/plugins/ml/public/application/explorer/swimlane_container.tsx +++ b/x-pack/plugins/ml/public/application/explorer/swimlane_container.tsx @@ -18,6 +18,7 @@ import { import { throttle } from 'lodash'; import { Chart, + BrushEndListener, Settings, Heatmap, HeatmapElementEvent, @@ -286,16 +287,6 @@ export const SwimlaneContainer: FC = ({ if (!showSwimlane) return {}; const config: HeatmapSpec['config'] = { - onBrushEnd: (e: HeatmapBrushEvent) => { - if (!e.cells.length) return; - - onCellsSelection({ - lanes: e.y as string[], - times: e.x.map((v) => (v as number) / 1000) as [number, number], - type: swimlaneType, - viewByFieldName: swimlaneData.fieldName, - }); - }, grid: { cellHeight: { min: CELL_HEIGHT, @@ -396,6 +387,17 @@ export const SwimlaneContainer: FC = ({ [swimlaneData] ); + const onBrushEnd = (e: HeatmapBrushEvent) => { + if (!e.cells.length) return; + + onCellsSelection({ + lanes: e.y as string[], + times: e.x!.map((v) => (v as number) / 1000) as [number, number], + type: swimlaneType, + viewByFieldName: swimlaneData.fieldName, + }); + }; + // A resize observer is required to compute the bucket span based on the chart width to fetch the data accordingly return ( @@ -427,6 +429,7 @@ export const SwimlaneContainer: FC = ({ xDomain={xDomain} tooltip={tooltipOptions} debugState={window._echDebugStateFlag ?? false} + onBrushEnd={onBrushEnd as BrushEndListener} /> = ({ {showAxis === true && } - {onBrushEnd === undefined ? ( - - ) : ( - - )} + {overlayRanges && overlayRanges.map((range, i) => ( diff --git a/x-pack/plugins/observability/public/components/app/section/apm/index.tsx b/x-pack/plugins/observability/public/components/app/section/apm/index.tsx index 7a42e96c3823d..8df14129623f6 100644 --- a/x-pack/plugins/observability/public/components/app/section/apm/index.tsx +++ b/x-pack/plugins/observability/public/components/app/section/apm/index.tsx @@ -5,7 +5,15 @@ * 2.0. */ -import { Axis, BarSeries, niceTimeFormatter, Position, ScaleType, Settings } from '@elastic/charts'; +import { + Axis, + BarSeries, + niceTimeFormatter, + Position, + ScaleType, + Settings, + XYBrushEvent, +} from '@elastic/charts'; import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; import numeral from '@elastic/numeral'; import { i18n } from '@kbn/i18n'; @@ -117,7 +125,7 @@ export function APMSection({ bucketSize }: Props) { onBrushEnd({ x, history })} + onBrushEnd={(event) => onBrushEnd({ x: (event as XYBrushEvent).x, history })} theme={chartTheme} showLegend={false} xDomain={{ min, max }} diff --git a/x-pack/plugins/observability/public/components/app/section/helper.ts b/x-pack/plugins/observability/public/components/app/section/helper.ts index f1b2992386063..077bd67a8590c 100644 --- a/x-pack/plugins/observability/public/components/app/section/helper.ts +++ b/x-pack/plugins/observability/public/components/app/section/helper.ts @@ -5,11 +5,11 @@ * 2.0. */ -import { XYBrushArea } from '@elastic/charts'; +import { XYBrushEvent } from '@elastic/charts'; import { History } from 'history'; import { fromQuery, toQuery } from '../../../utils/url'; -export const onBrushEnd = ({ x, history }: { x: XYBrushArea['x']; history: History }) => { +export const onBrushEnd = ({ x, history }: { x: XYBrushEvent['x']; history: History }) => { if (x) { const start = x[0]; const end = x[1]; diff --git a/x-pack/plugins/observability/public/components/app/section/logs/index.tsx b/x-pack/plugins/observability/public/components/app/section/logs/index.tsx index da5a8f25045a5..dcd51a531a73d 100644 --- a/x-pack/plugins/observability/public/components/app/section/logs/index.tsx +++ b/x-pack/plugins/observability/public/components/app/section/logs/index.tsx @@ -5,7 +5,15 @@ * 2.0. */ -import { Axis, BarSeries, niceTimeFormatter, Position, ScaleType, Settings } from '@elastic/charts'; +import { + Axis, + BarSeries, + niceTimeFormatter, + Position, + ScaleType, + Settings, + XYBrushEvent, +} from '@elastic/charts'; import { EuiFlexGroup, EuiFlexItem, euiPaletteColorBlind, EuiSpacer, EuiTitle } from '@elastic/eui'; import numeral from '@elastic/numeral'; import { i18n } from '@kbn/i18n'; @@ -124,7 +132,7 @@ export function LogsSection({ bucketSize }: Props) { onBrushEnd({ x, history })} + onBrushEnd={(event) => onBrushEnd({ x: (event as XYBrushEvent).x, history })} theme={chartTheme} showLegend legendPosition={Position.Right} diff --git a/x-pack/plugins/observability/public/components/app/section/uptime/index.tsx b/x-pack/plugins/observability/public/components/app/section/uptime/index.tsx index 28cbd12663c1b..8c0f1f8db7c1a 100644 --- a/x-pack/plugins/observability/public/components/app/section/uptime/index.tsx +++ b/x-pack/plugins/observability/public/components/app/section/uptime/index.tsx @@ -13,6 +13,7 @@ import { ScaleType, Settings, TickFormatter, + XYBrushEvent, } from '@elastic/charts'; import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; import numeral from '@elastic/numeral'; @@ -123,7 +124,7 @@ export function UptimeSection({ bucketSize }: Props) { {/* Chart section */} onBrushEnd({ x, history })} + onBrushEnd={(event) => onBrushEnd({ x: (event as XYBrushEvent).x, history })} theme={chartTheme} showLegend={false} legendPosition={Position.Right} diff --git a/x-pack/plugins/stack_alerts/public/alert_types/threshold/visualization.tsx b/x-pack/plugins/stack_alerts/public/alert_types/threshold/visualization.tsx index 1db09d0492e68..68141945d73fd 100644 --- a/x-pack/plugins/stack_alerts/public/alert_types/threshold/visualization.tsx +++ b/x-pack/plugins/stack_alerts/public/alert_types/threshold/visualization.tsx @@ -277,7 +277,12 @@ export const ThresholdVisualization: React.FunctionComponent = ({ showOverlappingTicks={true} tickFormat={dateFormatter} /> - + {alertVisualizationDataKeys.map((key: string) => { return ( getTickFormat(d)} diff --git a/x-pack/plugins/watcher/public/application/sections/watch_edit/components/threshold_watch_edit/watch_visualization.tsx b/x-pack/plugins/watcher/public/application/sections/watch_edit/components/threshold_watch_edit/watch_visualization.tsx index 468e9dfa68e1b..c995e4a449867 100644 --- a/x-pack/plugins/watcher/public/application/sections/watch_edit/components/threshold_watch_edit/watch_visualization.tsx +++ b/x-pack/plugins/watcher/public/application/sections/watch_edit/components/threshold_watch_edit/watch_visualization.tsx @@ -227,7 +227,12 @@ export const WatchVisualization = () => { showOverlappingTicks={true} tickFormat={dateFormatter} /> - + {watchVisualizationDataKeys.map((key: string) => { return ( Date: Tue, 12 Oct 2021 20:59:14 +0200 Subject: [PATCH 074/107] [ML] APM Correlations: Show trace samples even when overall histogram chart fails to load. (#114247) (#114613) In the trace samples tab, the trace samples will not be shown if the overall histogram chart fails to load. This PR removes that limitation and will show the trace samples even when the chart fails to load. Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../distribution/index.tsx | 20 ++++++++----------- 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/distribution/index.tsx b/x-pack/plugins/apm/public/components/app/transaction_details/distribution/index.tsx index abcf15b25b777..efd01c32b2462 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/distribution/index.tsx +++ b/x-pack/plugins/apm/public/components/app/transaction_details/distribution/index.tsx @@ -220,18 +220,14 @@ export function TransactionDistribution({ status={status} /> - {hasData && ( - <> - - - - - )} + + +
); } From 915f27992989e8a6f96e4658495b7e8d2bd83775 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 12 Oct 2021 15:07:22 -0400 Subject: [PATCH 075/107] [Uptime] [Synthetics Integration] add new advanced options (#112454) (#114685) * refactor common fields * add ignore_https_errors and journey filters options * adjust formatters and normalizers * adjust content and hide fields when zip url is not defined * adjust content again * update tests * adjust tests * adjust tests Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Dominique Clarke --- .../browser/advanced_fields.test.tsx | 45 ++++++- .../fleet_package/browser/advanced_fields.tsx | 102 +++++++++++++++- .../fleet_package/browser/formatters.ts | 5 + .../fleet_package/browser/normalizers.ts | 7 ++ .../fleet_package/browser/simple_fields.tsx | 93 +------------- .../fleet_package/common/common_fields.tsx | 113 ++++++++++++++++++ .../contexts/browser_context_advanced.tsx | 3 + ..._context.tsx => http_context_advanced.tsx} | 0 .../fleet_package/contexts/index.ts | 4 +- ...p_context.tsx => tcp_context_advanced.tsx} | 0 .../fleet_package/http/simple_fields.tsx | 92 +------------- .../fleet_package/icmp/simple_fields.tsx | 90 +------------- .../fleet_package/tcp/simple_fields.tsx | 93 +------------- .../public/components/fleet_package/types.tsx | 8 +- 14 files changed, 289 insertions(+), 366 deletions(-) create mode 100644 x-pack/plugins/uptime/public/components/fleet_package/common/common_fields.tsx rename x-pack/plugins/uptime/public/components/fleet_package/contexts/{advanced_fields_http_context.tsx => http_context_advanced.tsx} (100%) rename x-pack/plugins/uptime/public/components/fleet_package/contexts/{advanced_fields_tcp_context.tsx => tcp_context_advanced.tsx} (100%) diff --git a/x-pack/plugins/uptime/public/components/fleet_package/browser/advanced_fields.test.tsx b/x-pack/plugins/uptime/public/components/fleet_package/browser/advanced_fields.test.tsx index aa1f7ca07e3d8..fabf6da49cf47 100644 --- a/x-pack/plugins/uptime/public/components/fleet_package/browser/advanced_fields.test.tsx +++ b/x-pack/plugins/uptime/public/components/fleet_package/browser/advanced_fields.test.tsx @@ -9,10 +9,12 @@ import React from 'react'; import { fireEvent } from '@testing-library/react'; import { render } from '../../../lib/helper/rtl_helpers'; import { BrowserAdvancedFields } from './advanced_fields'; -import { ConfigKeys, IBrowserAdvancedFields } from '../types'; +import { ConfigKeys, IBrowserAdvancedFields, IBrowserSimpleFields } from '../types'; import { BrowserAdvancedFieldsContextProvider, + BrowserSimpleFieldsContextProvider, defaultBrowserAdvancedFields as defaultConfig, + defaultBrowserSimpleFields, } from '../contexts'; jest.mock('@elastic/eui/lib/services/accessibility/html_id_generator', () => ({ @@ -20,11 +22,19 @@ jest.mock('@elastic/eui/lib/services/accessibility/html_id_generator', () => ({ })); describe('', () => { - const WrappedComponent = ({ defaultValues }: { defaultValues?: IBrowserAdvancedFields }) => { + const WrappedComponent = ({ + defaultValues = defaultConfig, + defaultSimpleFields = defaultBrowserSimpleFields, + }: { + defaultValues?: IBrowserAdvancedFields; + defaultSimpleFields?: IBrowserSimpleFields; + }) => { return ( - - - + + + + + ); }; @@ -46,4 +56,29 @@ describe('', () => { expect(screenshots.value).toEqual('off'); }); + + it('only displayed filter options when zip url is truthy', () => { + const { queryByText, getByText, rerender } = render(); + + expect( + queryByText( + /Use these options to apply the selected monitor settings to a subset of the tests in your suite./ + ) + ).not.toBeInTheDocument(); + + rerender( + + ); + + expect( + getByText( + /Use these options to apply the selected monitor settings to a subset of the tests in your suite./ + ) + ).toBeInTheDocument(); + }); }); diff --git a/x-pack/plugins/uptime/public/components/fleet_package/browser/advanced_fields.tsx b/x-pack/plugins/uptime/public/components/fleet_package/browser/advanced_fields.tsx index 28e2e39c79554..61af9f8ec6143 100644 --- a/x-pack/plugins/uptime/public/components/fleet_package/browser/advanced_fields.tsx +++ b/x-pack/plugins/uptime/public/components/fleet_package/browser/advanced_fields.tsx @@ -10,13 +10,15 @@ import { FormattedMessage } from '@kbn/i18n/react'; import { EuiAccordion, EuiSelect, + EuiFieldText, + EuiCheckbox, EuiFormRow, EuiDescribedFormGroup, EuiSpacer, } from '@elastic/eui'; import { ComboBox } from '../combo_box'; -import { useBrowserAdvancedFieldsContext } from '../contexts'; +import { useBrowserAdvancedFieldsContext, useBrowserSimpleFieldsContext } from '../contexts'; import { ConfigKeys, ScreenshotOption } from '../types'; @@ -24,6 +26,7 @@ import { OptionalLabel } from '../optional_label'; export const BrowserAdvancedFields = () => { const { fields, setFields } = useBrowserAdvancedFieldsContext(); + const { fields: simpleFields } = useBrowserSimpleFieldsContext(); const handleInputChange = useCallback( ({ value, configKey }: { value: unknown; configKey: ConfigKeys }) => { @@ -39,6 +42,75 @@ export const BrowserAdvancedFields = () => { data-test-subj="syntheticsBrowserAdvancedFieldsAccordion" > + {simpleFields[ConfigKeys.SOURCE_ZIP_URL] && ( + + +

+ } + description={ + + } + > + + + } + labelAppend={} + helpText={ + + } + > + + handleInputChange({ + value: event.target.value, + configKey: ConfigKeys.JOURNEY_FILTERS_MATCH, + }) + } + data-test-subj="syntheticsBrowserJourneyFiltersMatch" + /> + + + } + labelAppend={} + helpText={ + + } + > + + handleInputChange({ value, configKey: ConfigKeys.JOURNEY_FILTERS_TAGS }) + } + data-test-subj="syntheticsBrowserJourneyFiltersTags" + /> + + + )} @@ -56,6 +128,34 @@ export const BrowserAdvancedFields = () => { } > + + + + } + data-test-subj="syntheticsBrowserIgnoreHttpsErrors" + > + + } + onChange={(event) => + handleInputChange({ + value: event.target.checked, + configKey: ConfigKeys.IGNORE_HTTPS_ERRORS, + }) + } + /> + arrayToJsonFormatter(fields[ConfigKeys.SYNTHETICS_ARGS]), + [ConfigKeys.JOURNEY_FILTERS_MATCH]: (fields) => + stringToJsonFormatter(fields[ConfigKeys.JOURNEY_FILTERS_MATCH]), + [ConfigKeys.JOURNEY_FILTERS_TAGS]: (fields) => + arrayToJsonFormatter(fields[ConfigKeys.JOURNEY_FILTERS_TAGS]), + [ConfigKeys.IGNORE_HTTPS_ERRORS]: null, ...commonFormatters, }; diff --git a/x-pack/plugins/uptime/public/components/fleet_package/browser/normalizers.ts b/x-pack/plugins/uptime/public/components/fleet_package/browser/normalizers.ts index 53bbf611d490c..0107fb3884f41 100644 --- a/x-pack/plugins/uptime/public/components/fleet_package/browser/normalizers.ts +++ b/x-pack/plugins/uptime/public/components/fleet_package/browser/normalizers.ts @@ -39,5 +39,12 @@ export const browserNormalizers: BrowserNormalizerMap = { [ConfigKeys.PARAMS]: getBrowserNormalizer(ConfigKeys.PARAMS), [ConfigKeys.SCREENSHOTS]: getBrowserNormalizer(ConfigKeys.SCREENSHOTS), [ConfigKeys.SYNTHETICS_ARGS]: getBrowserJsonToJavascriptNormalizer(ConfigKeys.SYNTHETICS_ARGS), + [ConfigKeys.JOURNEY_FILTERS_MATCH]: getBrowserJsonToJavascriptNormalizer( + ConfigKeys.JOURNEY_FILTERS_MATCH + ), + [ConfigKeys.JOURNEY_FILTERS_TAGS]: getBrowserJsonToJavascriptNormalizer( + ConfigKeys.JOURNEY_FILTERS_TAGS + ), + [ConfigKeys.IGNORE_HTTPS_ERRORS]: getBrowserNormalizer(ConfigKeys.IGNORE_HTTPS_ERRORS), ...commonNormalizers, }; diff --git a/x-pack/plugins/uptime/public/components/fleet_package/browser/simple_fields.tsx b/x-pack/plugins/uptime/public/components/fleet_package/browser/simple_fields.tsx index 0e2f10b96fe6d..7c7a6b199adcb 100644 --- a/x-pack/plugins/uptime/public/components/fleet_package/browser/simple_fields.tsx +++ b/x-pack/plugins/uptime/public/components/fleet_package/browser/simple_fields.tsx @@ -7,13 +7,12 @@ import React, { memo, useMemo, useCallback } from 'react'; import { FormattedMessage } from '@kbn/i18n/react'; -import { EuiFormRow, EuiFieldText, EuiFieldNumber } from '@elastic/eui'; +import { EuiFormRow } from '@elastic/eui'; import { ConfigKeys, Validation } from '../types'; import { useBrowserSimpleFieldsContext } from '../contexts'; -import { ComboBox } from '../combo_box'; -import { OptionalLabel } from '../optional_label'; import { ScheduleField } from '../schedule_field'; import { SourceField } from './source_field'; +import { CommonFields } from '../common/common_fields'; interface Props { validate: Validation; @@ -91,93 +90,7 @@ export const BrowserSimpleFields = memo(({ validate }) => { )} /> - - } - labelAppend={} - helpText={ - - } - > - - handleInputChange({ - value: event.target.value, - configKey: ConfigKeys.APM_SERVICE_NAME, - }) - } - data-test-subj="syntheticsAPMServiceName" - /> - - - } - isInvalid={!!validate[ConfigKeys.TIMEOUT]?.(fields)} - error={ - parseInt(fields[ConfigKeys.TIMEOUT], 10) < 0 ? ( - - ) : ( - - ) - } - helpText={ - - } - > - - handleInputChange({ - value: event.target.value, - configKey: ConfigKeys.TIMEOUT, - }) - } - step={'any'} - /> - - - } - labelAppend={} - helpText={ - - } - > - handleInputChange({ value, configKey: ConfigKeys.TAGS })} - data-test-subj="syntheticsTags" - /> - + ); }); diff --git a/x-pack/plugins/uptime/public/components/fleet_package/common/common_fields.tsx b/x-pack/plugins/uptime/public/components/fleet_package/common/common_fields.tsx new file mode 100644 index 0000000000000..57d5094958ca3 --- /dev/null +++ b/x-pack/plugins/uptime/public/components/fleet_package/common/common_fields.tsx @@ -0,0 +1,113 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { FormattedMessage } from '@kbn/i18n/react'; +import { EuiFormRow, EuiFieldText, EuiFieldNumber } from '@elastic/eui'; +import { ConfigKeys, Validation, ICommonFields } from '../types'; +import { ComboBox } from '../combo_box'; +import { OptionalLabel } from '../optional_label'; + +interface Props { + validate: Validation; + fields: ICommonFields; + onChange: ({ value, configKey }: { value: string | string[]; configKey: ConfigKeys }) => void; +} + +export function CommonFields({ fields, onChange, validate }: Props) { + return ( + <> + + } + labelAppend={} + helpText={ + + } + > + + onChange({ + value: event.target.value, + configKey: ConfigKeys.APM_SERVICE_NAME, + }) + } + data-test-subj="syntheticsAPMServiceName" + /> + + + } + isInvalid={!!validate[ConfigKeys.TIMEOUT]?.(fields)} + error={ + parseInt(fields[ConfigKeys.TIMEOUT], 10) < 0 ? ( + + ) : ( + + ) + } + helpText={ + + } + > + + onChange({ + value: event.target.value, + configKey: ConfigKeys.TIMEOUT, + }) + } + step={'any'} + /> + + + } + labelAppend={} + helpText={ + + } + > + onChange({ value, configKey: ConfigKeys.TAGS })} + data-test-subj="syntheticsTags" + /> + + + ); +} diff --git a/x-pack/plugins/uptime/public/components/fleet_package/contexts/browser_context_advanced.tsx b/x-pack/plugins/uptime/public/components/fleet_package/contexts/browser_context_advanced.tsx index 3f3bb8f14c269..bc766462f18ae 100644 --- a/x-pack/plugins/uptime/public/components/fleet_package/contexts/browser_context_advanced.tsx +++ b/x-pack/plugins/uptime/public/components/fleet_package/contexts/browser_context_advanced.tsx @@ -22,6 +22,9 @@ interface IBrowserAdvancedFieldsContextProvider { export const initialValues: IBrowserAdvancedFields = { [ConfigKeys.SCREENSHOTS]: ScreenshotOption.ON, [ConfigKeys.SYNTHETICS_ARGS]: [], + [ConfigKeys.JOURNEY_FILTERS_MATCH]: '', + [ConfigKeys.JOURNEY_FILTERS_TAGS]: [], + [ConfigKeys.IGNORE_HTTPS_ERRORS]: false, }; const defaultContext: IBrowserAdvancedFieldsContext = { diff --git a/x-pack/plugins/uptime/public/components/fleet_package/contexts/advanced_fields_http_context.tsx b/x-pack/plugins/uptime/public/components/fleet_package/contexts/http_context_advanced.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/fleet_package/contexts/advanced_fields_http_context.tsx rename to x-pack/plugins/uptime/public/components/fleet_package/contexts/http_context_advanced.tsx diff --git a/x-pack/plugins/uptime/public/components/fleet_package/contexts/index.ts b/x-pack/plugins/uptime/public/components/fleet_package/contexts/index.ts index e955d2d7d4d50..4d76a6d8f8d67 100644 --- a/x-pack/plugins/uptime/public/components/fleet_package/contexts/index.ts +++ b/x-pack/plugins/uptime/public/components/fleet_package/contexts/index.ts @@ -21,7 +21,7 @@ export { HTTPAdvancedFieldsContextProvider, initialValues as defaultHTTPAdvancedFields, useHTTPAdvancedFieldsContext, -} from './advanced_fields_http_context'; +} from './http_context_advanced'; export { TCPSimpleFieldsContext, TCPSimpleFieldsContextProvider, @@ -39,7 +39,7 @@ export { TCPAdvancedFieldsContextProvider, initialValues as defaultTCPAdvancedFields, useTCPAdvancedFieldsContext, -} from './advanced_fields_tcp_context'; +} from './tcp_context_advanced'; export { BrowserSimpleFieldsContext, BrowserSimpleFieldsContextProvider, diff --git a/x-pack/plugins/uptime/public/components/fleet_package/contexts/advanced_fields_tcp_context.tsx b/x-pack/plugins/uptime/public/components/fleet_package/contexts/tcp_context_advanced.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/fleet_package/contexts/advanced_fields_tcp_context.tsx rename to x-pack/plugins/uptime/public/components/fleet_package/contexts/tcp_context_advanced.tsx diff --git a/x-pack/plugins/uptime/public/components/fleet_package/http/simple_fields.tsx b/x-pack/plugins/uptime/public/components/fleet_package/http/simple_fields.tsx index c4de1d53fe998..90f94324fe657 100644 --- a/x-pack/plugins/uptime/public/components/fleet_package/http/simple_fields.tsx +++ b/x-pack/plugins/uptime/public/components/fleet_package/http/simple_fields.tsx @@ -10,9 +10,9 @@ import { FormattedMessage } from '@kbn/i18n/react'; import { EuiFormRow, EuiFieldText, EuiFieldNumber } from '@elastic/eui'; import { ConfigKeys, Validation } from '../types'; import { useHTTPSimpleFieldsContext } from '../contexts'; -import { ComboBox } from '../combo_box'; import { OptionalLabel } from '../optional_label'; import { ScheduleField } from '../schedule_field'; +import { CommonFields } from '../common/common_fields'; interface Props { validate: Validation; @@ -50,7 +50,7 @@ export const HTTPSimpleFields = memo(({ validate }) => { /> (({ validate }) => { unit={fields[ConfigKeys.SCHEDULE].unit} /> - - } - labelAppend={} - helpText={ - - } - > - - handleInputChange({ - value: event.target.value, - configKey: ConfigKeys.APM_SERVICE_NAME, - }) - } - data-test-subj="syntheticsAPMServiceName" - /> - (({ validate }) => { } /> - - } - isInvalid={!!validate[ConfigKeys.TIMEOUT]?.(fields)} - error={ - parseInt(fields[ConfigKeys.TIMEOUT], 10) < 0 ? ( - - ) : ( - - ) - } - helpText={ - - } - > - - handleInputChange({ - value: event.target.value, - configKey: ConfigKeys.TIMEOUT, - }) - } - step={'any'} - /> - - - } - labelAppend={} - helpText={ - - } - > - handleInputChange({ value, configKey: ConfigKeys.TAGS })} - data-test-subj="syntheticsTags" - /> - + ); }); diff --git a/x-pack/plugins/uptime/public/components/fleet_package/icmp/simple_fields.tsx b/x-pack/plugins/uptime/public/components/fleet_package/icmp/simple_fields.tsx index 92afe4c5072e1..32c843f1ce114 100644 --- a/x-pack/plugins/uptime/public/components/fleet_package/icmp/simple_fields.tsx +++ b/x-pack/plugins/uptime/public/components/fleet_package/icmp/simple_fields.tsx @@ -10,9 +10,9 @@ import { FormattedMessage } from '@kbn/i18n/react'; import { EuiFormRow, EuiFieldText, EuiFieldNumber } from '@elastic/eui'; import { ConfigKeys, Validation } from '../types'; import { useICMPSimpleFieldsContext } from '../contexts'; -import { ComboBox } from '../combo_box'; import { OptionalLabel } from '../optional_label'; import { ScheduleField } from '../schedule_field'; +import { CommonFields } from '../common/common_fields'; interface Props { validate: Validation; @@ -113,93 +113,7 @@ export const ICMPSimpleFields = memo(({ validate }) => { step={'any'} /> - - } - labelAppend={} - helpText={ - - } - > - - handleInputChange({ - value: event.target.value, - configKey: ConfigKeys.APM_SERVICE_NAME, - }) - } - data-test-subj="syntheticsAPMServiceName" - /> - - - } - isInvalid={!!validate[ConfigKeys.TIMEOUT]?.(fields)} - error={ - parseInt(fields[ConfigKeys.TIMEOUT], 10) < 0 ? ( - - ) : ( - - ) - } - helpText={ - - } - > - - handleInputChange({ - value: event.target.value, - configKey: ConfigKeys.TIMEOUT, - }) - } - step={'any'} - /> - - - } - labelAppend={} - helpText={ - - } - > - handleInputChange({ value, configKey: ConfigKeys.TAGS })} - data-test-subj="syntheticsTags" - /> - + ); }); diff --git a/x-pack/plugins/uptime/public/components/fleet_package/tcp/simple_fields.tsx b/x-pack/plugins/uptime/public/components/fleet_package/tcp/simple_fields.tsx index 37f0c82595e02..53a0074a47d73 100644 --- a/x-pack/plugins/uptime/public/components/fleet_package/tcp/simple_fields.tsx +++ b/x-pack/plugins/uptime/public/components/fleet_package/tcp/simple_fields.tsx @@ -7,12 +7,11 @@ import React, { memo } from 'react'; import { FormattedMessage } from '@kbn/i18n/react'; -import { EuiFormRow, EuiFieldText, EuiFieldNumber } from '@elastic/eui'; +import { EuiFormRow, EuiFieldText } from '@elastic/eui'; import { ConfigKeys, Validation } from '../types'; import { useTCPSimpleFieldsContext } from '../contexts'; -import { ComboBox } from '../combo_box'; -import { OptionalLabel } from '../optional_label'; import { ScheduleField } from '../schedule_field'; +import { CommonFields } from '../common/common_fields'; interface Props { validate: Validation; @@ -80,93 +79,7 @@ export const TCPSimpleFields = memo(({ validate }) => { unit={fields[ConfigKeys.SCHEDULE].unit} /> - - } - labelAppend={} - helpText={ - - } - > - - handleInputChange({ - value: event.target.value, - configKey: ConfigKeys.APM_SERVICE_NAME, - }) - } - data-test-subj="syntheticsAPMServiceName" - /> - - - } - isInvalid={!!validate[ConfigKeys.TIMEOUT]?.(fields)} - error={ - parseInt(fields[ConfigKeys.TIMEOUT], 10) < 0 ? ( - - ) : ( - - ) - } - helpText={ - - } - > - - handleInputChange({ - value: event.target.value, - configKey: ConfigKeys.TIMEOUT, - }) - } - step={'any'} - /> - - - } - labelAppend={} - helpText={ - - } - > - handleInputChange({ value, configKey: ConfigKeys.TAGS })} - data-test-subj="syntheticsTags" - /> - + ); }); diff --git a/x-pack/plugins/uptime/public/components/fleet_package/types.tsx b/x-pack/plugins/uptime/public/components/fleet_package/types.tsx index 89581bf993339..db736f1bae4d2 100644 --- a/x-pack/plugins/uptime/public/components/fleet_package/types.tsx +++ b/x-pack/plugins/uptime/public/components/fleet_package/types.tsx @@ -76,9 +76,13 @@ export enum ScreenshotOption { export enum ConfigKeys { APM_SERVICE_NAME = 'service.name', HOSTS = 'hosts', + IGNORE_HTTPS_ERRORS = 'ignore_https_errors', + JOURNEY_FILTERS_MATCH = 'filter_journeys.match', + JOURNEY_FILTERS_TAGS = 'filter_journeys.tags', MAX_REDIRECTS = 'max_redirects', MONITOR_TYPE = 'type', NAME = 'name', + PARAMS = 'params', PASSWORD = 'password', PROXY_URL = 'proxy_url', PROXY_USE_LOCAL_RESOLVER = 'proxy_use_local_resolver', @@ -101,7 +105,6 @@ export enum ConfigKeys { SOURCE_ZIP_PASSWORD = 'source.zip_url.password', SOURCE_ZIP_FOLDER = 'source.zip_url.folder', SYNTHETICS_ARGS = 'synthetics_args', - PARAMS = 'params', TLS_CERTIFICATE_AUTHORITIES = 'ssl.certificate_authorities', TLS_CERTIFICATE = 'ssl.certificate', TLS_KEY = 'ssl.key', @@ -198,6 +201,9 @@ export type IBrowserSimpleFields = { export interface IBrowserAdvancedFields { [ConfigKeys.SYNTHETICS_ARGS]: string[]; [ConfigKeys.SCREENSHOTS]: string; + [ConfigKeys.JOURNEY_FILTERS_MATCH]: string; + [ConfigKeys.JOURNEY_FILTERS_TAGS]: string[]; + [ConfigKeys.IGNORE_HTTPS_ERRORS]: boolean; } export type HTTPFields = IHTTPSimpleFields & IHTTPAdvancedFields & ITLSFields; From 0bda5d9e57950915ec84bac5ee0b3978367954b2 Mon Sep 17 00:00:00 2001 From: "Christiane (Tina) Heiligers" Date: Tue, 12 Oct 2021 12:52:56 -0700 Subject: [PATCH 076/107] Changes rewriteBasePath config deprecation level to 'warning' (#114695) --- .../server/config/deprecation/core_deprecations.test.ts | 7 ++++++- src/core/server/config/deprecation/core_deprecations.ts | 1 + src/core/server/config/test_utils.ts | 8 ++++++-- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/core/server/config/deprecation/core_deprecations.test.ts b/src/core/server/config/deprecation/core_deprecations.test.ts index 37172b602ba8c..223aae21dfd78 100644 --- a/src/core/server/config/deprecation/core_deprecations.test.ts +++ b/src/core/server/config/deprecation/core_deprecations.test.ts @@ -134,7 +134,7 @@ describe('core deprecations', () => { describe('rewriteBasePath', () => { it('logs a warning is server.basePath is set and server.rewriteBasePath is not', () => { - const { messages } = applyCoreDeprecations({ + const { messages, levels } = applyCoreDeprecations({ server: { basePath: 'foo', }, @@ -144,6 +144,11 @@ describe('core deprecations', () => { "You should set server.basePath along with server.rewriteBasePath. Starting in 7.0, Kibana will expect that all requests start with server.basePath rather than expecting you to rewrite the requests in your reverse proxy. Set server.rewriteBasePath to false to preserve the current behavior and silence this warning.", ] `); + expect(levels).toMatchInlineSnapshot(` + Array [ + "warning", + ] + `); }); it('does not log a warning if both server.basePath and server.rewriteBasePath are unset', () => { diff --git a/src/core/server/config/deprecation/core_deprecations.ts b/src/core/server/config/deprecation/core_deprecations.ts index 8d0f799a2e069..6909375408fb4 100644 --- a/src/core/server/config/deprecation/core_deprecations.ts +++ b/src/core/server/config/deprecation/core_deprecations.ts @@ -54,6 +54,7 @@ const rewriteBasePathDeprecation: ConfigDeprecation = (settings, fromPath, addDe 'will expect that all requests start with server.basePath rather than expecting you to rewrite ' + 'the requests in your reverse proxy. Set server.rewriteBasePath to false to preserve the ' + 'current behavior and silence this warning.', + level: 'warning', correctiveActions: { manualSteps: [ `Set 'server.rewriteBasePath' in the config file, CLI flag, or environment variable (in Docker only).`, diff --git a/src/core/server/config/test_utils.ts b/src/core/server/config/test_utils.ts index 7794a652c8836..f4d452005fbe4 100644 --- a/src/core/server/config/test_utils.ts +++ b/src/core/server/config/test_utils.ts @@ -20,6 +20,7 @@ function collectDeprecations( ) { const deprecations = provider(configDeprecationFactory); const deprecationMessages: string[] = []; + const deprecationLevels: string[] = []; const { config: migrated } = applyDeprecations( settings, deprecations.map((deprecation) => ({ @@ -28,11 +29,14 @@ function collectDeprecations( context, })), () => - ({ message }) => - deprecationMessages.push(message) + ({ message, level }) => { + deprecationMessages.push(message); + deprecationLevels.push(level ?? ''); + } ); return { messages: deprecationMessages, + levels: deprecationLevels, migrated, }; } From 5b8ef553127bb374d97e3d3a812040468f0f604c Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 12 Oct 2021 15:54:34 -0400 Subject: [PATCH 077/107] [Workplace Search] Wire up write view for Sync Frequency (#114522) (#114694) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Refactor to use correct kea way of doing reset The listener is not needed as the actions can set the state themselves * Wire up reset button for Frequency section * Extract shareble updateServerSettings method We use a PATCH call to the server to update the state. We can extract this to a shared actions.updateServerSettings method that can be used in the main toggle on the Synchronization landing page, the Frequency section and the Object and assets section. As a part of this commit, I refactored `updateSyncEnabled` to use this method as well. In doing so, to simplify things, I removed the granular enabled/disabled message in favor of the generic “"Source synchronization settings updated.” message that the other sections use. The state of the toggle is a good enough indication of the state the server is in. I also renamed the updateSyncSettings method to updateObjectsAndAssetsSettings, as it was incorrectly named. * Add schema for schedules * Use mutable schedule in component Originally used the immutable version directly on the content source for initial read view. We now use a mutable one found in SynchronizationLogic * Set local copies of schedule after persisting to server * Wire up form change handlers We pass the ‘type’ to the component to inform the logic file which section is being changed. We then update the mutable `schedule` reducer with the correct value * Wire up save button and persist changes * Add type and make server prop optional If there are no blciked windows, we send undefined, so the type has been updated. * Add unsaved changes propmpt Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Scotty Bollinger --- .../applications/workplace_search/types.ts | 2 + .../components/synchronization/frequency.tsx | 19 +- .../synchronization/frequency_item.test.tsx | 49 ++++++ .../synchronization/frequency_item.tsx | 20 ++- .../objects_and_assets.test.tsx | 4 +- .../synchronization/objects_and_assets.tsx | 8 +- .../sync_frequency_tab.test.tsx | 7 +- .../synchronization/sync_frequency_tab.tsx | 32 ++-- .../synchronization_logic.test.ts | 163 ++++++++++-------- .../synchronization/synchronization_logic.ts | 163 +++++++++++++----- .../views/content_sources/constants.ts | 14 -- .../server/routes/workplace_search/sources.ts | 4 + 12 files changed, 331 insertions(+), 154 deletions(-) diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/types.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/types.ts index f81672e71e013..72bcf850fbcd9 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/types.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/types.ts @@ -148,6 +148,8 @@ export interface IndexingSchedule extends SyncIndexItem { blockedWindows?: BlockedWindow[]; } +export type TimeUnit = 'minutes' | 'hours' | 'days' | 'weeks' | 'months' | 'years'; + export type SyncJobType = 'full' | 'incremental' | 'delete' | 'permissions'; export const DAYS_OF_WEEK_VALUES = [ diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency.tsx index 914ec9dfe6eff..2ada5b64be889 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency.tsx @@ -21,6 +21,7 @@ import { } from '@elastic/eui'; import { SAVE_BUTTON_LABEL } from '../../../../../shared/constants'; +import { UnsavedChangesPrompt } from '../../../../../shared/unsaved_changes_prompt'; import { ViewContentHeader } from '../../../../components/shared/view_content_header'; import { NAV, RESET_BUTTON } from '../../../../constants'; import { DIFFERENT_SYNC_TYPES_DOCS_URL, SYNC_BEST_PRACTICES_DOCS_URL } from '../../../../routes'; @@ -30,6 +31,7 @@ import { BLOCKED_TIME_WINDOWS_TITLE, DIFFERENT_SYNC_TYPES_LINK_LABEL, SYNC_BEST_PRACTICES_LINK_LABEL, + SYNC_UNSAVED_CHANGES_MESSAGE, } from '../../constants'; import { SourceLogic } from '../../source_logic'; import { SourceLayout } from '../source_layout'; @@ -44,7 +46,10 @@ interface FrequencyProps { export const Frequency: React.FC = ({ tabId }) => { const { contentSource } = useValues(SourceLogic); - const { handleSelectedTabChanged } = useActions(SynchronizationLogic({ contentSource })); + const { hasUnsavedFrequencyChanges } = useValues(SynchronizationLogic({ contentSource })); + const { handleSelectedTabChanged, resetSyncSettings, updateFrequencySettings } = useActions( + SynchronizationLogic({ contentSource }) + ); const tabs = [ { @@ -66,10 +71,14 @@ export const Frequency: React.FC = ({ tabId }) => { const actions = ( - {RESET_BUTTON}{' '} + + {RESET_BUTTON} + - {SAVE_BUTTON_LABEL}{' '} + + {SAVE_BUTTON_LABEL} + ); @@ -98,6 +107,10 @@ export const Frequency: React.FC = ({ tabId }) => { pageViewTelemetry="source_synchronization_frequency" isLoading={false} > + { + const setSyncFrequency = jest.fn(); + const mockActions = { + setSyncFrequency, + }; + const mockValues = { + contentSource: fullContentSources[0], + }; + + beforeEach(() => { + setMockActions(mockActions); + setMockValues(mockValues); + }); + const estimate = { duration: 'PT3D', nextStart: '2021-09-27T21:39:24+00:00', @@ -22,6 +41,7 @@ describe('FrequencyItem', () => { }; const props = { + type: 'full' as SyncJobType, label: 'Item', description: 'My item', duration: 'PT2D', @@ -73,4 +93,33 @@ describe('FrequencyItem', () => { ).toEqual('in 2 days'); }); }); + + describe('onChange handlers', () => { + it('calls setSyncFrequency for "days"', () => { + const wrapper = shallow(); + wrapper + .find('[data-test-subj="durationDays"]') + .simulate('change', { target: { value: '3' } }); + + expect(setSyncFrequency).toHaveBeenCalledWith('full', '3', 'days'); + }); + + it('calls setSyncFrequency for "hours"', () => { + const wrapper = shallow(); + wrapper + .find('[data-test-subj="durationHours"]') + .simulate('change', { target: { value: '3' } }); + + expect(setSyncFrequency).toHaveBeenCalledWith('full', '3', 'hours'); + }); + + it('calls setSyncFrequency for "minutes"', () => { + const wrapper = shallow(); + wrapper + .find('[data-test-subj="durationMinutes"]') + .simulate('change', { target: { value: '3' } }); + + expect(setSyncFrequency).toHaveBeenCalledWith('full', '3', 'minutes'); + }); + }); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency_item.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency_item.tsx index 618f5c73d6099..a51500e3076a8 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency_item.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency_item.tsx @@ -7,6 +7,7 @@ import React from 'react'; +import { useActions, useValues } from 'kea'; import moment from 'moment'; import { @@ -24,18 +25,30 @@ import { HOURS_UNIT_LABEL, DAYS_UNIT_LABEL, } from '../../../../../shared/constants'; -import { SyncEstimate } from '../../../../types'; +import { SyncEstimate, SyncJobType } from '../../../../types'; import { NEXT_SYNC_RUNNING_MESSAGE } from '../../constants'; +import { SourceLogic } from '../../source_logic'; + +import { SynchronizationLogic } from './synchronization_logic'; interface Props { + type: SyncJobType; label: string; description: string; duration: string; estimate: SyncEstimate; } -export const FrequencyItem: React.FC = ({ label, description, duration, estimate }) => { +export const FrequencyItem: React.FC = ({ + type, + label, + description, + duration, + estimate, +}) => { + const { contentSource } = useValues(SourceLogic); + const { setSyncFrequency } = useActions(SynchronizationLogic({ contentSource })); const { lastRun, nextStart, duration: durationEstimate } = estimate; const estimateDisplay = durationEstimate && moment.duration(durationEstimate).humanize(); const nextStartIsPast = moment().isAfter(nextStart); @@ -107,6 +120,7 @@ export const FrequencyItem: React.FC = ({ label, description, duration, e data-test-subj="durationDays" value={moment.duration(duration).days()} append={DAYS_UNIT_LABEL} + onChange={(e) => setSyncFrequency(type, e.target.value, 'days')} />
@@ -114,6 +128,7 @@ export const FrequencyItem: React.FC = ({ label, description, duration, e data-test-subj="durationHours" value={moment.duration(duration).hours()} append={HOURS_UNIT_LABEL} + onChange={(e) => setSyncFrequency(type, e.target.value, 'hours')} /> @@ -121,6 +136,7 @@ export const FrequencyItem: React.FC = ({ label, description, duration, e data-test-subj="durationMinutes" value={moment.duration(duration).minutes()} append={MINUTES_UNIT_LABEL} + onChange={(e) => setSyncFrequency(type, e.target.value, 'minutes')} /> diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/objects_and_assets.test.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/objects_and_assets.test.tsx index 42a08084db418..ee865e4c7c4ea 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/objects_and_assets.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/objects_and_assets.test.tsx @@ -21,14 +21,14 @@ import { ObjectsAndAssets } from './objects_and_assets'; describe('ObjectsAndAssets', () => { const setThumbnailsChecked = jest.fn(); const setContentExtractionChecked = jest.fn(); - const updateSyncSettings = jest.fn(); + const updateObjectsAndAssetsSettings = jest.fn(); const resetSyncSettings = jest.fn(); const contentSource = fullContentSources[0]; const mockActions = { setThumbnailsChecked, setContentExtractionChecked, - updateSyncSettings, + updateObjectsAndAssetsSettings, resetSyncSettings, }; const mockValues = { diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/objects_and_assets.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/objects_and_assets.tsx index 98abdb8bf67ea..d59c812d9ffa0 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/objects_and_assets.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/objects_and_assets.tsx @@ -47,7 +47,7 @@ export const ObjectsAndAssets: React.FC = () => { const { setThumbnailsChecked, setContentExtractionChecked, - updateSyncSettings, + updateObjectsAndAssetsSettings, resetSyncSettings, } = useActions(SynchronizationLogic({ contentSource })); @@ -61,7 +61,11 @@ export const ObjectsAndAssets: React.FC = () => { - + {SAVE_BUTTON_LABEL} diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/sync_frequency_tab.test.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/sync_frequency_tab.test.tsx index 6c382b0addab8..c85f2df1adb03 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/sync_frequency_tab.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/sync_frequency_tab.test.tsx @@ -22,9 +22,12 @@ describe('SyncFrequency', () => { const sourceWithNoDLP = cloneDeep(contentSource); sourceWithNoDLP.indexing.schedule.permissions = undefined as any; sourceWithNoDLP.indexing.schedule.estimates.permissions = undefined as any; + const { + indexing: { schedule }, + } = contentSource; it('renders with DLP', () => { - setMockValues({ contentSource }); + setMockValues({ contentSource, schedule }); const wrapper = shallow(); expect(wrapper.find(FrequencyItem)).toHaveLength(4); @@ -32,7 +35,7 @@ describe('SyncFrequency', () => { it('renders without DLP', () => { setMockValues({ - contentSource: sourceWithNoDLP, + schedule: sourceWithNoDLP.indexing.schedule, }); const wrapper = shallow(); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/sync_frequency_tab.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/sync_frequency_tab.tsx index 2a0ccb1fdb2c9..4e79f22977855 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/sync_frequency_tab.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/sync_frequency_tab.tsx @@ -24,31 +24,30 @@ import { import { SourceLogic } from '../../source_logic'; import { FrequencyItem } from './frequency_item'; +import { SynchronizationLogic } from './synchronization_logic'; export const SyncFrequency: React.FC = () => { + const { contentSource } = useValues(SourceLogic); const { - contentSource: { - indexing: { - schedule: { - full: fullDuration, - incremental: incrementalDuration, - delete: deleteDuration, - permissions: permissionsDuration, - estimates: { - full: fullEstimate, - incremental: incrementalEstimate, - delete: deleteEstimate, - permissions: permissionsEstimate, - }, - }, + schedule: { + full: fullDuration, + incremental: incrementalDuration, + delete: deleteDuration, + permissions: permissionsDuration, + estimates: { + full: fullEstimate, + incremental: incrementalEstimate, + delete: deleteEstimate, + permissions: permissionsEstimate, }, }, - } = useValues(SourceLogic); + } = useValues(SynchronizationLogic({ contentSource })); return ( <> { /> { /> { <> { const defaultValues = { navigatingBetweenTabs: false, hasUnsavedObjectsAndAssetsChanges: false, - hasUnsavedFrequencyChanges: true, + hasUnsavedFrequencyChanges: false, contentExtractionChecked: true, thumbnailsChecked: true, blockedWindows: [], @@ -83,6 +83,35 @@ describe('SynchronizationLogic', () => { expect(SynchronizationLogic.values.contentExtractionChecked).toEqual(false); }); + + it('resetSyncSettings', () => { + SynchronizationLogic.actions.setContentExtractionChecked(false); + SynchronizationLogic.actions.setThumbnailsChecked(false); + SynchronizationLogic.actions.resetSyncSettings(); + + expect(SynchronizationLogic.values.thumbnailsChecked).toEqual(true); + expect(SynchronizationLogic.values.contentExtractionChecked).toEqual(true); + }); + + describe('setSyncFrequency', () => { + it('sets "days"', () => { + SynchronizationLogic.actions.setSyncFrequency('full', '1', 'days'); + + expect(SynchronizationLogic.values.schedule.full).toEqual('P1D'); + }); + + it('sets "hours"', () => { + SynchronizationLogic.actions.setSyncFrequency('full', '10', 'hours'); + + expect(SynchronizationLogic.values.schedule.full).toEqual('P1DT10H'); + }); + + it('sets "minutes"', () => { + SynchronizationLogic.actions.setSyncFrequency('full', '30', 'minutes'); + + expect(SynchronizationLogic.values.schedule.full).toEqual('P1DT30M'); + }); + }); }); describe('listeners', () => { @@ -110,103 +139,91 @@ describe('SynchronizationLogic', () => { }); describe('updateSyncEnabled', () => { - it('calls API and sets values for false value', async () => { - const setContentSourceSpy = jest.spyOn(SourceLogic.actions, 'setContentSource'); - const promise = Promise.resolve(contentSource); - http.patch.mockReturnValue(promise); + it('calls updateServerSettings method', async () => { + const updateServerSettingsSpy = jest.spyOn( + SynchronizationLogic.actions, + 'updateServerSettings' + ); SynchronizationLogic.actions.updateSyncEnabled(false); - expect(http.patch).toHaveBeenCalledWith( - '/internal/workplace_search/org/sources/123/settings', - { - body: JSON.stringify({ - content_source: { - indexing: { enabled: false }, - }, - }), - } - ); - await promise; - expect(setContentSourceSpy).toHaveBeenCalledWith(contentSource); - expect(flashSuccessToast).toHaveBeenCalledWith('Source synchronization disabled.'); + expect(updateServerSettingsSpy).toHaveBeenCalledWith({ + content_source: { + indexing: { enabled: false }, + }, + }); }); + }); - it('calls API and sets values for true value', async () => { - const promise = Promise.resolve(contentSource); - http.patch.mockReturnValue(promise); - SynchronizationLogic.actions.updateSyncEnabled(true); - - expect(http.patch).toHaveBeenCalledWith( - '/internal/workplace_search/org/sources/123/settings', - { - body: JSON.stringify({ - content_source: { - indexing: { enabled: true }, - }, - }), - } + describe('updateObjectsAndAssetsSettings', () => { + it('calls updateServerSettings method', async () => { + const updateServerSettingsSpy = jest.spyOn( + SynchronizationLogic.actions, + 'updateServerSettings' ); - await promise; - expect(flashSuccessToast).toHaveBeenCalledWith('Source synchronization enabled.'); - }); - - it('handles error', async () => { - const error = { - response: { - error: 'this is an error', - status: 400, + SynchronizationLogic.actions.updateObjectsAndAssetsSettings(); + + expect(updateServerSettingsSpy).toHaveBeenCalledWith({ + content_source: { + indexing: { + features: { + content_extraction: { enabled: true }, + thumbnails: { enabled: true }, + }, + }, }, - }; - const promise = Promise.reject(error); - http.patch.mockReturnValue(promise); - SynchronizationLogic.actions.updateSyncEnabled(false); - await expectedAsyncError(promise); - - expect(flashAPIErrors).toHaveBeenCalledWith(error); + }); }); }); - describe('resetSyncSettings', () => { - it('calls methods', async () => { - const setThumbnailsCheckedSpy = jest.spyOn( + describe('updateFrequencySettings', () => { + it('calls updateServerSettings method', async () => { + const updateServerSettingsSpy = jest.spyOn( SynchronizationLogic.actions, - 'setThumbnailsChecked' + 'updateServerSettings' ); - const setContentExtractionCheckedSpy = jest.spyOn( - SynchronizationLogic.actions, - 'setContentExtractionChecked' - ); - SynchronizationLogic.actions.resetSyncSettings(); - - expect(setThumbnailsCheckedSpy).toHaveBeenCalledWith(true); - expect(setContentExtractionCheckedSpy).toHaveBeenCalledWith(true); + SynchronizationLogic.actions.updateFrequencySettings(); + + expect(updateServerSettingsSpy).toHaveBeenCalledWith({ + content_source: { + indexing: { + schedule: { + full: 'P1D', + incremental: 'PT2H', + delete: 'PT10M', + }, + }, + }, + }); }); }); - describe('updateSyncSettings', () => { + describe('updateServerSettings', () => { + const body = { + content_source: { + indexing: { + features: { + content_extraction: { enabled: true }, + thumbnails: { enabled: true }, + }, + }, + }, + }; it('calls API and sets values', async () => { const setContentSourceSpy = jest.spyOn(SourceLogic.actions, 'setContentSource'); + const setServerScheduleSpy = jest.spyOn(SynchronizationLogic.actions, 'setServerSchedule'); const promise = Promise.resolve(contentSource); http.patch.mockReturnValue(promise); - SynchronizationLogic.actions.updateSyncSettings(); + SynchronizationLogic.actions.updateServerSettings(body); expect(http.patch).toHaveBeenCalledWith( '/internal/workplace_search/org/sources/123/settings', { - body: JSON.stringify({ - content_source: { - indexing: { - features: { - content_extraction: { enabled: true }, - thumbnails: { enabled: true }, - }, - }, - }, - }), + body: JSON.stringify(body), } ); await promise; expect(setContentSourceSpy).toHaveBeenCalledWith(contentSource); + expect(setServerScheduleSpy).toHaveBeenCalledWith(contentSource.indexing.schedule); expect(flashSuccessToast).toHaveBeenCalledWith('Source synchronization settings updated.'); }); @@ -219,7 +236,7 @@ describe('SynchronizationLogic', () => { }; const promise = Promise.reject(error); http.patch.mockReturnValue(promise); - SynchronizationLogic.actions.updateSyncSettings(); + SynchronizationLogic.actions.updateServerSettings(body); await expectedAsyncError(promise); expect(flashAPIErrors).toHaveBeenCalledWith(error); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_logic.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_logic.ts index 3aaa7f5fdfbf3..95dbb8c75fce4 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_logic.ts @@ -20,24 +20,54 @@ import { BLOCKED_TIME_WINDOWS_PATH, getContentSourcePath, } from '../../../../routes'; -import { BlockedWindow, IndexingSchedule } from '../../../../types'; +import { BlockedWindow, IndexingSchedule, SyncJobType, TimeUnit } from '../../../../types'; -import { - SYNC_ENABLED_MESSAGE, - SYNC_DISABLED_MESSAGE, - SYNC_SETTINGS_UPDATED_MESSAGE, -} from '../../constants'; +import { SYNC_SETTINGS_UPDATED_MESSAGE } from '../../constants'; import { SourceLogic } from '../../source_logic'; +interface ServerBlockedWindow { + job_type: string; + day: string; + start: string; + end: string; +} + +interface ServerSyncSettingsBody { + content_source: { + indexing: { + enabled?: boolean; + features?: { + content_extraction: { enabled: boolean }; + thumbnails: { enabled: boolean }; + }; + schedule?: { + full: string; + incremental: string; + delete: string; + permissions?: string; + blocked_windows?: ServerBlockedWindow[]; + }; + }; + }; +} + interface SynchronizationActions { setNavigatingBetweenTabs(navigatingBetweenTabs: boolean): boolean; handleSelectedTabChanged(tabId: TabId): TabId; addBlockedWindow(): void; - updateSyncSettings(): void; + updateFrequencySettings(): void; + updateObjectsAndAssetsSettings(): void; resetSyncSettings(): void; updateSyncEnabled(enabled: boolean): boolean; setThumbnailsChecked(checked: boolean): boolean; + setSyncFrequency( + type: SyncJobType, + value: string, + unit: TimeUnit + ): { type: SyncJobType; value: number; unit: TimeUnit }; setContentExtractionChecked(checked: boolean): boolean; + setServerSchedule(schedule: IndexingSchedule): IndexingSchedule; + updateServerSettings(body: ServerSyncSettingsBody): ServerSyncSettingsBody; } interface SynchronizationValues { @@ -67,8 +97,16 @@ export const SynchronizationLogic = kea< handleSelectedTabChanged: (tabId: TabId) => tabId, updateSyncEnabled: (enabled: boolean) => enabled, setThumbnailsChecked: (checked: boolean) => checked, + setSyncFrequency: (type: SyncJobType, value: string, unit: TimeUnit) => ({ + type, + value, + unit, + }), setContentExtractionChecked: (checked: boolean) => checked, - updateSyncSettings: true, + updateServerSettings: (body: ServerSyncSettingsBody) => body, + setServerSchedule: (schedule: IndexingSchedule) => schedule, + updateFrequencySettings: true, + updateObjectsAndAssetsSettings: true, resetSyncSettings: true, addBlockedWindow: true, }, @@ -89,16 +127,57 @@ export const SynchronizationLogic = kea< props.contentSource.indexing.features.thumbnails.enabled, { setThumbnailsChecked: (_, thumbnailsChecked) => thumbnailsChecked, + resetSyncSettings: () => props.contentSource.indexing.features.thumbnails.enabled, }, ], contentExtractionChecked: [ props.contentSource.indexing.features.contentExtraction.enabled, { setContentExtractionChecked: (_, contentExtractionChecked) => contentExtractionChecked, + resetSyncSettings: () => props.contentSource.indexing.features.contentExtraction.enabled, + }, + ], + cachedSchedule: [ + stripScheduleSeconds(props.contentSource.indexing.schedule), + { + setServerSchedule: (_, schedule) => schedule, + }, + ], + schedule: [ + stripScheduleSeconds(props.contentSource.indexing.schedule), + { + resetSyncSettings: () => stripScheduleSeconds(props.contentSource.indexing.schedule), + setServerSchedule: (_, schedule) => schedule, + setSyncFrequency: (state, { type, value, unit }) => { + let currentValue; + const schedule = cloneDeep(state); + const duration = schedule[type]; + + switch (unit) { + case 'days': + currentValue = moment.duration(duration).days(); + break; + case 'hours': + currentValue = moment.duration(duration).hours(); + break; + default: + currentValue = moment.duration(duration).minutes(); + break; + } + + // momentJS doesn't seem to have a way to simply set the minutes/hours/days, so we have + // to subtract the current value and then add the new value. + // https://momentjs.com/docs/#/durations/ + schedule[type] = moment + .duration(duration) + .subtract(currentValue, unit) + .add(value, unit) + .toISOString(); + + return schedule; + }, }, ], - cachedSchedule: [stripScheduleSeconds(props.contentSource.indexing.schedule)], - schedule: [stripScheduleSeconds(props.contentSource.indexing.schedule)], }), selectors: ({ selectors }) => ({ hasUnsavedObjectsAndAssetsChanges: [ @@ -125,7 +204,7 @@ export const SynchronizationLogic = kea< ], hasUnsavedFrequencyChanges: [ () => [selectors.cachedSchedule, selectors.schedule], - (cachedSchedule, schedule) => isEqual(cachedSchedule, schedule), + (cachedSchedule, schedule) => !isEqual(cachedSchedule, schedule), ], }), listeners: ({ actions, values, props }) => ({ @@ -149,46 +228,48 @@ export const SynchronizationLogic = kea< actions.setNavigatingBetweenTabs(false); }, updateSyncEnabled: async (enabled) => { - const { id: sourceId } = props.contentSource; - const route = `/internal/workplace_search/org/sources/${sourceId}/settings`; - const successMessage = enabled ? SYNC_ENABLED_MESSAGE : SYNC_DISABLED_MESSAGE; - - try { - const response = await HttpLogic.values.http.patch(route, { - body: JSON.stringify({ content_source: { indexing: { enabled } } }), - }); - - SourceLogic.actions.setContentSource(response); - flashSuccessToast(successMessage); - } catch (e) { - flashAPIErrors(e); - } + actions.updateServerSettings({ + content_source: { + indexing: { enabled }, + }, + }); }, - resetSyncSettings: () => { - actions.setThumbnailsChecked(props.contentSource.indexing.features.thumbnails.enabled); - actions.setContentExtractionChecked( - props.contentSource.indexing.features.contentExtraction.enabled - ); + updateObjectsAndAssetsSettings: () => { + actions.updateServerSettings({ + content_source: { + indexing: { + features: { + content_extraction: { enabled: values.contentExtractionChecked }, + thumbnails: { enabled: values.thumbnailsChecked }, + }, + }, + }, + }); + }, + updateFrequencySettings: () => { + actions.updateServerSettings({ + content_source: { + indexing: { + schedule: { + full: values.schedule.full, + incremental: values.schedule.incremental, + delete: values.schedule.delete, + }, + }, + }, + }); }, - updateSyncSettings: async () => { + updateServerSettings: async (body: ServerSyncSettingsBody) => { const { id: sourceId } = props.contentSource; const route = `/internal/workplace_search/org/sources/${sourceId}/settings`; try { const response = await HttpLogic.values.http.patch(route, { - body: JSON.stringify({ - content_source: { - indexing: { - features: { - content_extraction: { enabled: values.contentExtractionChecked }, - thumbnails: { enabled: values.thumbnailsChecked }, - }, - }, - }, - }), + body: JSON.stringify(body), }); SourceLogic.actions.setContentSource(response); + SynchronizationLogic.actions.setServerSchedule(response.indexing.schedule); flashSuccessToast(SYNC_SETTINGS_UPDATED_MESSAGE); } catch (e) { flashAPIErrors(e); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/constants.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/constants.ts index 1f76d667949fb..91e32834f3fbd 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/constants.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/constants.ts @@ -705,20 +705,6 @@ export const BLOCKED_EMPTY_STATE_DESCRIPTION = i18n.translate( } ); -export const SYNC_ENABLED_MESSAGE = i18n.translate( - 'xpack.enterpriseSearch.workplaceSearch.sources.syncEnabledMessage', - { - defaultMessage: 'Source synchronization enabled.', - } -); - -export const SYNC_DISABLED_MESSAGE = i18n.translate( - 'xpack.enterpriseSearch.workplaceSearch.sources.syncDisabledMessage', - { - defaultMessage: 'Source synchronization disabled.', - } -); - export const SYNC_SETTINGS_UPDATED_MESSAGE = i18n.translate( 'xpack.enterpriseSearch.workplaceSearch.sources.syncSettingsUpdatedMessage', { diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts b/x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts index 69a6470b5b9ce..660294a5e1ddd 100644 --- a/x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts +++ b/x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts @@ -79,6 +79,10 @@ const sourceSettingsSchema = schema.object({ ), schedule: schema.maybe( schema.object({ + full: schema.maybe(schema.string()), + incremental: schema.maybe(schema.string()), + delete: schema.maybe(schema.string()), + permissions: schema.maybe(schema.string()), blocked_windows: schema.maybe( schema.arrayOf( schema.object({ From 329b79f83523ebe0a5bf26b102145b76d191eb01 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 12 Oct 2021 16:07:50 -0400 Subject: [PATCH 078/107] [Fleet] Handle existing default output in preconfiguration output service (#114631) (#114697) Co-authored-by: Nicolas Chaulet --- .../server/services/preconfiguration.test.ts | 64 +++++++++++++++++++ .../fleet/server/services/preconfiguration.ts | 16 ++++- 2 files changed, 78 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/fleet/server/services/preconfiguration.test.ts b/x-pack/plugins/fleet/server/services/preconfiguration.test.ts index d0ae995358632..102b059515151 100644 --- a/x-pack/plugins/fleet/server/services/preconfiguration.test.ts +++ b/x-pack/plugins/fleet/server/services/preconfiguration.test.ts @@ -503,6 +503,8 @@ describe('output preconfiguration', () => { beforeEach(() => { mockedOutputService.create.mockReset(); mockedOutputService.update.mockReset(); + mockedOutputService.delete.mockReset(); + mockedOutputService.getDefaultOutputId.mockReset(); mockedOutputService.getDefaultESHosts.mockReturnValue(['http://default-es:9200']); mockedOutputService.bulkGet.mockImplementation(async (soClient, id): Promise => { return [ @@ -537,6 +539,26 @@ describe('output preconfiguration', () => { expect(spyAgentPolicyServicBumpAllAgentPoliciesForOutput).not.toBeCalled(); }); + it('should delete existing default output if a new preconfigured output is added', async () => { + const soClient = savedObjectsClientMock.create(); + const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; + mockedOutputService.getDefaultOutputId.mockResolvedValue('default-output-123'); + await ensurePreconfiguredOutputs(soClient, esClient, [ + { + id: 'non-existing-default-output-1', + name: 'Output 1', + type: 'elasticsearch', + is_default: true, + hosts: ['http://test.fr'], + }, + ]); + + expect(mockedOutputService.delete).toBeCalled(); + expect(mockedOutputService.create).toBeCalled(); + expect(mockedOutputService.update).not.toBeCalled(); + expect(spyAgentPolicyServicBumpAllAgentPoliciesForOutput).not.toBeCalled(); + }); + it('should set default hosts if hosts is not set output that does not exists', async () => { const soClient = savedObjectsClientMock.create(); const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; @@ -572,6 +594,48 @@ describe('output preconfiguration', () => { expect(spyAgentPolicyServicBumpAllAgentPoliciesForOutput).toBeCalled(); }); + it('should delete default output if preconfigured output exists and another default output exists', async () => { + const soClient = savedObjectsClientMock.create(); + const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; + soClient.find.mockResolvedValue({ saved_objects: [], page: 0, per_page: 0, total: 0 }); + mockedOutputService.getDefaultOutputId.mockResolvedValue('default-123'); + await ensurePreconfiguredOutputs(soClient, esClient, [ + { + id: 'existing-output-1', + is_default: true, + name: 'Output 1', + type: 'elasticsearch', + hosts: ['http://newhostichanged.co:9201'], // field that changed + }, + ]); + + expect(mockedOutputService.delete).toBeCalled(); + expect(mockedOutputService.create).not.toBeCalled(); + expect(mockedOutputService.update).toBeCalled(); + expect(spyAgentPolicyServicBumpAllAgentPoliciesForOutput).toBeCalled(); + }); + + it('should not delete default output if preconfigured default output exists and changed', async () => { + const soClient = savedObjectsClientMock.create(); + const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; + soClient.find.mockResolvedValue({ saved_objects: [], page: 0, per_page: 0, total: 0 }); + mockedOutputService.getDefaultOutputId.mockResolvedValue('existing-output-1'); + await ensurePreconfiguredOutputs(soClient, esClient, [ + { + id: 'existing-output-1', + is_default: true, + name: 'Output 1', + type: 'elasticsearch', + hosts: ['http://newhostichanged.co:9201'], // field that changed + }, + ]); + + expect(mockedOutputService.delete).not.toBeCalled(); + expect(mockedOutputService.create).not.toBeCalled(); + expect(mockedOutputService.update).toBeCalled(); + expect(spyAgentPolicyServicBumpAllAgentPoliciesForOutput).toBeCalled(); + }); + const SCENARIOS: Array<{ name: string; data: PreconfiguredOutput }> = [ { name: 'no changes', diff --git a/x-pack/plugins/fleet/server/services/preconfiguration.ts b/x-pack/plugins/fleet/server/services/preconfiguration.ts index a444f8bdaa4da..a878af64aa05e 100644 --- a/x-pack/plugins/fleet/server/services/preconfiguration.ts +++ b/x-pack/plugins/fleet/server/services/preconfiguration.ts @@ -95,9 +95,21 @@ export async function ensurePreconfiguredOutputs( data.hosts = outputService.getDefaultESHosts(); } - if (!existingOutput) { + const isCreate = !existingOutput; + const isUpdateWithNewData = + existingOutput && isPreconfiguredOutputDifferentFromCurrent(existingOutput, data); + // If a default output already exists, delete it in favor of the preconfigured one + if (isCreate || isUpdateWithNewData) { + const defaultOutputId = await outputService.getDefaultOutputId(soClient); + + if (defaultOutputId && defaultOutputId !== output.id) { + await outputService.delete(soClient, defaultOutputId); + } + } + + if (isCreate) { await outputService.create(soClient, data, { id, overwrite: true }); - } else if (isPreconfiguredOutputDifferentFromCurrent(existingOutput, data)) { + } else if (isUpdateWithNewData) { await outputService.update(soClient, id, data); // Bump revision of all policies using that output if (outputData.is_default) { From 13d5559e53e2abc44dffaeb26642b3b7fd5835af Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 12 Oct 2021 16:17:05 -0400 Subject: [PATCH 079/107] Move interval help text to be a tooltip on the datepicker (#108761) (#114702) * moving interval help text as a tooltip on the datepicker * [Metrics UI] Refactor Snapshot data for use in FilterBar Co-authored-by: Chris Cowan Co-authored-by: Kate Farrar Co-authored-by: Chris Cowan --- .../inventory_view/components/filter_bar.tsx | 4 +- .../inventory_view/components/layout.tsx | 43 ++++++------------- .../inventory_view/components/layout_view.tsx | 12 +++++- .../components/snapshot_container.tsx | 43 +++++++++++++++++++ .../waffle/waffle_time_controls.tsx | 38 ++++++++++------ .../pages/metrics/inventory_view/index.tsx | 16 ++++++- 6 files changed, 106 insertions(+), 50 deletions(-) create mode 100644 x-pack/plugins/infra/public/pages/metrics/inventory_view/components/snapshot_container.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/filter_bar.tsx b/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/filter_bar.tsx index f29f87191bc13..deef63892ac95 100644 --- a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/filter_bar.tsx +++ b/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/filter_bar.tsx @@ -11,13 +11,13 @@ import React from 'react'; import { WaffleTimeControls } from './waffle/waffle_time_controls'; import { SearchBar } from './search_bar'; -export const FilterBar = () => ( +export const FilterBar = ({ interval }: { interval: string }) => ( - + ); diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/layout.tsx b/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/layout.tsx index f241f5d118147..de0a56c5be73d 100644 --- a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/layout.tsx +++ b/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/layout.tsx @@ -9,13 +9,12 @@ import React, { useCallback, useEffect, useState } from 'react'; import useInterval from 'react-use/lib/useInterval'; import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; +import { SnapshotNode } from '../../../../../common/http_api'; import { SavedView } from '../../../../containers/saved_view/saved_view'; import { AutoSizer } from '../../../../components/auto_sizer'; -import { convertIntervalToString } from '../../../../utils/convert_interval_to_string'; import { NodesOverview } from './nodes_overview'; import { calculateBoundsFromNodes } from '../lib/calculate_bounds_from_nodes'; import { PageContent } from '../../../../components/page'; -import { useSnapshot } from '../hooks/use_snaphot'; import { useWaffleTimeContext } from '../hooks/use_waffle_time'; import { useWaffleFiltersContext } from '../hooks/use_waffle_filters'; import { DEFAULT_LEGEND, useWaffleOptionsContext } from '../hooks/use_waffle_options'; @@ -24,30 +23,30 @@ import { InfraFormatterType } from '../../../../lib/lib'; import { euiStyled } from '../../../../../../../../src/plugins/kibana_react/common'; import { Toolbar } from './toolbars/toolbar'; import { ViewSwitcher } from './waffle/view_switcher'; -import { IntervalLabel } from './waffle/interval_label'; import { createInventoryMetricFormatter } from '../lib/create_inventory_metric_formatter'; import { createLegend } from '../lib/create_legend'; import { useWaffleViewState } from '../hooks/use_waffle_view_state'; import { BottomDrawer } from './bottom_drawer'; import { Legend } from './waffle/legend'; +interface Props { + shouldLoadDefault: boolean; + currentView: SavedView | null; + reload: () => Promise; + interval: string; + nodes: SnapshotNode[]; + loading: boolean; +} + export const Layout = React.memo( - ({ - shouldLoadDefault, - currentView, - }: { - shouldLoadDefault: boolean; - currentView: SavedView | null; - }) => { + ({ shouldLoadDefault, currentView, reload, interval, nodes, loading }: Props) => { const [showLoading, setShowLoading] = useState(true); - const { sourceId, source } = useSourceContext(); + const { source } = useSourceContext(); const { metric, groupBy, sort, nodeType, - accountId, - region, changeView, view, autoBounds, @@ -55,19 +54,7 @@ export const Layout = React.memo( legend, } = useWaffleOptionsContext(); const { currentTime, jumpToTime, isAutoReloading } = useWaffleTimeContext(); - const { filterQueryAsJson, applyFilterQuery } = useWaffleFiltersContext(); - const { loading, nodes, reload, interval } = useSnapshot( - filterQueryAsJson, - [metric], - groupBy, - nodeType, - sourceId, - currentTime, - accountId, - region, - false - ); - + const { applyFilterQuery } = useWaffleFiltersContext(); const legendPalette = legend?.palette ?? DEFAULT_LEGEND.palette; const legendSteps = legend?.steps ?? DEFAULT_LEGEND.steps; const legendReverseColors = legend?.reverseColors ?? DEFAULT_LEGEND.reverseColors; @@ -91,7 +78,6 @@ export const Layout = React.memo( isAutoReloading ? 5000 : null ); - const intervalAsString = convertIntervalToString(interval); const dataBounds = calculateBoundsFromNodes(nodes); const bounds = autoBounds ? dataBounds : boundsOverride; /* eslint-disable-next-line react-hooks/exhaustive-deps */ @@ -151,9 +137,6 @@ export const Layout = React.memo( gutterSize="m" > - - - diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/layout_view.tsx b/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/layout_view.tsx index 1e66fe22ac45e..af9c9ab5e2b30 100644 --- a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/layout_view.tsx +++ b/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/layout_view.tsx @@ -6,10 +6,18 @@ */ import React from 'react'; +import { SnapshotNode } from '../../../../../common/http_api'; import { useSavedViewContext } from '../../../../containers/saved_view/saved_view'; import { Layout } from './layout'; -export const LayoutView = () => { +interface Props { + reload: () => Promise; + interval: string; + nodes: SnapshotNode[]; + loading: boolean; +} + +export const LayoutView = (props: Props) => { const { shouldLoadDefault, currentView } = useSavedViewContext(); - return ; + return ; }; diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/snapshot_container.tsx b/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/snapshot_container.tsx new file mode 100644 index 0000000000000..e64e79c99f6fc --- /dev/null +++ b/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/snapshot_container.tsx @@ -0,0 +1,43 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { useSourceContext } from '../../../../containers/metrics_source'; +import { SnapshotNode } from '../../../../../common/http_api'; +import { useSnapshot } from '../hooks/use_snaphot'; +import { useWaffleFiltersContext } from '../hooks/use_waffle_filters'; +import { useWaffleOptionsContext } from '../hooks/use_waffle_options'; +import { useWaffleTimeContext } from '../hooks/use_waffle_time'; + +interface RenderProps { + reload: () => Promise; + interval: string; + nodes: SnapshotNode[]; + loading: boolean; +} + +interface Props { + render: React.FC; +} +export const SnapshotContainer = ({ render }: Props) => { + const { sourceId } = useSourceContext(); + const { metric, groupBy, nodeType, accountId, region } = useWaffleOptionsContext(); + const { currentTime } = useWaffleTimeContext(); + const { filterQueryAsJson } = useWaffleFiltersContext(); + const { loading, nodes, reload, interval } = useSnapshot( + filterQueryAsJson, + [metric], + groupBy, + nodeType, + sourceId, + currentTime, + accountId, + region, + false + ); + return render({ loading, nodes, reload, interval }); +}; diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_time_controls.tsx b/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_time_controls.tsx index 39150a98c2e89..7ac618987b422 100644 --- a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_time_controls.tsx +++ b/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_time_controls.tsx @@ -5,22 +5,25 @@ * 2.0. */ -import { EuiButton, EuiDatePicker, EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; +import { EuiButton, EuiDatePicker, EuiFlexGroup, EuiFlexItem, EuiToolTip } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n/react'; import moment, { Moment } from 'moment'; import React, { useCallback } from 'react'; +import { convertIntervalToString } from '../../../../../utils/convert_interval_to_string'; import { withTheme, EuiTheme } from '../../../../../../../../../src/plugins/kibana_react/common'; import { useWaffleTimeContext } from '../../hooks/use_waffle_time'; interface Props { theme: EuiTheme | undefined; + interval: string; } -export const WaffleTimeControls = withTheme(({ theme }: Props) => { +export const WaffleTimeControls = withTheme(({ interval }: Props) => { const { currentTime, isAutoReloading, startAutoReload, stopAutoReload, jumpToTime } = useWaffleTimeContext(); const currentMoment = moment(currentTime); + const intervalAsString = convertIntervalToString(interval); const liveStreamingButton = isAutoReloading ? ( @@ -50,18 +53,25 @@ export const WaffleTimeControls = withTheme(({ theme }: Props) => { return ( - + + + {liveStreamingButton} diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/index.tsx b/x-pack/plugins/infra/public/pages/metrics/inventory_view/index.tsx index 67e39a11c12e7..87765088d6343 100644 --- a/x-pack/plugins/infra/public/pages/metrics/inventory_view/index.tsx +++ b/x-pack/plugins/infra/public/pages/metrics/inventory_view/index.tsx @@ -26,6 +26,7 @@ import { euiStyled } from '../../../../../../../src/plugins/kibana_react/common' import { APP_WRAPPER_CLASS } from '../../../../../../../src/core/public'; import { inventoryTitle } from '../../../translations'; import { SavedViews } from './components/saved_views'; +import { SnapshotContainer } from './components/snapshot_container'; export const SnapshotPage = () => { const { @@ -78,8 +79,19 @@ export const SnapshotPage = () => { paddingSize: 'none', }} > - - + ( + <> + + + + )} + /> From 6bdb4100c632ba5d62f3fac7b5132716fb534a53 Mon Sep 17 00:00:00 2001 From: Nathan L Smith Date: Tue, 12 Oct 2021 15:43:33 -0500 Subject: [PATCH 080/107] Fix GC time calculation (#113992) (#114630) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Was in µs. Corrected to be in ms. Also use correct duration formatting on the GC time chart and time spent by dependency chart. # Conflicts: # x-pack/plugins/apm/public/components/shared/charts/metrics_chart/index.tsx Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../shared/charts/breakdown_chart/index.tsx | 12 +- .../shared/charts/metrics_chart/index.tsx | 16 +- .../gc/fetch_and_transform_gc_metrics.test.ts | 133 ++++++++ .../java/gc/fetch_and_transform_gc_metrics.ts | 9 +- .../tests/metrics_charts/metrics_charts.ts | 316 +++++++++--------- 5 files changed, 317 insertions(+), 169 deletions(-) create mode 100644 x-pack/plugins/apm/server/lib/metrics/by_agent/java/gc/fetch_and_transform_gc_metrics.test.ts diff --git a/x-pack/plugins/apm/public/components/shared/charts/breakdown_chart/index.tsx b/x-pack/plugins/apm/public/components/shared/charts/breakdown_chart/index.tsx index 0c5cbef390a3f..16157071affcd 100644 --- a/x-pack/plugins/apm/public/components/shared/charts/breakdown_chart/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/charts/breakdown_chart/index.tsx @@ -28,8 +28,8 @@ import { Annotation } from '../../../../../common/annotations'; import { useChartTheme } from '../../../../../../observability/public'; import { asAbsoluteDateTime, - asDuration, asPercent, + getDurationFormatter, } from '../../../../../common/utils/formatters'; import { Coordinate, TimeSeries } from '../../../../../typings/timeseries'; import { useChartPointerEventContext } from '../../../../context/chart_pointer_event/use_chart_pointer_event_context'; @@ -40,6 +40,10 @@ import { ChartContainer } from '../../charts/chart_container'; import { isTimeseriesEmpty, onBrushEnd } from '../../charts/helper/helper'; import { useApmParams } from '../../../../hooks/use_apm_params'; import { useTimeRange } from '../../../../hooks/use_time_range'; +import { + getMaxY, + getResponseTimeTickFormatter, +} from '../../../shared/charts/transaction_charts/helper'; interface Props { fetchStatus: FETCH_STATUS; @@ -51,7 +55,6 @@ interface Props { } const asPercentBound = (y: number | null) => asPercent(y, 1); -const asDurationBound = (y: number | null) => asDuration(y); export function BreakdownChart({ fetchStatus, @@ -83,8 +86,11 @@ export function BreakdownChart({ const isEmpty = isTimeseriesEmpty(timeseries); + const maxY = getMaxY(timeseries); const yTickFormat: TickFormatter = - yAxisType === 'duration' ? asDurationBound : asPercentBound; + yAxisType === 'duration' + ? getResponseTimeTickFormatter(getDurationFormatter(maxY)) + : asPercentBound; return ( diff --git a/x-pack/plugins/apm/public/components/shared/charts/metrics_chart/index.tsx b/x-pack/plugins/apm/public/components/shared/charts/metrics_chart/index.tsx index 048e7c22d6994..9f437a95e7dd9 100644 --- a/x-pack/plugins/apm/public/components/shared/charts/metrics_chart/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/charts/metrics_chart/index.tsx @@ -9,9 +9,9 @@ import { EuiTitle } from '@elastic/eui'; import React from 'react'; import { asDecimal, - asDuration, asInteger, asPercent, + getDurationFormatter, getFixedByteFormatter, } from '../../../../../common/utils/formatters'; // eslint-disable-next-line @kbn/eslint/no-restricted-paths @@ -19,22 +19,24 @@ import { GenericMetricsChart } from '../../../../../server/lib/metrics/transform import { Maybe } from '../../../../../typings/common'; import { FETCH_STATUS } from '../../../../hooks/use_fetcher'; import { TimeseriesChart } from '../timeseries_chart'; +import { + getMaxY, + getResponseTimeTickFormatter, +} from '../transaction_charts/helper'; function getYTickFormatter(chart: GenericMetricsChart) { + const max = getMaxY(chart.series); + switch (chart.yUnit) { case 'bytes': { - const max = Math.max( - ...chart.series.flatMap((series) => - series.data.map((coord) => coord.y || 0) - ) - ); return getFixedByteFormatter(max); } case 'percent': { return (y: Maybe) => asPercent(y || 0, 1); } case 'time': { - return asDuration; + const durationFormatter = getDurationFormatter(max); + return getResponseTimeTickFormatter(durationFormatter); } case 'integer': { return asInteger; diff --git a/x-pack/plugins/apm/server/lib/metrics/by_agent/java/gc/fetch_and_transform_gc_metrics.test.ts b/x-pack/plugins/apm/server/lib/metrics/by_agent/java/gc/fetch_and_transform_gc_metrics.test.ts new file mode 100644 index 0000000000000..c22c326473e2c --- /dev/null +++ b/x-pack/plugins/apm/server/lib/metrics/by_agent/java/gc/fetch_and_transform_gc_metrics.test.ts @@ -0,0 +1,133 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { + METRIC_JAVA_GC_COUNT, + METRIC_JAVA_GC_TIME, +} from '../../../../../../common/elasticsearch_fieldnames'; +import { Setup } from '../../../../helpers/setup_request'; +import { ChartBase } from '../../../types'; + +import { fetchAndTransformGcMetrics } from './fetch_and_transform_gc_metrics'; + +describe('fetchAndTransformGcMetrics', () => { + describe('given "jvm.gc.time"', () => { + it('converts the value to milliseconds', async () => { + const chartBase = {} as unknown as ChartBase; + const response = { + hits: { total: { value: 1 } }, + aggregations: { + per_pool: { + buckets: [ + { + key: 'Copy', + doc_count: 30, + timeseries: { + buckets: [ + { + key_as_string: '2021-10-05T16:03:30.000Z', + key: 1633449810000, + doc_count: 1, + max: { + value: 23750, + }, + derivative: { + value: 11, + }, + value: { + value: 11, + }, + }, + ], + }, + }, + ], + }, + }, + }; + const setup = { + apmEventClient: { search: () => Promise.resolve(response) }, + config: { 'xpack.gc.metricsInterval': 0 }, + } as unknown as Setup; + const fieldName = METRIC_JAVA_GC_TIME; + + const { series } = await fetchAndTransformGcMetrics({ + chartBase, + environment: 'test environment', + fieldName, + kuery: '', + operationName: 'test operation name', + setup, + serviceName: 'test service name', + start: 1633456140000, + end: 1633457078105, + }); + + expect(series[0].data[0].y).toEqual(22000); + }); + }); + + describe('given "jvm.gc.rate"', () => { + it('does not convert the value to milliseconds', async () => { + const chartBase = {} as unknown as ChartBase; + const response = { + hits: { + total: { + value: 62, + }, + }, + aggregations: { + per_pool: { + buckets: [ + { + key: 'Copy', + doc_count: 31, + timeseries: { + buckets: [ + { + key_as_string: '2021-10-05T18:01:30.000Z', + key: 1633456890000, + doc_count: 1, + max: { + value: 815, + }, + derivative: { + value: 4, + }, + value: { + value: 4, + }, + }, + ], + }, + }, + ], + }, + }, + }; + const setup = { + apmEventClient: { search: () => Promise.resolve(response) }, + config: { 'xpack.gc.metricsInterval': 0 }, + } as unknown as Setup; + const fieldName = METRIC_JAVA_GC_COUNT; + + const { series } = await fetchAndTransformGcMetrics({ + chartBase, + environment: 'test environment', + fieldName, + kuery: '', + operationName: 'test operation name', + setup, + serviceName: 'test service name', + start: 1633456140000, + end: 1633457078105, + }); + + expect(series[0].data[0].y).toEqual(8); + }); + }); +}); diff --git a/x-pack/plugins/apm/server/lib/metrics/by_agent/java/gc/fetch_and_transform_gc_metrics.ts b/x-pack/plugins/apm/server/lib/metrics/by_agent/java/gc/fetch_and_transform_gc_metrics.ts index 8231e4d3c6faa..ba35836452122 100644 --- a/x-pack/plugins/apm/server/lib/metrics/by_agent/java/gc/fetch_and_transform_gc_metrics.ts +++ b/x-pack/plugins/apm/server/lib/metrics/by_agent/java/gc/fetch_and_transform_gc_metrics.ts @@ -135,10 +135,17 @@ export async function fetchAndTransformGcMetrics({ const data = timeseriesData.buckets.map((bucket) => { // derivative/value will be undefined for the first hit and if the `max` value is null const bucketValue = bucket.value?.value; - const y = isFiniteNumber(bucketValue) + + const unconvertedY = isFiniteNumber(bucketValue) ? round(bucketValue * (60 / bucketSize), 1) : null; + // convert to milliseconds if we're calculating time, but not for rate + const y = + unconvertedY !== null && fieldName === METRIC_JAVA_GC_TIME + ? unconvertedY * 1000 + : unconvertedY; + return { y, x: bucket.key, diff --git a/x-pack/test/apm_api_integration/tests/metrics_charts/metrics_charts.ts b/x-pack/test/apm_api_integration/tests/metrics_charts/metrics_charts.ts index 8d3a18a44f02e..7b621de111ef8 100644 --- a/x-pack/test/apm_api_integration/tests/metrics_charts/metrics_charts.ts +++ b/x-pack/test/apm_api_integration/tests/metrics_charts/metrics_charts.ts @@ -39,11 +39,11 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('contains CPU usage and System memory usage chart data', async () => { expect(chartsResponse.status).to.be(200); expectSnapshot(chartsResponse.body.charts.map((chart) => chart.title)).toMatchInline(` - Array [ - "CPU usage", - "System memory usage", - ] - `); + Array [ + "CPU usage", + "System memory usage", + ] + `); }); describe('CPU usage', () => { @@ -57,25 +57,25 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('has correct series', () => { expect(cpuUsageChart).to.not.empty(); expectSnapshot(cpuUsageChart?.series.map(({ title }) => title)).toMatchInline(` - Array [ - "System max", - "System average", - "Process max", - "Process average", - ] - `); + Array [ + "System max", + "System average", + "Process max", + "Process average", + ] + `); }); it('has correct series overall values', () => { expectSnapshot(cpuUsageChart?.series.map(({ overallValue }) => overallValue)) .toMatchInline(` - Array [ - 0.714, - 0.3877, - 0.75, - 0.2543, - ] - `); + Array [ + 0.714, + 0.3877, + 0.75, + 0.2543, + ] + `); }); }); @@ -91,21 +91,21 @@ export default function ApiTest({ getService }: FtrProviderContext) { expect(systemMemoryUsageChart).to.not.empty(); expectSnapshot(systemMemoryUsageChart?.series.map(({ title }) => title)) .toMatchInline(` - Array [ - "Max", - "Average", - ] - `); + Array [ + "Max", + "Average", + ] + `); }); it('has correct series overall values', () => { expectSnapshot(systemMemoryUsageChart?.series.map(({ overallValue }) => overallValue)) .toMatchInline(` - Array [ - 0.722093920925555, - 0.718173546796348, - ] - `); + Array [ + 0.722093920925555, + 0.718173546796348, + ] + `); }); }); }); @@ -128,16 +128,16 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('has correct chart data', async () => { expect(chartsResponse.status).to.be(200); expectSnapshot(chartsResponse.body.charts.map((chart) => chart.title)).toMatchInline(` - Array [ - "CPU usage", - "System memory usage", - "Heap Memory", - "Non-Heap Memory", - "Thread Count", - "Garbage collection per minute", - "Garbage collection time spent per minute", - ] - `); + Array [ + "CPU usage", + "System memory usage", + "Heap Memory", + "Non-Heap Memory", + "Thread Count", + "Garbage collection per minute", + "Garbage collection time spent per minute", + ] + `); }); describe('CPU usage', () => { @@ -151,37 +151,37 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('has correct series', () => { expect(cpuUsageChart).to.not.empty(); expectSnapshot(cpuUsageChart?.series.map(({ title }) => title)).toMatchInline(` - Array [ - "System max", - "System average", - "Process max", - "Process average", - ] - `); + Array [ + "System max", + "System average", + "Process max", + "Process average", + ] + `); }); it('has correct series overall values', () => { expectSnapshot(cpuUsageChart?.series.map(({ overallValue }) => overallValue)) .toMatchInline(` - Array [ - 0.203, - 0.178777777777778, - 0.01, - 0.009, - ] - `); + Array [ + 0.203, + 0.178777777777778, + 0.01, + 0.009, + ] + `); }); it('has the correct rate', async () => { const yValues = cpuUsageChart?.series.map((serie) => first(serie.data)?.y); expectSnapshot(yValues).toMatchInline(` - Array [ - 0.193, - 0.193, - 0.009, - 0.009, - ] - `); + Array [ + 0.193, + 0.193, + 0.009, + 0.009, + ] + `); }); }); @@ -197,31 +197,31 @@ export default function ApiTest({ getService }: FtrProviderContext) { expect(systemMemoryUsageChart).to.not.empty(); expectSnapshot(systemMemoryUsageChart?.series.map(({ title }) => title)) .toMatchInline(` - Array [ - "Max", - "Average", - ] - `); + Array [ + "Max", + "Average", + ] + `); }); it('has correct series overall values', () => { expectSnapshot(systemMemoryUsageChart?.series.map(({ overallValue }) => overallValue)) .toMatchInline(` - Array [ - 0.707924703557837, - 0.705395980841182, - ] - `); + Array [ + 0.707924703557837, + 0.705395980841182, + ] + `); }); it('has the correct rate', async () => { const yValues = systemMemoryUsageChart?.series.map((serie) => first(serie.data)?.y); expectSnapshot(yValues).toMatchInline(` - Array [ - 0.707924703557837, - 0.707924703557837, - ] - `); + Array [ + 0.707924703557837, + 0.707924703557837, + ] + `); }); }); @@ -236,34 +236,34 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('has correct series', () => { expect(cpuUsageChart).to.not.empty(); expectSnapshot(cpuUsageChart?.series.map(({ title }) => title)).toMatchInline(` - Array [ - "Avg. used", - "Avg. committed", - "Avg. limit", - ] - `); + Array [ + "Avg. used", + "Avg. committed", + "Avg. limit", + ] + `); }); it('has correct series overall values', () => { expectSnapshot(cpuUsageChart?.series.map(({ overallValue }) => overallValue)) .toMatchInline(` - Array [ - 222501617.777778, - 374341632, - 1560281088, - ] - `); + Array [ + 222501617.777778, + 374341632, + 1560281088, + ] + `); }); it('has the correct rate', async () => { const yValues = cpuUsageChart?.series.map((serie) => first(serie.data)?.y); expectSnapshot(yValues).toMatchInline(` - Array [ - 211472896, - 374341632, - 1560281088, - ] - `); + Array [ + 211472896, + 374341632, + 1560281088, + ] + `); }); }); @@ -278,31 +278,31 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('has correct series', () => { expect(cpuUsageChart).to.not.empty(); expectSnapshot(cpuUsageChart?.series.map(({ title }) => title)).toMatchInline(` - Array [ - "Avg. used", - "Avg. committed", - ] - `); + Array [ + "Avg. used", + "Avg. committed", + ] + `); }); it('has correct series overall values', () => { expectSnapshot(cpuUsageChart?.series.map(({ overallValue }) => overallValue)) .toMatchInline(` - Array [ - 138573397.333333, - 147677639.111111, - ] - `); + Array [ + 138573397.333333, + 147677639.111111, + ] + `); }); it('has the correct rate', async () => { const yValues = cpuUsageChart?.series.map((serie) => first(serie.data)?.y); expectSnapshot(yValues).toMatchInline(` - Array [ - 138162752, - 147386368, - ] - `); + Array [ + 138162752, + 147386368, + ] + `); }); }); @@ -317,31 +317,31 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('has correct series', () => { expect(cpuUsageChart).to.not.empty(); expectSnapshot(cpuUsageChart?.series.map(({ title }) => title)).toMatchInline(` - Array [ - "Avg. count", - "Max count", - ] - `); + Array [ + "Avg. count", + "Max count", + ] + `); }); it('has correct series overall values', () => { expectSnapshot(cpuUsageChart?.series.map(({ overallValue }) => overallValue)) .toMatchInline(` - Array [ - 44.4444444444444, - 45, - ] - `); + Array [ + 44.4444444444444, + 45, + ] + `); }); it('has the correct rate', async () => { const yValues = cpuUsageChart?.series.map((serie) => first(serie.data)?.y); expectSnapshot(yValues).toMatchInline(` - Array [ - 44, - 44, - ] - `); + Array [ + 44, + 44, + ] + `); }); }); @@ -356,21 +356,21 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('has correct series', () => { expect(cpuUsageChart).to.not.empty(); expectSnapshot(cpuUsageChart?.series.map(({ title }) => title)).toMatchInline(` - Array [ - "G1 Old Generation", - "G1 Young Generation", - ] - `); + Array [ + "G1 Old Generation", + "G1 Young Generation", + ] + `); }); it('has correct series overall values', () => { expectSnapshot(cpuUsageChart?.series.map(({ overallValue }) => overallValue)) .toMatchInline(` - Array [ - 0, - 3, - ] - `); + Array [ + 0, + 3, + ] + `); }); }); @@ -385,21 +385,21 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('has correct series', () => { expect(cpuUsageChart).to.not.empty(); expectSnapshot(cpuUsageChart?.series.map(({ title }) => title)).toMatchInline(` - Array [ - "G1 Old Generation", - "G1 Young Generation", - ] - `); + Array [ + "G1 Old Generation", + "G1 Young Generation", + ] + `); }); it('has correct series overall values', () => { expectSnapshot(cpuUsageChart?.series.map(({ overallValue }) => overallValue)) .toMatchInline(` - Array [ - 0, - 37.5, - ] - `); + Array [ + 0, + 37500, + ] + `); }); }); }); @@ -419,26 +419,26 @@ export default function ApiTest({ getService }: FtrProviderContext) { expect(systemMemoryUsageChart).to.not.empty(); expectSnapshot(systemMemoryUsageChart?.series.map(({ title }) => title)).toMatchInline(` - Array [ - "Max", - "Average", - ] - `); + Array [ + "Max", + "Average", + ] + `); expectSnapshot(systemMemoryUsageChart?.series.map(({ overallValue }) => overallValue)) .toMatchInline(` - Array [ - 0.114523896426499, - 0.114002376090415, - ] - `); + Array [ + 0.114523896426499, + 0.114002376090415, + ] + `); const yValues = systemMemoryUsageChart?.series.map((serie) => first(serie.data)?.y); expectSnapshot(yValues).toMatchInline(` - Array [ - 0.11383724014064, - 0.11383724014064, - ] - `); + Array [ + 0.11383724014064, + 0.11383724014064, + ] + `); }); }); } From 8bd946ebb42fac7bcbbea278f6191d7405e1d046 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 12 Oct 2021 16:53:54 -0400 Subject: [PATCH 081/107] Connect locator persistable state to Short URLs (#114397) (#114706) Co-authored-by: Vadim Kibana <82822460+vadimkibana@users.noreply.github.com> --- .../common/url_service/__tests__/setup.ts | 4 +- .../common/url_service/locators/locator.ts | 6 +- .../url_service/locators/locator_client.ts | 92 ++++++++++- .../common/url_service/locators/types.ts | 28 +++- src/plugins/share/common/url_service/mocks.ts | 4 +- .../common/url_service/short_urls/types.ts | 21 +-- .../share/common/url_service/url_service.ts | 8 +- src/plugins/share/public/mocks.ts | 4 +- src/plugins/share/public/plugin.ts | 4 +- src/plugins/share/server/plugin.ts | 24 +-- .../share/server/saved_objects/index.ts | 9 -- src/plugins/share/server/saved_objects/url.ts | 67 -------- src/plugins/share/server/url_service/index.ts | 2 + ...ster_url_service_saved_object_type.test.ts | 144 ++++++++++++++++++ .../register_url_service_saved_object_type.ts | 97 ++++++++++++ .../short_urls/short_url_client.test.ts | 119 ++++++++++++++- .../short_urls/short_url_client.ts | 86 ++++++++--- .../short_urls/short_url_client_factory.ts | 11 +- .../storage/memory_short_url_storage.test.ts | 44 +++++- .../storage/memory_short_url_storage.ts | 41 +++-- .../storage/saved_object_short_url_storage.ts | 46 ++++-- .../server/url_service/short_urls/types.ts | 24 ++- .../apm_plugin/mock_apm_plugin_context.tsx | 2 +- 23 files changed, 719 insertions(+), 168 deletions(-) delete mode 100644 src/plugins/share/server/saved_objects/index.ts delete mode 100644 src/plugins/share/server/saved_objects/url.ts create mode 100644 src/plugins/share/server/url_service/saved_objects/register_url_service_saved_object_type.test.ts create mode 100644 src/plugins/share/server/url_service/saved_objects/register_url_service_saved_object_type.ts diff --git a/src/plugins/share/common/url_service/__tests__/setup.ts b/src/plugins/share/common/url_service/__tests__/setup.ts index 239b2554e663a..8f339c2060faf 100644 --- a/src/plugins/share/common/url_service/__tests__/setup.ts +++ b/src/plugins/share/common/url_service/__tests__/setup.ts @@ -37,7 +37,7 @@ export const urlServiceTestSetup = (partialDeps: Partial getUrl: async () => { throw new Error('not implemented'); }, - shortUrls: { + shortUrls: () => ({ get: () => ({ create: async () => { throw new Error('Not implemented.'); @@ -52,7 +52,7 @@ export const urlServiceTestSetup = (partialDeps: Partial throw new Error('Not implemented.'); }, }), - }, + }), ...partialDeps, }; const service = new UrlService(deps); diff --git a/src/plugins/share/common/url_service/locators/locator.ts b/src/plugins/share/common/url_service/locators/locator.ts index fc970e2c7a490..2d33f701df595 100644 --- a/src/plugins/share/common/url_service/locators/locator.ts +++ b/src/plugins/share/common/url_service/locators/locator.ts @@ -67,13 +67,15 @@ export class Locator

implements LocatorPublic

{ state: P, references: SavedObjectReference[] ): P => { - return this.definition.inject ? this.definition.inject(state, references) : state; + if (!this.definition.inject) return state; + return this.definition.inject(state, references); }; public readonly extract: PersistableState

['extract'] = ( state: P ): { state: P; references: SavedObjectReference[] } => { - return this.definition.extract ? this.definition.extract(state) : { state, references: [] }; + if (!this.definition.extract) return { state, references: [] }; + return this.definition.extract(state); }; // LocatorPublic

---------------------------------------------------------- diff --git a/src/plugins/share/common/url_service/locators/locator_client.ts b/src/plugins/share/common/url_service/locators/locator_client.ts index 587083551aa6d..7dd69165be5dd 100644 --- a/src/plugins/share/common/url_service/locators/locator_client.ts +++ b/src/plugins/share/common/url_service/locators/locator_client.ts @@ -7,9 +7,12 @@ */ import type { SerializableRecord } from '@kbn/utility-types'; +import { MigrateFunctionsObject } from 'src/plugins/kibana_utils/common'; +import { SavedObjectReference } from 'kibana/server'; import type { LocatorDependencies } from './locator'; -import type { LocatorDefinition, LocatorPublic, ILocatorClient } from './types'; +import type { LocatorDefinition, LocatorPublic, ILocatorClient, LocatorData } from './types'; import { Locator } from './locator'; +import { LocatorMigrationFunction, LocatorsMigrationMap } from '.'; export type LocatorClientDependencies = LocatorDependencies; @@ -44,4 +47,91 @@ export class LocatorClient implements ILocatorClient { public get

(id: string): undefined | LocatorPublic

{ return this.locators.get(id); } + + protected getOrThrow

(id: string): LocatorPublic

{ + const locator = this.locators.get(id); + if (!locator) throw new Error(`Locator [ID = "${id}"] is not registered.`); + return locator; + } + + public migrations(): { [locatorId: string]: MigrateFunctionsObject } { + const migrations: { [locatorId: string]: MigrateFunctionsObject } = {}; + + for (const locator of this.locators.values()) { + migrations[locator.id] = locator.migrations; + } + + return migrations; + } + + // PersistableStateService ---------------------------------------------------------- + + public telemetry( + state: LocatorData, + collector: Record + ): Record { + for (const locator of this.locators.values()) { + collector = locator.telemetry(state.state, collector); + } + + return collector; + } + + public inject(state: LocatorData, references: SavedObjectReference[]): LocatorData { + const locator = this.getOrThrow(state.id); + const filteredReferences = references + .filter((ref) => ref.name.startsWith('params:')) + .map((ref) => ({ + ...ref, + name: ref.name.substr('params:'.length), + })); + return { + ...state, + state: locator.inject(state.state, filteredReferences), + }; + } + + public extract(state: LocatorData): { state: LocatorData; references: SavedObjectReference[] } { + const locator = this.getOrThrow(state.id); + const extracted = locator.extract(state.state); + return { + state: { + ...state, + state: extracted.state, + }, + references: extracted.references.map((ref) => ({ + ...ref, + name: 'params:' + ref.name, + })), + }; + } + + public readonly getAllMigrations = (): LocatorsMigrationMap => { + const locatorParamsMigrations = this.migrations(); + const locatorMigrations: LocatorsMigrationMap = {}; + const versions = new Set(); + + for (const migrationMap of Object.values(locatorParamsMigrations)) + for (const version of Object.keys(migrationMap)) versions.add(version); + + for (const version of versions.values()) { + const migration: LocatorMigrationFunction = (locator) => { + const locatorMigrationsMap = locatorParamsMigrations[locator.id]; + if (!locatorMigrationsMap) return locator; + + const migrationFunction = locatorMigrationsMap[version]; + if (!migrationFunction) return locator; + + return { + ...locator, + version, + state: migrationFunction(locator.state), + }; + }; + + locatorMigrations[version] = migration; + } + + return locatorMigrations; + }; } diff --git a/src/plugins/share/common/url_service/locators/types.ts b/src/plugins/share/common/url_service/locators/types.ts index ab0efa9b2375a..c64dc588aaf22 100644 --- a/src/plugins/share/common/url_service/locators/types.ts +++ b/src/plugins/share/common/url_service/locators/types.ts @@ -8,13 +8,18 @@ import type { SerializableRecord } from '@kbn/utility-types'; import { DependencyList } from 'react'; -import { PersistableState } from 'src/plugins/kibana_utils/common'; +import { + MigrateFunction, + PersistableState, + PersistableStateService, + VersionedState, +} from 'src/plugins/kibana_utils/common'; import type { FormatSearchParamsOptions } from './redirect'; /** * URL locator registry. */ -export interface ILocatorClient { +export interface ILocatorClient extends PersistableStateService { /** * Create and register a new locator. * @@ -141,3 +146,22 @@ export interface KibanaLocation { */ state: S; } + +/** + * Represents a serializable state of a locator. Includes locator ID, version + * and its params. + */ +export interface LocatorData + extends VersionedState, + SerializableRecord { + /** + * Locator ID. + */ + id: string; +} + +export interface LocatorsMigrationMap { + [semver: string]: LocatorMigrationFunction; +} + +export type LocatorMigrationFunction = MigrateFunction; diff --git a/src/plugins/share/common/url_service/mocks.ts b/src/plugins/share/common/url_service/mocks.ts index dd86e2398589e..24ba226818427 100644 --- a/src/plugins/share/common/url_service/mocks.ts +++ b/src/plugins/share/common/url_service/mocks.ts @@ -18,7 +18,7 @@ export class MockUrlService extends UrlService { getUrl: async ({ app, path }, { absolute }) => { return `${absolute ? 'http://localhost:8888' : ''}/app/${app}${path}`; }, - shortUrls: { + shortUrls: () => ({ get: () => ({ create: async () => { throw new Error('Not implemented.'); @@ -33,7 +33,7 @@ export class MockUrlService extends UrlService { throw new Error('Not implemented.'); }, }), - }, + }), }); } } diff --git a/src/plugins/share/common/url_service/short_urls/types.ts b/src/plugins/share/common/url_service/short_urls/types.ts index db744a25f9f79..698ffe7b8421b 100644 --- a/src/plugins/share/common/url_service/short_urls/types.ts +++ b/src/plugins/share/common/url_service/short_urls/types.ts @@ -6,9 +6,8 @@ * Side Public License, v 1. */ -import { SerializableRecord } from '@kbn/utility-types'; -import { VersionedState } from 'src/plugins/kibana_utils/common'; -import { LocatorPublic } from '../locators'; +import type { SerializableRecord } from '@kbn/utility-types'; +import type { LocatorPublic, ILocatorClient, LocatorData } from '../locators'; /** * A factory for Short URL Service. We need this factory as the dependency @@ -21,6 +20,10 @@ export interface IShortUrlClientFactory { get(dependencies: D): IShortUrlClient; } +export type IShortUrlClientFactoryProvider = (params: { + locators: ILocatorClient; +}) => IShortUrlClientFactory; + /** * CRUD-like API for short URLs. */ @@ -128,14 +131,4 @@ export interface ShortUrlData; } -/** - * Represents a serializable state of a locator. Includes locator ID, version - * and its params. - */ -export interface LocatorData - extends VersionedState { - /** - * Locator ID. - */ - id: string; -} +export type { LocatorData }; diff --git a/src/plugins/share/common/url_service/url_service.ts b/src/plugins/share/common/url_service/url_service.ts index dedb81720865d..24e2ea0b62379 100644 --- a/src/plugins/share/common/url_service/url_service.ts +++ b/src/plugins/share/common/url_service/url_service.ts @@ -7,10 +7,10 @@ */ import { LocatorClient, LocatorClientDependencies } from './locators'; -import { IShortUrlClientFactory } from './short_urls'; +import { IShortUrlClientFactoryProvider, IShortUrlClientFactory } from './short_urls'; export interface UrlServiceDependencies extends LocatorClientDependencies { - shortUrls: IShortUrlClientFactory; + shortUrls: IShortUrlClientFactoryProvider; } /** @@ -26,6 +26,8 @@ export class UrlService { constructor(protected readonly deps: UrlServiceDependencies) { this.locators = new LocatorClient(deps); - this.shortUrls = deps.shortUrls; + this.shortUrls = deps.shortUrls({ + locators: this.locators, + }); } } diff --git a/src/plugins/share/public/mocks.ts b/src/plugins/share/public/mocks.ts index 73df7257290f0..33cdf141de9f3 100644 --- a/src/plugins/share/public/mocks.ts +++ b/src/plugins/share/public/mocks.ts @@ -18,7 +18,7 @@ const url = new UrlService({ getUrl: async ({ app, path }, { absolute }) => { return `${absolute ? 'http://localhost:8888' : ''}/app/${app}${path}`; }, - shortUrls: { + shortUrls: () => ({ get: () => ({ create: async () => { throw new Error('Not implemented'); @@ -33,7 +33,7 @@ const url = new UrlService({ throw new Error('Not implemented.'); }, }), - }, + }), }); const createSetupContract = (): Setup => { diff --git a/src/plugins/share/public/plugin.ts b/src/plugins/share/public/plugin.ts index 103fbb50bb95f..fd8a5fd7541a6 100644 --- a/src/plugins/share/public/plugin.ts +++ b/src/plugins/share/public/plugin.ts @@ -104,7 +104,7 @@ export class SharePlugin implements Plugin { }); return url; }, - shortUrls: { + shortUrls: () => ({ get: () => ({ create: async () => { throw new Error('Not implemented'); @@ -119,7 +119,7 @@ export class SharePlugin implements Plugin { throw new Error('Not implemented.'); }, }), - }, + }), }); this.url.locators.create(new LegacyShortUrlLocatorDefinition()); diff --git a/src/plugins/share/server/plugin.ts b/src/plugins/share/server/plugin.ts index f0e4abf9eb589..d79588420fe87 100644 --- a/src/plugins/share/server/plugin.ts +++ b/src/plugins/share/server/plugin.ts @@ -9,11 +9,14 @@ import { i18n } from '@kbn/i18n'; import { schema } from '@kbn/config-schema'; import { CoreSetup, Plugin, PluginInitializerContext } from 'kibana/server'; -import { url } from './saved_objects'; import { CSV_SEPARATOR_SETTING, CSV_QUOTE_VALUES_SETTING } from '../common/constants'; import { UrlService } from '../common/url_service'; -import { ServerUrlService, ServerShortUrlClientFactory } from './url_service'; -import { registerUrlServiceRoutes } from './url_service/http/register_url_service_routes'; +import { + ServerUrlService, + ServerShortUrlClientFactory, + registerUrlServiceRoutes, + registerUrlServiceSavedObjectType, +} from './url_service'; import { LegacyShortUrlLocatorDefinition } from '../common/url_service/locators/legacy_short_url_locator'; /** @public */ @@ -44,18 +47,17 @@ export class SharePlugin implements Plugin { getUrl: async () => { throw new Error('Locator .getUrl() currently is not supported on the server.'); }, - shortUrls: new ServerShortUrlClientFactory({ - currentVersion: this.version, - }), + shortUrls: ({ locators }) => + new ServerShortUrlClientFactory({ + currentVersion: this.version, + locators, + }), }); - this.url.locators.create(new LegacyShortUrlLocatorDefinition()); - const router = core.http.createRouter(); - - registerUrlServiceRoutes(core, router, this.url); + registerUrlServiceSavedObjectType(core.savedObjects, this.url); + registerUrlServiceRoutes(core, core.http.createRouter(), this.url); - core.savedObjects.registerType(url); core.uiSettings.register({ [CSV_SEPARATOR_SETTING]: { name: i18n.translate('share.advancedSettings.csv.separatorTitle', { diff --git a/src/plugins/share/server/saved_objects/index.ts b/src/plugins/share/server/saved_objects/index.ts deleted file mode 100644 index ff37efb9fec17..0000000000000 --- a/src/plugins/share/server/saved_objects/index.ts +++ /dev/null @@ -1,9 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -export { url } from './url'; diff --git a/src/plugins/share/server/saved_objects/url.ts b/src/plugins/share/server/saved_objects/url.ts deleted file mode 100644 index 6288e87f629f5..0000000000000 --- a/src/plugins/share/server/saved_objects/url.ts +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { SavedObjectsType } from 'kibana/server'; - -export const url: SavedObjectsType = { - name: 'url', - namespaceType: 'single', - hidden: false, - management: { - icon: 'link', - defaultSearchField: 'url', - importableAndExportable: true, - getTitle(obj) { - return `/goto/${encodeURIComponent(obj.id)}`; - }, - getInAppUrl(obj) { - return { - path: '/goto/' + encodeURIComponent(obj.id), - uiCapabilitiesPath: '', - }; - }, - }, - mappings: { - properties: { - slug: { - type: 'text', - fields: { - keyword: { - type: 'keyword', - }, - }, - }, - accessCount: { - type: 'long', - }, - accessDate: { - type: 'date', - }, - createDate: { - type: 'date', - }, - // Legacy field - contains already pre-formatted final URL. - // This is here to support old saved objects that have this field. - // TODO: Remove this field and execute a migration to the new format. - url: { - type: 'text', - fields: { - keyword: { - type: 'keyword', - ignore_above: 2048, - }, - }, - }, - // Information needed to load and execute a locator. - locatorJSON: { - type: 'text', - index: false, - }, - }, - }, -}; diff --git a/src/plugins/share/server/url_service/index.ts b/src/plugins/share/server/url_service/index.ts index 068a5289d42ed..62d1329371736 100644 --- a/src/plugins/share/server/url_service/index.ts +++ b/src/plugins/share/server/url_service/index.ts @@ -8,3 +8,5 @@ export * from './types'; export * from './short_urls'; +export { registerUrlServiceRoutes } from './http/register_url_service_routes'; +export { registerUrlServiceSavedObjectType } from './saved_objects/register_url_service_saved_object_type'; diff --git a/src/plugins/share/server/url_service/saved_objects/register_url_service_saved_object_type.test.ts b/src/plugins/share/server/url_service/saved_objects/register_url_service_saved_object_type.test.ts new file mode 100644 index 0000000000000..651169f6101a9 --- /dev/null +++ b/src/plugins/share/server/url_service/saved_objects/register_url_service_saved_object_type.test.ts @@ -0,0 +1,144 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { SerializableRecord } from '@kbn/utility-types'; +import type { + SavedObjectMigrationMap, + SavedObjectsType, + SavedObjectUnsanitizedDoc, +} from 'kibana/server'; +import { ServerShortUrlClientFactory } from '..'; +import { UrlService, LocatorDefinition } from '../../../common/url_service'; +import { LegacyShortUrlLocatorDefinition } from '../../../common/url_service/locators/legacy_short_url_locator'; +import { MemoryShortUrlStorage } from '../short_urls/storage/memory_short_url_storage'; +import { ShortUrlSavedObjectAttributes } from '../short_urls/storage/saved_object_short_url_storage'; +import { registerUrlServiceSavedObjectType } from './register_url_service_saved_object_type'; + +const setup = () => { + const currentVersion = '7.7.7'; + const service = new UrlService({ + getUrl: () => { + throw new Error('Not implemented.'); + }, + navigate: () => { + throw new Error('Not implemented.'); + }, + shortUrls: ({ locators }) => + new ServerShortUrlClientFactory({ + currentVersion, + locators, + }), + }); + const definition = new LegacyShortUrlLocatorDefinition(); + const locator = service.locators.create(definition); + const storage = new MemoryShortUrlStorage(); + const client = service.shortUrls.get({ storage }); + + let type: SavedObjectsType; + registerUrlServiceSavedObjectType( + { + registerType: (urlSavedObjectType) => { + type = urlSavedObjectType; + }, + }, + service + ); + + return { + type: type!, + client, + service, + storage, + locator, + definition, + currentVersion, + }; +}; + +describe('migrations', () => { + test('returns empty migrations object if there are no migrations', () => { + const { type } = setup(); + + expect((type.migrations as () => SavedObjectMigrationMap)()).toEqual({}); + }); + + test('migrates locator to the latest version', () => { + interface FooLocatorParamsOld extends SerializableRecord { + color: string; + indexPattern: string; + } + + interface FooLocatorParams extends SerializableRecord { + color: string; + indexPatterns: string[]; + } + + class FooLocatorDefinition implements LocatorDefinition { + public readonly id = 'FOO_LOCATOR'; + + public async getLocation() { + return { + app: 'foo', + path: '', + state: {}, + }; + } + + migrations = { + '8.0.0': ({ indexPattern, ...rest }: FooLocatorParamsOld): FooLocatorParams => ({ + ...rest, + indexPatterns: [indexPattern], + }), + }; + } + + const { type, service } = setup(); + + service.locators.create(new FooLocatorDefinition()); + + const migrationFunction = (type.migrations as () => SavedObjectMigrationMap)()['8.0.0']; + + expect(typeof migrationFunction).toBe('function'); + + const doc1: SavedObjectUnsanitizedDoc = { + id: 'foo', + attributes: { + accessCount: 0, + accessDate: 0, + createDate: 0, + locatorJSON: JSON.stringify({ + id: 'FOO_LOCATOR', + version: '7.7.7', + state: { + color: 'red', + indexPattern: 'myIndex', + }, + }), + url: '', + }, + type: 'url', + }; + + const doc2 = migrationFunction(doc1, {} as any); + + expect(doc2.id).toBe('foo'); + expect(doc2.type).toBe('url'); + expect(doc2.attributes.accessCount).toBe(0); + expect(doc2.attributes.accessDate).toBe(0); + expect(doc2.attributes.createDate).toBe(0); + expect(doc2.attributes.url).toBe(''); + expect(JSON.parse(doc2.attributes.locatorJSON)).toEqual({ + id: 'FOO_LOCATOR', + version: '8.0.0', + state: { + color: 'red', + indexPatterns: ['myIndex'], + }, + }); + }); +}); diff --git a/src/plugins/share/server/url_service/saved_objects/register_url_service_saved_object_type.ts b/src/plugins/share/server/url_service/saved_objects/register_url_service_saved_object_type.ts new file mode 100644 index 0000000000000..b2fcefcc767cf --- /dev/null +++ b/src/plugins/share/server/url_service/saved_objects/register_url_service_saved_object_type.ts @@ -0,0 +1,97 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import type { + SavedObjectMigrationMap, + SavedObjectsServiceSetup, + SavedObjectsType, +} from 'kibana/server'; +import type { LocatorData } from 'src/plugins/share/common/url_service'; +import type { ServerUrlService } from '..'; + +export const registerUrlServiceSavedObjectType = ( + so: Pick, + service: ServerUrlService +) => { + const urlSavedObjectType: SavedObjectsType = { + name: 'url', + namespaceType: 'single', + hidden: false, + management: { + icon: 'link', + defaultSearchField: 'url', + importableAndExportable: true, + getTitle(obj) { + return `/goto/${encodeURIComponent(obj.id)}`; + }, + getInAppUrl(obj) { + return { + path: '/goto/' + encodeURIComponent(obj.id), + uiCapabilitiesPath: '', + }; + }, + }, + mappings: { + properties: { + slug: { + type: 'text', + fields: { + keyword: { + type: 'keyword', + }, + }, + }, + accessCount: { + type: 'long', + }, + accessDate: { + type: 'date', + }, + createDate: { + type: 'date', + }, + // Legacy field - contains already pre-formatted final URL. + // This is here to support old saved objects that have this field. + // TODO: Remove this field and execute a migration to the new format. + url: { + type: 'text', + fields: { + keyword: { + type: 'keyword', + ignore_above: 2048, + }, + }, + }, + // Information needed to load and execute a locator. + locatorJSON: { + type: 'text', + index: false, + }, + }, + }, + migrations: () => { + const locatorMigrations = service.locators.getAllMigrations(); + const savedObjectLocatorMigrations: SavedObjectMigrationMap = {}; + + for (const [version, locatorMigration] of Object.entries(locatorMigrations)) { + savedObjectLocatorMigrations[version] = (doc) => { + const locator = JSON.parse(doc.attributes.locatorJSON) as LocatorData; + doc.attributes = { + ...doc.attributes, + locatorJSON: JSON.stringify(locatorMigration(locator)), + }; + return doc; + }; + } + + return savedObjectLocatorMigrations; + }, + }; + + so.registerType(urlSavedObjectType); +}; diff --git a/src/plugins/share/server/url_service/short_urls/short_url_client.test.ts b/src/plugins/share/server/url_service/short_urls/short_url_client.test.ts index ac684eb03a9d5..503748a2b1cad 100644 --- a/src/plugins/share/server/url_service/short_urls/short_url_client.test.ts +++ b/src/plugins/share/server/url_service/short_urls/short_url_client.test.ts @@ -7,9 +7,11 @@ */ import { ServerShortUrlClientFactory } from './short_url_client_factory'; -import { UrlService } from '../../../common/url_service'; +import { UrlService, LocatorDefinition } from '../../../common/url_service'; import { LegacyShortUrlLocatorDefinition } from '../../../common/url_service/locators/legacy_short_url_locator'; import { MemoryShortUrlStorage } from './storage/memory_short_url_storage'; +import { SerializableRecord } from '@kbn/utility-types'; +import { SavedObjectReference } from 'kibana/server'; const setup = () => { const currentVersion = '1.2.3'; @@ -20,9 +22,11 @@ const setup = () => { navigate: () => { throw new Error('Not implemented.'); }, - shortUrls: new ServerShortUrlClientFactory({ - currentVersion, - }), + shortUrls: ({ locators }) => + new ServerShortUrlClientFactory({ + currentVersion, + locators, + }), }); const definition = new LegacyShortUrlLocatorDefinition(); const locator = service.locators.create(definition); @@ -177,4 +181,111 @@ describe('ServerShortUrlClient', () => { ); }); }); + + describe('Persistable State', () => { + interface FooLocatorParams extends SerializableRecord { + dashboardId: string; + indexPatternId: string; + } + + class FooLocatorDefinition implements LocatorDefinition { + public readonly id = 'FOO_LOCATOR'; + + public readonly getLocation = async () => ({ + app: 'foo_app', + path: '/foo/path', + state: {}, + }); + + public readonly extract = ( + state: FooLocatorParams + ): { state: FooLocatorParams; references: SavedObjectReference[] } => ({ + state, + references: [ + { + id: state.dashboardId, + type: 'dashboard', + name: 'dashboardId', + }, + { + id: state.indexPatternId, + type: 'index_pattern', + name: 'indexPatternId', + }, + ], + }); + + public readonly inject = ( + state: FooLocatorParams, + references: SavedObjectReference[] + ): FooLocatorParams => { + const dashboard = references.find( + (ref) => ref.type === 'dashboard' && ref.name === 'dashboardId' + ); + const indexPattern = references.find( + (ref) => ref.type === 'index_pattern' && ref.name === 'indexPatternId' + ); + + return { + ...state, + dashboardId: dashboard ? dashboard.id : '', + indexPatternId: indexPattern ? indexPattern.id : '', + }; + }; + } + + test('extracts and persists references', async () => { + const { service, client, storage } = setup(); + const locator = service.locators.create(new FooLocatorDefinition()); + const shortUrl = await client.create({ + locator, + params: { + dashboardId: '123', + indexPatternId: '456', + }, + }); + const record = await storage.getById(shortUrl.data.id); + + expect(record.references).toEqual([ + { + id: '123', + type: 'dashboard', + name: 'locator:params:dashboardId', + }, + { + id: '456', + type: 'index_pattern', + name: 'locator:params:indexPatternId', + }, + ]); + }); + + test('injects references', async () => { + const { service, client, storage } = setup(); + const locator = service.locators.create(new FooLocatorDefinition()); + const shortUrl1 = await client.create({ + locator, + params: { + dashboardId: '3', + indexPatternId: '5', + }, + }); + const record1 = await storage.getById(shortUrl1.data.id); + + record1.data.locator.state = {}; + + await storage.update(record1.data.id, record1.data); + + const record2 = await storage.getById(shortUrl1.data.id); + + expect(record2.data.locator.state).toEqual({}); + + const shortUrl2 = await client.get(shortUrl1.data.id); + + expect(shortUrl2.data.locator.state).toEqual({ + dashboardId: '3', + indexPatternId: '5', + }); + }); + }); }); diff --git a/src/plugins/share/server/url_service/short_urls/short_url_client.ts b/src/plugins/share/server/url_service/short_urls/short_url_client.ts index caaa76bef172d..1efece073d955 100644 --- a/src/plugins/share/server/url_service/short_urls/short_url_client.ts +++ b/src/plugins/share/server/url_service/short_urls/short_url_client.ts @@ -7,8 +7,17 @@ */ import type { SerializableRecord } from '@kbn/utility-types'; +import { SavedObjectReference } from 'kibana/server'; import { generateSlug } from 'random-word-slugs'; -import type { IShortUrlClient, ShortUrl, ShortUrlCreateParams } from '../../../common/url_service'; +import { ShortUrlRecord } from '.'; +import type { + IShortUrlClient, + ShortUrl, + ShortUrlCreateParams, + ILocatorClient, + ShortUrlData, + LocatorData, +} from '../../../common/url_service'; import type { ShortUrlStorage } from './types'; import { validateSlug } from './util'; @@ -36,6 +45,11 @@ export interface ServerShortUrlClientDependencies { * Storage provider for short URLs. */ storage: ShortUrlStorage; + + /** + * The locators service. + */ + locators: ILocatorClient; } export class ServerShortUrlClient implements IShortUrlClient { @@ -64,44 +78,80 @@ export class ServerShortUrlClient implements IShortUrlClient { } } + const extracted = this.extractReferences({ + id: locator.id, + version: currentVersion, + state: params, + }); const now = Date.now(); - const data = await storage.create({ - accessCount: 0, - accessDate: now, - createDate: now, - slug, - locator: { - id: locator.id, - version: currentVersion, - state: params, + + const data = await storage.create

( + { + accessCount: 0, + accessDate: now, + createDate: now, + slug, + locator: extracted.state as LocatorData

, }, - }); + { references: extracted.references } + ); return { data, }; } - public async get(id: string): Promise { - const { storage } = this.dependencies; - const data = await storage.getById(id); + private extractReferences(locatorData: LocatorData): { + state: LocatorData; + references: SavedObjectReference[]; + } { + const { locators } = this.dependencies; + const { state, references } = locators.extract(locatorData); + return { + state, + references: references.map((ref) => ({ + ...ref, + name: 'locator:' + ref.name, + })), + }; + } + private injectReferences({ data, references }: ShortUrlRecord): ShortUrlData { + const { locators } = this.dependencies; + const locatorReferences = references + .filter((ref) => ref.name.startsWith('locator:')) + .map((ref) => ({ + ...ref, + name: ref.name.substr('locator:'.length), + })); return { - data, + ...data, + locator: locators.inject(data.locator, locatorReferences), }; } - public async delete(id: string): Promise { + public async get(id: string): Promise { const { storage } = this.dependencies; - await storage.delete(id); + const record = await storage.getById(id); + const data = this.injectReferences(record); + + return { + data, + }; } public async resolve(slug: string): Promise { const { storage } = this.dependencies; - const data = await storage.getBySlug(slug); + const record = await storage.getBySlug(slug); + const data = this.injectReferences(record); return { data, }; } + + public async delete(id: string): Promise { + const { storage } = this.dependencies; + await storage.delete(id); + } } diff --git a/src/plugins/share/server/url_service/short_urls/short_url_client_factory.ts b/src/plugins/share/server/url_service/short_urls/short_url_client_factory.ts index 696233b7a1ca5..63456c36daa68 100644 --- a/src/plugins/share/server/url_service/short_urls/short_url_client_factory.ts +++ b/src/plugins/share/server/url_service/short_urls/short_url_client_factory.ts @@ -8,7 +8,7 @@ import { SavedObjectsClientContract } from 'kibana/server'; import { ShortUrlStorage } from './types'; -import type { IShortUrlClientFactory } from '../../../common/url_service'; +import type { IShortUrlClientFactory, ILocatorClient } from '../../../common/url_service'; import { ServerShortUrlClient } from './short_url_client'; import { SavedObjectShortUrlStorage } from './storage/saved_object_short_url_storage'; @@ -20,6 +20,11 @@ export interface ServerShortUrlClientFactoryDependencies { * Current version of Kibana, e.g. 7.15.0. */ currentVersion: string; + + /** + * Locators service. + */ + locators: ILocatorClient; } export interface ServerShortUrlClientFactoryCreateParams { @@ -39,9 +44,11 @@ export class ServerShortUrlClientFactory savedObjects: params.savedObjects!, savedObjectType: 'url', }); + const { currentVersion, locators } = this.dependencies; const client = new ServerShortUrlClient({ storage, - currentVersion: this.dependencies.currentVersion, + currentVersion, + locators, }); return client; diff --git a/src/plugins/share/server/url_service/short_urls/storage/memory_short_url_storage.test.ts b/src/plugins/share/server/url_service/short_urls/storage/memory_short_url_storage.test.ts index d178e0b81786c..5d1b0bfa0bf55 100644 --- a/src/plugins/share/server/url_service/short_urls/storage/memory_short_url_storage.test.ts +++ b/src/plugins/share/server/url_service/short_urls/storage/memory_short_url_storage.test.ts @@ -41,6 +41,46 @@ describe('.create()', () => { }); }); +describe('.update()', () => { + test('can update an existing short URL', async () => { + const storage = new MemoryShortUrlStorage(); + const now = Date.now(); + const url1 = await storage.create({ + accessCount: 0, + createDate: now, + accessDate: now, + locator: { + id: 'TEST_LOCATOR', + version: '7.11', + state: { + foo: 'bar', + }, + }, + slug: 'test-slug', + }); + + await storage.update(url1.id, { + accessCount: 1, + }); + + const url2 = await storage.getById(url1.id); + + expect(url1.accessCount).toBe(0); + expect(url2.data.accessCount).toBe(1); + }); + + test('throws when URL does not exist', async () => { + const storage = new MemoryShortUrlStorage(); + const [, error] = await of( + storage.update('DOES_NOT_EXIST', { + accessCount: 1, + }) + ); + + expect(error).toBeInstanceOf(Error); + }); +}); + describe('.getById()', () => { test('can fetch by ID a newly created short URL', async () => { const storage = new MemoryShortUrlStorage(); @@ -58,7 +98,7 @@ describe('.getById()', () => { }, slug: 'test-slug', }); - const url2 = await storage.getById(url1.id); + const url2 = (await storage.getById(url1.id)).data; expect(url2.accessCount).toBe(0); expect(url1.createDate).toBe(now); @@ -112,7 +152,7 @@ describe('.getBySlug()', () => { }, slug: 'test-slug', }); - const url2 = await storage.getBySlug('test-slug'); + const url2 = (await storage.getBySlug('test-slug')).data; expect(url2.accessCount).toBe(0); expect(url1.createDate).toBe(now); diff --git a/src/plugins/share/server/url_service/short_urls/storage/memory_short_url_storage.ts b/src/plugins/share/server/url_service/short_urls/storage/memory_short_url_storage.ts index 40d76a91154ba..fafd00344eecd 100644 --- a/src/plugins/share/server/url_service/short_urls/storage/memory_short_url_storage.ts +++ b/src/plugins/share/server/url_service/short_urls/storage/memory_short_url_storage.ts @@ -9,35 +9,54 @@ import { v4 as uuidv4 } from 'uuid'; import type { SerializableRecord } from '@kbn/utility-types'; import { ShortUrlData } from 'src/plugins/share/common/url_service/short_urls/types'; -import { ShortUrlStorage } from '../types'; +import { SavedObjectReference } from 'kibana/server'; +import { ShortUrlStorage, ShortUrlRecord } from '../types'; + +const clone =

(obj: P): P => JSON.parse(JSON.stringify(obj)) as P; export class MemoryShortUrlStorage implements ShortUrlStorage { - private urls = new Map(); + private urls = new Map(); public async create

( - data: Omit, 'id'> + data: Omit, 'id'>, + { references = [] }: { references?: SavedObjectReference[] } = {} ): Promise> { const id = uuidv4(); - const url: ShortUrlData

= { ...data, id }; + const url: ShortUrlRecord

= { + data: { ...data, id }, + references, + }; this.urls.set(id, url); - return url; + + return clone(url.data); + } + + public async update

( + id: string, + data: Partial, 'id'>>, + { references }: { references?: SavedObjectReference[] } = {} + ): Promise { + const so = await this.getById(id); + Object.assign(so.data, data); + if (references) so.references = references; + this.urls.set(id, so); } public async getById

( id: string - ): Promise> { + ): Promise> { if (!this.urls.has(id)) { throw new Error(`No short url with id "${id}"`); } - return this.urls.get(id)! as ShortUrlData

; + return clone(this.urls.get(id)! as ShortUrlRecord

); } public async getBySlug

( slug: string - ): Promise> { + ): Promise> { for (const url of this.urls.values()) { - if (url.slug === slug) { - return url as ShortUrlData

; + if (url.data.slug === slug) { + return clone(url as ShortUrlRecord

); } } throw new Error(`No short url with slug "${slug}".`); @@ -45,7 +64,7 @@ export class MemoryShortUrlStorage implements ShortUrlStorage { public async exists(slug: string): Promise { for (const url of this.urls.values()) { - if (url.slug === slug) { + if (url.data.slug === slug) { return true; } } diff --git a/src/plugins/share/server/url_service/short_urls/storage/saved_object_short_url_storage.ts b/src/plugins/share/server/url_service/short_urls/storage/saved_object_short_url_storage.ts index c66db6d82cdbd..792dfabde3cab 100644 --- a/src/plugins/share/server/url_service/short_urls/storage/saved_object_short_url_storage.ts +++ b/src/plugins/share/server/url_service/short_urls/storage/saved_object_short_url_storage.ts @@ -7,7 +7,8 @@ */ import type { SerializableRecord } from '@kbn/utility-types'; -import { SavedObject, SavedObjectsClientContract } from 'kibana/server'; +import { SavedObject, SavedObjectReference, SavedObjectsClientContract } from 'kibana/server'; +import { ShortUrlRecord } from '..'; import { LEGACY_SHORT_URL_LOCATOR_ID } from '../../../../common/url_service/locators/legacy_short_url_locator'; import { ShortUrlData } from '../../../../common/url_service/short_urls/types'; import { ShortUrlStorage } from '../types'; @@ -85,12 +86,15 @@ const createShortUrlData =

( }; const createAttributes =

( - data: Omit, 'id'> + data: Partial, 'id'>> ): ShortUrlSavedObjectAttributes => { - const { locator, ...rest } = data; + const { accessCount = 0, accessDate = 0, createDate = 0, slug = '', locator } = data; const attributes: ShortUrlSavedObjectAttributes = { - ...rest, - locatorJSON: JSON.stringify(locator), + accessCount, + accessDate, + createDate, + slug, + locatorJSON: locator ? JSON.stringify(locator) : '', url: '', }; @@ -106,30 +110,49 @@ export class SavedObjectShortUrlStorage implements ShortUrlStorage { constructor(private readonly dependencies: SavedObjectShortUrlStorageDependencies) {} public async create

( - data: Omit, 'id'> + data: Omit, 'id'>, + { references }: { references?: SavedObjectReference[] } = {} ): Promise> { const { savedObjects, savedObjectType } = this.dependencies; const attributes = createAttributes(data); const savedObject = await savedObjects.create(savedObjectType, attributes, { refresh: true, + references, }); return createShortUrlData

(savedObject); } + public async update

( + id: string, + data: Partial, 'id'>>, + { references }: { references?: SavedObjectReference[] } = {} + ): Promise { + const { savedObjects, savedObjectType } = this.dependencies; + const attributes = createAttributes(data); + + await savedObjects.update(savedObjectType, id, attributes, { + refresh: true, + references, + }); + } + public async getById

( id: string - ): Promise> { + ): Promise> { const { savedObjects, savedObjectType } = this.dependencies; const savedObject = await savedObjects.get(savedObjectType, id); - return createShortUrlData

(savedObject); + return { + data: createShortUrlData

(savedObject), + references: savedObject.references, + }; } public async getBySlug

( slug: string - ): Promise> { + ): Promise> { const { savedObjects } = this.dependencies; const search = `(attributes.slug:"${escapeSearchReservedChars(slug)}")`; const result = await savedObjects.find({ @@ -143,7 +166,10 @@ export class SavedObjectShortUrlStorage implements ShortUrlStorage { const savedObject = result.saved_objects[0] as ShortUrlSavedObject; - return createShortUrlData

(savedObject); + return { + data: createShortUrlData

(savedObject), + references: savedObject.references, + }; } public async exists(slug: string): Promise { diff --git a/src/plugins/share/server/url_service/short_urls/types.ts b/src/plugins/share/server/url_service/short_urls/types.ts index 7aab70ca49519..9a9d9006eb371 100644 --- a/src/plugins/share/server/url_service/short_urls/types.ts +++ b/src/plugins/share/server/url_service/short_urls/types.ts @@ -7,6 +7,7 @@ */ import type { SerializableRecord } from '@kbn/utility-types'; +import { SavedObjectReference } from 'kibana/server'; import { ShortUrlData } from '../../../common/url_service/short_urls/types'; /** @@ -17,20 +18,32 @@ export interface ShortUrlStorage { * Create and store a new short URL entry. */ create

( - data: Omit, 'id'> + data: Omit, 'id'>, + options?: { references?: SavedObjectReference[] } ): Promise>; + /** + * Update an existing short URL entry. + */ + update

( + id: string, + data: Partial, 'id'>>, + options?: { references?: SavedObjectReference[] } + ): Promise; + /** * Fetch a short URL entry by ID. */ - getById

(id: string): Promise>; + getById

( + id: string + ): Promise>; /** * Fetch a short URL entry by slug. */ getBySlug

( slug: string - ): Promise>; + ): Promise>; /** * Checks if a short URL exists by slug. @@ -42,3 +55,8 @@ export interface ShortUrlStorage { */ delete(id: string): Promise; } + +export interface ShortUrlRecord { + data: ShortUrlData; + references: SavedObjectReference[]; +} diff --git a/x-pack/plugins/apm/public/context/apm_plugin/mock_apm_plugin_context.tsx b/x-pack/plugins/apm/public/context/apm_plugin/mock_apm_plugin_context.tsx index 617af6dae484d..abdab939f4a0a 100644 --- a/x-pack/plugins/apm/public/context/apm_plugin/mock_apm_plugin_context.tsx +++ b/x-pack/plugins/apm/public/context/apm_plugin/mock_apm_plugin_context.tsx @@ -100,7 +100,7 @@ const urlService = new UrlService({ getUrl: async ({ app, path }, { absolute }) => { return `${absolute ? 'http://localhost:8888' : ''}/app/${app}${path}`; }, - shortUrls: {} as any, + shortUrls: () => ({ get: () => {} } as any), }); const locator = urlService.locators.create(new MlLocatorDefinition()); From 5707a2bfbf9ff1a27334f4130e5ff93d36d3bfb6 Mon Sep 17 00:00:00 2001 From: Zacqary Adam Xeper Date: Tue, 12 Oct 2021 16:04:44 -0500 Subject: [PATCH 082/107] [Monitoring] Fix Set Up Monitoring redirect to setup mode (#114354) (#114707) * [Monitoring] Fix Set Up Monitoring redirect to setup mode * Fix initt setup mode from route init --- .../pages/elasticsearch/elasticsearch_template.tsx | 6 +++--- .../plugins/monitoring/public/application/route_init.tsx | 6 +++--- .../monitoring/public/application/setup_mode/index.ts | 8 ++++++++ .../public/application/setup_mode/setup_mode.tsx | 4 ++-- 4 files changed, 16 insertions(+), 8 deletions(-) create mode 100644 x-pack/plugins/monitoring/public/application/setup_mode/index.ts diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/elasticsearch_template.tsx b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/elasticsearch_template.tsx index 13e21912df896..aa7ca97219206 100644 --- a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/elasticsearch_template.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/elasticsearch_template.tsx @@ -12,7 +12,7 @@ import { TabMenuItem, PageTemplateProps } from '../page_template'; import { ML_SUPPORTED_LICENSES } from '../../../../common/constants'; interface ElasticsearchTemplateProps extends PageTemplateProps { - cluster: any; + cluster?: any; } export const ElasticsearchTemplate: React.FC = ({ @@ -43,7 +43,7 @@ export const ElasticsearchTemplate: React.FC = ({ }, ]; - if (mlIsSupported(cluster.license)) { + if (cluster && mlIsSupported(cluster.license)) { tabs.push({ id: 'ml', label: i18n.translate('xpack.monitoring.esNavigation.jobsLinkText', { @@ -53,7 +53,7 @@ export const ElasticsearchTemplate: React.FC = ({ }); } - if (cluster.isCcrEnabled) { + if (cluster?.isCcrEnabled) { tabs.push({ id: 'ccr', label: i18n.translate('xpack.monitoring.esNavigation.ccrLinkText', { diff --git a/x-pack/plugins/monitoring/public/application/route_init.tsx b/x-pack/plugins/monitoring/public/application/route_init.tsx index 092b3f54036c9..c620229eb059a 100644 --- a/x-pack/plugins/monitoring/public/application/route_init.tsx +++ b/x-pack/plugins/monitoring/public/application/route_init.tsx @@ -9,6 +9,7 @@ import { Route, Redirect, useLocation } from 'react-router-dom'; import { useClusters } from './hooks/use_clusters'; import { GlobalStateContext } from './contexts/global_state_context'; import { getClusterFromClusters } from '../lib/get_cluster_from_clusters'; +import { isInSetupMode } from './setup_mode'; import { LoadingPage } from './pages/loading_page'; export interface ComponentProps { @@ -35,13 +36,12 @@ export const RouteInit: React.FC = ({ const { clusters, loaded } = useClusters(clusterUuid, undefined, codePaths); - // TODO: we will need this when setup mode is migrated - // const inSetupMode = isInSetupMode(); + const inSetupMode = isInSetupMode(undefined, globalState); const cluster = getClusterFromClusters(clusters, globalState, unsetGlobalState); // TODO: check for setupMode too when the setup mode is migrated - if (loaded && !cluster) { + if (loaded && !cluster && !inSetupMode) { return ; } diff --git a/x-pack/plugins/monitoring/public/application/setup_mode/index.ts b/x-pack/plugins/monitoring/public/application/setup_mode/index.ts new file mode 100644 index 0000000000000..1bcdcdef09c28 --- /dev/null +++ b/x-pack/plugins/monitoring/public/application/setup_mode/index.ts @@ -0,0 +1,8 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './setup_mode'; diff --git a/x-pack/plugins/monitoring/public/application/setup_mode/setup_mode.tsx b/x-pack/plugins/monitoring/public/application/setup_mode/setup_mode.tsx index bfdf96ef5b2c1..828d5a2d20ae6 100644 --- a/x-pack/plugins/monitoring/public/application/setup_mode/setup_mode.tsx +++ b/x-pack/plugins/monitoring/public/application/setup_mode/setup_mode.tsx @@ -177,7 +177,7 @@ export const initSetupModeState = async ( } }; -export const isInSetupMode = (context?: ISetupModeContext) => { +export const isInSetupMode = (context?: ISetupModeContext, gState: GlobalState = globalState) => { if (context?.setupModeSupported === false) { return false; } @@ -185,7 +185,7 @@ export const isInSetupMode = (context?: ISetupModeContext) => { return true; } - return globalState.inSetupMode; + return gState.inSetupMode; }; export const isSetupModeFeatureEnabled = (feature: SetupModeFeature) => { From c5a0aaac148d0e933be0901a5f92a50493210b64 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 12 Oct 2021 17:09:33 -0400 Subject: [PATCH 083/107] [Stack Monitoring] ES Overview fix completed recoveries section (#114179) (#114629) * fix completed recoveries section * fix type * fix type Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Sandra G --- .../pages/elasticsearch/overview.tsx | 5 +- .../public/components/elasticsearch/index.ts | 1 + .../elasticsearch/overview/index.ts | 2 + .../elasticsearch/overview/overview_react.js | 66 ++++++++ .../elasticsearch/shard_activity/index.js | 1 + .../shard_activity/parse_props.js | 14 +- .../shard_activity/shard_activity_react.js | 156 ++++++++++++++++++ 7 files changed, 240 insertions(+), 5 deletions(-) create mode 100644 x-pack/plugins/monitoring/public/components/elasticsearch/overview/overview_react.js create mode 100644 x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/shard_activity_react.js diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/overview.tsx b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/overview.tsx index c58aaa5dffb04..d1500d5d9587b 100644 --- a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/overview.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/overview.tsx @@ -10,7 +10,8 @@ import { find } from 'lodash'; import { ElasticsearchTemplate } from './elasticsearch_template'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; import { GlobalStateContext } from '../../contexts/global_state_context'; -import { ElasticsearchOverview } from '../../../components/elasticsearch'; +// @ts-ignore +import { ElasticsearchOverviewReact } from '../../../components/elasticsearch'; import { ComponentProps } from '../../route_init'; import { useCharts } from '../../hooks/use_charts'; import { BreadcrumbContainer } from '../../hooks/use_breadcrumbs'; @@ -78,7 +79,7 @@ export const ElasticsearchOverviewPage: React.FC = ({ clusters } const shardActivityData = shardActivity && filterShardActivityData(shardActivity); // no filter on data = null return ( - + + + + + + + + {metricsToShow.map((metric, index) => ( + + + + + ))} + + + + + + + + + + + + + ); +} diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/index.js b/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/index.js index bcdbbe715f86e..8c0b8b4c9c82d 100644 --- a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/index.js +++ b/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/index.js @@ -6,3 +6,4 @@ */ export { ShardActivity } from './shard_activity'; +export { ShardActivityReact } from './shard_activity_react'; diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/parse_props.js b/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/parse_props.js index 76f22583af0c8..1f0ed47adf387 100644 --- a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/parse_props.js +++ b/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/parse_props.js @@ -37,18 +37,26 @@ export const parseProps = (props) => { target, translog, type, + timezone, } = props; const { files, size } = index; - const injector = Legacy.shims.getAngularInjector(); - const timezone = injector.get('config').get('dateFormat:tz'); + + let thisTimezone; + // react version passes timezone while Angular uses injector + if (!timezone) { + const injector = Legacy.shims.getAngularInjector(); + thisTimezone = injector.get('config').get('dateFormat:tz'); + } else { + thisTimezone = timezone; + } return { name: indexName || index.name, shard: `${id} / ${isPrimary ? 'Primary' : 'Replica'}`, relocationType: type === 'PRIMARY_RELOCATION' ? 'Primary Relocation' : normalizeString(type), stage: normalizeString(stage), - startTime: formatDateTimeLocal(startTimeInMillis, timezone), + startTime: formatDateTimeLocal(startTimeInMillis, thisTimezone), totalTime: formatMetric(Math.floor(totalTimeInMillis / 1000), '00:00:00'), isCopiedFromPrimary: !isPrimary || type === 'PRIMARY_RELOCATION', sourceName: source.name === undefined ? 'n/a' : source.name, diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/shard_activity_react.js b/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/shard_activity_react.js new file mode 100644 index 0000000000000..cc219ff0fff32 --- /dev/null +++ b/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/shard_activity_react.js @@ -0,0 +1,156 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { Fragment } from 'react'; +import { EuiText, EuiTitle, EuiLink, EuiSpacer, EuiSwitch } from '@elastic/eui'; +import { EuiMonitoringTable } from '../../table'; +import { RecoveryIndex } from './recovery_index'; +import { TotalTime } from './total_time'; +import { SourceDestination } from './source_destination'; +import { FilesProgress, BytesProgress, TranslogProgress } from './progress'; +import { parseProps } from './parse_props'; +import { i18n } from '@kbn/i18n'; +import { FormattedMessage } from '@kbn/i18n/react'; +import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; + +const columns = [ + { + name: i18n.translate('xpack.monitoring.kibana.shardActivity.indexTitle', { + defaultMessage: 'Index', + }), + field: 'name', + render: (_name, shard) => , + }, + { + name: i18n.translate('xpack.monitoring.kibana.shardActivity.stageTitle', { + defaultMessage: 'Stage', + }), + field: 'stage', + }, + { + name: i18n.translate('xpack.monitoring.kibana.shardActivity.totalTimeTitle', { + defaultMessage: 'Total Time', + }), + field: null, + render: (shard) => , + }, + { + name: i18n.translate('xpack.monitoring.kibana.shardActivity.sourceDestinationTitle', { + defaultMessage: 'Source / Destination', + }), + field: null, + render: (shard) => , + }, + { + name: i18n.translate('xpack.monitoring.kibana.shardActivity.filesTitle', { + defaultMessage: 'Files', + }), + field: null, + render: (shard) => , + }, + { + name: i18n.translate('xpack.monitoring.kibana.shardActivity.bytesTitle', { + defaultMessage: 'Bytes', + }), + field: null, + render: (shard) => , + }, + { + name: i18n.translate('xpack.monitoring.kibana.shardActivity.translogTitle', { + defaultMessage: 'Translog', + }), + field: null, + render: (shard) => , + }, +]; + +export const ShardActivityReact = (props) => { + const { + data: rawData, + sorting, + pagination, + onTableChange, + toggleShardActivityHistory, + showShardActivityHistory, + } = props; + const { services } = useKibana(); + const timezone = services.uiSettings?.get('dateFormat:tz'); + const getNoDataMessage = () => { + if (showShardActivityHistory) { + return i18n.translate('xpack.monitoring.elasticsearch.shardActivity.noDataMessage', { + defaultMessage: + 'There are no historical shard activity records for the selected time range.', + }); + } + return ( + + +
+ + + + ), + }} + /> +
+ ); + }; + + const rows = rawData.map((data) => parseProps({ ...data, timezone })); + + return ( + + + +

+ +

+ + + + + } + onChange={toggleShardActivityHistory} + checked={showShardActivityHistory} + /> + + +
+ ); +}; From 3130d9e2238659e25aa74a54b7efbd19aacbbce4 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 12 Oct 2021 17:23:56 -0400 Subject: [PATCH 084/107] [RAC][Security Solution] Refactor persistence and security rule generic types (#114022) (#114708) * Refactor persistence and security rule generic types * Remove unused import, fix unit tests Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Marshall Main <55718608+marshallmain@users.noreply.github.com> --- x-pack/plugins/rule_registry/server/index.ts | 2 +- ...> create_persistence_rule_type_wrapper.ts} | 4 +- .../server/utils/persistence_types.ts | 54 +++++++++----- ...s => create_security_rule_type_wrapper.ts} | 33 +++++++-- .../eql/create_eql_alert_type.test.ts | 12 ++- .../rule_types/eql/create_eql_alert_type.ts | 24 ++---- .../factories/bulk_create_factory.ts | 18 ++++- .../create_indicator_match_alert_type.test.ts | 60 +++++++-------- .../create_indicator_match_alert_type.ts | 24 ++---- .../lib/detection_engine/rule_types/ml.ts | 71 ------------------ .../ml/create_ml_alert_type.test.ts | 14 +++- .../rule_types/ml/create_ml_alert_type.ts | 23 ++---- .../query/create_query_alert_type.test.ts | 43 ++++++----- .../query/create_query_alert_type.ts | 24 ++---- .../create_threshold_alert_type.test.ts | 14 +++- .../threshold/create_threshold_alert_type.ts | 25 ++----- .../lib/detection_engine/rule_types/types.ts | 74 ++++++++----------- .../security_solution/server/plugin.ts | 31 ++++++-- 18 files changed, 254 insertions(+), 296 deletions(-) rename x-pack/plugins/rule_registry/server/utils/{create_persistence_rule_type_factory.ts => create_persistence_rule_type_wrapper.ts} (91%) rename x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/{create_security_rule_type_factory.ts => create_security_rule_type_wrapper.ts} (92%) delete mode 100644 x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/ml.ts diff --git a/x-pack/plugins/rule_registry/server/index.ts b/x-pack/plugins/rule_registry/server/index.ts index b287e6a3e4688..5331ab86be982 100644 --- a/x-pack/plugins/rule_registry/server/index.ts +++ b/x-pack/plugins/rule_registry/server/index.ts @@ -32,7 +32,7 @@ export { LifecycleAlertServices, createLifecycleExecutor, } from './utils/create_lifecycle_executor'; -export { createPersistenceRuleTypeFactory } from './utils/create_persistence_rule_type_factory'; +export { createPersistenceRuleTypeWrapper } from './utils/create_persistence_rule_type_wrapper'; export * from './utils/persistence_types'; export type { AlertsClient } from './alert_data_client/alerts_client'; diff --git a/x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_factory.ts b/x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_wrapper.ts similarity index 91% rename from x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_factory.ts rename to x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_wrapper.ts index 837d0378703f7..86b6cf72ed1f1 100644 --- a/x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_factory.ts +++ b/x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_wrapper.ts @@ -7,9 +7,9 @@ import { ALERT_INSTANCE_ID, VERSION } from '@kbn/rule-data-utils'; import { getCommonAlertFields } from './get_common_alert_fields'; -import { CreatePersistenceRuleTypeFactory } from './persistence_types'; +import { CreatePersistenceRuleTypeWrapper } from './persistence_types'; -export const createPersistenceRuleTypeFactory: CreatePersistenceRuleTypeFactory = +export const createPersistenceRuleTypeWrapper: CreatePersistenceRuleTypeWrapper = ({ logger, ruleDataClient }) => (type) => { return { diff --git a/x-pack/plugins/rule_registry/server/utils/persistence_types.ts b/x-pack/plugins/rule_registry/server/utils/persistence_types.ts index 11607909a2e0f..5da05d9956d7f 100644 --- a/x-pack/plugins/rule_registry/server/utils/persistence_types.ts +++ b/x-pack/plugins/rule_registry/server/utils/persistence_types.ts @@ -8,43 +8,59 @@ import { ApiResponse } from '@elastic/elasticsearch'; import { BulkResponse } from '@elastic/elasticsearch/api/types'; import { Logger } from '@kbn/logging'; -import { ESSearchRequest } from 'src/core/types/elasticsearch'; import { + AlertExecutorOptions, AlertInstanceContext, AlertInstanceState, + AlertType, AlertTypeParams, AlertTypeState, } from '../../../alerting/server'; +import { WithoutReservedActionGroups } from '../../../alerting/common'; import { IRuleDataClient } from '../rule_data_client'; -import { AlertTypeWithExecutor } from '../types'; -export type PersistenceAlertService< - TState extends AlertInstanceState = never, - TContext extends AlertInstanceContext = never, - TActionGroupIds extends string = never -> = ( +export type PersistenceAlertService = ( alerts: Array<{ id: string; fields: Record; }>, refresh: boolean | 'wait_for' -) => Promise>; +) => Promise | undefined>; -export type PersistenceAlertQueryService = ( - query: ESSearchRequest -) => Promise>>; -export interface PersistenceServices { - alertWithPersistence: PersistenceAlertService; +export interface PersistenceServices { + alertWithPersistence: PersistenceAlertService; } -export type CreatePersistenceRuleTypeFactory = (options: { +export type PersistenceAlertType< + TParams extends AlertTypeParams, + TState extends AlertTypeState, + TInstanceContext extends AlertInstanceContext = {}, + TActionGroupIds extends string = never +> = Omit< + AlertType, + 'executor' +> & { + executor: ( + options: AlertExecutorOptions< + TParams, + TState, + AlertInstanceState, + TInstanceContext, + WithoutReservedActionGroups + > & { + services: PersistenceServices; + } + ) => Promise; +}; + +export type CreatePersistenceRuleTypeWrapper = (options: { ruleDataClient: IRuleDataClient; logger: Logger; }) => < - TState extends AlertTypeState, TParams extends AlertTypeParams, - TServices extends PersistenceServices, - TAlertInstanceContext extends AlertInstanceContext = {} + TState extends AlertTypeState, + TInstanceContext extends AlertInstanceContext = {}, + TActionGroupIds extends string = never >( - type: AlertTypeWithExecutor -) => AlertTypeWithExecutor; + type: PersistenceAlertType +) => AlertType; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/create_security_rule_type_factory.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/create_security_rule_type_wrapper.ts similarity index 92% rename from x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/create_security_rule_type_factory.ts rename to x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/create_security_rule_type_wrapper.ts index 9ea36abe997c3..b037e572f21b7 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/create_security_rule_type_factory.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/create_security_rule_type_wrapper.ts @@ -14,7 +14,7 @@ import { parseScheduleDates } from '@kbn/securitysolution-io-ts-utils'; import { ListArray } from '@kbn/securitysolution-io-ts-list-types'; import { toError } from '@kbn/securitysolution-list-api'; -import { createPersistenceRuleTypeFactory } from '../../../../../rule_registry/server'; +import { createPersistenceRuleTypeWrapper } from '../../../../../rule_registry/server'; import { buildRuleMessageFactory } from './factories/build_rule_message_factory'; import { checkPrivilegesFromEsClient, @@ -22,10 +22,14 @@ import { getRuleRangeTuples, hasReadIndexPrivileges, hasTimestampFields, - isMachineLearningParams, + isEqlParams, + isQueryParams, + isSavedQueryParams, + isThreatParams, + isThresholdParams, } from '../signals/utils'; import { DEFAULT_MAX_SIGNALS, DEFAULT_SEARCH_AFTER_PAGE_SIZE } from '../../../../common/constants'; -import { CreateSecurityRuleTypeFactory } from './types'; +import { CreateSecurityRuleTypeWrapper } from './types'; import { getListClient } from './utils/get_list_client'; import { NotificationRuleTypeParams, @@ -37,13 +41,14 @@ import { bulkCreateFactory, wrapHitsFactory, wrapSequencesFactory } from './fact import { RuleExecutionLogClient } from '../rule_execution_log/rule_execution_log_client'; import { RuleExecutionStatus } from '../../../../common/detection_engine/schemas/common/schemas'; import { scheduleThrottledNotificationActions } from '../notifications/schedule_throttle_notification_actions'; +import { AlertAttributes } from '../signals/types'; /* eslint-disable complexity */ -export const createSecurityRuleTypeFactory: CreateSecurityRuleTypeFactory = +export const createSecurityRuleTypeWrapper: CreateSecurityRuleTypeWrapper = ({ lists, logger, config, ruleDataClient, eventLogService }) => (type) => { const { alertIgnoreFields: ignoreFields, alertMergeStrategy: mergeStrategy } = config; - const persistenceRuleType = createPersistenceRuleTypeFactory({ ruleDataClient, logger }); + const persistenceRuleType = createPersistenceRuleTypeWrapper({ ruleDataClient, logger }); return persistenceRuleType({ ...type, async executor(options) { @@ -69,7 +74,10 @@ export const createSecurityRuleTypeFactory: CreateSecurityRuleTypeFactory = eventLogService, underlyingClient: config.ruleExecutionLog.underlyingClient, }); - const ruleSO = await savedObjectsClient.get('alert', alertId); + const ruleSO = await savedObjectsClient.get>( + 'alert', + alertId + ); const { actions, @@ -107,7 +115,16 @@ export const createSecurityRuleTypeFactory: CreateSecurityRuleTypeFactory = // move this collection of lines into a function in utils // so that we can use it in create rules route, bulk, etc. try { - if (!isMachineLearningParams(params)) { + // Typescript 4.1.3 can't figure out that `!isMachineLearningParams(params)` also excludes the only rule type + // of rule params that doesn't include `params.index`, but Typescript 4.3.5 does compute the stricter type correctly. + // When we update Typescript to >= 4.3.5, we can replace this logic with `!isMachineLearningParams(params)` again. + if ( + isEqlParams(params) || + isThresholdParams(params) || + isQueryParams(params) || + isSavedQueryParams(params) || + isThreatParams(params) + ) { const index = params.index; const hasTimestampOverride = !!timestampOverride; @@ -254,7 +271,7 @@ export const createSecurityRuleTypeFactory: CreateSecurityRuleTypeFactory = createdSignals, createdSignalsCount: createdSignals.length, errors: result.errors.concat(runResult.errors), - lastLookbackDate: runResult.lastLookbackDate, + lastLookbackDate: runResult.lastLookBackDate, searchAfterTimes: result.searchAfterTimes.concat(runResult.searchAfterTimes), state: runState, success: result.success && runResult.success, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/eql/create_eql_alert_type.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/eql/create_eql_alert_type.test.ts index 43860d396ac5d..486a692ba29f4 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/eql/create_eql_alert_type.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/eql/create_eql_alert_type.test.ts @@ -12,6 +12,7 @@ import { allowedExperimentalValues } from '../../../../../common/experimental_fe import { createEqlAlertType } from './create_eql_alert_type'; import { createRuleTypeMocks } from '../__mocks__/rule_type'; import { getEqlRuleParams } from '../../schemas/rule_schemas.mock'; +import { createSecurityRuleTypeWrapper } from '../create_security_rule_type_wrapper'; import { createMockConfig } from '../../routes/__mocks__'; jest.mock('../../rule_execution_log/rule_execution_log_client'); @@ -23,15 +24,20 @@ describe('Event correlation alerts', () => { query: 'any where false', }; const { services, dependencies, executor } = createRuleTypeMocks('eql', params); - const eqlAlertType = createEqlAlertType({ - experimentalFeatures: allowedExperimentalValues, + const securityRuleTypeWrapper = createSecurityRuleTypeWrapper({ lists: dependencies.lists, logger: dependencies.logger, config: createMockConfig(), ruleDataClient: dependencies.ruleDataClient, eventLogService: dependencies.eventLogService, - version: '1.0.0', }); + const eqlAlertType = securityRuleTypeWrapper( + createEqlAlertType({ + experimentalFeatures: allowedExperimentalValues, + logger: dependencies.logger, + version: '1.0.0', + }) + ); dependencies.alerting.registerType(eqlAlertType); services.scopedClusterClient.asCurrentUser.search.mockReturnValue( elasticsearchClientMock.createSuccessTransportRequestPromise({ diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/eql/create_eql_alert_type.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/eql/create_eql_alert_type.ts index 9324b469bf644..f09f013301dea 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/eql/create_eql_alert_type.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/eql/create_eql_alert_type.ts @@ -6,24 +6,16 @@ */ import { validateNonExact } from '@kbn/securitysolution-io-ts-utils'; -import { PersistenceServices } from '../../../../../../rule_registry/server'; import { EQL_RULE_TYPE_ID } from '../../../../../common/constants'; -import { eqlRuleParams, EqlRuleParams } from '../../schemas/rule_schemas'; +import { EqlRuleParams, eqlRuleParams } from '../../schemas/rule_schemas'; import { eqlExecutor } from '../../signals/executors/eql'; -import { createSecurityRuleTypeFactory } from '../create_security_rule_type_factory'; -import { CreateRuleOptions } from '../types'; +import { CreateRuleOptions, SecurityAlertType } from '../types'; -export const createEqlAlertType = (createOptions: CreateRuleOptions) => { - const { experimentalFeatures, lists, logger, config, ruleDataClient, version, eventLogService } = - createOptions; - const createSecurityRuleType = createSecurityRuleTypeFactory({ - lists, - logger, - config, - ruleDataClient, - eventLogService, - }); - return createSecurityRuleType({ +export const createEqlAlertType = ( + createOptions: CreateRuleOptions +): SecurityAlertType => { + const { experimentalFeatures, logger, version } = createOptions; + return { id: EQL_RULE_TYPE_ID, name: 'Event Correlation Rule', validate: { @@ -83,5 +75,5 @@ export const createEqlAlertType = (createOptions: CreateRuleOptions) => { }); return { ...result, state }; }, - }); + }; }; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/factories/bulk_create_factory.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/factories/bulk_create_factory.ts index af0a8a27f2b25..3c12adbca3e44 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/factories/bulk_create_factory.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/factories/bulk_create_factory.ts @@ -16,7 +16,6 @@ import { BuildRuleMessage } from '../../signals/rule_messages'; import { errorAggregator, makeFloatString } from '../../signals/utils'; import { RefreshTypes } from '../../types'; import { PersistenceAlertService } from '../../../../../../rule_registry/server'; -import { AlertInstanceContext } from '../../../../../../alerting/common'; export interface GenericBulkCreateResponse { success: boolean; @@ -27,9 +26,9 @@ export interface GenericBulkCreateResponse { } export const bulkCreateFactory = - ( + ( logger: Logger, - alertWithPersistence: PersistenceAlertService, + alertWithPersistence: PersistenceAlertService, buildRuleMessage: BuildRuleMessage, refreshForBulkCreate: RefreshTypes ) => @@ -61,6 +60,19 @@ export const bulkCreateFactory = `individual bulk process time took: ${makeFloatString(end - start)} milliseconds` ) ); + + if (response == null) { + return { + errors: [ + 'alertWithPersistence returned undefined response. Alerts as Data write flag may be disabled.', + ], + success: false, + bulkCreateDuration: makeFloatString(end - start), + createdItemsCount: 0, + createdItems: [], + }; + } + logger.debug( buildRuleMessage(`took property says bulk took: ${response.body.took} milliseconds`) ); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/indicator_match/create_indicator_match_alert_type.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/indicator_match/create_indicator_match_alert_type.test.ts index 3db4f5686abdc..576e409378213 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/indicator_match/create_indicator_match_alert_type.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/indicator_match/create_indicator_match_alert_type.test.ts @@ -16,6 +16,7 @@ import { createIndicatorMatchAlertType } from './create_indicator_match_alert_ty import { sampleDocNoSortId } from '../../signals/__mocks__/es_results'; import { CountResponse } from 'kibana/server'; import { RuleParams } from '../../schemas/rule_schemas'; +import { createSecurityRuleTypeWrapper } from '../create_security_rule_type_wrapper'; import { createMockConfig } from '../../routes/__mocks__'; jest.mock('../utils/get_list_client', () => ({ @@ -50,18 +51,23 @@ describe('Indicator Match Alerts', () => { to: 'now', type: 'threat_match', }; + const { services, dependencies, executor } = createRuleTypeMocks('threat_match', params); + const securityRuleTypeWrapper = createSecurityRuleTypeWrapper({ + lists: dependencies.lists, + logger: dependencies.logger, + config: createMockConfig(), + ruleDataClient: dependencies.ruleDataClient, + eventLogService: dependencies.eventLogService, + }); it('does not send an alert when no events found', async () => { - const { services, dependencies, executor } = createRuleTypeMocks('threat_match', params); - const indicatorMatchAlertType = createIndicatorMatchAlertType({ - experimentalFeatures: allowedExperimentalValues, - lists: dependencies.lists, - logger: dependencies.logger, - config: createMockConfig(), - ruleDataClient: dependencies.ruleDataClient, - eventLogService: dependencies.eventLogService, - version: '1.0.0', - }); + const indicatorMatchAlertType = securityRuleTypeWrapper( + createIndicatorMatchAlertType({ + experimentalFeatures: allowedExperimentalValues, + logger: dependencies.logger, + version: '1.0.0', + }) + ); dependencies.alerting.registerType(indicatorMatchAlertType); @@ -92,16 +98,13 @@ describe('Indicator Match Alerts', () => { }); it('does not send an alert when no enrichments are found', async () => { - const { services, dependencies, executor } = createRuleTypeMocks('threat_match', params); - const indicatorMatchAlertType = createIndicatorMatchAlertType({ - experimentalFeatures: allowedExperimentalValues, - lists: dependencies.lists, - logger: dependencies.logger, - config: createMockConfig(), - ruleDataClient: dependencies.ruleDataClient, - eventLogService: dependencies.eventLogService, - version: '1.0.0', - }); + const indicatorMatchAlertType = securityRuleTypeWrapper( + createIndicatorMatchAlertType({ + experimentalFeatures: allowedExperimentalValues, + logger: dependencies.logger, + version: '1.0.0', + }) + ); dependencies.alerting.registerType(indicatorMatchAlertType); @@ -130,16 +133,13 @@ describe('Indicator Match Alerts', () => { }); it('sends an alert when enrichments are found', async () => { - const { services, dependencies, executor } = createRuleTypeMocks('threat_match', params); - const indicatorMatchAlertType = createIndicatorMatchAlertType({ - experimentalFeatures: allowedExperimentalValues, - lists: dependencies.lists, - logger: dependencies.logger, - config: createMockConfig(), - ruleDataClient: dependencies.ruleDataClient, - eventLogService: dependencies.eventLogService, - version: '1.0.0', - }); + const indicatorMatchAlertType = securityRuleTypeWrapper( + createIndicatorMatchAlertType({ + experimentalFeatures: allowedExperimentalValues, + logger: dependencies.logger, + version: '1.0.0', + }) + ); dependencies.alerting.registerType(indicatorMatchAlertType); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/indicator_match/create_indicator_match_alert_type.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/indicator_match/create_indicator_match_alert_type.ts index c30fdd7d99c2a..ee0688840811a 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/indicator_match/create_indicator_match_alert_type.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/indicator_match/create_indicator_match_alert_type.ts @@ -6,24 +6,16 @@ */ import { validateNonExact } from '@kbn/securitysolution-io-ts-utils'; -import { PersistenceServices } from '../../../../../../rule_registry/server'; import { INDICATOR_RULE_TYPE_ID } from '../../../../../common/constants'; -import { threatRuleParams, ThreatRuleParams } from '../../schemas/rule_schemas'; +import { ThreatRuleParams, threatRuleParams } from '../../schemas/rule_schemas'; import { threatMatchExecutor } from '../../signals/executors/threat_match'; -import { createSecurityRuleTypeFactory } from '../create_security_rule_type_factory'; -import { CreateRuleOptions } from '../types'; +import { CreateRuleOptions, SecurityAlertType } from '../types'; -export const createIndicatorMatchAlertType = (createOptions: CreateRuleOptions) => { - const { experimentalFeatures, lists, logger, config, ruleDataClient, version, eventLogService } = - createOptions; - const createSecurityRuleType = createSecurityRuleTypeFactory({ - lists, - logger, - config, - ruleDataClient, - eventLogService, - }); - return createSecurityRuleType({ +export const createIndicatorMatchAlertType = ( + createOptions: CreateRuleOptions +): SecurityAlertType => { + const { experimentalFeatures, logger, version } = createOptions; + return { id: INDICATOR_RULE_TYPE_ID, name: 'Indicator Match Rule', validate: { @@ -86,5 +78,5 @@ export const createIndicatorMatchAlertType = (createOptions: CreateRuleOptions) }); return { ...result, state }; }, - }); + }; }; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/ml.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/ml.ts deleted file mode 100644 index e0ad333b76a24..0000000000000 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/ml.ts +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -/* - -import { schema } from '@kbn/config-schema'; -import { KibanaRequest, Logger } from 'src/core/server'; -import { SavedObject } from 'src/core/types'; - -import { buildEsQuery, IIndexPattern } from '../../../../../../../src/plugins/data/common'; - -import { createPersistenceRuleTypeFactory } from '../../../../../rule_registry/server'; -import { ML_RULE_TYPE_ID } from '../../../../common/constants'; -import { SecurityRuleRegistry } from '../../../plugin'; - -const createSecurityMlRuleType = createPersistenceRuleTypeFactory(); - -import { - AlertInstanceContext, - AlertInstanceState, - AlertServices, -} from '../../../../../alerting/server'; -import { ListClient } from '../../../../../lists/server'; -import { isJobStarted } from '../../../../common/machine_learning/helpers'; -import { ExceptionListItemSchema } from '../../../../common/shared_imports'; -import { SetupPlugins } from '../../../plugin'; -import { RefreshTypes } from '../types'; -import { bulkCreateMlSignals } from '../signals/bulk_create_ml_signals'; -import { filterEventsAgainstList } from '../signals/filters/filter_events_against_list'; -import { findMlSignals } from '../signals/find_ml_signals'; -import { BuildRuleMessage } from '../signals/rule_messages'; -import { RuleStatusService } from '../signals/rule_status_service'; -import { MachineLearningRuleAttributes } from '../signals/types'; -import { createErrorsFromShard, createSearchAfterReturnType, mergeReturns } from '../signals/utils'; - -export const mlAlertType = createSecurityMlRuleType({ - id: ML_RULE_TYPE_ID, - name: 'Machine Learning Rule', - validate: { - params: schema.object({ - indexPatterns: schema.arrayOf(schema.string()), - customQuery: schema.string(), - }), - }, - actionGroups: [ - { - id: 'default', - name: 'Default', - }, - ], - defaultActionGroupId: 'default', - actionVariables: { - context: [{ name: 'server', description: 'the server' }], - }, - minimumLicenseRequired: 'basic', - isExportable: false, - producer: 'security-solution', - async executor({ - services: { alertWithPersistence, findAlerts }, - params: { indexPatterns, customQuery }, - }) { - return { - lastChecked: new Date(), - }; - }, -}); -*/ diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/ml/create_ml_alert_type.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/ml/create_ml_alert_type.test.ts index bffc20c3df1e3..b7a099b10e275 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/ml/create_ml_alert_type.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/ml/create_ml_alert_type.test.ts @@ -14,6 +14,7 @@ import { createRuleTypeMocks } from '../__mocks__/rule_type'; import { createMlAlertType } from './create_ml_alert_type'; import { RuleParams } from '../../schemas/rule_schemas'; +import { createSecurityRuleTypeWrapper } from '../create_security_rule_type_wrapper'; import { createMockConfig } from '../../routes/__mocks__'; jest.mock('../../signals/bulk_create_ml_signals'); @@ -94,16 +95,21 @@ describe('Machine Learning Alerts', () => { }, ]); const { dependencies, executor } = createRuleTypeMocks('machine_learning', params); - const mlAlertType = createMlAlertType({ - experimentalFeatures: allowedExperimentalValues, + const securityRuleTypeWrapper = createSecurityRuleTypeWrapper({ lists: dependencies.lists, logger: dependencies.logger, config: createMockConfig(), - ml: mlMock, ruleDataClient: dependencies.ruleDataClient, eventLogService: dependencies.eventLogService, - version: '1.0.0', }); + const mlAlertType = securityRuleTypeWrapper( + createMlAlertType({ + experimentalFeatures: allowedExperimentalValues, + logger: dependencies.logger, + ml: mlMock, + version: '1.0.0', + }) + ); dependencies.alerting.registerType(mlAlertType); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/ml/create_ml_alert_type.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/ml/create_ml_alert_type.ts index ac2d3f14831a4..756757c7c9956 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/ml/create_ml_alert_type.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/ml/create_ml_alert_type.ts @@ -6,23 +6,16 @@ */ import { validateNonExact } from '@kbn/securitysolution-io-ts-utils'; -import { PersistenceServices } from '../../../../../../rule_registry/server'; import { ML_RULE_TYPE_ID } from '../../../../../common/constants'; -import { machineLearningRuleParams, MachineLearningRuleParams } from '../../schemas/rule_schemas'; +import { MachineLearningRuleParams, machineLearningRuleParams } from '../../schemas/rule_schemas'; import { mlExecutor } from '../../signals/executors/ml'; -import { createSecurityRuleTypeFactory } from '../create_security_rule_type_factory'; -import { CreateRuleOptions } from '../types'; +import { CreateRuleOptions, SecurityAlertType } from '../types'; -export const createMlAlertType = (createOptions: CreateRuleOptions) => { - const { lists, logger, config, ml, ruleDataClient, eventLogService } = createOptions; - const createSecurityRuleType = createSecurityRuleTypeFactory({ - lists, - logger, - config, - ruleDataClient, - eventLogService, - }); - return createSecurityRuleType({ +export const createMlAlertType = ( + createOptions: CreateRuleOptions +): SecurityAlertType => { + const { logger, ml } = createOptions; + return { id: ML_RULE_TYPE_ID, name: 'Machine Learning Rule', validate: { @@ -81,5 +74,5 @@ export const createMlAlertType = (createOptions: CreateRuleOptions) => { }); return { ...result, state }; }, - }); + }; }; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/query/create_query_alert_type.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/query/create_query_alert_type.test.ts index 4fdeac8047b1d..638c40c13cfe2 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/query/create_query_alert_type.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/query/create_query_alert_type.test.ts @@ -14,6 +14,7 @@ import { allowedExperimentalValues } from '../../../../../common/experimental_fe import { sampleDocNoSortId } from '../../signals/__mocks__/es_results'; import { createQueryAlertType } from './create_query_alert_type'; import { createRuleTypeMocks } from '../__mocks__/rule_type'; +import { createSecurityRuleTypeWrapper } from '../create_security_rule_type_wrapper'; import { createMockConfig } from '../../routes/__mocks__'; jest.mock('../utils/get_list_client', () => ({ @@ -26,17 +27,22 @@ jest.mock('../utils/get_list_client', () => ({ jest.mock('../../rule_execution_log/rule_execution_log_client'); describe('Custom Query Alerts', () => { + const { services, dependencies, executor } = createRuleTypeMocks(); + const securityRuleTypeWrapper = createSecurityRuleTypeWrapper({ + lists: dependencies.lists, + logger: dependencies.logger, + config: createMockConfig(), + ruleDataClient: dependencies.ruleDataClient, + eventLogService: dependencies.eventLogService, + }); it('does not send an alert when no events found', async () => { - const { services, dependencies, executor } = createRuleTypeMocks(); - const queryAlertType = createQueryAlertType({ - experimentalFeatures: allowedExperimentalValues, - lists: dependencies.lists, - logger: dependencies.logger, - config: createMockConfig(), - ruleDataClient: dependencies.ruleDataClient, - eventLogService: dependencies.eventLogService, - version: '1.0.0', - }); + const queryAlertType = securityRuleTypeWrapper( + createQueryAlertType({ + experimentalFeatures: allowedExperimentalValues, + logger: dependencies.logger, + version: '1.0.0', + }) + ); dependencies.alerting.registerType(queryAlertType); @@ -74,16 +80,13 @@ describe('Custom Query Alerts', () => { }); it('sends a properly formatted alert when events are found', async () => { - const { services, dependencies, executor } = createRuleTypeMocks(); - const queryAlertType = createQueryAlertType({ - experimentalFeatures: allowedExperimentalValues, - lists: dependencies.lists, - logger: dependencies.logger, - config: createMockConfig(), - ruleDataClient: dependencies.ruleDataClient, - eventLogService: dependencies.eventLogService, - version: '1.0.0', - }); + const queryAlertType = securityRuleTypeWrapper( + createQueryAlertType({ + experimentalFeatures: allowedExperimentalValues, + logger: dependencies.logger, + version: '1.0.0', + }) + ); dependencies.alerting.registerType(queryAlertType); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/query/create_query_alert_type.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/query/create_query_alert_type.ts index 469c237112dcb..aa2b25c422221 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/query/create_query_alert_type.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/query/create_query_alert_type.ts @@ -6,24 +6,16 @@ */ import { validateNonExact } from '@kbn/securitysolution-io-ts-utils'; -import { PersistenceServices } from '../../../../../../rule_registry/server'; import { QUERY_RULE_TYPE_ID } from '../../../../../common/constants'; -import { queryRuleParams, QueryRuleParams } from '../../schemas/rule_schemas'; +import { QueryRuleParams, queryRuleParams } from '../../schemas/rule_schemas'; import { queryExecutor } from '../../signals/executors/query'; -import { createSecurityRuleTypeFactory } from '../create_security_rule_type_factory'; -import { CreateRuleOptions } from '../types'; +import { CreateRuleOptions, SecurityAlertType } from '../types'; -export const createQueryAlertType = (createOptions: CreateRuleOptions) => { - const { experimentalFeatures, lists, logger, config, ruleDataClient, version, eventLogService } = - createOptions; - const createSecurityRuleType = createSecurityRuleTypeFactory({ - lists, - logger, - config, - ruleDataClient, - eventLogService, - }); - return createSecurityRuleType({ +export const createQueryAlertType = ( + createOptions: CreateRuleOptions +): SecurityAlertType => { + const { experimentalFeatures, logger, version } = createOptions; + return { id: QUERY_RULE_TYPE_ID, name: 'Custom Query Rule', validate: { @@ -86,5 +78,5 @@ export const createQueryAlertType = (createOptions: CreateRuleOptions) => { }); return { ...result, state }; }, - }); + }; }; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/threshold/create_threshold_alert_type.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/threshold/create_threshold_alert_type.test.ts index aff57dbdf3cd4..093ec0af78f59 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/threshold/create_threshold_alert_type.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/threshold/create_threshold_alert_type.test.ts @@ -9,6 +9,7 @@ import { allowedExperimentalValues } from '../../../../../common/experimental_fe import { createThresholdAlertType } from './create_threshold_alert_type'; import { createRuleTypeMocks } from '../__mocks__/rule_type'; import { getThresholdRuleParams } from '../../schemas/rule_schemas.mock'; +import { createSecurityRuleTypeWrapper } from '../create_security_rule_type_wrapper'; import { createMockConfig } from '../../routes/__mocks__'; jest.mock('../../rule_execution_log/rule_execution_log_client'); @@ -17,16 +18,21 @@ describe('Threshold Alerts', () => { it('does not send an alert when no events found', async () => { const params = getThresholdRuleParams(); const { dependencies, executor } = createRuleTypeMocks('threshold', params); - const thresholdAlertTpe = createThresholdAlertType({ - experimentalFeatures: allowedExperimentalValues, + const securityRuleTypeWrapper = createSecurityRuleTypeWrapper({ lists: dependencies.lists, logger: dependencies.logger, config: createMockConfig(), ruleDataClient: dependencies.ruleDataClient, eventLogService: dependencies.eventLogService, - version: '1.0.0', }); - dependencies.alerting.registerType(thresholdAlertTpe); + const thresholdAlertType = securityRuleTypeWrapper( + createThresholdAlertType({ + experimentalFeatures: allowedExperimentalValues, + logger: dependencies.logger, + version: '1.0.0', + }) + ); + dependencies.alerting.registerType(thresholdAlertType); await executor({ params }); expect(dependencies.ruleDataClient.getWriter).not.toBeCalled(); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/threshold/create_threshold_alert_type.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/threshold/create_threshold_alert_type.ts index 789e4525c58ab..2b3c1c0a8965b 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/threshold/create_threshold_alert_type.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/threshold/create_threshold_alert_type.ts @@ -6,26 +6,17 @@ */ import { validateNonExact } from '@kbn/securitysolution-io-ts-utils'; - -import { PersistenceServices } from '../../../../../../rule_registry/server'; import { THRESHOLD_RULE_TYPE_ID } from '../../../../../common/constants'; import { thresholdRuleParams, ThresholdRuleParams } from '../../schemas/rule_schemas'; import { thresholdExecutor } from '../../signals/executors/threshold'; import { ThresholdAlertState } from '../../signals/types'; -import { createSecurityRuleTypeFactory } from '../create_security_rule_type_factory'; -import { CreateRuleOptions } from '../types'; +import { CreateRuleOptions, SecurityAlertType } from '../types'; -export const createThresholdAlertType = (createOptions: CreateRuleOptions) => { - const { experimentalFeatures, lists, logger, config, ruleDataClient, version, eventLogService } = - createOptions; - const createSecurityRuleType = createSecurityRuleTypeFactory({ - lists, - logger, - config, - ruleDataClient, - eventLogService, - }); - return createSecurityRuleType({ +export const createThresholdAlertType = ( + createOptions: CreateRuleOptions +): SecurityAlertType => { + const { experimentalFeatures, logger, version } = createOptions; + return { id: THRESHOLD_RULE_TYPE_ID, name: 'Threshold Rule', validate: { @@ -63,8 +54,6 @@ export const createThresholdAlertType = (createOptions: CreateRuleOptions) => { state, } = execOptions; - // console.log(JSON.stringify(state)); - const result = await thresholdExecutor({ buildRuleMessage, bulkCreate, @@ -82,5 +71,5 @@ export const createThresholdAlertType = (createOptions: CreateRuleOptions) => { return result; }, - }); + }; }; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/types.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/types.ts index c94339da03b93..393cb00939b24 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/types.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/types.ts @@ -11,28 +11,30 @@ import { SearchHit } from '@elastic/elasticsearch/api/types'; import { Logger } from '@kbn/logging'; import { ExceptionListItemSchema } from '@kbn/securitysolution-io-ts-list-types'; +import { AlertExecutorOptions, AlertType } from '../../../../../alerting/server'; import { SavedObject } from '../../../../../../../src/core/server'; import { AlertInstanceContext, AlertInstanceState, - AlertTypeParams, AlertTypeState, + WithoutReservedActionGroups, } from '../../../../../alerting/common'; -import { AlertType } from '../../../../../alerting/server'; import { ListClient } from '../../../../../lists/server'; import { TechnicalRuleFieldMap } from '../../../../../rule_registry/common/assets/field_maps/technical_rule_field_map'; import { TypeOfFieldMap } from '../../../../../rule_registry/common/field_map'; -import { - AlertTypeWithExecutor, - PersistenceServices, - IRuleDataClient, -} from '../../../../../rule_registry/server'; +import { PersistenceServices, IRuleDataClient } from '../../../../../rule_registry/server'; import { BaseHit } from '../../../../common/detection_engine/types'; import { ConfigType } from '../../../config'; import { SetupPlugins } from '../../../plugin'; import { RuleParams } from '../schemas/rule_schemas'; import { BuildRuleMessage } from '../signals/rule_messages'; -import { AlertAttributes, BulkCreate, WrapHits, WrapSequences } from '../signals/types'; +import { + AlertAttributes, + BulkCreate, + SearchAfterAndBulkCreateReturnType, + WrapHits, + WrapSequences, +} from '../signals/types'; import { AlertsFieldMap, RulesFieldMap } from './field_maps'; import { ExperimentalFeatures } from '../../../../common/experimental_features'; import { IEventLogService } from '../../../../../event_log/server'; @@ -50,12 +52,6 @@ export interface SecurityAlertTypeReturnValue { warningMessages: string[]; } -type SimpleAlertType< - TState extends AlertTypeState, - TParams extends AlertTypeParams = {}, - TAlertInstanceContext extends AlertInstanceContext = {} -> = AlertType; - export interface RunOpts { buildRuleMessage: BuildRuleMessage; bulkCreate: BulkCreate; @@ -72,44 +68,42 @@ export interface RunOpts { wrapSequences: WrapSequences; } -export type SecurityAlertTypeExecutor< - TState extends AlertTypeState, - TServices extends PersistenceServices, +export type SecurityAlertType< TParams extends RuleParams, - TAlertInstanceContext extends AlertInstanceContext = {} -> = ( - options: Parameters['executor']>[0] & { - runOpts: RunOpts; - } & { services: TServices } -) => Promise>; - -type SecurityAlertTypeWithExecutor< TState extends AlertTypeState, - TServices extends PersistenceServices, - TParams extends RuleParams, - TAlertInstanceContext extends AlertInstanceContext = {} + TInstanceContext extends AlertInstanceContext = {}, + TActionGroupIds extends string = never > = Omit< - AlertType, + AlertType, 'executor' > & { - executor: SecurityAlertTypeExecutor; + executor: ( + options: AlertExecutorOptions< + TParams, + TState, + AlertInstanceState, + TInstanceContext, + WithoutReservedActionGroups + > & { + services: PersistenceServices; + runOpts: RunOpts; + } + ) => Promise; }; -export type CreateSecurityRuleTypeFactory = (options: { +export type CreateSecurityRuleTypeWrapper = (options: { lists: SetupPlugins['lists']; logger: Logger; config: ConfigType; ruleDataClient: IRuleDataClient; eventLogService: IEventLogService; }) => < - TParams extends RuleParams & { index?: string[] | undefined }, - TAlertInstanceContext extends AlertInstanceContext, - TServices extends PersistenceServices, - TState extends AlertTypeState + TParams extends RuleParams, + TState extends AlertTypeState, + TInstanceContext extends AlertInstanceContext = {} >( - type: SecurityAlertTypeWithExecutor - // eslint-disable-next-line @typescript-eslint/no-explicit-any -) => AlertTypeWithExecutor; + type: SecurityAlertType +) => AlertType; export type RACAlertSignal = TypeOfFieldMap & TypeOfFieldMap; export type RACAlert = Exclude< @@ -124,11 +118,7 @@ export type WrappedRACAlert = BaseHit; export interface CreateRuleOptions { experimentalFeatures: ExperimentalFeatures; - lists: SetupPlugins['lists']; logger: Logger; - config: ConfigType; ml?: SetupPlugins['ml']; - ruleDataClient: IRuleDataClient; version: string; - eventLogService: IEventLogService; } diff --git a/x-pack/plugins/security_solution/server/plugin.ts b/x-pack/plugins/security_solution/server/plugin.ts index 2c511c784db80..714b7a460ed90 100644 --- a/x-pack/plugins/security_solution/server/plugin.ts +++ b/x-pack/plugins/security_solution/server/plugin.ts @@ -109,6 +109,7 @@ import { ctiFieldMap } from './lib/detection_engine/rule_types/field_maps/cti'; import { legacyRulesNotificationAlertType } from './lib/detection_engine/notifications/legacy_rules_notification_alert_type'; // eslint-disable-next-line no-restricted-imports import { legacyIsNotificationAlertExecutor } from './lib/detection_engine/notifications/legacy_types'; +import { createSecurityRuleTypeWrapper } from './lib/detection_engine/rule_types/create_security_rule_type_wrapper'; import { IEventLogClientService, IEventLogService } from '../../event_log/server'; import { registerEventLogProvider } from './lib/detection_engine/rule_execution_log/event_log_adapter/register_event_log_provider'; @@ -268,20 +269,34 @@ export class Plugin implements IPlugin Date: Tue, 12 Oct 2021 23:40:27 +0200 Subject: [PATCH 085/107] [Reporting] Fix missing force now behaviour for v2 reports (#114516) (#114634) * fix missing force now behaviour for v2 reports * added jest test * updated jest test snapshot to match removal of forceNow injection from locator params Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../server/export_types/common/index.ts | 1 - .../export_types/common/set_force_now.ts | 24 ---------- .../v2/get_full_redirect_app_url.test.ts | 45 +++++++++++++++++++ .../common/v2/get_full_redirect_app_url.ts | 7 ++- .../export_types/png_v2/execute_job.test.ts | 6 +-- .../server/export_types/png_v2/execute_job.ts | 5 +-- .../printable_pdf_v2/execute_job.ts | 3 +- .../printable_pdf_v2/lib/generate_pdf.ts | 5 ++- 8 files changed, 60 insertions(+), 36 deletions(-) delete mode 100644 x-pack/plugins/reporting/server/export_types/common/set_force_now.ts create mode 100644 x-pack/plugins/reporting/server/export_types/common/v2/get_full_redirect_app_url.test.ts diff --git a/x-pack/plugins/reporting/server/export_types/common/index.ts b/x-pack/plugins/reporting/server/export_types/common/index.ts index 09d3236fa7b54..c35dcb5344e21 100644 --- a/x-pack/plugins/reporting/server/export_types/common/index.ts +++ b/x-pack/plugins/reporting/server/export_types/common/index.ts @@ -12,7 +12,6 @@ export { omitBlockedHeaders } from './omit_blocked_headers'; export { validateUrls } from './validate_urls'; export { generatePngObservableFactory } from './generate_png'; export { getCustomLogo } from './get_custom_logo'; -export { setForceNow } from './set_force_now'; export interface TimeRangeParams { min?: Date | string | number | null; diff --git a/x-pack/plugins/reporting/server/export_types/common/set_force_now.ts b/x-pack/plugins/reporting/server/export_types/common/set_force_now.ts deleted file mode 100644 index b4f4b1b0ace05..0000000000000 --- a/x-pack/plugins/reporting/server/export_types/common/set_force_now.ts +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import type { LocatorParams } from '../../../common/types'; - -/** - * Add `forceNow` to {@link LocatorParams['params']} to enable clients to set the time appropriately when - * reporting navigates to the page in Chromium. - */ -export const setForceNow = - (forceNow: string) => - (locator: LocatorParams): LocatorParams => { - return { - ...locator, - params: { - ...locator.params, - forceNow, - }, - }; - }; diff --git a/x-pack/plugins/reporting/server/export_types/common/v2/get_full_redirect_app_url.test.ts b/x-pack/plugins/reporting/server/export_types/common/v2/get_full_redirect_app_url.test.ts new file mode 100644 index 0000000000000..7a2ec5b83e7f4 --- /dev/null +++ b/x-pack/plugins/reporting/server/export_types/common/v2/get_full_redirect_app_url.test.ts @@ -0,0 +1,45 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { get } from 'lodash'; +import { ReportingConfig } from '../../../config/config'; +import { getFullRedirectAppUrl } from './get_full_redirect_app_url'; + +describe('getFullRedirectAppUrl', () => { + let config: ReportingConfig; + + beforeEach(() => { + const values = { + server: { + basePath: 'test', + }, + kibanaServer: { + protocol: 'http', + hostname: 'localhost', + port: '1234', + }, + }; + config = { + get: jest.fn((...args: string[]) => get(values, args)), + kbnConfig: { + get: jest.fn((...args: string[]) => get(values, args)), + }, + }; + }); + + test('smoke test', () => { + expect(getFullRedirectAppUrl(config, 'test', undefined)).toBe( + 'http://localhost:1234/test/s/test/app/management/insightsAndAlerting/reporting/r' + ); + }); + + test('adding forceNow', () => { + expect(getFullRedirectAppUrl(config, 'test', 'TEST with a space')).toBe( + 'http://localhost:1234/test/s/test/app/management/insightsAndAlerting/reporting/r?forceNow=TEST%20with%20a%20space' + ); + }); +}); diff --git a/x-pack/plugins/reporting/server/export_types/common/v2/get_full_redirect_app_url.ts b/x-pack/plugins/reporting/server/export_types/common/v2/get_full_redirect_app_url.ts index bb640eff667e9..9c329db64fa1a 100644 --- a/x-pack/plugins/reporting/server/export_types/common/v2/get_full_redirect_app_url.ts +++ b/x-pack/plugins/reporting/server/export_types/common/v2/get_full_redirect_app_url.ts @@ -10,7 +10,11 @@ import { ReportingConfig } from '../../..'; import { getRedirectAppPath } from '../../../../common/constants'; import { buildKibanaPath } from '../../../../common/build_kibana_path'; -export function getFullRedirectAppUrl(config: ReportingConfig, spaceId?: string) { +export function getFullRedirectAppUrl( + config: ReportingConfig, + spaceId?: string, + forceNow?: string +) { const [basePath, protocol, hostname, port] = [ config.kbnConfig.get('server', 'basePath'), config.get('kibanaServer', 'protocol'), @@ -29,5 +33,6 @@ export function getFullRedirectAppUrl(config: ReportingConfig, spaceId?: string) hostname, port, pathname: path, + query: forceNow ? { forceNow } : undefined, }); } diff --git a/x-pack/plugins/reporting/server/export_types/png_v2/execute_job.test.ts b/x-pack/plugins/reporting/server/export_types/png_v2/execute_job.test.ts index e57eab382468c..3cf3c057e7b9c 100644 --- a/x-pack/plugins/reporting/server/export_types/png_v2/execute_job.test.ts +++ b/x-pack/plugins/reporting/server/export_types/png_v2/execute_job.test.ts @@ -102,12 +102,10 @@ test(`passes browserTimezone to generatePng`, async () => { "warning": [Function], }, Array [ - "localhost:80undefined/app/management/insightsAndAlerting/reporting/r", + "localhost:80undefined/app/management/insightsAndAlerting/reporting/r?forceNow=test", Object { "id": "test", - "params": Object { - "forceNow": "test", - }, + "params": Object {}, "version": "test", }, ], diff --git a/x-pack/plugins/reporting/server/export_types/png_v2/execute_job.ts b/x-pack/plugins/reporting/server/export_types/png_v2/execute_job.ts index 5c2cc66d3d3aa..a7478de1cc96e 100644 --- a/x-pack/plugins/reporting/server/export_types/png_v2/execute_job.ts +++ b/x-pack/plugins/reporting/server/export_types/png_v2/execute_job.ts @@ -16,7 +16,6 @@ import { getConditionalHeaders, omitBlockedHeaders, generatePngObservableFactory, - setForceNow, } from '../common'; import { getFullRedirectAppUrl } from '../common/v2/get_full_redirect_app_url'; import { TaskPayloadPNGV2 } from './types'; @@ -38,8 +37,8 @@ export const runTaskFnFactory: RunTaskFnFactory> = map((decryptedHeaders) => omitBlockedHeaders(decryptedHeaders)), map((filteredHeaders) => getConditionalHeaders(config, filteredHeaders)), mergeMap((conditionalHeaders) => { - const url = getFullRedirectAppUrl(config, job.spaceId); - const [locatorParams] = job.locatorParams.map(setForceNow(job.forceNow)); + const url = getFullRedirectAppUrl(config, job.spaceId, job.forceNow); + const [locatorParams] = job.locatorParams; apmGetAssets?.end(); diff --git a/x-pack/plugins/reporting/server/export_types/printable_pdf_v2/execute_job.ts b/x-pack/plugins/reporting/server/export_types/printable_pdf_v2/execute_job.ts index e44f5e98fa4fe..2c553295aa840 100644 --- a/x-pack/plugins/reporting/server/export_types/printable_pdf_v2/execute_job.ts +++ b/x-pack/plugins/reporting/server/export_types/printable_pdf_v2/execute_job.ts @@ -16,7 +16,6 @@ import { getConditionalHeaders, omitBlockedHeaders, getCustomLogo, - setForceNow, } from '../common'; import { generatePdfObservableFactory } from './lib/generate_pdf'; import { TaskPayloadPDFV2 } from './types'; @@ -50,7 +49,7 @@ export const runTaskFnFactory: RunTaskFnFactory> = jobLogger, job, title, - locatorParams.map(setForceNow(job.forceNow)), + locatorParams, browserTimezone, conditionalHeaders, layout, diff --git a/x-pack/plugins/reporting/server/export_types/printable_pdf_v2/lib/generate_pdf.ts b/x-pack/plugins/reporting/server/export_types/printable_pdf_v2/lib/generate_pdf.ts index 424a347876a1d..9fb31a1104279 100644 --- a/x-pack/plugins/reporting/server/export_types/printable_pdf_v2/lib/generate_pdf.ts +++ b/x-pack/plugins/reporting/server/export_types/printable_pdf_v2/lib/generate_pdf.ts @@ -56,7 +56,10 @@ export async function generatePdfObservableFactory(reporting: ReportingCore) { /** * For each locator we get the relative URL to the redirect app */ - const urls = locatorParams.map(() => getFullRedirectAppUrl(reporting.getConfig(), job.spaceId)); + const urls = locatorParams.map(() => + getFullRedirectAppUrl(reporting.getConfig(), job.spaceId, job.forceNow) + ); + const screenshots$ = getScreenshots$(captureConfig, browserDriverFactory, { logger, urlsOrUrlLocatorTuples: zip(urls, locatorParams) as UrlOrUrlLocatorTuple[], From e8096f9efdde406700692cd78eb0ae3c7de9b42c Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 12 Oct 2021 17:51:59 -0400 Subject: [PATCH 086/107] [Maps] fix flaky getTile test (#114689) (#114714) Co-authored-by: Nathan Reese --- x-pack/test/api_integration/apis/maps/get_tile.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/x-pack/test/api_integration/apis/maps/get_tile.js b/x-pack/test/api_integration/apis/maps/get_tile.js index a1d4f10ca7be8..9705064464843 100644 --- a/x-pack/test/api_integration/apis/maps/get_tile.js +++ b/x-pack/test/api_integration/apis/maps/get_tile.js @@ -66,14 +66,21 @@ export default function ({ getService }) { expect(metadataFeature.type).to.be(3); expect(metadataFeature.extent).to.be(4096); expect(metadataFeature.id).to.be(undefined); + const fieldMeta = JSON.parse(metadataFeature.properties.fieldMeta); + delete metadataFeature.properties.fieldMeta; expect(metadataFeature.properties).to.eql({ __kbn_feature_count__: 2, __kbn_is_tile_complete__: true, __kbn_metadata_feature__: true, __kbn_vector_shape_type_counts__: '{"POINT":2,"LINE":0,"POLYGON":0}', - fieldMeta: - '{"machine.os.raw":{"categories":{"categories":[{"key":"ios","count":1},{"count":1}]}},"bytes":{"range":{"min":9252,"max":9583,"delta":331},"categories":{"categories":[{"key":9252,"count":1},{"key":9583,"count":1}]}}}', }); + expect(fieldMeta.bytes.range).to.eql({ + min: 9252, + max: 9583, + delta: 331, + }); + expect(fieldMeta.bytes.categories.categories.length).to.be(2); + expect(fieldMeta['machine.os.raw'].categories.categories.length).to.be(2); expect(metadataFeature.loadGeometry()).to.eql([ [ { x: 0, y: 4096 }, From 5565d80771bafc8148903ffd6cab71fc1fc41980 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 12 Oct 2021 18:34:38 -0400 Subject: [PATCH 087/107] [Security Solution][Endpoint] Bug fixes and unit test cases for the Trusted Apps list view under Policy Details (#113865) (#114628) * test: rename mock utility * Tests: artifact grid test coverage * Fix: CardCompressedHeader should use CardCompressedHeaderLayout * Tests: ArtifactEntryCollapsibleCard test coverage * Context Menu adjustments to test ids and to avoid react console errors/warnings * add test id to truncate wrapper in ContextMenuItemWithRouterSupport * Tests for ContextMenuWithRouterSupport * new mocks test utils * HTTP mocks for Policy Details Trusted apps list page * tests for policy trusted apps selectors * Refactor: move reusable fleet http mocks to `page/mocks` * HTTP mocks for fleet get package policy and Agent status + mock for all Policy Details APIs * Tests: Policy Details Trusted Apps List * Moved `seededUUIDv4()` to `BaseDataGenerator` and changed trusted apps generator to use it * change `createStartServicesMock` to optionally accept `coreStart` as input * Show api load errors on policy TA list Co-authored-by: Paul Tavares <56442535+paul-tavares@users.noreply.github.com> --- .../data_generators/base_data_generator.ts | 5 + .../data_generators/trusted_app_generator.ts | 2 +- .../common/endpoint/generate_data.ts | 16 +- .../use_endpoint_privileges.test.ts | 2 +- .../common/lib/kibana/kibana_react.mock.ts | 5 +- .../mock/endpoint/app_context_render.tsx | 7 +- .../actions_context_menu.tsx | 4 +- .../artifact_card_grid.test.tsx | 152 ++++++----- .../components/grid_header.tsx | 2 +- .../artifact_entry_card.test.tsx | 10 +- .../artifact_entry_card_minified.test.tsx | 6 +- .../artifact_entry_collapsible_card.test.tsx | 104 +++++++ .../components/card_compressed_header.tsx | 68 ++--- .../artifact_entry_card/test_utils.ts | 24 +- .../context_menu_item_nav_by_router.tsx | 3 + .../context_menu_with_router_support.test.tsx | 133 +++++++++ .../context_menu_with_router_support.tsx | 13 +- .../context_menu_with_router_support/index.ts | 1 + .../management/pages/endpoint_hosts/index.tsx | 2 + .../management/pages/endpoint_hosts/mocks.ts | 120 ++------- .../management/pages/mocks/fleet_mocks.ts | 164 ++++++++++++ .../public/management/pages/mocks/index.ts | 8 + .../selectors/trusted_apps_selectors.test.ts | 185 ++++++++++++- .../selectors/trusted_apps_selectors.ts | 9 + .../pages/policy/test_utils/index.ts | 23 +- .../pages/policy/test_utils/mocks.ts | 123 +++++++++ .../list/policy_trusted_apps_list.test.tsx | 253 ++++++++++++++++++ .../list/policy_trusted_apps_list.tsx | 34 ++- 28 files changed, 1212 insertions(+), 266 deletions(-) create mode 100644 x-pack/plugins/security_solution/public/management/components/artifact_entry_card/artifact_entry_collapsible_card.test.tsx create mode 100644 x-pack/plugins/security_solution/public/management/components/context_menu_with_router_support/context_menu_with_router_support.test.tsx create mode 100644 x-pack/plugins/security_solution/public/management/pages/mocks/fleet_mocks.ts create mode 100644 x-pack/plugins/security_solution/public/management/pages/mocks/index.ts create mode 100644 x-pack/plugins/security_solution/public/management/pages/policy/test_utils/mocks.ts create mode 100644 x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/list/policy_trusted_apps_list.test.tsx diff --git a/x-pack/plugins/security_solution/common/endpoint/data_generators/base_data_generator.ts b/x-pack/plugins/security_solution/common/endpoint/data_generators/base_data_generator.ts index da3f387016b9f..6fbe54578f469 100644 --- a/x-pack/plugins/security_solution/common/endpoint/data_generators/base_data_generator.ts +++ b/x-pack/plugins/security_solution/common/endpoint/data_generators/base_data_generator.ts @@ -127,6 +127,11 @@ export class BaseDataGenerator { return uuid.v4(); } + /** generate a seeded random UUID v4 */ + protected seededUUIDv4(): string { + return uuid.v4({ random: [...this.randomNGenerator(255, 16)] }); + } + /** Generate a random number up to the max provided */ protected randomN(max: number): number { return Math.floor(this.random() * max); diff --git a/x-pack/plugins/security_solution/common/endpoint/data_generators/trusted_app_generator.ts b/x-pack/plugins/security_solution/common/endpoint/data_generators/trusted_app_generator.ts index be0178b83be90..91c2e17a1e12d 100644 --- a/x-pack/plugins/security_solution/common/endpoint/data_generators/trusted_app_generator.ts +++ b/x-pack/plugins/security_solution/common/endpoint/data_generators/trusted_app_generator.ts @@ -45,7 +45,7 @@ export class TrustedAppGenerator extends BaseDataGenerator { return merge( this.generateTrustedAppForCreate(), { - id: this.randomUUID(), + id: this.seededUUIDv4(), version: this.randomString(5), created_at: this.randomPastDate(), updated_at: new Date().toISOString(), diff --git a/x-pack/plugins/security_solution/common/endpoint/generate_data.ts b/x-pack/plugins/security_solution/common/endpoint/generate_data.ts index 1492e0e8c82c9..3e94dfaebc7fe 100644 --- a/x-pack/plugins/security_solution/common/endpoint/generate_data.ts +++ b/x-pack/plugins/security_solution/common/endpoint/generate_data.ts @@ -5,7 +5,6 @@ * 2.0. */ -import uuid from 'uuid'; import seedrandom from 'seedrandom'; import semverLte from 'semver/functions/lte'; import { assertNever } from '@kbn/std'; @@ -32,9 +31,10 @@ import { import { GetAgentPoliciesResponseItem, GetPackagesResponse, -} from '../../../fleet/common/types/rest_spec'; -import { EsAssetReference, KibanaAssetReference } from '../../../fleet/common/types/models'; -import { agentPolicyStatuses } from '../../../fleet/common/constants'; + EsAssetReference, + KibanaAssetReference, + agentPolicyStatuses, +} from '../../../fleet/common'; import { firstNonNullValue } from './models/ecs_safety_helpers'; import { EventOptions } from './types/generator'; import { BaseDataGenerator } from './data_generators/base_data_generator'; @@ -406,6 +406,7 @@ const alertsDefaultDataStream = { export class EndpointDocGenerator extends BaseDataGenerator { commonInfo: HostInfo; sequence: number = 0; + /** * The EndpointDocGenerator parameters * @@ -523,6 +524,7 @@ export class EndpointDocGenerator extends BaseDataGenerator { data_stream: metadataDataStream, }; } + /** * Creates a malware alert from the simulated host represented by this EndpointDocGenerator * @param ts - Timestamp to put in the event @@ -744,6 +746,7 @@ export class EndpointDocGenerator extends BaseDataGenerator { } return newAlert; } + /** * Creates an alert from the simulated host represented by this EndpointDocGenerator * @param ts - Timestamp to put in the event @@ -900,6 +903,7 @@ export class EndpointDocGenerator extends BaseDataGenerator { }; return newAlert; } + /** * Returns the default DLLs used in alerts */ @@ -1871,10 +1875,6 @@ export class EndpointDocGenerator extends BaseDataGenerator { }; } - private seededUUIDv4(): string { - return uuid.v4({ random: [...this.randomNGenerator(255, 16)] }); - } - private randomHostPolicyResponseActionNames(): string[] { return this.randomArray(this.randomN(8), () => this.randomChoice([ diff --git a/x-pack/plugins/security_solution/public/common/components/user_privileges/use_endpoint_privileges.test.ts b/x-pack/plugins/security_solution/public/common/components/user_privileges/use_endpoint_privileges.test.ts index 8e9dae9f12ad5..a05d1ac8d3588 100644 --- a/x-pack/plugins/security_solution/public/common/components/user_privileges/use_endpoint_privileges.test.ts +++ b/x-pack/plugins/security_solution/public/common/components/user_privileges/use_endpoint_privileges.test.ts @@ -8,10 +8,10 @@ import { renderHook, RenderHookResult, RenderResult } from '@testing-library/react-hooks'; import { useHttp, useCurrentUser } from '../../lib/kibana'; import { EndpointPrivileges, useEndpointPrivileges } from './use_endpoint_privileges'; -import { fleetGetCheckPermissionsHttpMock } from '../../../management/pages/endpoint_hosts/mocks'; import { securityMock } from '../../../../../security/public/mocks'; import { appRoutesService } from '../../../../../fleet/common'; import { AuthenticatedUser } from '../../../../../security/common'; +import { fleetGetCheckPermissionsHttpMock } from '../../../management/pages/mocks'; jest.mock('../../lib/kibana'); diff --git a/x-pack/plugins/security_solution/public/common/lib/kibana/kibana_react.mock.ts b/x-pack/plugins/security_solution/public/common/lib/kibana/kibana_react.mock.ts index df821c7ac5f6d..b98618ac76412 100644 --- a/x-pack/plugins/security_solution/public/common/lib/kibana/kibana_react.mock.ts +++ b/x-pack/plugins/security_solution/public/common/lib/kibana/kibana_react.mock.ts @@ -91,8 +91,9 @@ export const createUseUiSetting$Mock = () => { ]; }; -export const createStartServicesMock = (): StartServices => { - const core = coreMock.createStart(); +export const createStartServicesMock = ( + core: ReturnType = coreMock.createStart() +): StartServices => { core.uiSettings.get.mockImplementation(createUseUiSettingMock()); const { storage } = createSecuritySolutionStorageMock(); const data = dataPluginMock.createStartContract(); diff --git a/x-pack/plugins/security_solution/public/common/mock/endpoint/app_context_render.tsx b/x-pack/plugins/security_solution/public/common/mock/endpoint/app_context_render.tsx index f8a77d97b8700..20d411a0437c2 100644 --- a/x-pack/plugins/security_solution/public/common/mock/endpoint/app_context_render.tsx +++ b/x-pack/plugins/security_solution/public/common/mock/endpoint/app_context_render.tsx @@ -24,8 +24,8 @@ import { ExperimentalFeatures } from '../../../../common/experimental_features'; import { PLUGIN_ID } from '../../../../../fleet/common'; import { APP_ID, APP_PATH } from '../../../../common/constants'; import { KibanaContextProvider, KibanaServices } from '../../lib/kibana'; -import { fleetGetPackageListHttpMock } from '../../../management/pages/endpoint_hosts/mocks'; import { getDeepLinks } from '../../../app/deep_links'; +import { fleetGetPackageListHttpMock } from '../../../management/pages/mocks'; type UiRender = (ui: React.ReactElement, options?: RenderOptions) => RenderResult; @@ -98,10 +98,7 @@ export const createAppRootMockRenderer = (): AppContextTestRender => { const depsStart = depsStartMock(); const middlewareSpy = createSpyMiddleware(); const { storage } = createSecuritySolutionStorageMock(); - const startServices: StartServices = { - ...createStartServicesMock(), - ...coreStart, - }; + const startServices: StartServices = createStartServicesMock(coreStart); const storeReducer = { ...SUB_PLUGINS_REDUCER, diff --git a/x-pack/plugins/security_solution/public/management/components/actions_context_menu/actions_context_menu.tsx b/x-pack/plugins/security_solution/public/management/components/actions_context_menu/actions_context_menu.tsx index c2f9e32f61afb..c2511a31a73ae 100644 --- a/x-pack/plugins/security_solution/public/management/components/actions_context_menu/actions_context_menu.tsx +++ b/x-pack/plugins/security_solution/public/management/components/actions_context_menu/actions_context_menu.tsx @@ -15,10 +15,11 @@ import { EuiIconProps, } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; +import uuid from 'uuid'; import { ContextMenuItemNavByRouter, ContextMenuItemNavByRouterProps, -} from '../context_menu_with_router_support/context_menu_item_nav_by_router'; +} from '../context_menu_with_router_support'; import { useTestIdGenerator } from '../hooks/use_test_id_generator'; export interface ActionsContextMenuProps { @@ -48,6 +49,7 @@ export const ActionsContextMenu = memo( return ( { handleCloseMenu(); if (itemProps.onClick) { diff --git a/x-pack/plugins/security_solution/public/management/components/artifact_card_grid/artifact_card_grid.test.tsx b/x-pack/plugins/security_solution/public/management/components/artifact_card_grid/artifact_card_grid.test.tsx index a44076c8ad112..d360ca8fa168f 100644 --- a/x-pack/plugins/security_solution/public/management/components/artifact_card_grid/artifact_card_grid.test.tsx +++ b/x-pack/plugins/security_solution/public/management/components/artifact_card_grid/artifact_card_grid.test.tsx @@ -5,58 +5,20 @@ * 2.0. */ -import { TrustedAppGenerator } from '../../../../common/endpoint/data_generators/trusted_app_generator'; -import { cloneDeep } from 'lodash'; -import { getExceptionListItemSchemaMock } from '../../../../../lists/common/schemas/response/exception_list_item_schema.mock'; import { AppContextTestRender, createAppRootMockRenderer } from '../../../common/mock/endpoint'; import React from 'react'; import { ArtifactCardGrid, ArtifactCardGridProps } from './artifact_card_grid'; - -// FIXME:PT refactor helpers below after merge of PR https://github.com/elastic/kibana/pull/113363 - -const getCommonItemDataOverrides = () => { - return { - name: 'some internal app', - description: 'this app is trusted by the company', - created_at: new Date('2021-07-01').toISOString(), - }; -}; - -const getTrustedAppProvider = () => - new TrustedAppGenerator('seed').generate(getCommonItemDataOverrides()); - -const getExceptionProvider = () => { - // cloneDeep needed because exception mock generator uses state across instances - return cloneDeep( - getExceptionListItemSchemaMock({ - ...getCommonItemDataOverrides(), - os_types: ['windows'], - updated_at: new Date().toISOString(), - created_by: 'Justa', - updated_by: 'Mara', - entries: [ - { - field: 'process.hash.*', - operator: 'included', - type: 'match', - value: '1234234659af249ddf3e40864e9fb241', - }, - { - field: 'process.executable.caseless', - operator: 'included', - type: 'match', - value: '/one/two/three', - }, - ], - tags: ['policy:all'], - }) - ); -}; +import { fireEvent, act } from '@testing-library/react'; +import { + getExceptionProviderMock, + getTrustedAppProviderMock, +} from '../artifact_entry_card/test_utils'; +import { AnyArtifact } from '../artifact_entry_card'; describe.each([ - ['trusted apps', getTrustedAppProvider], - ['exceptions/event filters', getExceptionProvider], -])('when using the ArtifactCardGrid component %s', (_, generateItem) => { + ['trusted apps', getTrustedAppProviderMock], + ['exceptions/event filters', getExceptionProviderMock], +])('when using the ArtifactCardGrid component with %s', (_, generateItem) => { let appTestContext: AppContextTestRender; let renderResult: ReturnType; let render: ( @@ -64,34 +26,45 @@ describe.each([ ) => ReturnType; let items: ArtifactCardGridProps['items']; let pageChangeHandler: jest.Mock; - let expandCollapseHandler: jest.Mock; - let cardComponentPropsProvider: Required['cardComponentProps']; + let expandCollapseHandler: jest.MockedFunction; + let cardComponentPropsProvider: jest.MockedFunction< + Required['cardComponentProps'] + >; beforeEach(() => { items = Array.from({ length: 5 }, () => generateItem()); pageChangeHandler = jest.fn(); expandCollapseHandler = jest.fn(); - cardComponentPropsProvider = jest.fn().mockReturnValue({}); + cardComponentPropsProvider = jest.fn((item) => { + return { + 'data-test-subj': `card-${items.indexOf(item as AnyArtifact)}`, + }; + }); appTestContext = createAppRootMockRenderer(); render = (props = {}) => { - renderResult = appTestContext.render( - - ); + const gridProps: ArtifactCardGridProps = { + items, + onPageChange: pageChangeHandler!, + onExpandCollapse: expandCollapseHandler!, + cardComponentProps: cardComponentPropsProvider, + pagination: { + pageSizeOptions: [5, 10], + pageSize: 5, + totalItemCount: items.length, + pageIndex: 0, + }, + 'data-test-subj': 'testGrid', + ...props, + }; + + renderResult = appTestContext.render(); return renderResult; }; }); it('should render the cards', () => { + cardComponentPropsProvider.mockImplementation(() => ({})); render(); expect(renderResult.getAllByTestId('testGrid-card')).toHaveLength(5); @@ -100,24 +73,59 @@ describe.each([ it.each([ ['header', 'testGrid-header'], ['expand/collapse placeholder', 'testGrid-header-expandCollapsePlaceHolder'], - ['name column', 'testGrid-header-layout-title'], - ['description column', 'testGrid-header-layout-description'], + ['name column', 'testGrid-header-layout-titleHolder'], + ['description column', 'testGrid-header-layout-descriptionHolder'], ['description column', 'testGrid-header-layout-cardActionsPlaceholder'], - ])('should display the Grid Header - %s', (__, selector) => { + ])('should display the Grid Header - %s', (__, testSubjId) => { render(); - expect(renderResult.getByTestId(selector)).not.toBeNull(); + expect(renderResult.getByTestId(testSubjId)).not.toBeNull(); }); - it.todo('should call onPageChange callback when paginating'); + it('should call onPageChange callback when paginating', () => { + items = Array.from({ length: 15 }, () => generateItem()); + render(); + act(() => { + fireEvent.click(renderResult.getByTestId('pagination-button-next')); + }); - it.todo('should use the props provided by cardComponentProps callback'); + expect(pageChangeHandler).toHaveBeenCalledWith({ pageIndex: 1, pageSize: 5 }); + }); - describe('and when cards are expanded/collapsed', () => { - it.todo('should call onExpandCollapse callback'); + it('should pass along the props provided by cardComponentProps callback', () => { + cardComponentPropsProvider.mockReturnValue({ 'data-test-subj': 'test-card' }); + render(); - it.todo('should provide list of cards that are expanded and collapsed'); + expect(renderResult.getAllByTestId('test-card')).toHaveLength(5); + }); - it.todo('should show card expanded if card props defined it as such'); + describe('and when cards are expanded/collapsed', () => { + it('should call onExpandCollapse callback', () => { + render(); + act(() => { + fireEvent.click(renderResult.getByTestId('card-0-header-expandCollapse')); + }); + + expect(expandCollapseHandler).toHaveBeenCalledWith({ + expanded: [items[0]], + collapsed: items.slice(1), + }); + }); + + it('should show card expanded if card props defined it as such', () => { + const originalPropsProvider = cardComponentPropsProvider.getMockImplementation(); + cardComponentPropsProvider.mockImplementation((item) => { + const props = originalPropsProvider!(item); + + if (items.indexOf(item as AnyArtifact) === 1) { + props.expanded = true; + } + + return props; + }); + render(); + + expect(renderResult.getByTestId('card-1-criteriaConditions')).not.toBeNull(); + }); }); }); diff --git a/x-pack/plugins/security_solution/public/management/components/artifact_card_grid/components/grid_header.tsx b/x-pack/plugins/security_solution/public/management/components/artifact_card_grid/components/grid_header.tsx index 03fde724b89a5..fb198e86fc386 100644 --- a/x-pack/plugins/security_solution/public/management/components/artifact_card_grid/components/grid_header.tsx +++ b/x-pack/plugins/security_solution/public/management/components/artifact_card_grid/components/grid_header.tsx @@ -63,7 +63,7 @@ export const GridHeader = memo(({ 'data-test-subj': dataTestSub } - actionMenu={false} + actionMenu={true} /> ); diff --git a/x-pack/plugins/security_solution/public/management/components/artifact_entry_card/artifact_entry_card.test.tsx b/x-pack/plugins/security_solution/public/management/components/artifact_entry_card/artifact_entry_card.test.tsx index 52f0eb5fc8982..52299679ec87b 100644 --- a/x-pack/plugins/security_solution/public/management/components/artifact_entry_card/artifact_entry_card.test.tsx +++ b/x-pack/plugins/security_solution/public/management/components/artifact_entry_card/artifact_entry_card.test.tsx @@ -11,11 +11,11 @@ import { ArtifactEntryCard, ArtifactEntryCardProps } from './artifact_entry_card import { act, fireEvent, getByTestId } from '@testing-library/react'; import { AnyArtifact } from './types'; import { isTrustedApp } from './utils'; -import { getTrustedAppProvider, getExceptionProvider } from './test_utils'; +import { getTrustedAppProviderMock, getExceptionProviderMock } from './test_utils'; describe.each([ - ['trusted apps', getTrustedAppProvider], - ['exceptions/event filters', getExceptionProvider], + ['trusted apps', getTrustedAppProviderMock], + ['exceptions/event filters', getExceptionProviderMock], ])('when using the ArtifactEntryCard component with %s', (_, generateItem) => { let item: AnyArtifact; let appTestContext: AppContextTestRender; @@ -48,10 +48,10 @@ describe.each([ 'some internal app' ); expect(renderResult.getByTestId('testCard-subHeader-touchedBy-createdBy').textContent).toEqual( - 'Created byJJusta' + 'Created byMMarty' ); expect(renderResult.getByTestId('testCard-subHeader-touchedBy-updatedBy').textContent).toEqual( - 'Updated byMMara' + 'Updated byEEllamae' ); }); diff --git a/x-pack/plugins/security_solution/public/management/components/artifact_entry_card/artifact_entry_card_minified.test.tsx b/x-pack/plugins/security_solution/public/management/components/artifact_entry_card/artifact_entry_card_minified.test.tsx index 1178e4b07e5bd..508dc3103ca12 100644 --- a/x-pack/plugins/security_solution/public/management/components/artifact_entry_card/artifact_entry_card_minified.test.tsx +++ b/x-pack/plugins/security_solution/public/management/components/artifact_entry_card/artifact_entry_card_minified.test.tsx @@ -13,11 +13,11 @@ import { } from './artifact_entry_card_minified'; import { act, fireEvent } from '@testing-library/react'; import { AnyArtifact } from './types'; -import { getTrustedAppProvider, getExceptionProvider } from './test_utils'; +import { getTrustedAppProviderMock, getExceptionProviderMock } from './test_utils'; describe.each([ - ['trusted apps', getTrustedAppProvider], - ['exceptions/event filters', getExceptionProvider], + ['trusted apps', getTrustedAppProviderMock], + ['exceptions/event filters', getExceptionProviderMock], ])('when using the ArtifactEntryCardMinified component with %s', (_, generateItem) => { let item: AnyArtifact; let appTestContext: AppContextTestRender; diff --git a/x-pack/plugins/security_solution/public/management/components/artifact_entry_card/artifact_entry_collapsible_card.test.tsx b/x-pack/plugins/security_solution/public/management/components/artifact_entry_card/artifact_entry_collapsible_card.test.tsx new file mode 100644 index 0000000000000..84860b1144f08 --- /dev/null +++ b/x-pack/plugins/security_solution/public/management/components/artifact_entry_card/artifact_entry_collapsible_card.test.tsx @@ -0,0 +1,104 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { AppContextTestRender, createAppRootMockRenderer } from '../../../common/mock/endpoint'; +import { act, fireEvent } from '@testing-library/react'; +import { AnyArtifact } from './types'; +import { getTrustedAppProviderMock, getExceptionProviderMock } from './test_utils'; +import { + ArtifactEntryCollapsibleCard, + ArtifactEntryCollapsibleCardProps, +} from './artifact_entry_collapsible_card'; + +describe.each([ + ['trusted apps', getTrustedAppProviderMock], + ['exceptions/event filters', getExceptionProviderMock], +])('when using the ArtifactEntryCard component with %s', (_, generateItem) => { + let item: AnyArtifact; + let appTestContext: AppContextTestRender; + let renderResult: ReturnType; + let render: ( + props?: Partial + ) => ReturnType; + let handleOnExpandCollapse: jest.MockedFunction< + ArtifactEntryCollapsibleCardProps['onExpandCollapse'] + >; + + beforeEach(() => { + item = generateItem(); + appTestContext = createAppRootMockRenderer(); + handleOnExpandCollapse = jest.fn(); + render = (props = {}) => { + const cardProps: ArtifactEntryCollapsibleCardProps = { + item, + onExpandCollapse: handleOnExpandCollapse, + 'data-test-subj': 'testCard', + ...props, + }; + + renderResult = appTestContext.render(); + return renderResult; + }; + }); + + it.each([ + ['expandCollapse button', 'testCard-header-expandCollapse'], + ['name', 'testCard-header-titleHolder'], + ['description', 'testCard-header-descriptionHolder'], + ['assignment', 'testCard-header-effectScope'], + ])('should show %s', (__, testSubjId) => { + render(); + + expect(renderResult.getByTestId(testSubjId)).not.toBeNull(); + }); + + it('should NOT show actions menu if none are defined', async () => { + render(); + + expect(renderResult.queryByTestId('testCard-header-actions')).toBeNull(); + }); + + it('should render card collapsed', () => { + render(); + + expect(renderResult.queryByTestId('testCard-header-criteriaConditions')).toBeNull(); + }); + + it('should render card expanded', () => { + render({ expanded: true }); + + expect(renderResult.getByTestId('testCard-criteriaConditions')).not.toBeNull(); + }); + + it('should call `onExpandCollapse` callback when button is clicked', () => { + render(); + act(() => { + fireEvent.click(renderResult.getByTestId('testCard-header-expandCollapse')); + }); + + expect(handleOnExpandCollapse).toHaveBeenCalled(); + }); + + it.each([ + ['title', 'testCard-header-titleHolder'], + ['description', 'testCard-header-descriptionHolder'], + ])('should truncate %s text when collapsed', (__, testSubjId) => { + render(); + + expect(renderResult.getByTestId(testSubjId).classList.contains('eui-textTruncate')).toBe(true); + }); + + it.each([ + ['title', 'testCard-header-titleHolder'], + ['description', 'testCard-header-descriptionHolder'], + ])('should NOT truncate %s text when expanded', (__, testSubjId) => { + render({ expanded: true }); + + expect(renderResult.getByTestId(testSubjId).classList.contains('eui-textTruncate')).toBe(false); + }); +}); diff --git a/x-pack/plugins/security_solution/public/management/components/artifact_entry_card/components/card_compressed_header.tsx b/x-pack/plugins/security_solution/public/management/components/artifact_entry_card/components/card_compressed_header.tsx index 6141437779d7d..a4928ffe40674 100644 --- a/x-pack/plugins/security_solution/public/management/components/artifact_entry_card/components/card_compressed_header.tsx +++ b/x-pack/plugins/security_solution/public/management/components/artifact_entry_card/components/card_compressed_header.tsx @@ -38,7 +38,6 @@ export const CardCompressedHeader = memo( 'data-test-subj': dataTestSubj, }) => { const getTestId = useTestIdGenerator(dataTestSubj); - const cssClassNames = useCollapsedCssClassNames(expanded); const policyNavLinks = usePolicyNavLinks(artifact, policies); const handleExpandCollapseClick = useCallback(() => { @@ -46,37 +45,31 @@ export const CardCompressedHeader = memo( }, [onExpandCollapse]); return ( - - + - - - - - - {artifact.name} - - - - - {artifact.description || getEmptyValue()} - - - - - - - - - + } + name={ + + {artifact.name} + + } + description={ + + {artifact.description || getEmptyValue()} + + } + effectScope={ + + } + actionMenu={} + /> ); } ); @@ -106,8 +99,11 @@ export interface CardCompressedHeaderLayoutProps extends Pick( data-test-subj={dataTestSubj} className={flushTopCssClassname} > - + {expandToggle} @@ -145,27 +145,27 @@ export const CardCompressedHeaderLayout = memo( {name} {description} {effectScope} - {actionMenu === false ? ( + {actionMenu === true ? ( { +const getCommonItemDataOverrides = () => { return { name: 'some internal app', description: 'this app is trusted by the company', @@ -17,18 +19,26 @@ export const getCommonItemDataOverrides = () => { }; }; -export const getTrustedAppProvider = () => +export const getTrustedAppProviderMock = (): TrustedApp => new TrustedAppGenerator('seed').generate(getCommonItemDataOverrides()); -export const getExceptionProvider = () => { +export const getExceptionProviderMock = (): ExceptionListItemSchema => { + // Grab the properties from the generated Trusted App that should be the same across both types + // eslint-disable-next-line @typescript-eslint/naming-convention + const { name, description, created_at, updated_at, updated_by, created_by, id } = + getTrustedAppProviderMock(); + // cloneDeep needed because exception mock generator uses state across instances return cloneDeep( getExceptionListItemSchemaMock({ - ...getCommonItemDataOverrides(), + name, + description, + created_at, + updated_at, + updated_by, + created_by, + id, os_types: ['windows'], - updated_at: new Date().toISOString(), - created_by: 'Justa', - updated_by: 'Mara', entries: [ { field: 'process.hash.*', diff --git a/x-pack/plugins/security_solution/public/management/components/context_menu_with_router_support/context_menu_item_nav_by_router.tsx b/x-pack/plugins/security_solution/public/management/components/context_menu_with_router_support/context_menu_item_nav_by_router.tsx index fd087f267a9b5..b955d9fe71db7 100644 --- a/x-pack/plugins/security_solution/public/management/components/context_menu_with_router_support/context_menu_item_nav_by_router.tsx +++ b/x-pack/plugins/security_solution/public/management/components/context_menu_with_router_support/context_menu_item_nav_by_router.tsx @@ -9,6 +9,7 @@ import React, { memo } from 'react'; import { EuiContextMenuItem, EuiContextMenuItemProps } from '@elastic/eui'; import { NavigateToAppOptions } from 'kibana/public'; import { useNavigateToAppEventHandler } from '../../../common/hooks/endpoint/use_navigate_to_app_event_handler'; +import { useTestIdGenerator } from '../hooks/use_test_id_generator'; export interface ContextMenuItemNavByRouterProps extends EuiContextMenuItemProps { /** The Kibana (plugin) app id */ @@ -34,6 +35,7 @@ export const ContextMenuItemNavByRouter = memo( ...navigateOptions, onClick, }); + const getTestId = useTestIdGenerator(otherMenuItemProps['data-test-subj']); return ( ( {textTruncate ? (
{ + let appTestContext: AppContextTestRender; + let renderResult: ReturnType; + let render: ( + props?: Partial + ) => ReturnType; + let items: ContextMenuWithRouterSupportProps['items']; + + const clickMenuTriggerButton = () => { + act(() => { + fireEvent.click(renderResult.getByTestId('testMenu-triggerButton')); + }); + }; + + const getContextMenuPanel = () => renderResult.queryByTestId('testMenu-popoverPanel'); + + beforeEach(() => { + appTestContext = createAppRootMockRenderer(); + + items = [ + { + children: 'click me 1', + 'data-test-subj': 'menu-item-one', + textTruncate: false, + }, + { + children: 'click me 2', + navigateAppId: APP_ID, + navigateOptions: { + path: '/one/two/three', + }, + href: 'http://some-url.elastic/one/two/three', + }, + { + children: 'click me 3 with some very long text here that needs to be truncated', + textTruncate: true, + }, + ]; + + render = (overrideProps = {}) => { + const props: ContextMenuWithRouterSupportProps = { + items, + 'data-test-subj': 'testMenu', + button: {'Menu'}, + ...overrideProps, + }; + + renderResult = appTestContext.render(); + + return renderResult; + }; + }); + + it('should toggle the context menu when button is clicked', () => { + render(); + + expect(getContextMenuPanel()).toBeNull(); + + clickMenuTriggerButton(); + + expect(getContextMenuPanel()).not.toBeNull(); + }); + + it('should auto include test subjects on items if one is not defined by the menu item props', () => { + render(); + clickMenuTriggerButton(); + + // this test id should be unchanged from what the Props for the item + expect(renderResult.getByTestId('menu-item-one')).not.toBeNull(); + + // these should have been auto-inserted + expect(renderResult.getByTestId('testMenu-item-1')).not.toBeNull(); + expect(renderResult.getByTestId('testMenu-item-2')).not.toBeNull(); + }); + + it('should truncate text of menu item when `textTruncate` prop is `true`', () => { + render({ maxWidth: undefined }); + clickMenuTriggerButton(); + + expect(renderResult.getByTestId('testMenu-item-2-truncateWrapper')).not.toBeNull(); + }); + + it('should close menu when a menu item is clicked and call menu item onclick callback', async () => { + render(); + clickMenuTriggerButton(); + await act(async () => { + const menuPanelRemoval = waitForElementToBeRemoved(getContextMenuPanel()); + fireEvent.click(renderResult.getByTestId('menu-item-one')); + await menuPanelRemoval; + }); + + expect(getContextMenuPanel()).toBeNull(); + }); + + it('should truncate menu and menu item content when `maxWidth` is used', () => { + render(); + clickMenuTriggerButton(); + + expect(renderResult.getByTestId('menu-item-one-truncateWrapper')).not.toBeNull(); + expect(renderResult.getByTestId('testMenu-item-1-truncateWrapper')).not.toBeNull(); + expect(renderResult.getByTestId('testMenu-item-2-truncateWrapper')).not.toBeNull(); + }); + + it('should navigate using the router when item is clicked', () => { + render(); + clickMenuTriggerButton(); + act(() => { + fireEvent.click(renderResult.getByTestId('testMenu-item-1')); + }); + + expect(appTestContext.coreStart.application.navigateToApp).toHaveBeenCalledWith( + APP_ID, + expect.objectContaining({ path: '/one/two/three' }) + ); + }); +}); diff --git a/x-pack/plugins/security_solution/public/management/components/context_menu_with_router_support/context_menu_with_router_support.tsx b/x-pack/plugins/security_solution/public/management/components/context_menu_with_router_support/context_menu_with_router_support.tsx index 3f21f3995ac5b..41abb0309a7d1 100644 --- a/x-pack/plugins/security_solution/public/management/components/context_menu_with_router_support/context_menu_with_router_support.tsx +++ b/x-pack/plugins/security_solution/public/management/components/context_menu_with_router_support/context_menu_with_router_support.tsx @@ -13,6 +13,7 @@ import { EuiPopover, EuiPopoverProps, } from '@elastic/eui'; +import uuid from 'uuid'; import { ContextMenuItemNavByRouter, ContextMenuItemNavByRouterProps, @@ -49,10 +50,12 @@ export const ContextMenuWithRouterSupport = memo { - return items.map((itemProps) => { + return items.map((itemProps, index) => { return ( { handleCloseMenu(); @@ -63,7 +66,7 @@ export const ContextMenuWithRouterSupport = memo ); }); - }, [handleCloseMenu, items, maxWidth]); + }, [getTestId, handleCloseMenu, items, maxWidth]); type AdditionalPanelProps = Partial>; const additionalContextMenuPanelProps = useMemo(() => { @@ -86,7 +89,11 @@ export const ContextMenuWithRouterSupport = memo +
{button}
} diff --git a/x-pack/plugins/security_solution/public/management/components/context_menu_with_router_support/index.ts b/x-pack/plugins/security_solution/public/management/components/context_menu_with_router_support/index.ts index 56c6009ccf1b2..527183ef40697 100644 --- a/x-pack/plugins/security_solution/public/management/components/context_menu_with_router_support/index.ts +++ b/x-pack/plugins/security_solution/public/management/components/context_menu_with_router_support/index.ts @@ -6,3 +6,4 @@ */ export * from './context_menu_with_router_support'; +export * from './context_menu_item_nav_by_router'; diff --git a/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/index.tsx b/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/index.tsx index 30397fe1d32f2..70f5bca339c82 100644 --- a/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/index.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/index.tsx @@ -24,3 +24,5 @@ export const EndpointsContainer = memo(() => { }); EndpointsContainer.displayName = 'EndpointsContainer'; +export { endpointListFleetApisHttpMock } from './mocks'; +export { EndpointListFleetApisHttpMockInterface } from './mocks'; diff --git a/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/mocks.ts b/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/mocks.ts index 010fe48f29418..e0b5837c2f78a 100644 --- a/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/mocks.ts +++ b/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/mocks.ts @@ -26,19 +26,21 @@ import { HOST_METADATA_LIST_ROUTE, } from '../../../../common/endpoint/constants'; import { - AGENT_POLICY_API_ROUTES, - appRoutesService, - CheckPermissionsResponse, - EPM_API_ROUTES, - GetAgentPoliciesResponse, - GetPackagesResponse, -} from '../../../../../fleet/common'; -import { - PendingActionsHttpMockInterface, pendingActionsHttpMock, + PendingActionsHttpMockInterface, } from '../../../common/lib/endpoint_pending_actions/mocks'; import { METADATA_TRANSFORM_STATS_URL, TRANSFORM_STATES } from '../../../../common/constants'; import { TransformStatsResponse } from './types'; +import { + fleetGetAgentPolicyListHttpMock, + FleetGetAgentPolicyListHttpMockInterface, + FleetGetAgentStatusHttpMockInterface, + fleetGetCheckPermissionsHttpMock, + FleetGetCheckPermissionsInterface, + FleetGetEndpointPackagePolicyHttpMockInterface, + fleetGetPackageListHttpMock, + FleetGetPackageListHttpMockInterface, +} from '../mocks'; type EndpointMetadataHttpMocksInterface = ResponseProvidersInterface<{ metadataList: () => HostResultList; @@ -149,88 +151,6 @@ export const endpointActivityLogHttpMock = }, ]); -export type FleetGetPackageListHttpMockInterface = ResponseProvidersInterface<{ - packageList: () => GetPackagesResponse; -}>; -export const fleetGetPackageListHttpMock = - httpHandlerMockFactory([ - { - id: 'packageList', - method: 'get', - path: EPM_API_ROUTES.LIST_PATTERN, - handler() { - const generator = new EndpointDocGenerator('seed'); - - return { - response: [generator.generateEpmPackage()], - }; - }, - }, - ]); - -export type FleetGetAgentPolicyListHttpMockInterface = ResponseProvidersInterface<{ - agentPolicy: () => GetAgentPoliciesResponse; -}>; -export const fleetGetAgentPolicyListHttpMock = - httpHandlerMockFactory([ - { - id: 'agentPolicy', - path: AGENT_POLICY_API_ROUTES.LIST_PATTERN, - method: 'get', - handler: () => { - const generator = new EndpointDocGenerator('seed'); - const endpointMetadata = generator.generateHostMetadata(); - const agentPolicy = generator.generateAgentPolicy(); - - // Make sure that the Agent policy returned from the API has the Integration Policy ID that - // the endpoint metadata is using. This is needed especially when testing the Endpoint Details - // flyout where certain actions might be disabled if we know the endpoint integration policy no - // longer exists. - (agentPolicy.package_policies as string[]).push( - endpointMetadata.Endpoint.policy.applied.id - ); - - return { - items: [agentPolicy], - perPage: 10, - total: 1, - page: 1, - }; - }, - }, - ]); - -export type FleetGetCheckPermissionsInterface = ResponseProvidersInterface<{ - checkPermissions: () => CheckPermissionsResponse; -}>; - -export const fleetGetCheckPermissionsHttpMock = - httpHandlerMockFactory([ - { - id: 'checkPermissions', - path: appRoutesService.getCheckPermissionsPath(), - method: 'get', - handler: () => { - return { - error: undefined, - success: true, - }; - }, - }, - ]); - -type FleetApisHttpMockInterface = FleetGetPackageListHttpMockInterface & - FleetGetAgentPolicyListHttpMockInterface & - FleetGetCheckPermissionsInterface; -/** - * Mocks all Fleet apis needed to render the Endpoint List/Details pages - */ -export const fleetApisHttpMock = composeHttpHandlerMocks([ - fleetGetPackageListHttpMock, - fleetGetAgentPolicyListHttpMock, - fleetGetCheckPermissionsHttpMock, -]); - type TransformHttpMocksInterface = ResponseProvidersInterface<{ metadataTransformStats: () => TransformStatsResponse; }>; @@ -251,10 +171,24 @@ export const transformsHttpMocks = httpHandlerMockFactory([ + fleetGetPackageListHttpMock, + fleetGetAgentPolicyListHttpMock, + fleetGetCheckPermissionsHttpMock, + ]); type EndpointPageHttpMockInterface = EndpointMetadataHttpMocksInterface & EndpointPolicyResponseHttpMockInterface & EndpointActivityLogHttpMockInterface & - FleetApisHttpMockInterface & + EndpointListFleetApisHttpMockInterface & PendingActionsHttpMockInterface & TransformHttpMocksInterface; /** @@ -264,7 +198,7 @@ export const endpointPageHttpMock = composeHttpHandlerMocks GetPackagesResponse; +}>; +export const fleetGetPackageListHttpMock = + httpHandlerMockFactory([ + { + id: 'packageList', + method: 'get', + path: EPM_API_ROUTES.LIST_PATTERN, + handler() { + const generator = new EndpointDocGenerator('seed'); + + return { + response: [generator.generateEpmPackage()], + }; + }, + }, + ]); + +export type FleetGetEndpointPackagePolicyHttpMockInterface = ResponseProvidersInterface<{ + endpointPackagePolicy: () => GetPolicyResponse; +}>; +export const fleetGetEndpointPackagePolicyHttpMock = + httpHandlerMockFactory([ + { + id: 'endpointPackagePolicy', + path: PACKAGE_POLICY_API_ROUTES.INFO_PATTERN, + method: 'get', + handler: () => { + return { + items: new EndpointDocGenerator('seed').generatePolicyPackagePolicy(), + }; + }, + }, + ]); + +export type FleetGetEndpointPackagePolicyListHttpMockInterface = ResponseProvidersInterface<{ + endpointPackagePolicyList: () => GetPolicyListResponse; +}>; +export const fleetGetEndpointPackagePolicyListHttpMock = + httpHandlerMockFactory([ + { + id: 'endpointPackagePolicyList', + path: PACKAGE_POLICY_API_ROUTES.LIST_PATTERN, + method: 'get', + handler: () => { + const generator = new EndpointDocGenerator('seed'); + + const items = Array.from({ length: 5 }, (_, index) => { + const policy = generator.generatePolicyPackagePolicy(); + policy.name += ` ${index}`; + return policy; + }); + + return { + items, + total: 1, + page: 1, + perPage: 10, + }; + }, + }, + ]); + +export type FleetGetAgentPolicyListHttpMockInterface = ResponseProvidersInterface<{ + agentPolicy: () => GetAgentPoliciesResponse; +}>; +export const fleetGetAgentPolicyListHttpMock = + httpHandlerMockFactory([ + { + id: 'agentPolicy', + path: AGENT_POLICY_API_ROUTES.LIST_PATTERN, + method: 'get', + handler: () => { + const generator = new EndpointDocGenerator('seed'); + const endpointMetadata = generator.generateHostMetadata(); + const agentPolicy = generator.generateAgentPolicy(); + + // Make sure that the Agent policy returned from the API has the Integration Policy ID that + // the endpoint metadata is using. This is needed especially when testing the Endpoint Details + // flyout where certain actions might be disabled if we know the endpoint integration policy no + // longer exists. + (agentPolicy.package_policies as string[]).push( + endpointMetadata.Endpoint.policy.applied.id + ); + + return { + items: [agentPolicy], + perPage: 10, + total: 1, + page: 1, + }; + }, + }, + ]); + +export type FleetGetCheckPermissionsInterface = ResponseProvidersInterface<{ + checkPermissions: () => CheckPermissionsResponse; +}>; +export const fleetGetCheckPermissionsHttpMock = + httpHandlerMockFactory([ + { + id: 'checkPermissions', + path: appRoutesService.getCheckPermissionsPath(), + method: 'get', + handler: () => { + return { + error: undefined, + success: true, + }; + }, + }, + ]); + +export type FleetGetAgentStatusHttpMockInterface = ResponseProvidersInterface<{ + agentStatus: () => GetAgentStatusResponse; +}>; +export const fleetGetAgentStatusHttpMock = + httpHandlerMockFactory([ + { + id: 'agentStatus', + path: AGENT_API_ROUTES.STATUS_PATTERN, + method: 'get', + handler: () => { + return { + results: { + total: 50, + inactive: 5, + online: 40, + error: 0, + offline: 5, + updating: 0, + other: 0, + events: 0, + }, + }; + }, + }, + ]); diff --git a/x-pack/plugins/security_solution/public/management/pages/mocks/index.ts b/x-pack/plugins/security_solution/public/management/pages/mocks/index.ts new file mode 100644 index 0000000000000..c7388cad5696f --- /dev/null +++ b/x-pack/plugins/security_solution/public/management/pages/mocks/index.ts @@ -0,0 +1,8 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './fleet_mocks'; diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/selectors/trusted_apps_selectors.test.ts b/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/selectors/trusted_apps_selectors.test.ts index 6839edb965332..0fbd674b265b0 100644 --- a/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/selectors/trusted_apps_selectors.test.ts +++ b/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/selectors/trusted_apps_selectors.test.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { PolicyDetailsState } from '../../../types'; +import { PolicyArtifactsState, PolicyDetailsState } from '../../../types'; import { initialPolicyDetailsState } from '../reducer'; import { getAssignableArtifactsList, @@ -16,6 +16,12 @@ import { getAssignableArtifactsListExist, getAssignableArtifactsListExistIsLoading, getUpdateArtifacts, + doesPolicyTrustedAppsListNeedUpdate, + isPolicyTrustedAppListLoading, + getPolicyTrustedAppList, + getPolicyTrustedAppsListPagination, + getTrustedAppsListOfAllPolicies, + getTrustedAppsAllPoliciesById, } from './trusted_apps_selectors'; import { getCurrentArtifactsLocation, isOnPolicyTrustedAppsView } from './policy_common_selectors'; @@ -27,15 +33,190 @@ import { createFailedResourceState, } from '../../../../../state'; import { MANAGEMENT_ROUTING_POLICY_DETAILS_TRUSTED_APPS_PATH } from '../../../../../common/constants'; -import { getMockListResponse, getAPIError, getMockCreateResponse } from '../../../test_utils'; +import { + getMockListResponse, + getAPIError, + getMockCreateResponse, + getMockPolicyDetailsArtifactListUrlParams, + getMockPolicyDetailsArtifactsPageLocationUrlParams, +} from '../../../test_utils'; +import { getGeneratedPolicyResponse } from '../../../../trusted_apps/store/mocks'; describe('policy trusted apps selectors', () => { let initialState: ImmutableObject; + const createArtifactsState = ( + artifacts: Partial = {} + ): ImmutableObject => { + return { + ...initialState, + artifacts: { + ...initialState.artifacts, + ...artifacts, + }, + }; + }; + beforeEach(() => { initialState = initialPolicyDetailsState(); }); + describe('doesPolicyTrustedAppsListNeedUpdate()', () => { + it('should return true if state is not loaded', () => { + expect(doesPolicyTrustedAppsListNeedUpdate(initialState)).toBe(true); + }); + + it('should return true if it is loaded, but URL params were changed', () => { + expect( + doesPolicyTrustedAppsListNeedUpdate( + createArtifactsState({ + location: getMockPolicyDetailsArtifactsPageLocationUrlParams({ page_index: 4 }), + assignedList: createLoadedResourceState({ + location: getMockPolicyDetailsArtifactListUrlParams(), + artifacts: getMockListResponse(), + }), + }) + ) + ).toBe(true); + }); + + it('should return false if state is loaded adn URL params are the same', () => { + expect( + doesPolicyTrustedAppsListNeedUpdate( + createArtifactsState({ + location: getMockPolicyDetailsArtifactsPageLocationUrlParams(), + assignedList: createLoadedResourceState({ + location: getMockPolicyDetailsArtifactListUrlParams(), + artifacts: getMockListResponse(), + }), + }) + ) + ).toBe(false); + }); + }); + + describe('isPolicyTrustedAppListLoading()', () => { + it('should return true when loading data', () => { + expect( + isPolicyTrustedAppListLoading( + createArtifactsState({ + assignedList: createLoadingResourceState(createUninitialisedResourceState()), + }) + ) + ).toBe(true); + }); + + it.each([ + ['uninitialized', createUninitialisedResourceState() as PolicyArtifactsState['assignedList']], + ['loaded', createLoadedResourceState({}) as PolicyArtifactsState['assignedList']], + ['failed', createFailedResourceState({}) as PolicyArtifactsState['assignedList']], + ])('should return false when state is %s', (__, assignedListState) => { + expect( + isPolicyTrustedAppListLoading(createArtifactsState({ assignedList: assignedListState })) + ).toBe(false); + }); + }); + + describe('getPolicyTrustedAppList()', () => { + it('should return the list of trusted apps', () => { + const listResponse = getMockListResponse(); + + expect( + getPolicyTrustedAppList( + createArtifactsState({ + location: getMockPolicyDetailsArtifactsPageLocationUrlParams(), + assignedList: createLoadedResourceState({ + location: getMockPolicyDetailsArtifactListUrlParams(), + artifacts: listResponse, + }), + }) + ) + ).toEqual(listResponse.data); + }); + + it('should return empty array if no data is loaded', () => { + expect(getPolicyTrustedAppList(initialState)).toEqual([]); + }); + }); + + describe('getPolicyTrustedAppsListPagination()', () => { + it('should return default pagination data even if no api data is available', () => { + expect(getPolicyTrustedAppsListPagination(initialState)).toEqual({ + pageIndex: 0, + pageSize: 10, + pageSizeOptions: [10, 20, 50], + totalItemCount: 0, + }); + }); + + it('should return pagination data based on api response data', () => { + const listResponse = getMockListResponse(); + + listResponse.page = 6; + listResponse.per_page = 100; + listResponse.total = 1000; + + expect( + getPolicyTrustedAppsListPagination( + createArtifactsState({ + location: getMockPolicyDetailsArtifactsPageLocationUrlParams({ + page_index: 5, + page_size: 100, + }), + assignedList: createLoadedResourceState({ + location: getMockPolicyDetailsArtifactListUrlParams({ + page_index: 5, + page_size: 100, + }), + artifacts: listResponse, + }), + }) + ) + ).toEqual({ + pageIndex: 5, + pageSize: 100, + pageSizeOptions: [10, 20, 50], + totalItemCount: 1000, + }); + }); + }); + + describe('getTrustedAppsListOfAllPolicies()', () => { + it('should return the loaded list of policies', () => { + const policiesApiResponse = getGeneratedPolicyResponse(); + + expect( + getTrustedAppsListOfAllPolicies( + createArtifactsState({ + policies: createLoadedResourceState(policiesApiResponse), + }) + ) + ).toEqual(policiesApiResponse.items); + }); + + it('should return an empty array of no policy data was loaded yet', () => { + expect(getTrustedAppsListOfAllPolicies(initialState)).toEqual([]); + }); + }); + + describe('getTrustedAppsAllPoliciesById()', () => { + it('should return an empty object if no polices', () => { + expect(getTrustedAppsAllPoliciesById(initialState)).toEqual({}); + }); + + it('should return an object with policy id and policy data', () => { + const policiesApiResponse = getGeneratedPolicyResponse(); + + expect( + getTrustedAppsAllPoliciesById( + createArtifactsState({ + policies: createLoadedResourceState(policiesApiResponse), + }) + ) + ).toEqual({ [policiesApiResponse.items[0].id]: policiesApiResponse.items[0] }); + }); + }); + describe('isOnPolicyTrustedAppsPage()', () => { it('when location is on policy trusted apps page', () => { const isOnPage = isOnPolicyTrustedAppsView({ diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/selectors/trusted_apps_selectors.ts b/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/selectors/trusted_apps_selectors.ts index 84f0f4a2c63b8..3177f13ae77e8 100644 --- a/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/selectors/trusted_apps_selectors.ts +++ b/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/selectors/trusted_apps_selectors.ts @@ -31,6 +31,7 @@ import { LoadedResourceState, } from '../../../../../state'; import { getCurrentArtifactsLocation } from './policy_common_selectors'; +import { ServerApiError } from '../../../../../../common/types'; export const doesPolicyHaveTrustedApps = ( state: PolicyDetailsState @@ -212,3 +213,11 @@ export const getDoesAnyTrustedAppExistsIsLoading: PolicyDetailsSelector return isLoadingResourceState(doesAnyTrustedAppExists); } ); + +export const getPolicyTrustedAppListError: PolicyDetailsSelector< + Immutable | undefined +> = createSelector(getCurrentPolicyAssignedTrustedAppsState, (currentAssignedTrustedAppsState) => { + if (isFailedResourceState(currentAssignedTrustedAppsState)) { + return currentAssignedTrustedAppsState.error; + } +}); diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/test_utils/index.ts b/x-pack/plugins/security_solution/public/management/pages/policy/test_utils/index.ts index d92c41f5a1cc6..599c6328855e5 100644 --- a/x-pack/plugins/security_solution/public/management/pages/policy/test_utils/index.ts +++ b/x-pack/plugins/security_solution/public/management/pages/policy/test_utils/index.ts @@ -5,25 +5,4 @@ * 2.0. */ -import { - GetTrustedAppsListResponse, - PostTrustedAppCreateResponse, -} from '../../../../../common/endpoint/types'; - -import { createSampleTrustedApps, createSampleTrustedApp } from '../../trusted_apps/test_utils'; - -export const getMockListResponse: () => GetTrustedAppsListResponse = () => ({ - data: createSampleTrustedApps({}), - per_page: 100, - page: 1, - total: 100, -}); - -export const getMockCreateResponse: () => PostTrustedAppCreateResponse = () => - createSampleTrustedApp(1) as unknown as unknown as PostTrustedAppCreateResponse; - -export const getAPIError = () => ({ - statusCode: 500, - error: 'Internal Server Error', - message: 'Something is not right', -}); +export * from './mocks'; diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/test_utils/mocks.ts b/x-pack/plugins/security_solution/public/management/pages/policy/test_utils/mocks.ts new file mode 100644 index 0000000000000..be38e591dd9da --- /dev/null +++ b/x-pack/plugins/security_solution/public/management/pages/policy/test_utils/mocks.ts @@ -0,0 +1,123 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { + composeHttpHandlerMocks, + httpHandlerMockFactory, + ResponseProvidersInterface, +} from '../../../../common/mock/endpoint/http_handler_mock_factory'; +import { + GetTrustedAppsListRequest, + GetTrustedAppsListResponse, + PostTrustedAppCreateResponse, +} from '../../../../../common/endpoint/types'; +import { TRUSTED_APPS_LIST_API } from '../../../../../common/endpoint/constants'; +import { TrustedAppGenerator } from '../../../../../common/endpoint/data_generators/trusted_app_generator'; +import { createSampleTrustedApps, createSampleTrustedApp } from '../../trusted_apps/test_utils'; +import { + PolicyDetailsArtifactsPageListLocationParams, + PolicyDetailsArtifactsPageLocation, +} from '../types'; +import { + fleetGetAgentStatusHttpMock, + FleetGetAgentStatusHttpMockInterface, + fleetGetEndpointPackagePolicyHttpMock, + FleetGetEndpointPackagePolicyHttpMockInterface, + fleetGetEndpointPackagePolicyListHttpMock, + FleetGetEndpointPackagePolicyListHttpMockInterface, +} from '../../mocks'; + +export const getMockListResponse: () => GetTrustedAppsListResponse = () => ({ + data: createSampleTrustedApps({}), + per_page: 100, + page: 1, + total: 100, +}); + +export const getMockPolicyDetailsArtifactsPageLocationUrlParams = ( + overrides: Partial = {} +): PolicyDetailsArtifactsPageLocation => { + return { + page_index: 0, + page_size: 10, + filter: '', + show: undefined, + ...overrides, + }; +}; + +export const getMockPolicyDetailsArtifactListUrlParams = ( + overrides: Partial = {} +): PolicyDetailsArtifactsPageListLocationParams => { + return { + page_index: 0, + page_size: 10, + filter: '', + ...overrides, + }; +}; + +export const getMockCreateResponse: () => PostTrustedAppCreateResponse = () => + createSampleTrustedApp(1) as unknown as unknown as PostTrustedAppCreateResponse; + +export const getAPIError = () => ({ + statusCode: 500, + error: 'Internal Server Error', + message: 'Something is not right', +}); + +type PolicyDetailsTrustedAppsHttpMocksInterface = ResponseProvidersInterface<{ + policyTrustedAppsList: () => GetTrustedAppsListResponse; +}>; + +/** + * HTTP mocks that support the Trusted Apps tab of the Policy Details page + */ +export const policyDetailsTrustedAppsHttpMocks = + httpHandlerMockFactory([ + { + id: 'policyTrustedAppsList', + path: TRUSTED_APPS_LIST_API, + method: 'get', + handler: ({ query }): GetTrustedAppsListResponse => { + const apiQueryParams = query as GetTrustedAppsListRequest; + const generator = new TrustedAppGenerator('seed'); + const perPage = apiQueryParams.per_page ?? 10; + const data = Array.from({ length: Math.min(perPage, 50) }, () => generator.generate()); + + // Change the 3rd entry (index 2) to be policy specific + data[2].effectScope = { + type: 'policy', + policies: [ + // IDs below are those generated by the `fleetGetEndpointPackagePolicyListHttpMock()` mock + 'ddf6570b-9175-4a6d-b288-61a09771c647', + 'b8e616ae-44fc-4be7-846c-ce8fa5c082dd', + ], + }; + + return { + page: apiQueryParams.page ?? 1, + per_page: perPage, + total: 20, + data, + }; + }, + }, + ]); + +export type PolicyDetailsPageAllApiHttpMocksInterface = + FleetGetEndpointPackagePolicyHttpMockInterface & + FleetGetAgentStatusHttpMockInterface & + FleetGetEndpointPackagePolicyListHttpMockInterface & + PolicyDetailsTrustedAppsHttpMocksInterface; +export const policyDetailsPageAllApiHttpMocks = + composeHttpHandlerMocks([ + fleetGetEndpointPackagePolicyHttpMock, + fleetGetAgentStatusHttpMock, + fleetGetEndpointPackagePolicyListHttpMock, + policyDetailsTrustedAppsHttpMocks, + ]); diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/list/policy_trusted_apps_list.test.tsx b/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/list/policy_trusted_apps_list.test.tsx new file mode 100644 index 0000000000000..07b62d13e8edc --- /dev/null +++ b/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/list/policy_trusted_apps_list.test.tsx @@ -0,0 +1,253 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { + AppContextTestRender, + createAppRootMockRenderer, +} from '../../../../../../common/mock/endpoint'; +import { getPolicyDetailsArtifactsListPath } from '../../../../../common/routing'; +import { PolicyTrustedAppsList } from './policy_trusted_apps_list'; +import React from 'react'; +import { policyDetailsPageAllApiHttpMocks } from '../../../test_utils'; +import { isFailedResourceState, isLoadedResourceState } from '../../../../../state'; +import { fireEvent, within, act, waitFor } from '@testing-library/react'; +import { APP_ID } from '../../../../../../../common/constants'; + +describe('when rendering the PolicyTrustedAppsList', () => { + let appTestContext: AppContextTestRender; + let renderResult: ReturnType; + let render: (waitForLoadedState?: boolean) => Promise>; + let mockedApis: ReturnType; + let waitForAction: AppContextTestRender['middlewareSpy']['waitForAction']; + + const getCardByIndexPosition = (cardIndex: number = 0) => { + const card = renderResult.getAllByTestId('policyTrustedAppsGrid-card')[cardIndex]; + + if (!card) { + throw new Error(`Card at index [${cardIndex}] not found`); + } + + return card; + }; + + const toggleCardExpandCollapse = (cardIndex: number = 0) => { + act(() => { + fireEvent.click( + within(getCardByIndexPosition(cardIndex)).getByTestId( + 'policyTrustedAppsGrid-card-header-expandCollapse' + ) + ); + }); + }; + + const toggleCardActionMenu = async (cardIndex: number = 0) => { + act(() => { + fireEvent.click( + within(getCardByIndexPosition(cardIndex)).getByTestId( + 'policyTrustedAppsGrid-card-header-actions-button' + ) + ); + }); + + await waitFor(() => + expect(renderResult.getByTestId('policyTrustedAppsGrid-card-header-actions-contextMenuPanel')) + ); + }; + + beforeEach(() => { + appTestContext = createAppRootMockRenderer(); + + mockedApis = policyDetailsPageAllApiHttpMocks(appTestContext.coreStart.http); + appTestContext.setExperimentalFlag({ trustedAppsByPolicyEnabled: true }); + waitForAction = appTestContext.middlewareSpy.waitForAction; + + render = async (waitForLoadedState: boolean = true) => { + appTestContext.history.push( + getPolicyDetailsArtifactsListPath('ddf6570b-9175-4a6d-b288-61a09771c647') + ); + const trustedAppDataReceived = waitForLoadedState + ? waitForAction('assignedTrustedAppsListStateChanged', { + validate({ payload }) { + return isLoadedResourceState(payload); + }, + }) + : Promise.resolve(); + + renderResult = appTestContext.render(); + await trustedAppDataReceived; + + return renderResult; + }; + }); + + // FIXME: implement this test once PR #113802 is merged + it.todo('should show loading spinner if checking to see if trusted apps exist'); + + it('should show total number of of items being displayed', async () => { + await render(); + + expect(renderResult.getByTestId('policyDetailsTrustedAppsCount').textContent).toBe( + 'Showing 20 trusted applications' + ); + }); + + it('should show card grid', async () => { + await render(); + + expect(renderResult.getByTestId('policyTrustedAppsGrid')).toBeTruthy(); + await expect(renderResult.findAllByTestId('policyTrustedAppsGrid-card')).resolves.toHaveLength( + 10 + ); + }); + + it('should expand cards', async () => { + await render(); + // expand + toggleCardExpandCollapse(); + toggleCardExpandCollapse(4); + + await waitFor(() => + expect( + renderResult.queryAllByTestId('policyTrustedAppsGrid-card-criteriaConditions') + ).toHaveLength(2) + ); + }); + + it('should collapse cards', async () => { + await render(); + + // expand + toggleCardExpandCollapse(); + toggleCardExpandCollapse(4); + + await waitFor(() => + expect( + renderResult.queryAllByTestId('policyTrustedAppsGrid-card-criteriaConditions') + ).toHaveLength(2) + ); + + // collapse + toggleCardExpandCollapse(); + toggleCardExpandCollapse(4); + + await waitFor(() => + expect( + renderResult.queryAllByTestId('policyTrustedAppsGrid-card-criteriaConditions') + ).toHaveLength(0) + ); + }); + + it('should show action menu on card', async () => { + await render(); + expect( + renderResult.getAllByTestId('policyTrustedAppsGrid-card-header-actions-button') + ).toHaveLength(10); + }); + + it('should navigate to trusted apps page when view full details action is clicked', async () => { + await render(); + await toggleCardActionMenu(); + act(() => { + fireEvent.click(renderResult.getByTestId('policyTrustedAppsGrid-viewFullDetailsAction')); + }); + + expect(appTestContext.coreStart.application.navigateToApp).toHaveBeenCalledWith( + APP_ID, + expect.objectContaining({ + path: '/administration/trusted_apps?show=edit&id=89f72d8a-05b5-4350-8cad-0dc3661d6e67', + }) + ); + }); + + it('should display policy names on assignment context menu', async () => { + const retrieveAllPolicies = waitForAction('policyDetailsListOfAllPoliciesStateChanged', { + validate({ payload }) { + return isLoadedResourceState(payload); + }, + }); + await render(); + await retrieveAllPolicies; + act(() => { + fireEvent.click( + within(getCardByIndexPosition(2)).getByTestId( + 'policyTrustedAppsGrid-card-header-effectScope-popupMenu-button' + ) + ); + }); + await waitFor(() => + expect( + renderResult.getByTestId( + 'policyTrustedAppsGrid-card-header-effectScope-popupMenu-popoverPanel' + ) + ) + ); + + expect( + renderResult.getByTestId('policyTrustedAppsGrid-card-header-effectScope-popupMenu-item-0') + .textContent + ).toEqual('Endpoint Policy 0'); + expect( + renderResult.getByTestId('policyTrustedAppsGrid-card-header-effectScope-popupMenu-item-1') + .textContent + ).toEqual('Endpoint Policy 1'); + }); + + it.todo('should navigate to policy details when clicking policy on assignment context menu'); + + it('should handle pagination changes', async () => { + await render(); + + expect(appTestContext.history.location.search).not.toBeTruthy(); + + act(() => { + fireEvent.click(renderResult.getByTestId('pagination-button-next')); + }); + + expect(appTestContext.history.location.search).toMatch('?page_index=1'); + }); + + it('should reset `pageIndex` when a new pageSize is selected', async () => { + await render(); + // page ahead + act(() => { + fireEvent.click(renderResult.getByTestId('pagination-button-next')); + }); + await waitFor(() => { + expect(appTestContext.history.location.search).toBeTruthy(); + }); + + // now change the page size + await act(async () => { + fireEvent.click(renderResult.getByTestId('tablePaginationPopoverButton')); + await waitFor(() => expect(renderResult.getByTestId('tablePagination-50-rows'))); + }); + act(() => { + fireEvent.click(renderResult.getByTestId('tablePagination-50-rows')); + }); + + expect(appTestContext.history.location.search).toMatch('?page_size=50'); + }); + + it('should show toast message if trusted app list api call fails', async () => { + const error = new Error('oh no'); + // @ts-expect-error + mockedApis.responseProvider.policyTrustedAppsList.mockRejectedValue(error); + await render(false); + await act(async () => { + await waitForAction('assignedTrustedAppsListStateChanged', { + validate: ({ payload }) => isFailedResourceState(payload), + }); + }); + + expect(appTestContext.startServices.notifications.toasts.addError).toHaveBeenCalledWith( + error, + expect.objectContaining({ + title: expect.any(String), + }) + ); + }); +}); diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/list/policy_trusted_apps_list.tsx b/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/list/policy_trusted_apps_list.tsx index 333820b5d81b4..6793bee9c3c01 100644 --- a/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/list/policy_trusted_apps_list.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/list/policy_trusted_apps_list.tsx @@ -19,6 +19,7 @@ import { doesPolicyHaveTrustedApps, getCurrentArtifactsLocation, getPolicyTrustedAppList, + getPolicyTrustedAppListError, getPolicyTrustedAppsListPagination, getTrustedAppsAllPoliciesById, isPolicyTrustedAppListLoading, @@ -31,12 +32,17 @@ import { getTrustedAppsListPath, } from '../../../../../common/routing'; import { Immutable, TrustedApp } from '../../../../../../../common/endpoint/types'; -import { useAppUrl } from '../../../../../../common/lib/kibana'; +import { useAppUrl, useToasts } from '../../../../../../common/lib/kibana'; import { APP_ID } from '../../../../../../../common/constants'; import { ContextMenuItemNavByRouterProps } from '../../../../../components/context_menu_with_router_support/context_menu_item_nav_by_router'; import { ArtifactEntryCollapsibleCardProps } from '../../../../../components/artifact_entry_card'; +import { useTestIdGenerator } from '../../../../../components/hooks/use_test_id_generator'; + +const DATA_TEST_SUBJ = 'policyTrustedAppsGrid'; export const PolicyTrustedAppsList = memo(() => { + const getTestId = useTestIdGenerator(DATA_TEST_SUBJ); + const toasts = useToasts(); const history = useHistory(); const { getAppUrl } = useAppUrl(); const policyId = usePolicyDetailsSelector(policyIdFromParams); @@ -47,11 +53,10 @@ export const PolicyTrustedAppsList = memo(() => { const pagination = usePolicyDetailsSelector(getPolicyTrustedAppsListPagination); const urlParams = usePolicyDetailsSelector(getCurrentArtifactsLocation); const allPoliciesById = usePolicyDetailsSelector(getTrustedAppsAllPoliciesById); + const trustedAppsApiError = usePolicyDetailsSelector(getPolicyTrustedAppListError); const [isCardExpanded, setCardExpanded] = useState>({}); - // TODO:PT show load errors if any - const handlePageChange = useCallback( ({ pageIndex, pageSize }) => { history.push( @@ -135,6 +140,7 @@ export const PolicyTrustedAppsList = memo(() => { href: getAppUrl({ appId: APP_ID, path: viewUrlPath }), navigateAppId: APP_ID, navigateOptions: { path: viewUrlPath }, + 'data-test-subj': getTestId('viewFullDetailsAction'), }, ], policies: assignedPoliciesMenuItems, @@ -144,7 +150,7 @@ export const PolicyTrustedAppsList = memo(() => { } return newCardProps; - }, [allPoliciesById, getAppUrl, isCardExpanded, trustedAppItems]); + }, [allPoliciesById, getAppUrl, getTestId, isCardExpanded, trustedAppItems]); const provideCardProps = useCallback['cardComponentProps']>( (item) => { @@ -153,6 +159,17 @@ export const PolicyTrustedAppsList = memo(() => { [cardProps] ); + // if an error occurred while loading the data, show toast + useEffect(() => { + if (trustedAppsApiError) { + toasts.addError(trustedAppsApiError as unknown as Error, { + title: i18n.translate('xpack.securitySolution.endpoint.policy.trustedApps.list.apiError', { + defaultMessage: 'Error while retrieving list of trusted applications', + }), + }); + } + }, [toasts, trustedAppsApiError]); + // Anytime a new set of data (trusted apps) is retrieved, reset the card expand state useEffect(() => { setCardExpanded({}); @@ -161,7 +178,11 @@ export const PolicyTrustedAppsList = memo(() => { if (hasTrustedApps.loading || isTrustedAppExistsCheckLoading) { return ( - + ); } @@ -180,8 +201,9 @@ export const PolicyTrustedAppsList = memo(() => { onExpandCollapse={handleExpandCollapse} cardComponentProps={provideCardProps} loading={isLoading} + error={trustedAppsApiError?.message} pagination={pagination as Pagination} - data-test-subj="policyTrustedAppsGrid" + data-test-subj={DATA_TEST_SUBJ} /> ); From 86fd5a32e62aac0f15de20d25436c0d45c15b4eb Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 12 Oct 2021 18:59:27 -0400 Subject: [PATCH 088/107] Add APM and Synthetics to auto update package list (#114641) (#114721) Co-authored-by: Kyle Pollich --- x-pack/plugins/fleet/common/constants/epm.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/x-pack/plugins/fleet/common/constants/epm.ts b/x-pack/plugins/fleet/common/constants/epm.ts index e482db6ae73ab..131cc276fc073 100644 --- a/x-pack/plugins/fleet/common/constants/epm.ts +++ b/x-pack/plugins/fleet/common/constants/epm.ts @@ -13,6 +13,8 @@ export const FLEET_SYSTEM_PACKAGE = 'system'; export const FLEET_ELASTIC_AGENT_PACKAGE = 'elastic_agent'; export const FLEET_SERVER_PACKAGE = 'fleet_server'; export const FLEET_ENDPOINT_PACKAGE = 'endpoint'; +export const FLEET_APM_PACKAGE = 'apm'; +export const FLEET_SYNTHETICS_PACKAGE = 'synthetics'; /* Package rules: @@ -37,7 +39,11 @@ export const unremovablePackages = [ export const defaultPackages = unremovablePackages.filter((p) => p !== FLEET_ENDPOINT_PACKAGE); -export const autoUpdatePackages = [FLEET_ENDPOINT_PACKAGE]; +export const autoUpdatePackages = [ + FLEET_ENDPOINT_PACKAGE, + FLEET_APM_PACKAGE, + FLEET_SYNTHETICS_PACKAGE, +]; export const agentAssetTypes = { Input: 'input', From 02d61914e707d875d8434d50c483518fc9c70342 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 12 Oct 2021 19:25:35 -0400 Subject: [PATCH 089/107] [ci] Updates APM server (#114588) (#114723) Signed-off-by: Tyler Smalley Co-authored-by: Tyler Smalley --- .buildkite/scripts/common/env.sh | 7 ++++++- packages/kbn-apm-config-loader/src/config.test.ts | 8 ++++---- packages/kbn-apm-config-loader/src/config.ts | 4 ++-- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.buildkite/scripts/common/env.sh b/.buildkite/scripts/common/env.sh index ac80a66d33fa0..cd33cdc714cbe 100755 --- a/.buildkite/scripts/common/env.sh +++ b/.buildkite/scripts/common/env.sh @@ -36,7 +36,12 @@ export ELASTIC_APM_ENVIRONMENT=ci export ELASTIC_APM_TRANSACTION_SAMPLE_RATE=0.1 if is_pr; then - export ELASTIC_APM_ACTIVE=false + if [[ "${GITHUB_PR_LABELS:-}" == *"ci:collect-apm"* ]]; then + export ELASTIC_APM_ACTIVE=true + else + export ELASTIC_APM_ACTIVE=false + fi + export CHECKS_REPORTER_ACTIVE=true # These can be removed once we're not supporting Jenkins and Buildkite at the same time diff --git a/packages/kbn-apm-config-loader/src/config.test.ts b/packages/kbn-apm-config-loader/src/config.test.ts index 4e4dbf81740b3..60d773e3a420b 100644 --- a/packages/kbn-apm-config-loader/src/config.test.ts +++ b/packages/kbn-apm-config-loader/src/config.test.ts @@ -94,8 +94,8 @@ describe('ApmConfiguration', () => { "globalLabels": Object {}, "logUncaughtExceptions": true, "metricsInterval": "30s", - "secretToken": "ZQHYvrmXEx04ozge8F", - "serverUrl": "https://38b80fbd79fb4c91bae06b4642d4d093.apm.us-east-1.aws.cloud.es.io", + "secretToken": "7YKhoXsO4MzjhXjx2c", + "serverUrl": "https://kibana-ci-apm.apm.us-central1.gcp.cloud.es.io", "serviceName": "serviceName", "serviceVersion": "8.0.0", "transactionSampleRate": 1, @@ -117,8 +117,8 @@ describe('ApmConfiguration', () => { }, "logUncaughtExceptions": true, "metricsInterval": "120s", - "secretToken": "ZQHYvrmXEx04ozge8F", - "serverUrl": "https://38b80fbd79fb4c91bae06b4642d4d093.apm.us-east-1.aws.cloud.es.io", + "secretToken": "7YKhoXsO4MzjhXjx2c", + "serverUrl": "https://kibana-ci-apm.apm.us-central1.gcp.cloud.es.io", "serviceName": "serviceName", "serviceVersion": "8.0.0", "transactionSampleRate": 1, diff --git a/packages/kbn-apm-config-loader/src/config.ts b/packages/kbn-apm-config-loader/src/config.ts index ad2fd63f0fec4..999e4ce3a6805 100644 --- a/packages/kbn-apm-config-loader/src/config.ts +++ b/packages/kbn-apm-config-loader/src/config.ts @@ -23,14 +23,14 @@ const DEFAULT_CONFIG: AgentConfigOptions = { }; const CENTRALIZED_SERVICE_BASE_CONFIG: AgentConfigOptions = { - serverUrl: 'https://38b80fbd79fb4c91bae06b4642d4d093.apm.us-east-1.aws.cloud.es.io', + serverUrl: 'https://kibana-ci-apm.apm.us-central1.gcp.cloud.es.io', // The secretToken below is intended to be hardcoded in this file even though // it makes it public. This is not a security/privacy issue. Normally we'd // instead disable the need for a secretToken in the APM Server config where // the data is transmitted to, but due to how it's being hosted, it's easier, // for now, to simply leave it in. - secretToken: 'ZQHYvrmXEx04ozge8F', + secretToken: '7YKhoXsO4MzjhXjx2c', centralConfig: false, metricsInterval: '30s', From 97f4c3b7959a44b75add03a269fe8e8cfc65d41b Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 12 Oct 2021 19:27:03 -0400 Subject: [PATCH 090/107] Make host card overview space aware (#113983) (#114416) * Make host card overview space aware * Add cypress test * Move getHostRiskIndex to helpers * Fix cypress test Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Khristinin Nikita --- .../security_solution/common/constants.ts | 2 +- .../overview/risky_hosts_panel.spec.ts | 14 +++++++++++- .../cypress/screens/kibana_navigation.ts | 4 ++++ .../cypress/tasks/api_calls/spaces.ts | 22 +++++++++++++++++++ .../cypress/tasks/kibana_navigation.ts | 12 +++++++++- .../security_solution/public/helpers.test.ts | 8 ++++++- .../security_solution/public/helpers.ts | 13 ++++++++++- .../use_hosts_risk_score.ts | 21 ++++++++++-------- .../plugins/security_solution/public/types.ts | 2 ++ .../es_archives/risky_hosts/data.json | 2 +- .../es_archives/risky_hosts/mappings.json | 6 ++--- 11 files changed, 88 insertions(+), 18 deletions(-) create mode 100644 x-pack/plugins/security_solution/cypress/tasks/api_calls/spaces.ts diff --git a/x-pack/plugins/security_solution/common/constants.ts b/x-pack/plugins/security_solution/common/constants.ts index 4d044a46fd228..fa5a6eaf08566 100644 --- a/x-pack/plugins/security_solution/common/constants.ts +++ b/x-pack/plugins/security_solution/common/constants.ts @@ -333,7 +333,7 @@ export const ELASTIC_NAME = 'estc'; export const METADATA_TRANSFORM_STATS_URL = `/api/transform/transforms/${METADATA_TRANSFORMS_PATTERN}/_stats`; -export const HOST_RISK_SCORES_INDEX = 'ml_host_risk_score_latest'; +export const RISKY_HOSTS_INDEX_PREFIX = 'ml_host_risk_score_latest_'; export const TRANSFORM_STATES = { ABORTING: 'aborting', diff --git a/x-pack/plugins/security_solution/cypress/integration/overview/risky_hosts_panel.spec.ts b/x-pack/plugins/security_solution/cypress/integration/overview/risky_hosts_panel.spec.ts index df57f7cc8d050..1c55a38b32495 100644 --- a/x-pack/plugins/security_solution/cypress/integration/overview/risky_hosts_panel.spec.ts +++ b/x-pack/plugins/security_solution/cypress/integration/overview/risky_hosts_panel.spec.ts @@ -17,8 +17,12 @@ import { import { loginAndWaitForPage } from '../../tasks/login'; import { OVERVIEW_URL } from '../../urls/navigation'; import { cleanKibana } from '../../tasks/common'; +import { changeSpace } from '../../tasks/kibana_navigation'; +import { createSpace, removeSpace } from '../../tasks/api_calls/spaces'; import { esArchiverLoad, esArchiverUnload } from '../../tasks/es_archiver'; +const testSpaceName = 'test'; + describe('Risky Hosts Link Panel', () => { before(() => { cleanKibana(); @@ -40,10 +44,12 @@ describe('Risky Hosts Link Panel', () => { describe('enabled module', () => { before(() => { esArchiverLoad('risky_hosts'); + createSpace(testSpaceName); }); after(() => { esArchiverUnload('risky_hosts'); + removeSpace(testSpaceName); }); it('renders disabled dashboard module as expected when there are no hosts in the selected time period', () => { @@ -57,13 +63,19 @@ describe('Risky Hosts Link Panel', () => { cy.get(`${OVERVIEW_RISKY_HOSTS_TOTAL_EVENT_COUNT}`).should('have.text', 'Showing: 0 hosts'); }); - it('renders dashboard module as expected when there are hosts in the selected time period', () => { + it('renders space aware dashboard module as expected when there are hosts in the selected time period', () => { loginAndWaitForPage(OVERVIEW_URL); cy.get( `${OVERVIEW_RISKY_HOSTS_LINKS} ${OVERVIEW_RISKY_HOSTS_LINKS_WARNING_INNER_PANEL}` ).should('not.exist'); cy.get(`${OVERVIEW_RISKY_HOSTS_VIEW_DASHBOARD_BUTTON}`).should('be.disabled'); cy.get(`${OVERVIEW_RISKY_HOSTS_TOTAL_EVENT_COUNT}`).should('have.text', 'Showing: 1 host'); + + changeSpace(testSpaceName); + cy.visit(`/s/${testSpaceName}${OVERVIEW_URL}`); + cy.get(`${OVERVIEW_RISKY_HOSTS_VIEW_DASHBOARD_BUTTON}`).should('be.disabled'); + cy.get(`${OVERVIEW_RISKY_HOSTS_TOTAL_EVENT_COUNT}`).should('have.text', 'Showing: 0 hosts'); + cy.get(`${OVERVIEW_RISKY_HOSTS_ENABLE_MODULE_BUTTON}`).should('exist'); }); }); }); diff --git a/x-pack/plugins/security_solution/cypress/screens/kibana_navigation.ts b/x-pack/plugins/security_solution/cypress/screens/kibana_navigation.ts index 36b870598eff4..c20f4bd054a7c 100644 --- a/x-pack/plugins/security_solution/cypress/screens/kibana_navigation.ts +++ b/x-pack/plugins/security_solution/cypress/screens/kibana_navigation.ts @@ -25,3 +25,7 @@ export const OVERVIEW_PAGE = export const TIMELINES_PAGE = '[data-test-subj="collapsibleNavGroup-securitySolution"] [title="Timelines"]'; + +export const SPACES_BUTTON = '[data-test-subj="spacesNavSelector"]'; + +export const getGoToSpaceMenuItem = (space: string) => `[data-test-subj="${space}-gotoSpace"]`; diff --git a/x-pack/plugins/security_solution/cypress/tasks/api_calls/spaces.ts b/x-pack/plugins/security_solution/cypress/tasks/api_calls/spaces.ts new file mode 100644 index 0000000000000..cd12fab70a891 --- /dev/null +++ b/x-pack/plugins/security_solution/cypress/tasks/api_calls/spaces.ts @@ -0,0 +1,22 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export const createSpace = (id: string) => { + cy.request({ + method: 'POST', + url: 'api/spaces/space', + body: { + id, + name: id, + }, + headers: { 'kbn-xsrf': 'cypress-creds' }, + }); +}; + +export const removeSpace = (id: string) => { + cy.request(`/api/spaces/space/${id}`); +}; diff --git a/x-pack/plugins/security_solution/cypress/tasks/kibana_navigation.ts b/x-pack/plugins/security_solution/cypress/tasks/kibana_navigation.ts index 3b3fc0c6da4e4..43630e63ebfe2 100644 --- a/x-pack/plugins/security_solution/cypress/tasks/kibana_navigation.ts +++ b/x-pack/plugins/security_solution/cypress/tasks/kibana_navigation.ts @@ -5,7 +5,11 @@ * 2.0. */ -import { KIBANA_NAVIGATION_TOGGLE } from '../screens/kibana_navigation'; +import { + KIBANA_NAVIGATION_TOGGLE, + SPACES_BUTTON, + getGoToSpaceMenuItem, +} from '../screens/kibana_navigation'; export const navigateFromKibanaCollapsibleTo = (page: string) => { cy.get(page).click(); @@ -14,3 +18,9 @@ export const navigateFromKibanaCollapsibleTo = (page: string) => { export const openKibanaNavigation = () => { cy.get(KIBANA_NAVIGATION_TOGGLE).click(); }; + +export const changeSpace = (space: string) => { + cy.get(`${SPACES_BUTTON}`).click(); + cy.get(getGoToSpaceMenuItem(space)).click(); + cy.get(`[data-test-subj="space-avatar-${space}"]`).should('exist'); +}; diff --git a/x-pack/plugins/security_solution/public/helpers.test.ts b/x-pack/plugins/security_solution/public/helpers.test.ts index eaaf518d486ad..f2e37cd995a4f 100644 --- a/x-pack/plugins/security_solution/public/helpers.test.ts +++ b/x-pack/plugins/security_solution/public/helpers.test.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { parseRoute } from './helpers'; +import { parseRoute, getHostRiskIndex } from './helpers'; describe('public helpers parseRoute', () => { it('should properly parse hash route', () => { @@ -54,3 +54,9 @@ describe('public helpers parseRoute', () => { }); }); }); + +describe('public helpers export getHostRiskIndex', () => { + it('should properly return index if space is specified', () => { + expect(getHostRiskIndex('testName')).toEqual('ml_host_risk_score_latest_testName'); + }); +}); diff --git a/x-pack/plugins/security_solution/public/helpers.ts b/x-pack/plugins/security_solution/public/helpers.ts index 9d842e0c0a128..aba46cffee193 100644 --- a/x-pack/plugins/security_solution/public/helpers.ts +++ b/x-pack/plugins/security_solution/public/helpers.ts @@ -9,7 +9,14 @@ import { isEmpty } from 'lodash/fp'; import { matchPath } from 'react-router-dom'; import { CoreStart } from '../../../../src/core/public'; -import { ALERTS_PATH, APP_ID, EXCEPTIONS_PATH, RULES_PATH, UEBA_PATH } from '../common/constants'; +import { + ALERTS_PATH, + APP_ID, + EXCEPTIONS_PATH, + RULES_PATH, + UEBA_PATH, + RISKY_HOSTS_INDEX_PREFIX, +} from '../common/constants'; import { FactoryQueryTypes, StrategyResponseType, @@ -147,3 +154,7 @@ export const isDetectionsPath = (pathname: string): boolean => { strict: false, }); }; + +export const getHostRiskIndex = (spaceId: string): string => { + return `${RISKY_HOSTS_INDEX_PREFIX}${spaceId}`; +}; diff --git a/x-pack/plugins/security_solution/public/overview/containers/overview_risky_host_links/use_hosts_risk_score.ts b/x-pack/plugins/security_solution/public/overview/containers/overview_risky_host_links/use_hosts_risk_score.ts index 75cf51194ab65..af663bb74f54a 100644 --- a/x-pack/plugins/security_solution/public/overview/containers/overview_risky_host_links/use_hosts_risk_score.ts +++ b/x-pack/plugins/security_solution/public/overview/containers/overview_risky_host_links/use_hosts_risk_score.ts @@ -12,12 +12,11 @@ import { useDispatch } from 'react-redux'; import { useAppToasts } from '../../../common/hooks/use_app_toasts'; import { useKibana } from '../../../common/lib/kibana'; import { inputsActions } from '../../../common/store/actions'; - -import { HOST_RISK_SCORES_INDEX } from '../../../../common/constants'; import { isIndexNotFoundError } from '../../../common/utils/exceptions'; import { HostsRiskScore } from '../../../../common'; import { useHostsRiskScoreComplete } from './use_hosts_risk_score_complete'; import { useIsExperimentalFeatureEnabled } from '../../../common/hooks/use_experimental_features'; +import { getHostRiskIndex } from '../../../helpers'; export const QUERY_ID = 'host_risk_score'; const noop = () => {}; @@ -50,7 +49,7 @@ export const useHostsRiskScore = ({ const [loading, setLoading] = useState(riskyHostsFeatureEnabled); const { addError } = useAppToasts(); - const { data } = useKibana().services; + const { data, spaces } = useKibana().services; const dispatch = useDispatch(); @@ -99,14 +98,18 @@ export const useHostsRiskScore = ({ useEffect(() => { if (riskyHostsFeatureEnabled && (hostName || timerange)) { - start({ - data, - timerange: timerange ? { to: timerange.to, from: timerange.from, interval: '' } : undefined, - hostName, - defaultIndex: [HOST_RISK_SCORES_INDEX], + spaces.getActiveSpace().then((space) => { + start({ + data, + timerange: timerange + ? { to: timerange.to, from: timerange.from, interval: '' } + : undefined, + hostName, + defaultIndex: [getHostRiskIndex(space.id)], + }); }); } - }, [start, data, timerange, hostName, riskyHostsFeatureEnabled]); + }, [start, data, timerange, hostName, riskyHostsFeatureEnabled, spaces]); if ((!hostName && !timerange) || !riskyHostsFeatureEnabled) { return null; diff --git a/x-pack/plugins/security_solution/public/types.ts b/x-pack/plugins/security_solution/public/types.ts index 968211a0c82df..40e4f32161e29 100644 --- a/x-pack/plugins/security_solution/public/types.ts +++ b/x-pack/plugins/security_solution/public/types.ts @@ -9,6 +9,7 @@ import { CoreStart } from '../../../../src/core/public'; import { HomePublicPluginSetup } from '../../../../src/plugins/home/public'; import { DataPublicPluginStart } from '../../../../src/plugins/data/public'; import { EmbeddableStart } from '../../../../src/plugins/embeddable/public'; +import { SpacesPluginStart } from '../../../plugins/spaces/public'; import { LensPublicStart } from '../../../plugins/lens/public'; import { NewsfeedPublicPluginStart } from '../../../../src/plugins/newsfeed/public'; import { Start as InspectorStart } from '../../../../src/plugins/inspector/public'; @@ -67,6 +68,7 @@ export interface StartPlugins { timelines: TimelinesUIStart; uiActions: UiActionsStart; ml?: MlPluginStart; + spaces: SpacesPluginStart; } export type StartServices = CoreStart & diff --git a/x-pack/test/security_solution_cypress/es_archives/risky_hosts/data.json b/x-pack/test/security_solution_cypress/es_archives/risky_hosts/data.json index 7327f0fc76897..e42a13ab8d8a8 100644 --- a/x-pack/test/security_solution_cypress/es_archives/risky_hosts/data.json +++ b/x-pack/test/security_solution_cypress/es_archives/risky_hosts/data.json @@ -2,7 +2,7 @@ "type":"doc", "value":{ "id":"a4cf452c1e0375c3d4412cb550bd1783358468a3b3b777da4829d72c7d6fb74f", - "index":"ml_host_risk_score_latest", + "index":"ml_host_risk_score_latest_default", "source":{ "@timestamp":"2021-03-10T14:51:05.766Z", "risk_score":21, diff --git a/x-pack/test/security_solution_cypress/es_archives/risky_hosts/mappings.json b/x-pack/test/security_solution_cypress/es_archives/risky_hosts/mappings.json index 211c50f6baee2..f71c9cf8ed4c2 100644 --- a/x-pack/test/security_solution_cypress/es_archives/risky_hosts/mappings.json +++ b/x-pack/test/security_solution_cypress/es_archives/risky_hosts/mappings.json @@ -1,7 +1,7 @@ { "type": "index", "value": { - "index": "ml_host_risk_score_latest", + "index": "ml_host_risk_score_latest_default", "mappings": { "properties": { "@timestamp": { @@ -40,8 +40,8 @@ "settings": { "index": { "lifecycle": { - "name": "ml_host_risk_score_latest", - "rollover_alias": "ml_host_risk_score_latest" + "name": "ml_host_risk_score_latest_default", + "rollover_alias": "ml_host_risk_score_latest_default" }, "mapping": { "total_fields": { From 949edb58a7e81d9855a1abb069ec6e1fae9258e4 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 12 Oct 2021 19:43:33 -0400 Subject: [PATCH 091/107] Bumping EUI to 39.0.0 (#113633) (#114726) * Upgraded the version of EUI to 38.2.0 from 38.0.1 * Updated the i18n mappings required for EUI v.38.2.0 * Update i18n snapshots and resolve linting error * Removed html_id_generator mocks. Current mock was failing due to missing useGeneratedHtmlId export. This is safe to remove because EUI contains a .testenv that contains an mock for html_id_generator. More info at https://github.com/elastic/eui/blob/master/src/services/accessibility/html_id_generator.testenv.ts * Resolve linting error in i18n mapping file * Removed html_id_generator mocks. Current mock was failing due to missing useGeneratedHtmlId export. This is safe to remove because EUI contains a .testenv that contains a mock for html_id_generator. More info at https://github.com/elastic/eui/blob/master/src/services/accessibility/html_id_generator.testenv.ts * Update plugin snapshots * Resolve merge conflict in license_checker config.ts file * Upgrade EUI to version 39.0.0 from the original target (38.2.0) to handle an issue found with a functional test during the original upgrade * Updated the i18n mapping for EUI v.39.0.0 * Update various snapshots to account for the an i18n translation token addition in EUI v. 39.0.0 * Updated test cases marked as obsolete by CI * Update src/dev/license_checker/config.ts Removing TODO comments from src/dev/license_checker/config.ts as they are no longer needed. Co-authored-by: Constance Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Constance Co-authored-by: Bree Hall <40739624+breehall@users.noreply.github.com> Co-authored-by: Constance --- package.json | 2 +- .../__snapshots__/status_table.test.tsx.snap | 7 ++- .../__snapshots__/i18n_service.test.tsx.snap | 7 ++- src/core/public/i18n/i18n_eui_mapping.tsx | 23 +++++++-- src/dev/license_checker/config.ts | 2 +- .../__snapshots__/data_view.test.tsx.snap | 14 +++++- .../cron_editor/cron_editor.test.tsx | 6 --- .../client_integration/helpers/jest.mocks.tsx | 6 --- .../color/__snapshots__/color.test.tsx.snap | 21 ++++++-- .../__snapshots__/static_lookup.test.tsx.snap | 14 +++++- .../url/__snapshots__/url.test.tsx.snap | 2 +- .../editors/url/url.test.tsx | 6 --- .../__snapshots__/samples.test.tsx.snap | 7 ++- .../__snapshots__/table.test.tsx.snap | 14 +++++- .../error_group_overview/List/List.test.tsx | 6 --- .../List/__snapshots__/List.test.tsx.snap | 6 +-- .../shared/Stacktrace/Stackframe.test.tsx | 6 --- .../__snapshots__/managed_table.test.tsx.snap | 14 +++++- .../asset_manager.stories.storyshot | 8 +-- .../expression_input.stories.storyshot | 2 +- .../file_upload.stories.storyshot | 4 +- .../workpad_table.stories.storyshot | 14 +++--- .../footer/settings/settings.test.tsx | 6 +-- .../canvas/storybook/storyshots.test.tsx | 7 --- .../__jest__/add_license.test.js | 5 -- .../__jest__/request_trial_extension.test.js | 5 -- .../__jest__/revert_to_basic.test.js | 5 -- .../__jest__/start_trial.test.js | 6 --- .../__snapshots__/latest_active.test.js.snap | 7 ++- .../__snapshots__/latest_types.test.js.snap | 7 ++- .../latest_versions.test.js.snap | 7 ++- .../logs/__snapshots__/logs.test.js.snap | 7 ++- .../report_listing.test.tsx.snap | 50 +++++++++---------- .../public/management/report_listing.test.tsx | 6 --- .../__snapshots__/index.test.tsx.snap | 21 ++++++-- .../view/trusted_apps_page.test.tsx | 4 -- .../translations/translations/ja-JP.json | 2 - .../translations/translations/zh-CN.json | 2 - .../__snapshots__/donut_chart.test.tsx.snap | 12 ++++- .../location_status_tags.test.tsx | 6 --- .../monitor_list/monitor_list.test.tsx | 6 --- yarn.lock | 8 +-- 42 files changed, 204 insertions(+), 166 deletions(-) diff --git a/package.json b/package.json index 997772a4626f7..3876c7723a8a2 100644 --- a/package.json +++ b/package.json @@ -96,7 +96,7 @@ "@elastic/datemath": "link:bazel-bin/packages/elastic-datemath", "@elastic/elasticsearch": "npm:@elastic/elasticsearch-canary@^7.16.0-canary.4", "@elastic/ems-client": "7.15.0", - "@elastic/eui": "38.0.1", + "@elastic/eui": "39.0.0", "@elastic/filesaver": "1.1.2", "@elastic/good": "^9.0.1-kibana3", "@elastic/maki": "6.3.0", diff --git a/src/core/public/core_app/status/components/__snapshots__/status_table.test.tsx.snap b/src/core/public/core_app/status/components/__snapshots__/status_table.test.tsx.snap index 16b67bfa0584f..5b0e831286aad 100644 --- a/src/core/public/core_app/status/components/__snapshots__/status_table.test.tsx.snap +++ b/src/core/public/core_app/status/components/__snapshots__/status_table.test.tsx.snap @@ -35,7 +35,12 @@ exports[`StatusTable renders when statuses is provided 1`] = ` }, ] } - noItemsMessage="No items found" + noItemsMessage={ + + } responsive={true} rowProps={[Function]} tableLayout="fixed" diff --git a/src/core/public/i18n/__snapshots__/i18n_service.test.tsx.snap b/src/core/public/i18n/__snapshots__/i18n_service.test.tsx.snap index 54e223cdc5d41..d714f2159d1a2 100644 --- a/src/core/public/i18n/__snapshots__/i18n_service.test.tsx.snap +++ b/src/core/public/i18n/__snapshots__/i18n_service.test.tsx.snap @@ -7,6 +7,7 @@ exports[`#start() returns \`Context\` component 1`] = ` Object { "mapping": Object { "euiAccordion.isLoading": "Loading", + "euiBasicTable.noItemsMessage": "No items found", "euiBasicTable.selectAllRows": "Select all rows", "euiBasicTable.selectThisRow": "Select this row", "euiBasicTable.tableAutoCaptionWithPagination": [Function], @@ -120,13 +121,15 @@ exports[`#start() returns \`Context\` component 1`] = ` "euiLink.external.ariaLabel": "External link", "euiLink.newTarget.screenReaderOnlyText": "(opens in a new tab or window)", "euiMarkdownEditorFooter.closeButton": "Close", - "euiMarkdownEditorFooter.descriptionPrefix": "This editor uses", - "euiMarkdownEditorFooter.descriptionSuffix": "You can also utilize these additional syntax plugins to add rich content to your text.", "euiMarkdownEditorFooter.errorsTitle": "Errors", + "euiMarkdownEditorFooter.mdSyntaxLink": "GitHub flavored markdown", "euiMarkdownEditorFooter.openUploadModal": "Open upload files modal", "euiMarkdownEditorFooter.showMarkdownHelp": "Show markdown help", "euiMarkdownEditorFooter.showSyntaxErrors": "Show errors", "euiMarkdownEditorFooter.supportedFileTypes": [Function], + "euiMarkdownEditorFooter.syntaxModalDescriptionPrefix": "This editor uses", + "euiMarkdownEditorFooter.syntaxModalDescriptionSuffix": "You can also utilize these additional syntax plugins to add rich content to your text.", + "euiMarkdownEditorFooter.syntaxPopoverDescription": "This editor uses", "euiMarkdownEditorFooter.syntaxTitle": "Syntax help", "euiMarkdownEditorFooter.unsupportedFileType": "File type not supported", "euiMarkdownEditorFooter.uploadingFiles": "Click to upload files", diff --git a/src/core/public/i18n/i18n_eui_mapping.tsx b/src/core/public/i18n/i18n_eui_mapping.tsx index 2fe9657bce8c9..7585ada886c05 100644 --- a/src/core/public/i18n/i18n_eui_mapping.tsx +++ b/src/core/public/i18n/i18n_eui_mapping.tsx @@ -68,6 +68,9 @@ export const getEuiContextMapping = (): EuiTokensObject => { values: { tableCaption }, description: 'Screen reader text to describe the pagination controls', }), + 'euiBasicTable.noItemsMessage': i18n.translate('core.euiBasicTable.noItemsMessage', { + defaultMessage: 'No items found', + }), 'euiBottomBar.customScreenReaderAnnouncement': ({ landmarkHeading }: EuiValues) => i18n.translate('core.euiBottomBar.customScreenReaderAnnouncement', { defaultMessage: @@ -634,19 +637,31 @@ export const getEuiContextMapping = (): EuiTokensObject => { defaultMessage: 'Syntax help', } ), - 'euiMarkdownEditorFooter.descriptionPrefix': i18n.translate( - 'core.euiMarkdownEditorFooter.descriptionPrefix', + 'euiMarkdownEditorFooter.mdSyntaxLink': i18n.translate( + 'core.euiMarkdownEditorFooter.mdSyntaxLink', + { + defaultMessage: 'GitHub flavored markdown', + } + ), + 'euiMarkdownEditorFooter.syntaxModalDescriptionPrefix': i18n.translate( + 'core.euiMarkdownEditorFooter.syntaxModalDescriptionPrefix', { defaultMessage: 'This editor uses', } ), - 'euiMarkdownEditorFooter.descriptionSuffix': i18n.translate( - 'core.euiMarkdownEditorFooter.descriptionSuffix', + 'euiMarkdownEditorFooter.syntaxModalDescriptionSuffix': i18n.translate( + 'core.euiMarkdownEditorFooter.syntaxModalDescriptionSuffix', { defaultMessage: 'You can also utilize these additional syntax plugins to add rich content to your text.', } ), + 'euiMarkdownEditorFooter.syntaxPopoverDescription': i18n.translate( + 'core.euiMarkdownEditorFooter.syntaxPopoverDescription', + { + defaultMessage: 'This editor uses', + } + ), 'euiMarkdownEditorToolbar.editor': i18n.translate('core.euiMarkdownEditorToolbar.editor', { defaultMessage: 'Editor', }), diff --git a/src/dev/license_checker/config.ts b/src/dev/license_checker/config.ts index e4f1c6a2d2e01..818ea3675194e 100644 --- a/src/dev/license_checker/config.ts +++ b/src/dev/license_checker/config.ts @@ -75,6 +75,6 @@ export const LICENSE_OVERRIDES = { 'jsts@1.6.2': ['Eclipse Distribution License - v 1.0'], // cf. https://github.com/bjornharrtell/jsts '@mapbox/jsonlint-lines-primitives@2.0.2': ['MIT'], // license in readme https://github.com/tmcw/jsonlint '@elastic/ems-client@7.15.0': ['Elastic License 2.0'], - '@elastic/eui@38.0.1': ['SSPL-1.0 OR Elastic License 2.0'], + '@elastic/eui@39.0.0': ['SSPL-1.0 OR Elastic License 2.0'], 'language-subtag-registry@0.3.21': ['CC-BY-4.0'], // retired ODC‑By license https://github.com/mattcg/language-subtag-registry }; diff --git a/src/plugins/data/public/utils/table_inspector_view/components/__snapshots__/data_view.test.tsx.snap b/src/plugins/data/public/utils/table_inspector_view/components/__snapshots__/data_view.test.tsx.snap index 9cd0687a1074d..eae2032748396 100644 --- a/src/plugins/data/public/utils/table_inspector_view/components/__snapshots__/data_view.test.tsx.snap +++ b/src/plugins/data/public/utils/table_inspector_view/components/__snapshots__/data_view.test.tsx.snap @@ -884,7 +884,12 @@ exports[`Inspector Data View component should render single table without select }, ] } - noItemsMessage="No items found" + noItemsMessage={ + + } onChange={[Function]} pagination={ Object { @@ -2449,7 +2454,12 @@ exports[`Inspector Data View component should support multiple datatables 1`] = }, ] } - noItemsMessage="No items found" + noItemsMessage={ + + } onChange={[Function]} pagination={ Object { diff --git a/src/plugins/es_ui_shared/public/components/cron_editor/cron_editor.test.tsx b/src/plugins/es_ui_shared/public/components/cron_editor/cron_editor.test.tsx index 26ef7483bbbbd..0ae82872124a4 100644 --- a/src/plugins/es_ui_shared/public/components/cron_editor/cron_editor.test.tsx +++ b/src/plugins/es_ui_shared/public/components/cron_editor/cron_editor.test.tsx @@ -14,12 +14,6 @@ import { mountWithI18nProvider } from '@kbn/test/jest'; import { Frequency } from './types'; import { CronEditor } from './cron_editor'; -jest.mock('@elastic/eui/lib/services/accessibility/html_id_generator', () => { - return { - htmlIdGenerator: () => () => `generated-id`, - }; -}); - describe('CronEditor', () => { ['MINUTE', 'HOUR', 'DAY', 'WEEK', 'MONTH', 'YEAR'].forEach((unit) => { test(`is rendered with a ${unit} frequency`, () => { diff --git a/src/plugins/index_pattern_field_editor/__jest__/client_integration/helpers/jest.mocks.tsx b/src/plugins/index_pattern_field_editor/__jest__/client_integration/helpers/jest.mocks.tsx index e291ec7b4ca08..d33a0d2a87fb5 100644 --- a/src/plugins/index_pattern_field_editor/__jest__/client_integration/helpers/jest.mocks.tsx +++ b/src/plugins/index_pattern_field_editor/__jest__/client_integration/helpers/jest.mocks.tsx @@ -9,12 +9,6 @@ import React from 'react'; const EDITOR_ID = 'testEditor'; -jest.mock('@elastic/eui/lib/services/accessibility', () => { - return { - htmlIdGenerator: () => () => `generated-id`, - }; -}); - jest.mock('@elastic/eui', () => { const original = jest.requireActual('@elastic/eui'); diff --git a/src/plugins/index_pattern_field_editor/public/components/field_format_editor/editors/color/__snapshots__/color.test.tsx.snap b/src/plugins/index_pattern_field_editor/public/components/field_format_editor/editors/color/__snapshots__/color.test.tsx.snap index 7406e5ae9bb2d..1cff82729e6f9 100644 --- a/src/plugins/index_pattern_field_editor/public/components/field_format_editor/editors/color/__snapshots__/color.test.tsx.snap +++ b/src/plugins/index_pattern_field_editor/public/components/field_format_editor/editors/color/__snapshots__/color.test.tsx.snap @@ -76,7 +76,12 @@ exports[`ColorFormatEditor should render multiple colors 1`] = ` }, ] } - noItemsMessage="No items found" + noItemsMessage={ + + } responsive={true} tableLayout="fixed" /> @@ -170,7 +175,12 @@ exports[`ColorFormatEditor should render other type normally (range field) 1`] = }, ] } - noItemsMessage="No items found" + noItemsMessage={ + + } responsive={true} tableLayout="fixed" /> @@ -264,7 +274,12 @@ exports[`ColorFormatEditor should render string type normally (regex field) 1`] }, ] } - noItemsMessage="No items found" + noItemsMessage={ + + } responsive={true} tableLayout="fixed" /> diff --git a/src/plugins/index_pattern_field_editor/public/components/field_format_editor/editors/static_lookup/__snapshots__/static_lookup.test.tsx.snap b/src/plugins/index_pattern_field_editor/public/components/field_format_editor/editors/static_lookup/__snapshots__/static_lookup.test.tsx.snap index 664912789b0e3..3b476a6037aed 100644 --- a/src/plugins/index_pattern_field_editor/public/components/field_format_editor/editors/static_lookup/__snapshots__/static_lookup.test.tsx.snap +++ b/src/plugins/index_pattern_field_editor/public/components/field_format_editor/editors/static_lookup/__snapshots__/static_lookup.test.tsx.snap @@ -55,7 +55,12 @@ exports[`StaticLookupFormatEditor should render multiple lookup entries and unkn }, ] } - noItemsMessage="No items found" + noItemsMessage={ + + } responsive={true} style={ Object { @@ -159,7 +164,12 @@ exports[`StaticLookupFormatEditor should render normally 1`] = ` }, ] } - noItemsMessage="No items found" + noItemsMessage={ + + } responsive={true} style={ Object { diff --git a/src/plugins/index_pattern_field_editor/public/components/field_format_editor/editors/url/__snapshots__/url.test.tsx.snap b/src/plugins/index_pattern_field_editor/public/components/field_format_editor/editors/url/__snapshots__/url.test.tsx.snap index 79c1a11cfef84..3890d6c2b9ddb 100644 --- a/src/plugins/index_pattern_field_editor/public/components/field_format_editor/editors/url/__snapshots__/url.test.tsx.snap +++ b/src/plugins/index_pattern_field_editor/public/components/field_format_editor/editors/url/__snapshots__/url.test.tsx.snap @@ -292,7 +292,7 @@ exports[`UrlFormatEditor should render normally 1`] = `
{ - return { - htmlIdGenerator: () => () => `generated-id`, - }; -}); - const fieldType = 'string'; const format = { getConverterFor: jest diff --git a/src/plugins/index_pattern_field_editor/public/components/field_format_editor/samples/__snapshots__/samples.test.tsx.snap b/src/plugins/index_pattern_field_editor/public/components/field_format_editor/samples/__snapshots__/samples.test.tsx.snap index 1a0b96c14fe35..71693a1e5cb8c 100644 --- a/src/plugins/index_pattern_field_editor/public/components/field_format_editor/samples/__snapshots__/samples.test.tsx.snap +++ b/src/plugins/index_pattern_field_editor/public/components/field_format_editor/samples/__snapshots__/samples.test.tsx.snap @@ -52,7 +52,12 @@ exports[`FormatEditorSamples should render normally 1`] = ` }, ] } - noItemsMessage="No items found" + noItemsMessage={ + + } responsive={true} tableLayout="fixed" /> diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/table.test.tsx.snap b/src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/table.test.tsx.snap index bb426c91e827c..7215db178e264 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/table.test.tsx.snap +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/table.test.tsx.snap @@ -189,7 +189,12 @@ exports[`Table prevents saved objects from being deleted 1`] = ` ] } loading={false} - noItemsMessage="No items found" + noItemsMessage={ + + } onChange={[Function]} pagination={ Object { @@ -405,7 +410,12 @@ exports[`Table should render normally 1`] = ` ] } loading={false} - noItemsMessage="No items found" + noItemsMessage={ + + } onChange={[Function]} pagination={ Object { diff --git a/x-pack/plugins/apm/public/components/app/error_group_overview/List/List.test.tsx b/x-pack/plugins/apm/public/components/app/error_group_overview/List/List.test.tsx index a2a92b7e16f8e..12fa1c955ccc8 100644 --- a/x-pack/plugins/apm/public/components/app/error_group_overview/List/List.test.tsx +++ b/x-pack/plugins/apm/public/components/app/error_group_overview/List/List.test.tsx @@ -15,12 +15,6 @@ import props from './__fixtures__/props.json'; import { MemoryRouter } from 'react-router-dom'; import { EuiThemeProvider } from '../../../../../../../../src/plugins/kibana_react/common'; -jest.mock('@elastic/eui/lib/services/accessibility/html_id_generator', () => { - return { - htmlIdGenerator: () => () => `generated-id`, - }; -}); - describe('ErrorGroupOverview -> List', () => { beforeAll(() => { mockMoment(); diff --git a/x-pack/plugins/apm/public/components/app/error_group_overview/List/__snapshots__/List.test.tsx.snap b/x-pack/plugins/apm/public/components/app/error_group_overview/List/__snapshots__/List.test.tsx.snap index 890c692096a66..c8c7bf82dff04 100644 --- a/x-pack/plugins/apm/public/components/app/error_group_overview/List/__snapshots__/List.test.tsx.snap +++ b/x-pack/plugins/apm/public/components/app/error_group_overview/List/__snapshots__/List.test.tsx.snap @@ -56,7 +56,7 @@ exports[`ErrorGroupOverview -> List should render empty state 1`] = `
List should render with data 1`] = `
List should render with data 1`] = ` className="euiPagination__item" >