Revert "[i18n] [7.x] Integrate 7.14.0 Translations (#106359)"

This reverts commit 4d356ed432.
This commit is contained in:
spalger 2021-07-22 13:47:56 -07:00
parent 6d85bd9efd
commit 78b3b3b98b
916 changed files with 17744 additions and 16495 deletions

View file

@ -452,6 +452,7 @@ module.exports = {
'!(src|x-pack)/plugins/**/(public|server)/mocks/index.{js,mjs,ts}',
'!(src|x-pack)/plugins/**/(public|server)/(index|mocks).{js,mjs,ts,tsx}',
'!(src|x-pack)/plugins/**/__stories__/index.{js,mjs,ts,tsx}',
'!(src|x-pack)/plugins/**/__fixtures__/index.{js,mjs,ts,tsx}',
],
allowSameFolder: true,
errorMessage: 'Plugins may only import from top-level public and server modules.',

View file

@ -18,6 +18,7 @@
"expressions": "src/plugins/expressions",
"expressionError": "src/plugins/expression_error",
"expressionRevealImage": "src/plugins/expression_reveal_image",
"expressionShape": "src/plugins/expression_shape",
"inputControl": "src/plugins/input_control_vis",
"inspector": "src/plugins/inspector",
"inspectorViews": "src/legacy/core_plugins/inspector_views",
@ -28,6 +29,7 @@
"management": ["src/legacy/core_plugins/management", "src/plugins/management"],
"maps_legacy": "src/plugins/maps_legacy",
"monaco": "packages/kbn-monaco/src",
"esQuery": "packages/kbn-es-query/src",
"presentationUtil": "src/plugins/presentation_util",
"indexPatternFieldEditor": "src/plugins/index_pattern_field_editor",
"indexPatternManagement": "src/plugins/index_pattern_management",

View file

@ -669,10 +669,10 @@
"children": [
{
"parentPluginId": "alerting",
"id": "def-server.AlertingApiRequestHandlerContext.getAlertsClient",
"id": "def-server.AlertingApiRequestHandlerContext.getRulesClient",
"type": "Function",
"tags": [],
"label": "getAlertsClient",
"label": "getRulesClient",
"description": [],
"signature": [
"() => ",
@ -680,8 +680,8 @@
"pluginId": "alerting",
"scope": "server",
"docId": "kibAlertingPluginApi",
"section": "def-server.AlertsClient",
"text": "AlertsClient"
"section": "def-server.RulesClient",
"text": "RulesClient"
}
],
"source": {
@ -1170,7 +1170,7 @@
"<Params>"
],
"source": {
"path": "x-pack/plugins/alerting/server/alerts_client/alerts_client.ts",
"path": "x-pack/plugins/alerting/server/rules_client/rules_client.ts",
"lineNumber": 140
},
"deprecated": false,
@ -1183,7 +1183,7 @@
"label": "page",
"description": [],
"source": {
"path": "x-pack/plugins/alerting/server/alerts_client/alerts_client.ts",
"path": "x-pack/plugins/alerting/server/rules_client/rules_client.ts",
"lineNumber": 141
},
"deprecated": false
@ -1196,7 +1196,7 @@
"label": "perPage",
"description": [],
"source": {
"path": "x-pack/plugins/alerting/server/alerts_client/alerts_client.ts",
"path": "x-pack/plugins/alerting/server/rules_client/rules_client.ts",
"lineNumber": 142
},
"deprecated": false
@ -1209,7 +1209,7 @@
"label": "total",
"description": [],
"source": {
"path": "x-pack/plugins/alerting/server/alerts_client/alerts_client.ts",
"path": "x-pack/plugins/alerting/server/rules_client/rules_client.ts",
"lineNumber": 143
},
"deprecated": false
@ -1233,7 +1233,7 @@
"<Params>, \"enabled\" | \"id\" | \"name\" | \"params\" | \"actions\" | \"tags\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"throttle\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\">[]"
],
"source": {
"path": "x-pack/plugins/alerting/server/alerts_client/alerts_client.ts",
"path": "x-pack/plugins/alerting/server/rules_client/rules_client.ts",
"lineNumber": 144
},
"deprecated": false
@ -1343,10 +1343,10 @@
},
{
"parentPluginId": "alerting",
"id": "def-server.PluginStartContract.getAlertsClientWithRequest",
"id": "def-server.PluginStartContract.getRulesClientWithRequest",
"type": "Function",
"tags": [],
"label": "getAlertsClientWithRequest",
"label": "getRulesClientWithRequest",
"description": [],
"signature": [
"(request: ",
@ -1362,8 +1362,8 @@
"pluginId": "alerting",
"scope": "server",
"docId": "kibAlertingPluginApi",
"section": "def-server.AlertsClient",
"text": "AlertsClient"
"section": "def-server.RulesClient",
"text": "RulesClient"
},
", \"get\" | \"delete\" | \"create\" | \"find\" | \"update\" | \"aggregate\" | \"enable\" | \"disable\" | \"muteAll\" | \"getAlertState\" | \"getAlertInstanceSummary\" | \"updateApiKey\" | \"unmuteAll\" | \"muteInstance\" | \"unmuteInstance\" | \"listAlertTypes\">"
],
@ -1375,7 +1375,7 @@
"children": [
{
"parentPluginId": "alerting",
"id": "def-server.PluginStartContract.getAlertsClientWithRequest.$1",
"id": "def-server.PluginStartContract.getRulesClientWithRequest.$1",
"type": "Object",
"tags": [],
"label": "request",
@ -1571,10 +1571,10 @@
},
{
"parentPluginId": "alerting",
"id": "def-server.AlertsClient",
"id": "def-server.RulesClient",
"type": "Type",
"tags": [],
"label": "AlertsClient",
"label": "RulesClient",
"description": [],
"signature": [
"{ get: <Params extends Record<string, unknown> = never>({ id, }: { id: string; }) => Promise<Pick<",

View file

@ -26,8 +26,8 @@ warning: This document is auto-generated and is meant to be viewed inside our ex
| <DocLink id="kibSecurityPluginApi" section="def-server.LegacyAuditLogger" text="LegacyAuditLogger"/> | [audit_logger.ts#L8](https://github.com/elastic/kibana/tree/master/x-pack/plugins/alerting/server/authorization/audit_logger.ts#L8) | - |
| <DocLink id="kibSecurityPluginApi" section="def-server.LegacyAuditLogger" text="LegacyAuditLogger"/> | [audit_logger.ts#L21](https://github.com/elastic/kibana/tree/master/x-pack/plugins/alerting/server/authorization/audit_logger.ts#L21) | - |
| <DocLink id="kibSecurityPluginApi" section="def-server.LegacyAuditLogger" text="LegacyAuditLogger"/> | [audit_logger.ts#L23](https://github.com/elastic/kibana/tree/master/x-pack/plugins/alerting/server/authorization/audit_logger.ts#L23) | - |
| <DocLink id="kibSecurityPluginApi" section="def-server.LegacyAuditLogger" text="LegacyAuditLogger"/> | [alerts_client_factory.test.ts#L23](https://github.com/elastic/kibana/tree/master/x-pack/plugins/alerting/server/alerts_client_factory.test.ts#L23) | - |
| <DocLink id="kibSecurityPluginApi" section="def-server.LegacyAuditLogger" text="LegacyAuditLogger"/> | [alerts_client_factory.test.ts#L98](https://github.com/elastic/kibana/tree/master/x-pack/plugins/alerting/server/alerts_client_factory.test.ts#L98) | - |
| <DocLink id="kibSecurityPluginApi" section="def-server.LegacyAuditLogger" text="LegacyAuditLogger"/> | [rules_client_factory.test.ts#L23](https://github.com/elastic/kibana/tree/master/x-pack/plugins/alerting/server/rules_client_factory.test.ts#L23) | - |
| <DocLink id="kibSecurityPluginApi" section="def-server.LegacyAuditLogger" text="LegacyAuditLogger"/> | [rules_client_factory.test.ts#L98](https://github.com/elastic/kibana/tree/master/x-pack/plugins/alerting/server/rules_client_factory.test.ts#L98) | - |

View file

@ -1739,14 +1739,14 @@
{
"plugin": "alerting",
"link": {
"path": "x-pack/plugins/alerting/server/alerts_client_factory.test.ts",
"path": "x-pack/plugins/alerting/server/rules_client_factory.test.ts",
"lineNumber": 23
}
},
{
"plugin": "alerting",
"link": {
"path": "x-pack/plugins/alerting/server/alerts_client_factory.test.ts",
"path": "x-pack/plugins/alerting/server/rules_client_factory.test.ts",
"lineNumber": 98
}
}

View file

@ -7,7 +7,7 @@ beta::[]
The *Painless Lab* is an interactive code editor that lets you test and
debug {ref}/modules-scripting-painless.html[Painless scripts] in real-time.
You can use the Painless scripting
language to create <<scripted-fields, {kib} scripted fields>>,
language to create <<runtime-fields, {kib} runtime fields>>,
process {ref}/docs-reindex.html[reindexed data], define complex
<<watcher-create-advanced-watch, Watcher conditions>>,
and work with data in other contexts.

View file

@ -97,6 +97,10 @@ want to incorporate their own functions, types, and renderers into the service
for use in their own application.
|{kib-repo}blob/{branch}/src/plugins/expression_shape/README.md[expressionShape]
|Expression Shape plugin adds a shape function to the expression plugin and an associated renderer. The renderer will display the given shape with selected decorations.
|{kib-repo}blob/{branch}/src/plugins/home/README.md[home]
|Moves the legacy ui/registry/feature_catalogue module for registering "features" that should be shown in the home page's feature catalogue to a service within a "home" plugin. The feature catalogue refered to here should not be confused with the "feature" plugin for registering features used to derive UI capabilities for feature controls.

View file

@ -7,7 +7,7 @@
<b>Signature:</b>
```typescript
getSearchSourceTimeFilter(forceNow?: Date): RangeFilter[] | {
getSearchSourceTimeFilter(forceNow?: Date): import("@kbn/es-query").RangeFilter[] | {
meta: {
index: string | undefined;
params: {};
@ -43,7 +43,7 @@ getSearchSourceTimeFilter(forceNow?: Date): RangeFilter[] | {
<b>Returns:</b>
`RangeFilter[] | {
`import("@kbn/es-query").RangeFilter[] | {
meta: {
index: string | undefined;
params: {};

View file

@ -4,10 +4,13 @@
## CustomFilter type
> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be deprecated in v8.0.0.
>
<b>Signature:</b>
```typescript
export declare type CustomFilter = Filter & {
query: any;
};
declare type CustomFilter = oldCustomFilter;
```

View file

@ -10,23 +10,23 @@
esFilters: {
FilterLabel: (props: import("./ui/filter_bar/filter_editor/lib/filter_label").FilterLabelProps) => JSX.Element;
FilterItem: (props: import("./ui/filter_bar/filter_item").FilterItemProps) => JSX.Element;
FILTERS: typeof FILTERS;
FILTERS: typeof import("@kbn/es-query").FILTERS;
FilterStateStore: typeof FilterStateStore;
buildEmptyFilter: (isPinned: boolean, index?: string | undefined) => import("../common").Filter;
buildPhrasesFilter: (field: import("../common").IndexPatternFieldBase, params: any[], indexPattern: import("../common").IndexPatternBase) => import("../common").PhrasesFilter;
buildExistsFilter: (field: import("../common").IndexPatternFieldBase, indexPattern: import("../common").IndexPatternBase) => import("../common").ExistsFilter;
buildPhraseFilter: (field: import("../common").IndexPatternFieldBase, value: any, indexPattern: import("../common").IndexPatternBase) => import("../common").PhraseFilter;
buildQueryFilter: (query: any, index: string, alias: string) => import("../common").QueryStringFilter;
buildRangeFilter: (field: import("../common").IndexPatternFieldBase, params: import("../common").RangeFilterParams, indexPattern: import("../common").IndexPatternBase, formattedValue?: string | undefined) => import("../common").RangeFilter;
isPhraseFilter: (filter: any) => filter is import("../common").PhraseFilter;
isExistsFilter: (filter: any) => filter is import("../common").ExistsFilter;
isPhrasesFilter: (filter: any) => filter is import("../common").PhrasesFilter;
isRangeFilter: (filter: any) => filter is import("../common").RangeFilter;
isMatchAllFilter: (filter: any) => filter is import("../common").MatchAllFilter;
isMissingFilter: (filter: any) => filter is import("../common").MissingFilter;
isQueryStringFilter: (filter: any) => filter is import("../common").QueryStringFilter;
isFilterPinned: (filter: import("../common").Filter) => boolean | undefined;
toggleFilterNegated: (filter: import("../common").Filter) => {
buildEmptyFilter: (isPinned: boolean, index?: string | undefined) => import("@kbn/es-query").Filter;
buildPhrasesFilter: (field: import("@kbn/es-query").IndexPatternFieldBase, params: any[], indexPattern: import("@kbn/es-query").IndexPatternBase) => import("@kbn/es-query").PhrasesFilter;
buildExistsFilter: (field: import("@kbn/es-query").IndexPatternFieldBase, indexPattern: import("@kbn/es-query").IndexPatternBase) => import("@kbn/es-query").ExistsFilter;
buildPhraseFilter: (field: import("@kbn/es-query").IndexPatternFieldBase, value: any, indexPattern: import("@kbn/es-query").IndexPatternBase) => import("@kbn/es-query").PhraseFilter;
buildQueryFilter: (query: any, index: string, alias: string) => import("@kbn/es-query").QueryStringFilter;
buildRangeFilter: (field: import("@kbn/es-query").IndexPatternFieldBase, params: import("@kbn/es-query").RangeFilterParams, indexPattern: import("@kbn/es-query").IndexPatternBase, formattedValue?: string | undefined) => import("@kbn/es-query").RangeFilter;
isPhraseFilter: (filter: any) => filter is import("@kbn/es-query").PhraseFilter;
isExistsFilter: (filter: any) => filter is import("@kbn/es-query").ExistsFilter;
isPhrasesFilter: (filter: any) => filter is import("@kbn/es-query").PhrasesFilter;
isRangeFilter: (filter: any) => filter is import("@kbn/es-query").RangeFilter;
isMatchAllFilter: (filter: any) => filter is import("@kbn/es-query").MatchAllFilter;
isMissingFilter: (filter: any) => filter is import("@kbn/es-query").MissingFilter;
isQueryStringFilter: (filter: any) => filter is import("@kbn/es-query").QueryStringFilter;
isFilterPinned: (filter: import("@kbn/es-query").Filter) => boolean | undefined;
toggleFilterNegated: (filter: import("@kbn/es-query").Filter) => {
meta: {
negate: boolean;
alias: string | null;
@ -39,20 +39,20 @@ esFilters: {
params?: any;
value?: string | undefined;
};
$state?: import("../common").FilterState | undefined;
$state?: import("@kbn/es-query/target_types/filters/types").FilterState | undefined;
query?: any;
};
disableFilter: (filter: import("../common").Filter) => import("../common").Filter;
getPhraseFilterField: (filter: import("../common").PhraseFilter) => string;
getPhraseFilterValue: (filter: import("../common").PhraseFilter) => string | number | boolean;
disableFilter: (filter: import("@kbn/es-query").Filter) => import("@kbn/es-query").Filter;
getPhraseFilterField: (filter: import("@kbn/es-query").PhraseFilter) => string;
getPhraseFilterValue: (filter: import("@kbn/es-query").PhraseFilter) => string | number | boolean;
getDisplayValueFromFilter: typeof getDisplayValueFromFilter;
compareFilters: (first: import("../common").Filter | import("../common").Filter[], second: import("../common").Filter | import("../common").Filter[], comparatorOptions?: import("../common").FilterCompareOptions) => boolean;
compareFilters: (first: import("@kbn/es-query").Filter | import("@kbn/es-query").Filter[], second: import("@kbn/es-query").Filter | import("@kbn/es-query").Filter[], comparatorOptions?: import("../common").FilterCompareOptions) => boolean;
COMPARE_ALL_OPTIONS: import("../common").FilterCompareOptions;
generateFilters: typeof generateFilters;
onlyDisabledFiltersChanged: (newFilters?: import("../common").Filter[] | undefined, oldFilters?: import("../common").Filter[] | undefined) => boolean;
onlyDisabledFiltersChanged: (newFilters?: import("@kbn/es-query").Filter[] | undefined, oldFilters?: import("@kbn/es-query").Filter[] | undefined) => boolean;
changeTimeFilter: typeof changeTimeFilter;
convertRangeFilterToTimeRangeString: typeof convertRangeFilterToTimeRangeString;
mapAndFlattenFilters: (filters: import("../common").Filter[]) => import("../common").Filter[];
mapAndFlattenFilters: (filters: import("@kbn/es-query").Filter[]) => import("@kbn/es-query").Filter[];
extractTimeFilter: typeof extractTimeFilter;
extractTimeRange: typeof extractTimeRange;
}

View file

@ -4,12 +4,17 @@
## esKuery variable
> Warning: This API is now obsolete.
>
> Please import helpers from the package kbn/es-query directly. This import will be deprecated in v8.0.0.
>
<b>Signature:</b>
```typescript
esKuery: {
nodeTypes: import("../common/es_query/kuery/node_types").NodeTypes;
fromKueryExpression: (expression: any, parseOptions?: Partial<import("../common").KueryParseOptions>) => import("../common").KueryNode;
toElasticsearchQuery: (node: import("../common").KueryNode, indexPattern?: import("../common").IndexPatternBase | undefined, config?: Record<string, any> | undefined, context?: Record<string, any> | undefined) => import("@kbn/common-utils").JsonObject;
nodeTypes: import("@kbn/es-query/target_types/kuery/node_types").NodeTypes;
fromKueryExpression: (expression: any, parseOptions?: Partial<import("@kbn/es-query/target_types/kuery/types").KueryParseOptions> | undefined) => import("@kbn/es-query").KueryNode;
toElasticsearchQuery: (node: import("@kbn/es-query").KueryNode, indexPattern?: import("@kbn/es-query").IndexPatternBase | undefined, config?: Record<string, any> | undefined, context?: Record<string, any> | undefined) => import("@kbn/common-utils").JsonObject;
}
```

View file

@ -4,19 +4,24 @@
## esQuery variable
> Warning: This API is now obsolete.
>
> Please import helpers from the package kbn/es-query directly. This import will be deprecated in v8.0.0.
>
<b>Signature:</b>
```typescript
esQuery: {
buildEsQuery: typeof buildEsQuery;
buildEsQuery: typeof import("@kbn/es-query").buildEsQuery;
getEsQueryConfig: typeof getEsQueryConfig;
buildQueryFromFilters: (filters: import("../common").Filter[] | undefined, indexPattern: import("../common").IndexPatternBase | undefined, ignoreFilterIfFieldNotInIndex?: boolean) => {
buildQueryFromFilters: (filters: import("@kbn/es-query").Filter[] | undefined, indexPattern: import("@kbn/es-query").IndexPatternBase | undefined, ignoreFilterIfFieldNotInIndex?: boolean | undefined) => {
must: never[];
filter: import("../common").Filter[];
filter: import("@kbn/es-query").Filter[];
should: never[];
must_not: import("../common").Filter[];
must_not: import("@kbn/es-query").Filter[];
};
luceneStringToDsl: typeof luceneStringToDsl;
decorateQuery: typeof decorateQuery;
luceneStringToDsl: typeof import("@kbn/es-query").luceneStringToDsl;
decorateQuery: typeof import("@kbn/es-query").decorateQuery;
}
```

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [EsQueryConfig](./kibana-plugin-plugins-data-public.esqueryconfig.md) &gt; [allowLeadingWildcards](./kibana-plugin-plugins-data-public.esqueryconfig.allowleadingwildcards.md)
## EsQueryConfig.allowLeadingWildcards property
<b>Signature:</b>
```typescript
allowLeadingWildcards: boolean;
```

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [EsQueryConfig](./kibana-plugin-plugins-data-public.esqueryconfig.md) &gt; [dateFormatTZ](./kibana-plugin-plugins-data-public.esqueryconfig.dateformattz.md)
## EsQueryConfig.dateFormatTZ property
<b>Signature:</b>
```typescript
dateFormatTZ?: string;
```

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [EsQueryConfig](./kibana-plugin-plugins-data-public.esqueryconfig.md) &gt; [ignoreFilterIfFieldNotInIndex](./kibana-plugin-plugins-data-public.esqueryconfig.ignorefilteriffieldnotinindex.md)
## EsQueryConfig.ignoreFilterIfFieldNotInIndex property
<b>Signature:</b>
```typescript
ignoreFilterIfFieldNotInIndex: boolean;
```

View file

@ -2,20 +2,15 @@
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [EsQueryConfig](./kibana-plugin-plugins-data-public.esqueryconfig.md)
## EsQueryConfig interface
## EsQueryConfig type
> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be deprecated in v8.0.0.
>
<b>Signature:</b>
```typescript
export interface EsQueryConfig
declare type EsQueryConfig = oldEsQueryConfig;
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [allowLeadingWildcards](./kibana-plugin-plugins-data-public.esqueryconfig.allowleadingwildcards.md) | <code>boolean</code> | |
| [dateFormatTZ](./kibana-plugin-plugins-data-public.esqueryconfig.dateformattz.md) | <code>string</code> | |
| [ignoreFilterIfFieldNotInIndex](./kibana-plugin-plugins-data-public.esqueryconfig.ignorefilteriffieldnotinindex.md) | <code>boolean</code> | |
| [queryStringOptions](./kibana-plugin-plugins-data-public.esqueryconfig.querystringoptions.md) | <code>Record&lt;string, any&gt;</code> | |

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [EsQueryConfig](./kibana-plugin-plugins-data-public.esqueryconfig.md) &gt; [queryStringOptions](./kibana-plugin-plugins-data-public.esqueryconfig.querystringoptions.md)
## EsQueryConfig.queryStringOptions property
<b>Signature:</b>
```typescript
queryStringOptions: Record<string, any>;
```

View file

@ -4,11 +4,13 @@
## ExistsFilter type
> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be deprecated in v8.0.0.
>
<b>Signature:</b>
```typescript
export declare type ExistsFilter = Filter & {
meta: ExistsFilterMeta;
exists?: FilterExistsProperty;
};
declare type ExistsFilter = oldExistsFilter;
```

View file

@ -4,12 +4,13 @@
## Filter type
> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be deprecated in v8.0.0.
>
<b>Signature:</b>
```typescript
export declare type Filter = {
$state?: FilterState;
meta: FilterMeta;
query?: any;
};
declare type Filter = oldFilter;
```

View file

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [FilterManager](./kibana-plugin-plugins-data-public.filtermanager.md) &gt; [extract](./kibana-plugin-plugins-data-public.filtermanager.extract.md)
## FilterManager.extract property
<b>Signature:</b>
```typescript
extract: any;
```

View file

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [FilterManager](./kibana-plugin-plugins-data-public.filtermanager.md) &gt; [getAllMigrations](./kibana-plugin-plugins-data-public.filtermanager.getallmigrations.md)
## FilterManager.getAllMigrations property
<b>Signature:</b>
```typescript
getAllMigrations: () => {};
```

View file

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [FilterManager](./kibana-plugin-plugins-data-public.filtermanager.md) &gt; [inject](./kibana-plugin-plugins-data-public.filtermanager.inject.md)
## FilterManager.inject property
<b>Signature:</b>
```typescript
inject: any;
```

View file

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [FilterManager](./kibana-plugin-plugins-data-public.filtermanager.md) &gt; [migrateToLatest](./kibana-plugin-plugins-data-public.filtermanager.migratetolatest.md)
## FilterManager.migrateToLatest property
<b>Signature:</b>
```typescript
migrateToLatest: any;
```

View file

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [FilterManager](./kibana-plugin-plugins-data-public.filtermanager.md) &gt; [telemetry](./kibana-plugin-plugins-data-public.filtermanager.telemetry.md)
## FilterManager.telemetry property
<b>Signature:</b>
```typescript
telemetry: (filters: import("../../../../kibana_utils/common/persistable_state").SerializableState, collector: unknown) => {};
```

View file

@ -10,7 +10,7 @@
export declare function getTime(indexPattern: IIndexPattern | undefined, timeRange: TimeRange, options?: {
forceNow?: Date;
fieldName?: string;
}): import("../..").RangeFilter | undefined;
}): import("@kbn/es-query").RangeFilter | undefined;
```
## Parameters
@ -23,5 +23,5 @@ export declare function getTime(indexPattern: IIndexPattern | undefined, timeRan
<b>Returns:</b>
`import("../..").RangeFilter | undefined`
`import("@kbn/es-query").RangeFilter | undefined`

View file

@ -2,18 +2,15 @@
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [IFieldSubType](./kibana-plugin-plugins-data-public.ifieldsubtype.md)
## IFieldSubType interface
## IFieldSubType type
> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be deprecated in v8.0.0.
>
<b>Signature:</b>
```typescript
export interface IFieldSubType
declare type IFieldSubType = oldIFieldSubType;
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [multi](./kibana-plugin-plugins-data-public.ifieldsubtype.multi.md) | <code>{</code><br/><code> parent: string;</code><br/><code> }</code> | |
| [nested](./kibana-plugin-plugins-data-public.ifieldsubtype.nested.md) | <code>{</code><br/><code> path: string;</code><br/><code> }</code> | |

View file

@ -1,13 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [IFieldSubType](./kibana-plugin-plugins-data-public.ifieldsubtype.md) &gt; [multi](./kibana-plugin-plugins-data-public.ifieldsubtype.multi.md)
## IFieldSubType.multi property
<b>Signature:</b>
```typescript
multi?: {
parent: string;
};
```

View file

@ -1,13 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [IFieldSubType](./kibana-plugin-plugins-data-public.ifieldsubtype.md) &gt; [nested](./kibana-plugin-plugins-data-public.ifieldsubtype.nested.md)
## IFieldSubType.nested property
<b>Signature:</b>
```typescript
nested?: {
path: string;
};
```

View file

@ -37,7 +37,7 @@ export declare class IndexPatternField implements IFieldType
| [searchable](./kibana-plugin-plugins-data-public.indexpatternfield.searchable.md) | | <code>boolean</code> | |
| [sortable](./kibana-plugin-plugins-data-public.indexpatternfield.sortable.md) | | <code>boolean</code> | |
| [spec](./kibana-plugin-plugins-data-public.indexpatternfield.spec.md) | | <code>FieldSpec</code> | |
| [subType](./kibana-plugin-plugins-data-public.indexpatternfield.subtype.md) | | <code>import(&quot;../..&quot;).IFieldSubType &#124; undefined</code> | |
| [subType](./kibana-plugin-plugins-data-public.indexpatternfield.subtype.md) | | <code>import(&quot;@kbn/es-query&quot;).IFieldSubType &#124; undefined</code> | |
| [type](./kibana-plugin-plugins-data-public.indexpatternfield.type.md) | | <code>string</code> | |
| [visualizable](./kibana-plugin-plugins-data-public.indexpatternfield.visualizable.md) | | <code>boolean</code> | |

View file

@ -7,5 +7,5 @@
<b>Signature:</b>
```typescript
get subType(): import("../..").IFieldSubType | undefined;
get subType(): import("@kbn/es-query").IFieldSubType | undefined;
```

View file

@ -19,7 +19,7 @@ toJSON(): {
searchable: boolean;
aggregatable: boolean;
readFromDocValues: boolean;
subType: import("../..").IFieldSubType | undefined;
subType: import("@kbn/es-query").IFieldSubType | undefined;
customLabel: string | undefined;
};
```
@ -37,7 +37,7 @@ toJSON(): {
searchable: boolean;
aggregatable: boolean;
readFromDocValues: boolean;
subType: import("../..").IFieldSubType | undefined;
subType: import("@kbn/es-query").IFieldSubType | undefined;
customLabel: string | undefined;
}`

View file

@ -4,8 +4,13 @@
## isFilter variable
> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be deprecated in v8.0.0.
>
<b>Signature:</b>
```typescript
isFilter: (x: unknown) => x is Filter
isFilter: (x: unknown) => x is oldFilter
```

View file

@ -4,8 +4,13 @@
## isFilters variable
> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be deprecated in v8.0.0.
>
<b>Signature:</b>
```typescript
isFilters: (x: unknown) => x is Filter[]
isFilters: (x: unknown) => x is oldFilter[]
```

View file

@ -2,17 +2,15 @@
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [KueryNode](./kibana-plugin-plugins-data-public.kuerynode.md)
## KueryNode interface
## KueryNode type
> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be deprecated in v8.0.0.
>
<b>Signature:</b>
```typescript
export interface KueryNode
declare type KueryNode = oldKueryNode;
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [type](./kibana-plugin-plugins-data-public.kuerynode.type.md) | <code>keyof NodeTypes</code> | |

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [KueryNode](./kibana-plugin-plugins-data-public.kuerynode.md) &gt; [type](./kibana-plugin-plugins-data-public.kuerynode.type.md)
## KueryNode.type property
<b>Signature:</b>
```typescript
type: keyof NodeTypes;
```

View file

@ -4,11 +4,13 @@
## MatchAllFilter type
> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be deprecated in v8.0.0.
>
<b>Signature:</b>
```typescript
export declare type MatchAllFilter = Filter & {
meta: MatchAllFilterMeta;
match_all: any;
};
declare type MatchAllFilter = oldMatchAllFilter;
```

View file

@ -62,11 +62,9 @@
| [DataPublicPluginStart](./kibana-plugin-plugins-data-public.datapublicpluginstart.md) | Data plugin public Start contract |
| [DataPublicPluginStartActions](./kibana-plugin-plugins-data-public.datapublicpluginstartactions.md) | utilities to generate filters from action context |
| [DataPublicPluginStartUi](./kibana-plugin-plugins-data-public.datapublicpluginstartui.md) | Data plugin prewired UI components |
| [EsQueryConfig](./kibana-plugin-plugins-data-public.esqueryconfig.md) | |
| [FieldFormatConfig](./kibana-plugin-plugins-data-public.fieldformatconfig.md) | |
| [IDataPluginServices](./kibana-plugin-plugins-data-public.idatapluginservices.md) | |
| [IEsSearchRequest](./kibana-plugin-plugins-data-public.iessearchrequest.md) | |
| [IFieldSubType](./kibana-plugin-plugins-data-public.ifieldsubtype.md) | |
| [IFieldType](./kibana-plugin-plugins-data-public.ifieldtype.md) | |
| [IIndexPattern](./kibana-plugin-plugins-data-public.iindexpattern.md) | |
| [IIndexPatternFieldList](./kibana-plugin-plugins-data-public.iindexpatternfieldlist.md) | |
@ -79,7 +77,6 @@
| [ISearchSetup](./kibana-plugin-plugins-data-public.isearchsetup.md) | The setup contract exposed by the Search plugin exposes the search strategy extension point. |
| [ISearchStart](./kibana-plugin-plugins-data-public.isearchstart.md) | search service |
| [ISearchStartSearchSource](./kibana-plugin-plugins-data-public.isearchstartsearchsource.md) | high level search service |
| [KueryNode](./kibana-plugin-plugins-data-public.kuerynode.md) | |
| [OptionedValueProp](./kibana-plugin-plugins-data-public.optionedvalueprop.md) | |
| [QueryState](./kibana-plugin-plugins-data-public.querystate.md) | All query state service state |
| [QueryStateChange](./kibana-plugin-plugins-data-public.querystatechange.md) | |
@ -87,7 +84,6 @@
| [QuerySuggestionBasic](./kibana-plugin-plugins-data-public.querysuggestionbasic.md) | \* |
| [QuerySuggestionField](./kibana-plugin-plugins-data-public.querysuggestionfield.md) | \* |
| [QuerySuggestionGetFnArgs](./kibana-plugin-plugins-data-public.querysuggestiongetfnargs.md) | \* |
| [RangeFilterParams](./kibana-plugin-plugins-data-public.rangefilterparams.md) | |
| [Reason](./kibana-plugin-plugins-data-public.reason.md) | |
| [RefreshInterval](./kibana-plugin-plugins-data-public.refreshinterval.md) | |
| [SavedQuery](./kibana-plugin-plugins-data-public.savedquery.md) | |
@ -151,6 +147,7 @@
| [CustomFilter](./kibana-plugin-plugins-data-public.customfilter.md) | |
| [EsaggsExpressionFunctionDefinition](./kibana-plugin-plugins-data-public.esaggsexpressionfunctiondefinition.md) | |
| [EsdslExpressionFunctionDefinition](./kibana-plugin-plugins-data-public.esdslexpressionfunctiondefinition.md) | |
| [EsQueryConfig](./kibana-plugin-plugins-data-public.esqueryconfig.md) | |
| [EsQuerySortValue](./kibana-plugin-plugins-data-public.esquerysortvalue.md) | |
| [EsRawResponseExpressionTypeDefinition](./kibana-plugin-plugins-data-public.esrawresponseexpressiontypedefinition.md) | |
| [ExecutionContextSearch](./kibana-plugin-plugins-data-public.executioncontextsearch.md) | |
@ -170,6 +167,7 @@
| [IFieldFormat](./kibana-plugin-plugins-data-public.ifieldformat.md) | |
| [IFieldFormatsRegistry](./kibana-plugin-plugins-data-public.ifieldformatsregistry.md) | |
| [IFieldParamType](./kibana-plugin-plugins-data-public.ifieldparamtype.md) | |
| [IFieldSubType](./kibana-plugin-plugins-data-public.ifieldsubtype.md) | |
| [IMetricAggType](./kibana-plugin-plugins-data-public.imetricaggtype.md) | |
| [IndexPatternAggRestrictions](./kibana-plugin-plugins-data-public.indexpatternaggrestrictions.md) | |
| [IndexPatternLoadExpressionFunctionDefinition](./kibana-plugin-plugins-data-public.indexpatternloadexpressionfunctiondefinition.md) | |
@ -181,16 +179,17 @@
| [ISessionsClient](./kibana-plugin-plugins-data-public.isessionsclient.md) | |
| [ISessionService](./kibana-plugin-plugins-data-public.isessionservice.md) | |
| [KibanaContext](./kibana-plugin-plugins-data-public.kibanacontext.md) | |
| [KueryNode](./kibana-plugin-plugins-data-public.kuerynode.md) | |
| [MatchAllFilter](./kibana-plugin-plugins-data-public.matchallfilter.md) | |
| [ParsedInterval](./kibana-plugin-plugins-data-public.parsedinterval.md) | |
| [PhraseFilter](./kibana-plugin-plugins-data-public.phrasefilter.md) | |
| [PhrasesFilter](./kibana-plugin-plugins-data-public.phrasesfilter.md) | |
| [Query](./kibana-plugin-plugins-data-public.query.md) | |
| [QueryStart](./kibana-plugin-plugins-data-public.querystart.md) | |
| [QuerySuggestion](./kibana-plugin-plugins-data-public.querysuggestion.md) | \* |
| [QuerySuggestionGetFn](./kibana-plugin-plugins-data-public.querysuggestiongetfn.md) | |
| [RangeFilter](./kibana-plugin-plugins-data-public.rangefilter.md) | |
| [RangeFilterMeta](./kibana-plugin-plugins-data-public.rangefiltermeta.md) | |
| [RangeFilterParams](./kibana-plugin-plugins-data-public.rangefilterparams.md) | |
| [SavedQueryTimeFilter](./kibana-plugin-plugins-data-public.savedquerytimefilter.md) | |
| [SearchBarProps](./kibana-plugin-plugins-data-public.searchbarprops.md) | |
| [StatefulSearchBarProps](./kibana-plugin-plugins-data-public.statefulsearchbarprops.md) | |

View file

@ -4,17 +4,13 @@
## PhraseFilter type
> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be deprecated in v8.0.0.
>
<b>Signature:</b>
```typescript
export declare type PhraseFilter = Filter & {
meta: PhraseFilterMeta;
script?: {
script: {
source?: any;
lang?: estypes.ScriptLanguage;
params: any;
};
};
};
declare type PhraseFilter = oldPhraseFilter;
```

View file

@ -4,10 +4,13 @@
## PhrasesFilter type
> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be deprecated in v8.0.0.
>
<b>Signature:</b>
```typescript
export declare type PhrasesFilter = Filter & {
meta: PhrasesFilterMeta;
};
declare type PhrasesFilter = oldPhrasesFilter;
```

View file

@ -1,16 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [Query](./kibana-plugin-plugins-data-public.query.md)
## Query type
<b>Signature:</b>
```typescript
export declare type Query = {
query: string | {
[key: string]: any;
};
language: string;
};
```

View file

@ -4,18 +4,13 @@
## RangeFilter type
> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be deprecated in v8.0.0.
>
<b>Signature:</b>
```typescript
export declare type RangeFilter = Filter & EsRangeFilter & {
meta: RangeFilterMeta;
script?: {
script: {
params: any;
lang: estypes.ScriptLanguage;
source: any;
};
};
match_all?: any;
};
declare type RangeFilter = oldRangeFilter;
```

View file

@ -4,12 +4,13 @@
## RangeFilterMeta type
> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be deprecated in v8.0.0.
>
<b>Signature:</b>
```typescript
export declare type RangeFilterMeta = FilterMeta & {
params: RangeFilterParams;
field?: any;
formattedValue?: string;
};
declare type RangeFilterMeta = oldRangeFilterMeta;
```

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [RangeFilterParams](./kibana-plugin-plugins-data-public.rangefilterparams.md) &gt; [format](./kibana-plugin-plugins-data-public.rangefilterparams.format.md)
## RangeFilterParams.format property
<b>Signature:</b>
```typescript
format?: string;
```

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [RangeFilterParams](./kibana-plugin-plugins-data-public.rangefilterparams.md) &gt; [from](./kibana-plugin-plugins-data-public.rangefilterparams.from.md)
## RangeFilterParams.from property
<b>Signature:</b>
```typescript
from?: number | string;
```

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [RangeFilterParams](./kibana-plugin-plugins-data-public.rangefilterparams.md) &gt; [gt](./kibana-plugin-plugins-data-public.rangefilterparams.gt.md)
## RangeFilterParams.gt property
<b>Signature:</b>
```typescript
gt?: number | string;
```

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [RangeFilterParams](./kibana-plugin-plugins-data-public.rangefilterparams.md) &gt; [gte](./kibana-plugin-plugins-data-public.rangefilterparams.gte.md)
## RangeFilterParams.gte property
<b>Signature:</b>
```typescript
gte?: number | string;
```

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [RangeFilterParams](./kibana-plugin-plugins-data-public.rangefilterparams.md) &gt; [lt](./kibana-plugin-plugins-data-public.rangefilterparams.lt.md)
## RangeFilterParams.lt property
<b>Signature:</b>
```typescript
lt?: number | string;
```

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [RangeFilterParams](./kibana-plugin-plugins-data-public.rangefilterparams.md) &gt; [lte](./kibana-plugin-plugins-data-public.rangefilterparams.lte.md)
## RangeFilterParams.lte property
<b>Signature:</b>
```typescript
lte?: number | string;
```

View file

@ -2,23 +2,15 @@
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [RangeFilterParams](./kibana-plugin-plugins-data-public.rangefilterparams.md)
## RangeFilterParams interface
## RangeFilterParams type
> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be deprecated in v8.0.0.
>
<b>Signature:</b>
```typescript
export interface RangeFilterParams
declare type RangeFilterParams = oldRangeFilterParams;
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [format](./kibana-plugin-plugins-data-public.rangefilterparams.format.md) | <code>string</code> | |
| [from](./kibana-plugin-plugins-data-public.rangefilterparams.from.md) | <code>number &#124; string</code> | |
| [gt](./kibana-plugin-plugins-data-public.rangefilterparams.gt.md) | <code>number &#124; string</code> | |
| [gte](./kibana-plugin-plugins-data-public.rangefilterparams.gte.md) | <code>number &#124; string</code> | |
| [lt](./kibana-plugin-plugins-data-public.rangefilterparams.lt.md) | <code>number &#124; string</code> | |
| [lte](./kibana-plugin-plugins-data-public.rangefilterparams.lte.md) | <code>number &#124; string</code> | |
| [to](./kibana-plugin-plugins-data-public.rangefilterparams.to.md) | <code>number &#124; string</code> | |

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [RangeFilterParams](./kibana-plugin-plugins-data-public.rangefilterparams.md) &gt; [to](./kibana-plugin-plugins-data-public.rangefilterparams.to.md)
## RangeFilterParams.to property
<b>Signature:</b>
```typescript
to?: number | string;
```

View file

@ -25,7 +25,7 @@ export interface SearchSourceFields
| [highlightAll](./kibana-plugin-plugins-data-public.searchsourcefields.highlightall.md) | <code>boolean</code> | |
| [index](./kibana-plugin-plugins-data-public.searchsourcefields.index.md) | <code>IndexPattern</code> | |
| [parent](./kibana-plugin-plugins-data-public.searchsourcefields.parent.md) | <code>SearchSourceFields</code> | |
| [query](./kibana-plugin-plugins-data-public.searchsourcefields.query.md) | <code>Query</code> | [Query](./kibana-plugin-plugins-data-public.query.md) |
| [query](./kibana-plugin-plugins-data-public.searchsourcefields.query.md) | <code>Query</code> | |
| [searchAfter](./kibana-plugin-plugins-data-public.searchsourcefields.searchafter.md) | <code>EsQuerySearchAfter</code> | |
| [size](./kibana-plugin-plugins-data-public.searchsourcefields.size.md) | <code>number</code> | |
| [sort](./kibana-plugin-plugins-data-public.searchsourcefields.sort.md) | <code>EsQuerySortValue &#124; EsQuerySortValue[]</code> | [EsQuerySortValue](./kibana-plugin-plugins-data-public.esquerysortvalue.md) |

View file

@ -4,7 +4,6 @@
## SearchSourceFields.query property
[Query](./kibana-plugin-plugins-data-public.query.md)
<b>Signature:</b>

View file

@ -8,14 +8,14 @@
```typescript
esFilters: {
buildQueryFilter: (query: any, index: string, alias: string) => import("../common").QueryStringFilter;
buildCustomFilter: typeof buildCustomFilter;
buildEmptyFilter: (isPinned: boolean, index?: string | undefined) => import("../common").Filter;
buildExistsFilter: (field: import("../common").IndexPatternFieldBase, indexPattern: import("../common").IndexPatternBase) => import("../common").ExistsFilter;
buildFilter: typeof buildFilter;
buildPhraseFilter: (field: import("../common").IndexPatternFieldBase, value: any, indexPattern: import("../common").IndexPatternBase) => import("../common").PhraseFilter;
buildPhrasesFilter: (field: import("../common").IndexPatternFieldBase, params: any[], indexPattern: import("../common").IndexPatternBase) => import("../common").PhrasesFilter;
buildRangeFilter: (field: import("../common").IndexPatternFieldBase, params: import("../common").RangeFilterParams, indexPattern: import("../common").IndexPatternBase, formattedValue?: string | undefined) => import("../common").RangeFilter;
isFilterDisabled: (filter: import("../common").Filter) => boolean;
buildQueryFilter: (query: any, index: string, alias: string) => import("@kbn/es-query").QueryStringFilter;
buildCustomFilter: typeof import("@kbn/es-query").buildCustomFilter;
buildEmptyFilter: (isPinned: boolean, index?: string | undefined) => import("@kbn/es-query").Filter;
buildExistsFilter: (field: import("@kbn/es-query").IndexPatternFieldBase, indexPattern: import("@kbn/es-query").IndexPatternBase) => import("@kbn/es-query").ExistsFilter;
buildFilter: typeof import("@kbn/es-query").buildFilter;
buildPhraseFilter: (field: import("@kbn/es-query").IndexPatternFieldBase, value: any, indexPattern: import("@kbn/es-query").IndexPatternBase) => import("@kbn/es-query").PhraseFilter;
buildPhrasesFilter: (field: import("@kbn/es-query").IndexPatternFieldBase, params: any[], indexPattern: import("@kbn/es-query").IndexPatternBase) => import("@kbn/es-query").PhrasesFilter;
buildRangeFilter: (field: import("@kbn/es-query").IndexPatternFieldBase, params: import("@kbn/es-query").RangeFilterParams, indexPattern: import("@kbn/es-query").IndexPatternBase, formattedValue?: string | undefined) => import("@kbn/es-query").RangeFilter;
isFilterDisabled: (filter: import("@kbn/es-query").Filter) => boolean;
}
```

View file

@ -8,8 +8,8 @@
```typescript
esKuery: {
nodeTypes: import("../common/es_query/kuery/node_types").NodeTypes;
fromKueryExpression: (expression: any, parseOptions?: Partial<import("../common").KueryParseOptions>) => import("../common").KueryNode;
toElasticsearchQuery: (node: import("../common").KueryNode, indexPattern?: import("../common").IndexPatternBase | undefined, config?: Record<string, any> | undefined, context?: Record<string, any> | undefined) => import("@kbn/common-utils").JsonObject;
nodeTypes: import("@kbn/es-query/target_types/kuery/node_types").NodeTypes;
fromKueryExpression: (expression: any, parseOptions?: Partial<import("@kbn/es-query/target_types/kuery/types").KueryParseOptions> | undefined) => import("@kbn/es-query").KueryNode;
toElasticsearchQuery: (node: import("@kbn/es-query").KueryNode, indexPattern?: import("@kbn/es-query").IndexPatternBase | undefined, config?: Record<string, any> | undefined, context?: Record<string, any> | undefined) => import("@kbn/common-utils").JsonObject;
}
```

View file

@ -8,13 +8,13 @@
```typescript
esQuery: {
buildQueryFromFilters: (filters: import("../common").Filter[] | undefined, indexPattern: import("../common").IndexPatternBase | undefined, ignoreFilterIfFieldNotInIndex?: boolean) => {
buildQueryFromFilters: (filters: import("@kbn/es-query").Filter[] | undefined, indexPattern: import("@kbn/es-query").IndexPatternBase | undefined, ignoreFilterIfFieldNotInIndex?: boolean | undefined) => {
must: never[];
filter: import("../common").Filter[];
filter: import("@kbn/es-query").Filter[];
should: never[];
must_not: import("../common").Filter[];
must_not: import("@kbn/es-query").Filter[];
};
getEsQueryConfig: typeof getEsQueryConfig;
buildEsQuery: typeof buildEsQuery;
buildEsQuery: typeof import("@kbn/es-query").buildEsQuery;
}
```

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) &gt; [EsQueryConfig](./kibana-plugin-plugins-data-server.esqueryconfig.md) &gt; [allowLeadingWildcards](./kibana-plugin-plugins-data-server.esqueryconfig.allowleadingwildcards.md)
## EsQueryConfig.allowLeadingWildcards property
<b>Signature:</b>
```typescript
allowLeadingWildcards: boolean;
```

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) &gt; [EsQueryConfig](./kibana-plugin-plugins-data-server.esqueryconfig.md) &gt; [dateFormatTZ](./kibana-plugin-plugins-data-server.esqueryconfig.dateformattz.md)
## EsQueryConfig.dateFormatTZ property
<b>Signature:</b>
```typescript
dateFormatTZ?: string;
```

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) &gt; [EsQueryConfig](./kibana-plugin-plugins-data-server.esqueryconfig.md) &gt; [ignoreFilterIfFieldNotInIndex](./kibana-plugin-plugins-data-server.esqueryconfig.ignorefilteriffieldnotinindex.md)
## EsQueryConfig.ignoreFilterIfFieldNotInIndex property
<b>Signature:</b>
```typescript
ignoreFilterIfFieldNotInIndex: boolean;
```

View file

@ -2,20 +2,15 @@
[Home](./index.md) &gt; [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) &gt; [EsQueryConfig](./kibana-plugin-plugins-data-server.esqueryconfig.md)
## EsQueryConfig interface
## EsQueryConfig type
> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be deprecated in v8.0.0.
>
<b>Signature:</b>
```typescript
export interface EsQueryConfig
declare type EsQueryConfig = oldEsQueryConfig;
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [allowLeadingWildcards](./kibana-plugin-plugins-data-server.esqueryconfig.allowleadingwildcards.md) | <code>boolean</code> | |
| [dateFormatTZ](./kibana-plugin-plugins-data-server.esqueryconfig.dateformattz.md) | <code>string</code> | |
| [ignoreFilterIfFieldNotInIndex](./kibana-plugin-plugins-data-server.esqueryconfig.ignorefilteriffieldnotinindex.md) | <code>boolean</code> | |
| [queryStringOptions](./kibana-plugin-plugins-data-server.esqueryconfig.querystringoptions.md) | <code>Record&lt;string, any&gt;</code> | |

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) &gt; [EsQueryConfig](./kibana-plugin-plugins-data-server.esqueryconfig.md) &gt; [queryStringOptions](./kibana-plugin-plugins-data-server.esqueryconfig.querystringoptions.md)
## EsQueryConfig.queryStringOptions property
<b>Signature:</b>
```typescript
queryStringOptions: Record<string, any>;
```

View file

@ -4,12 +4,13 @@
## Filter type
> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be deprecated in v8.0.0.
>
<b>Signature:</b>
```typescript
export declare type Filter = {
$state?: FilterState;
meta: FilterMeta;
query?: any;
};
declare type Filter = oldFilter;
```

View file

@ -10,7 +10,7 @@
export declare function getTime(indexPattern: IIndexPattern | undefined, timeRange: TimeRange, options?: {
forceNow?: Date;
fieldName?: string;
}): import("../..").RangeFilter | undefined;
}): import("@kbn/es-query").RangeFilter | undefined;
```
## Parameters
@ -23,5 +23,5 @@ export declare function getTime(indexPattern: IIndexPattern | undefined, timeRan
<b>Returns:</b>
`import("../..").RangeFilter | undefined`
`import("@kbn/es-query").RangeFilter | undefined`

View file

@ -2,18 +2,15 @@
[Home](./index.md) &gt; [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) &gt; [IFieldSubType](./kibana-plugin-plugins-data-server.ifieldsubtype.md)
## IFieldSubType interface
## IFieldSubType type
> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be deprecated in v8.0.0.
>
<b>Signature:</b>
```typescript
export interface IFieldSubType
declare type IFieldSubType = oldIFieldSubType;
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [multi](./kibana-plugin-plugins-data-server.ifieldsubtype.multi.md) | <code>{</code><br/><code> parent: string;</code><br/><code> }</code> | |
| [nested](./kibana-plugin-plugins-data-server.ifieldsubtype.nested.md) | <code>{</code><br/><code> path: string;</code><br/><code> }</code> | |

View file

@ -1,13 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) &gt; [IFieldSubType](./kibana-plugin-plugins-data-server.ifieldsubtype.md) &gt; [multi](./kibana-plugin-plugins-data-server.ifieldsubtype.multi.md)
## IFieldSubType.multi property
<b>Signature:</b>
```typescript
multi?: {
parent: string;
};
```

View file

@ -1,13 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) &gt; [IFieldSubType](./kibana-plugin-plugins-data-server.ifieldsubtype.md) &gt; [nested](./kibana-plugin-plugins-data-server.ifieldsubtype.nested.md)
## IFieldSubType.nested property
<b>Signature:</b>
```typescript
nested?: {
path: string;
};
```

View file

@ -2,17 +2,15 @@
[Home](./index.md) &gt; [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) &gt; [KueryNode](./kibana-plugin-plugins-data-server.kuerynode.md)
## KueryNode interface
## KueryNode type
> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be deprecated in v8.0.0.
>
<b>Signature:</b>
```typescript
export interface KueryNode
declare type KueryNode = oldKueryNode;
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [type](./kibana-plugin-plugins-data-server.kuerynode.type.md) | <code>keyof NodeTypes</code> | |

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) &gt; [KueryNode](./kibana-plugin-plugins-data-server.kuerynode.md) &gt; [type](./kibana-plugin-plugins-data-server.kuerynode.type.md)
## KueryNode.type property
<b>Signature:</b>
```typescript
type: keyof NodeTypes;
```

View file

@ -48,11 +48,9 @@
| [AggParamOption](./kibana-plugin-plugins-data-server.aggparamoption.md) | |
| [AsyncSearchResponse](./kibana-plugin-plugins-data-server.asyncsearchresponse.md) | |
| [AsyncSearchStatusResponse](./kibana-plugin-plugins-data-server.asyncsearchstatusresponse.md) | |
| [EsQueryConfig](./kibana-plugin-plugins-data-server.esqueryconfig.md) | |
| [FieldDescriptor](./kibana-plugin-plugins-data-server.fielddescriptor.md) | |
| [FieldFormatConfig](./kibana-plugin-plugins-data-server.fieldformatconfig.md) | |
| [IEsSearchRequest](./kibana-plugin-plugins-data-server.iessearchrequest.md) | |
| [IFieldSubType](./kibana-plugin-plugins-data-server.ifieldsubtype.md) | |
| [IFieldType](./kibana-plugin-plugins-data-server.ifieldtype.md) | |
| [IndexPatternAttributes](./kibana-plugin-plugins-data-server.indexpatternattributes.md) | Interface for an index pattern saved object |
| [IScopedSearchClient](./kibana-plugin-plugins-data-server.iscopedsearchclient.md) | |
@ -61,7 +59,6 @@
| [ISearchSetup](./kibana-plugin-plugins-data-server.isearchsetup.md) | |
| [ISearchStart](./kibana-plugin-plugins-data-server.isearchstart.md) | |
| [ISearchStrategy](./kibana-plugin-plugins-data-server.isearchstrategy.md) | Search strategy interface contains a search method that takes in a request and returns a promise that resolves to a response. |
| [KueryNode](./kibana-plugin-plugins-data-server.kuerynode.md) | |
| [OptionedValueProp](./kibana-plugin-plugins-data-server.optionedvalueprop.md) | |
| [PluginSetup](./kibana-plugin-plugins-data-server.pluginsetup.md) | |
| [PluginStart](./kibana-plugin-plugins-data-server.pluginstart.md) | |
@ -97,6 +94,7 @@
| [AggGroupName](./kibana-plugin-plugins-data-server.agggroupname.md) | |
| [AggParam](./kibana-plugin-plugins-data-server.aggparam.md) | |
| [EsaggsExpressionFunctionDefinition](./kibana-plugin-plugins-data-server.esaggsexpressionfunctiondefinition.md) | |
| [EsQueryConfig](./kibana-plugin-plugins-data-server.esqueryconfig.md) | |
| [ExecutionContextSearch](./kibana-plugin-plugins-data-server.executioncontextsearch.md) | |
| [ExpressionFunctionKibana](./kibana-plugin-plugins-data-server.expressionfunctionkibana.md) | |
| [ExpressionFunctionKibanaContext](./kibana-plugin-plugins-data-server.expressionfunctionkibanacontext.md) | |
@ -108,11 +106,12 @@
| [IEsSearchResponse](./kibana-plugin-plugins-data-server.iessearchresponse.md) | |
| [IFieldFormatsRegistry](./kibana-plugin-plugins-data-server.ifieldformatsregistry.md) | |
| [IFieldParamType](./kibana-plugin-plugins-data-server.ifieldparamtype.md) | |
| [IFieldSubType](./kibana-plugin-plugins-data-server.ifieldsubtype.md) | |
| [IMetricAggType](./kibana-plugin-plugins-data-server.imetricaggtype.md) | |
| [IndexPatternLoadExpressionFunctionDefinition](./kibana-plugin-plugins-data-server.indexpatternloadexpressionfunctiondefinition.md) | |
| [KibanaContext](./kibana-plugin-plugins-data-server.kibanacontext.md) | |
| [KueryNode](./kibana-plugin-plugins-data-server.kuerynode.md) | |
| [ParsedInterval](./kibana-plugin-plugins-data-server.parsedinterval.md) | |
| [Query](./kibana-plugin-plugins-data-server.query.md) | |
| [SearchRequestHandlerContext](./kibana-plugin-plugins-data-server.searchrequesthandlercontext.md) | |
| [TimeRange](./kibana-plugin-plugins-data-server.timerange.md) | |

View file

@ -1,16 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) &gt; [Query](./kibana-plugin-plugins-data-server.query.md)
## Query type
<b>Signature:</b>
```typescript
export declare type Query = {
query: string | {
[key: string]: any;
};
language: string;
};
```

View file

@ -1,37 +1,151 @@
<div class="legalnotice">
<p>From creating beautiful visualizations to managing the Elastic Stack, learn how Kibana helps you get the most of your data.</p>
<p><a href="https://www.elastic.co/videos/training-how-to-stack">Watch our videos</a></p>
<table style="width:100%">
<tr>
<th><h3>New to Kibana?</h3></th>
<th><h3>Popular topics</h3></th>
</tr>
<tr>
<td>
<div class="itemizedlist">
<ul class="itemizedlist" type="disc">
<li class="listitem"><a href="https://www.elastic.co/guide/en/kibana/current/introduction.html">What is Kibana?</a></li>
<li class="listitem"><a href="https://www.elastic.co/guide/en/kibana/current/get-started.html">Quick start</a>
<li class="listitem"><a href="https://www.elastic.co/guide/en/kibana/current/connect-to-elasticsearch.html">Add data</a></li>
<li class="listitem"><a href="https://www.elastic.co/guide/en/kibana/current/dashboard.html">Create a dashboard</a></li>
<li class="listitem"><a href="https://www.elastic.co/guide/en/kibana/current/discover.html">Search your data</a>
</li>
</ul>
</div>
</td>
<td>
<div class="itemizedlist">
<ul class="itemizedlist" type="disc">
<li class="listitem"><a href="https://www.elastic.co/guide/en/kibana/current/install.html">Install Kibana</a></li>
<li class="listitem"><a href="https://www.elastic.co/guide/en/kibana/current/settings.html">Configure settings</a></li>
<li class="listitem"><a href="https://www.elastic.co/guide/en/kibana/current/kuery-query.html">Kibana Query Language (KQL)</a>
</li>
<li class="listitem"><a href="https://www.elastic.co/guide/en/kibana/current/index-patterns.html">Create an index pattern</a>
</li>
<li class="listitem"><a href="https://www.elastic.co/guide/en/kibana/current/alerting-getting-started.html">Create an alert</a>
</ul>
</div></td>
</tr>
</table>
<h3>All topics</h3>
<p>
From creating beautiful visualizations to managing the Elastic Stack, learn how Kibana helps you
get the most of your data.
</p>
<p>
<a href="https://www.elastic.co/videos/training-how-to-stack"><b>How-to videos</b></a>
</p>
<table style="width: 100%">
<tr>
<th><h3>New to Kibana?</h3></th>
<th><h3>Popular topics</h3></th>
</tr>
<tr>
<td>
<div class="itemizedlist">
<ul class="itemizedlist" type="disc">
<li class="listitem">
<a href="https://www.elastic.co/guide/en/kibana/current/introduction.html"
>What is Kibana?</a
>
</li>
<li class="listitem">
<a href="https://www.elastic.co/guide/en/kibana/current/get-started.html"
>Quick start</a
>
</li>
<li class="listitem">
<a href="https://www.elastic.co/guide/en/kibana/current/connect-to-elasticsearch.html"
>Add data</a
>
</li>
<li class="listitem">
<a href="https://www.elastic.co/guide/en/kibana/current/dashboard.html"
>Create a dashboard</a
>
</li>
<li class="listitem">
<a href="https://www.elastic.co/guide/en/kibana/current/discover.html"
>Search your data</a
>
</li>
</ul>
</div>
</td>
<td>
<div class="itemizedlist">
<ul class="itemizedlist" type="disc">
<li class="listitem">
<a href="https://www.elastic.co/guide/en/kibana/current/install.html"
>Install Kibana</a
>
</li>
<li class="listitem">
<a href="https://www.elastic.co/guide/en/kibana/current/settings.html"
>Configure settings</a
>
</li>
<li class="listitem">
<a href="https://www.elastic.co/guide/en/kibana/current/kuery-query.html"
>Kibana Query Language (KQL)</a
>
</li>
<li class="listitem">
<a href="https://www.elastic.co/guide/en/kibana/current/index-patterns.html"
>Create an index pattern</a
>
</li>
<li class="listitem">
<a href="https://www.elastic.co/guide/en/kibana/current/alerting-getting-started.html"
>Create an alert</a
>
</li>
</ul>
</div>
</td>
</tr>
<tr>
<th><h3>Analyze your data</h3></th>
<th><h3>Manage all things Stack</h3></th>
</tr>
<tr>
<td>
<div class="itemizedlist">
<ul class="itemizedlist" type="disc">
<li class="listitem">
<a href="https://www.elastic.co/guide/en/kibana/current/discover.html"
>Explore your data</a
>
</li>
<li class="listitem">
<a href="https://www.elastic.co/guide/en/kibana/current/dashboard.html"
>Create dashboards</a
>
</li>
<li class="listitem">
<a href="https://www.elastic.co/guide/en/kibana/current/canvas.html"
>Create presentations</a
>
</li>
<li class="listitem">
<a href="https://www.elastic.co/guide/en/kibana/current/maps.html"
>Map geographic data</a
>
</li>
<li class="listitem">
<a href="https://www.elastic.co/guide/en/kibana/current/xpack-ml.html"
>Model, predict, and detect behavior</a
>
</li>
</ul>
</div>
</td>
<td>
<div class="itemizedlist">
<ul class="itemizedlist" type="disc">
<li class="listitem">
<a
href="https://www.elastic.co/guide/en/kibana/current/tutorial-secure-access-to-kibana.html"
>Secure access to Kibana</a
>
</li>
<li class="listitem">
<a href="https://www.elastic.co/guide/en/kibana/current/xpack-spaces.html"
>Organize your data in spaces</a
>
</li>
<li class="listitem">
<a href="https://www.elastic.co/guide/en/kibana/current/managing-saved-objects.html"
>Categorize your saved objects</a
>
</li>
<li class="listitem">
<a href="https://www.elastic.co/guide/en/kibana/current/managing-tags.html"
>Quickly find apps and objects</a
>
</li>
<li class="listitem">
<a href="https://www.elastic.co/guide/en/kibana/current/management.html"
>Manage your data</a
>
</li>
</ul>
</div>
</td>
</tr>
</table>
<h3>All topics</h3>
</div>

View file

@ -339,18 +339,26 @@ This content has moved. Refer to <<embedded-content-authentication>> and <<embed
This content has moved. Refer to <<install-reporting-packages>>.
[role="exclude",id="graph-getting-started"]
== Create a graph
This content has moved. Refer to <<xpack-graph>>.
[role="exclude",id="graph-limitations"]
== Graph limitations
This content has moved. Refer to <<graph-troubleshooting>>.
[role="exclude",id="profiler-getting-started"]
== Getting start with Search Profiler
This content has moved. Refer to <<xpack-profiler>>.
[role="exclude",id="profiler-complicated"]
== Profiling a more complicated querying
This content has moved. Refer to <<xpack-profiler>>.
[role="exclude",id="profiler-render"]
== Rendering pre-captured profiler JSON

View file

@ -782,13 +782,11 @@ out through *Advanced Settings*. *Default: `true`*
| Set this value to true to allow Vega to use any URL to access external data
sources and images. When false, Vega can only get data from {es}. *Default: `false`*
a|
`xpack.discoverEnhanced.actions.`
|[[settings-explore-data-in-context]] `xpack.discoverEnhanced.actions.`
`exploreDataInContextMenu.enabled`
| Enables the *Explore underlying data* option that allows you to open *Discover* from a dashboard panel and view the panel data. *Default: `false`*
a|
`xpack.discoverEnhanced.actions.`
|[[settings-explore-data-in-chart]] `xpack.discoverEnhanced.actions.`
`exploreDataInChart.enabled`
| Enables you to view the underlying documents in a data series from a dashboard panel. *Default: `false`*

View file

@ -265,33 +265,19 @@ Copy panels from one dashboard to another dashboard.
[[explore-the-underlying-documents]]
== Explore the underlying documents
To gain insight to the data, open the underlying panel or data series documents in *Discover*. The panel documents that you open in *Discover* have the same time range and filters as the source panel.
You can add additional interactions that allow you to open *Discover* from dashboard panels. To use the interactions, the panel must use only one index pattern.
[float]
[[explore-underlying-panel-documents]]
=== Explore the underlying panel documents
When your visualization panel contains a single index pattern, you can open the panel documents in *Discover*.
. Open the panel menu.
. Click *Explore underlying data*.
Panel interaction:: Opens the data in *Discover* with the current dashboard filters, but does not take the filters
saved with the panel.
+
[role="screenshot"]
image::images/explore_data_context_menu.png[Explore underlying data from panel context menu]
To enable panel interactions, refere to <<settings-explore-data-in-context,`xpack.discoverEnhanced.actions.exploreDataInContextMenu.enabled`>>.
[float]
[[explore-underlying-data-series-documents]]
=== Explore the underlying data series documents
To gain insight to a data series, open the documents in *Discover*.
. Click the data series in the panel that you want to view.
. Select *Explore underlying data*.
Series interaction::
Opens the series data in *Discover* from inside the panel.
+
[role="screenshot"]
image::images/explore_data_in_chart.png[Explore underlying data from chart]
To enable series interactions, refer to <<settings-explore-data-in-chart,`xpack.discoverEnhanced.actions.exploreDataInChart.enabled`>>.
NOTE: In {kib} 7.13 and earlier, the panel interaction was enabled by default.
[float]
[[download-csv]]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

View file

@ -55,7 +55,7 @@ is displayed. For more information on granting access to Kibana, see
<<xpack-security-authorization>>.
[role="screenshot"]
image::user/graph/images/graph-read-only-badge.png[Example of Graph's read only access indicator in Kibana's header]
image::user/graph/images/graph-read-only-badge.png[Example of Graph's read only access indicator in Kibana's header, width=50%]
[discrete]
[[disable-drill-down]]

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 352 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 334 KiB

After

Width:  |  Height:  |  Size: 354 KiB

Before After
Before After

View file

@ -5,7 +5,7 @@
[partintro]
--
The {graph-features} enable you to discover how items in an
Elasticsearch index are related. You can explore the connections between
{es} index are related. You can explore the connections between
indexed terms and see which connections are the most meaningful. This can be
useful in a variety of applications, from fraud detection to recommendation
engines.
@ -15,15 +15,15 @@ that hackers are targeting so you can harden your website. Or, you might
provide graph-based personalized recommendations to your e-commerce customers.
The {graph-features} provide a simple, yet powerful {ref}/graph-explore-api.html[graph exploration API],
and an interactive graph visualization tool for Kibana. Both work out of the
box with existing Elasticsearch indices--you don't need to store any
and an interactive graph visualization app for {kib}. Both work out of the
box with existing {es} indices&mdash;you don't need to store any
additional data to use these features.
[discrete]
[[how-graph-works]]
== How Graph works
The graph API provides an alternative way to extract and summarize information
about the documents and terms in your Elasticsearch index. A _graph_ is really
about the documents and terms in your {es} index. A _graph_ is really
just a network of related items. In our case, this means a network of related
terms in the index.
@ -37,14 +37,14 @@ image::user/graph/images/graph-vertices-connections.jpg["Graph components"]
NOTE: If you're into https://en.wikipedia.org/wiki/Graph_theory[graph theory],
you might know vertices and connections as _nodes_ and _edges_. They're the
same thing, we just want to use terminology that makes sense to people who
aren't graph geeks and avoid any confusion with the nodes in an Elasticsearch
aren't graph geeks and avoid any confusion with the nodes in an {es}
cluster.
The graph vertices are simply the terms that you've already indexed. The
connections are derived on the fly using Elasticsearch aggregations. To
connections are derived on the fly using {es} aggregations. To
identify the most _meaningful_ connections, the graph API leverages
Elasticsearch relevance scoring. The same data structures and relevance ranking
tools built into Elasticsearch to support text searches enable the graph API to
{es} relevance scoring. The same data structures and relevance ranking
tools built into {es} to support text searches enable the graph API to
separate useful signals from the noise that is typical of most connected data.
This foundation lets you easily answer questions like:
@ -55,21 +55,143 @@ be interested in?
* Which people on Stack Overflow have expertise in both Hadoop-related
technologies and Python-related tech?
But what about performance, you ask? The Elasticsearch aggregation framework
But what about performance? The {es} aggregation framework
enables the graph API to quickly summarize millions of documents as a single
super-connection. Instead of retrieving every banking transaction between
accounts A and B, it derives a single connection that represents that
relationship. And, of course, this summarization process works across
multi-node clusters and scales with your Elasticsearch deployment.
multi-node clusters and scales with your {es} deployment.
Advanced options let you control how your data is sampled and summarized.
You can also set timeouts to prevent graph queries from adversely
affecting the cluster.
--
include::getting-started.asciidoc[]
[float]
[[graph-connection]]
== Create a graph
Use *Graph* to reveal the relationships in your data.
. Open the main menu, and then click *Graph*.
+
If you're new to {kib}, and don't yet have any data, follow the link to add sample data.
This example uses the {kib} sample web logs data set.
. Select the data source that you want to explore.
+
{kib} graphs the relationships between the top fields.
+
[role="screenshot"]
image::user/graph/images/graph-url-connections.png["URL connections"]
. Add more fields, or click an existing field to edit, disable or deselect it.
+
[role="screenshot"]
image::user/graph/images/graph-menu.png["menu for editing, disabling, or removing a field from the graph", width=75%]
. Enter a query to discover relationships between terms in the selected
fields.
+
For example,
to generate a graph of the successful requests to a
particular location, search for the `geo.src`
field. The weight of the connection between two vertices indicates how strongly they
are related.
. To view more information about a relationship, click any connection or vertex.
+
[role="screenshot"]
image::user/graph/images/graph-control-bar.png["Graph toolbar", width=50%]
. Use the graph toolbar to display additional connections:
+
* To display additional vertices that connect to your graph, click the expand icon
image:user/graph/images/graph-expand-button.png[Expand Selection].
* To display additional
connections between the displayed vertices, click the link icon
image:user/graph/images/graph-link-button.png[Add links to existing terms].
* To explore a particular area of the
graph, select the vertices you are interested in, and then click expand or link.
* To step back through your changes to the graph, click undo
image:user/graph/images/graph-undo-button.png[Undo] and redo
image:user/graph/images/graph-redo-button.png[Redo].
. To view more relationships in your data, submit additional queries.
. *Save* your graph.
[float]
[[graph-customize]]
== Customize your graph
Apply custom colors and icons to vertices, configure the number of vertices that
a search adds to the graph, block terms, and more.
[float]
[[style-vertex-properties]]
==== Style vertex properties
Each vertex has a color, icon, and label. To change
the color or icon of all vertices
of a certain field, click it's field, and then
select *Edit settings*.
To change the color and label of selected vertices,
click the style icon image:user/graph/images/graph-style-button.png[Style]
in the control bar.
[float]
[[edit-graph-settings]]
==== Tune the noise level
By default, *Graph* is configured to tune out noise in your data.
If this isn't a good fit for your data, open *Settings > Advanced settings*,
and then adjust the way *Graph* queries your data. You can tune the graph to show
only the results relevant to you and to improve performance.
For more information, see <<graph-troubleshooting, Graph troubleshooting>>.
You can configure the number of vertices that a search or
expand operation adds to the graph.
By default, only the five most relevant terms for any given field are added
at a time. This keeps the graph from overflowing. To increase this number, click
a field, select *Edit Settings*, and change *Terms per hop*.
[float]
[[graph-block-terms]]
==== Block terms from the graph
Documents that match a blocked term are not allowed in the graph.
To block a term, select its vertex and click
the block icon
image:user/graph/images/graph-block-button.png[Block selection]
in the graph toolbar.
For a list of blocked terms, open *Settings > Blocked terms*.
[float]
[[graph-drill-down]]
==== Drill down into raw documents
With drilldowns, you can display additional information about a
selected vertex in a new browser window. For example, you might
configure a drilldown URL to perform a web search for the selected vertex term.
Use the drilldown icon image:user/graph/images/graph-info-icon.png[Drilldown selection]
in the graph toolbar to show the drilldown buttons for the selected vertices.
To configure drilldowns, go to *Settings > Drilldowns*. See also
<<disable-drill-down, Disabling drilldown configuration>>.
[float]
[[graph-run-layout]]
==== Run and pause the layout
Graph uses a "force layout", where vertices behave like magnets,
pushing off of one another. By default, when you add a new vertex to
the graph, all vertices begin moving. In some cases, the movement might
go on for some time. To freeze the current vertex position,
click the pause icon
image:user/graph/images/graph-pause-button.png[Block selection]
in the graph toolbar.
--
include::configuring-graph.asciidoc[]
include::troubleshooting.asciidoc[]
include::limitations.asciidoc[]

View file

@ -1,27 +0,0 @@
[role="xpack"]
[[graph-limitations]]
== Graph limitations
++++
<titleabbrev>Limitations</titleabbrev>
++++
[discrete]
=== Limited support for multiple indices
The graph API can explore multiple indices, types, or aliases in a
single API request, but the assumption is that each "hop" it performs
is querying the same set of indices. Currently, it is not possible to
take a term found in a field from one index and use that value to explore
connections in _a different field_ held in another type or index.
A good example of where this might be useful is if an IP address is
found in the `remote_host` field of an index called "weblogs20160101",
you might want to follow that up by looking for the same address in
the `ip_address` field of an index called "knownthreats".
Supporting this behaviour would require extra mappings to indicate that
the weblogs' `remote_host` field contained values that had currency and
meaning in the `ip_address` field of the threats index.
Since we do not currently support this translation, you would have to
perform multiple calls to take the values from the weblogs index
response and build them into a separate request to the threats index.

View file

@ -1,8 +1,8 @@
[role="xpack"]
[[graph-troubleshooting]]
== Graph troubleshooting
== Graph troubleshooting and limitations
++++
<titleabbrev>Troubleshoot</titleabbrev>
<titleabbrev>Troubleshooting and limitations</titleabbrev>
++++
[discrete]
@ -22,7 +22,7 @@ but they can miss details from individual documents. If you need to perform a
detailed forensic analysis, you can adjust the following settings to ensure a
graph exploration produces all of the relevant data:
* Increase the `sample_size` to a larger number of documents to analyse more
* Increase the `sample_size` to a larger number of documents to analyze more
data on each shard.
* Set the `use_significance` setting to `false` to retrieve terms regardless
of any statistical correlation with the sample.
@ -53,7 +53,28 @@ large documents with your seed and guiding queries.
so even increasing the frequency threshold by one can massively reduce the
number of candidate terms whose background frequencies are checked.
Keep in mind that all of these options reduce the scope of information analysed
Keep in mind that all of these options reduce the scope of information analyzed
and can increase the potential to miss what could be interesting details. However,
the information that's lost tends to be associated with lower-quality documents
with lower-frequency terms, which can be an acceptable trade-off.
[discrete]
=== Limited support for multiple indices
The graph API can explore multiple indices, types, or aliases in a
single API request, but the assumption is that each "hop" it performs
is querying the same set of indices. Currently, it is not possible to
take a term found in a field from one index and use that value to explore
connections in _a different field_ held in another type or index.
A good example of where this might be useful is if an IP address is
found in the `remote_host` field of an index called "weblogs20160101",
you might want to follow that up by looking for the same address in
the `ip_address` field of an index called "knownthreats".
Supporting this behavior would require extra mappings to indicate that
the weblogs' `remote_host` field contained values that had currency and
meaning in the `ip_address` field of the threats index.
Since we do not currently support this translation, you would have to
perform multiple calls to take the values from the weblogs index
response and build them into a separate request to the threats index.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 89 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 KiB

BIN
docs/user/images/kibana-main-menu.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 361 KiB

After

Width:  |  Height:  |  Size: 420 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 322 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 KiB

After

Width:  |  Height:  |  Size: 194 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 KiB

BIN
docs/user/images/tags-search.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 98 KiB

Before After
Before After

View file

@ -59,7 +59,7 @@ and everything you need to visualize and analyze your data.
To access all of {kib} features, use the main menu.
Open this menu by clicking the
menu icon. To keep the main menu visible at all times, click *Dock navigation*.
menu icon.
For a quick reference of all {kib} features, refer to <<whats-the-right-app,Whats the right app for you?>>
[role="screenshot"]
@ -81,10 +81,6 @@ that it ran in, trace the transaction, and check the overall service availabilit
* Designed for security analysts, {security-guide}/es-overview.html[*Elastic Security*] provides an overview of
the events and alerts from your environment. Elastic Security helps you defend
your organization from threats before damage and loss occur.
+
[role="screenshot"]
image::siem/images/detections-ui.png[Detections view in Elastic Security]
[float]
[[visualize-and-analyze]]
@ -165,7 +161,7 @@ guided processes for administering all things Elastic Stack,
including data, indices, clusters, alerts, and security.
[role="screenshot"]
image::images/intro-management.png[Index Management view in Stack Management]
image::images/stack-management.png[Index Management view in Stack Management]
[float]
==== Manage your data, indices, and clusters
@ -429,7 +425,7 @@ the <<get-started,{kib} Quick start>>.
|<<xpack-graph, Graph>>
|Share your data
|<<dashboard, Dashboard>>, <<canvas, Canvas>>
|<<dashboard, Dashboard>>, <<canvas, Canvas>>, <<discover,Discover>>
2+|*Administer your Kibana instance*

View file

@ -128,6 +128,7 @@
"@kbn/config": "link:bazel-bin/packages/kbn-config",
"@kbn/config-schema": "link:bazel-bin/packages/kbn-config-schema",
"@kbn/crypto": "link:bazel-bin/packages/kbn-crypto",
"@kbn/es-query": "link:bazel-bin/packages/kbn-es-query",
"@kbn/i18n": "link:bazel-bin/packages/kbn-i18n",
"@kbn/interpreter": "link:bazel-bin/packages/kbn-interpreter",
"@kbn/io-ts-utils": "link:bazel-bin/packages/kbn-io-ts-utils",
@ -150,9 +151,9 @@
"@kbn/securitysolution-utils": "link:bazel-bin/packages/kbn-securitysolution-utils",
"@kbn/server-http-tools": "link:bazel-bin/packages/kbn-server-http-tools",
"@kbn/server-route-repository": "link:bazel-bin/packages/kbn-server-route-repository",
"@kbn/typed-react-router-config": "link:bazel-bin/packages/kbn-typed-react-router-config",
"@kbn/std": "link:bazel-bin/packages/kbn-std",
"@kbn/tinymath": "link:bazel-bin/packages/kbn-tinymath",
"@kbn/typed-react-router-config": "link:bazel-bin/packages/kbn-typed-react-router-config",
"@kbn/ui-framework": "link:bazel-bin/packages/kbn-ui-framework",
"@kbn/ui-shared-deps": "link:bazel-bin/packages/kbn-ui-shared-deps",
"@kbn/utility-types": "link:bazel-bin/packages/kbn-utility-types",
@ -318,7 +319,7 @@
"p-retry": "^4.2.0",
"papaparse": "^5.2.0",
"pdfmake": "^0.1.65",
"peggy": "^1.0.0",
"peggy": "^1.2.0",
"pegjs": "0.10.0",
"pluralize": "3.1.0",
"pngjs": "^3.4.0",
@ -686,7 +687,7 @@
"copy-webpack-plugin": "^6.0.2",
"cpy": "^8.1.1",
"css-loader": "^3.4.2",
"css-minimizer-webpack-plugin": "^1.3.0",
"cssnano": "^4.1.11",
"cypress": "^6.8.0",
"cypress-cucumber-preprocessor": "^2.5.2",
"cypress-multi-reporters": "^1.4.0",
@ -738,7 +739,11 @@
"grunt-peg": "^2.0.1",
"gulp": "4.0.2",
"gulp-babel": "^8.0.0",
"gulp-brotli": "^3.0.0",
"gulp-postcss": "^8.0.0",
"gulp-sourcemaps": "2.6.5",
"gulp-terser": "^2.0.1",
"gulp-gzip": "^1.4.2",
"gulp-zip": "^5.0.2",
"has-ansi": "^3.0.0",
"hdr-histogram-js": "^1.2.0",
@ -826,6 +831,7 @@
"tempy": "^0.3.0",
"terminal-link": "^2.1.1",
"terser-webpack-plugin": "^2.1.2",
"terser": "^5.7.1",
"ts-loader": "^7.0.5",
"ts-morph": "^9.1.0",
"tsd": "^0.13.1",

View file

@ -21,6 +21,7 @@ filegroup(
"//packages/kbn-docs-utils:build",
"//packages/kbn-es:build",
"//packages/kbn-es-archiver:build",
"//packages/kbn-es-query:build",
"//packages/kbn-eslint-import-resolver-kibana:build",
"//packages/kbn-eslint-plugin-eslint:build",
"//packages/kbn-expect:build",

View file

@ -0,0 +1,133 @@
load("@npm//@bazel/typescript:index.bzl", "ts_config", "ts_project")
load("@npm//peggy:index.bzl", "peggy")
load("@build_bazel_rules_nodejs//:index.bzl", "js_library", "pkg_npm")
PKG_BASE_NAME = "kbn-es-query"
PKG_REQUIRE_NAME = "@kbn/es-query"
SOURCE_FILES = glob(
[
"src/**/*",
],
exclude = [
"**/*.test.*",
"**/__fixtures__/**",
"**/__mocks__/**",
"**/__snapshots__/**",
],
)
SRCS = SOURCE_FILES
filegroup(
name = "srcs",
srcs = SRCS,
)
NPM_MODULE_EXTRA_FILES = [
"package.json",
"README.md",
]
SRC_DEPS = [
"//packages/kbn-common-utils",
"//packages/kbn-config-schema",
"//packages/kbn-i18n",
"@npm//@elastic/elasticsearch",
"@npm//load-json-file",
"@npm//lodash",
"@npm//moment-timezone",
"@npm//tslib",
]
TYPES_DEPS = [
"@npm//@types/jest",
"@npm//@types/lodash",
"@npm//@types/moment-timezone",
"@npm//@types/node",
]
DEPS = SRC_DEPS + TYPES_DEPS
peggy(
name = "grammar",
data = [
":grammar/grammar.peggy"
],
output_dir = True,
args = [
"--allowed-start-rules",
"start,Literal",
"-o",
"$(@D)/index.js",
"./%s/grammar/grammar.peggy" % package_name()
],
)
ts_config(
name = "tsconfig",
src = "tsconfig.json",
deps = [
"//:tsconfig.base.json",
],
)
ts_config(
name = "tsconfig_browser",
src = "tsconfig.browser.json",
deps = [
"//:tsconfig.base.json",
"//:tsconfig.browser.json",
],
)
ts_project(
name = "tsc",
args = ['--pretty'],
srcs = SRCS,
deps = DEPS,
declaration = True,
declaration_dir = "target_types",
declaration_map = True,
incremental = True,
out_dir = "target_node",
source_map = True,
root_dir = "src",
tsconfig = ":tsconfig",
)
ts_project(
name = "tsc_browser",
args = ['--pretty'],
srcs = SRCS,
deps = DEPS,
declaration = False,
incremental = True,
out_dir = "target_web",
source_map = True,
root_dir = "src",
tsconfig = ":tsconfig_browser",
)
js_library(
name = PKG_BASE_NAME,
srcs = NPM_MODULE_EXTRA_FILES + [":grammar"],
deps = DEPS + [":tsc", ":tsc_browser"],
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"],
)

View file

@ -0,0 +1,3 @@
# @kbn/es-query
Shared common (client and server sie) utilities shared across packages and plugins.

View file

@ -1,6 +1,9 @@
/**
* To generate the parsing module (kuery.js), run `grunt peg`
* To watch changes and generate on file change, run `grunt watch:peg`
/*
* 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.
*/
// Initialization block

View file

@ -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 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: ['<rootDir>/packages/kbn-es-query'],
};

View file

@ -0,0 +1,9 @@
{
"name": "@kbn/es-query",
"browser": "./target_web/index.js",
"main": "./target_node/index.js",
"types": "./target_types/index.d.ts",
"version": "1.0.0",
"license": "SSPL-1.0 OR Elastic License 2.0",
"private": true
}

Some files were not shown because too many files have changed in this diff Show more