Skip to content

Commit

Permalink
[7.x] [ML] Move Index Data Visualizer into separate plugin (Part 1) (#…
Browse files Browse the repository at this point in the history
…100922) (#101665)

* Resolve merge conflicts

* Make sure CODEOWNERS file is empty
  • Loading branch information
qn895 authored Jun 9, 2021
1 parent c604c8d commit 0d4edb2
Show file tree
Hide file tree
Showing 371 changed files with 6,232 additions and 5,074 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "fileDataVisualizer",
"id": "dataVisualizer",
"client": {
"classes": [],
"functions": [],
Expand All @@ -8,18 +8,18 @@
"misc": [],
"objects": [],
"start": {
"parentPluginId": "fileDataVisualizer",
"id": "def-public.FileDataVisualizerPluginStart",
"parentPluginId": "dataVisualizer",
"id": "def-public.DataVisualizerPluginStart",
"type": "Type",
"tags": [],
"label": "FileDataVisualizerPluginStart",
"label": "DataVisualizerPluginStart",
"description": [],
"signature": [
"{ getFileDataVisualizerComponent: () => Promise<React.FC<{}>>; getMaxBytesFormatted: () => string; }"
],
"source": {
"path": "x-pack/plugins/file_data_visualizer/public/plugin.ts",
"lineNumber": 36
"path": "x-pack/plugins/data_visualizer/public/plugin.ts",
"lineNumber": 33
},
"deprecated": false,
"lifecycle": "start",
Expand All @@ -39,72 +39,72 @@
"functions": [],
"interfaces": [
{
"parentPluginId": "fileDataVisualizer",
"parentPluginId": "dataVisualizer",
"id": "def-common.DataVisualizerTableState",
"type": "Interface",
"tags": [],
"label": "DataVisualizerTableState",
"description": [],
"source": {
"path": "x-pack/plugins/file_data_visualizer/common/types.ts",
"path": "x-pack/plugins/data_visualizer/common/types.ts",
"lineNumber": 14
},
"deprecated": false,
"children": [
{
"parentPluginId": "fileDataVisualizer",
"parentPluginId": "dataVisualizer",
"id": "def-common.DataVisualizerTableState.pageSize",
"type": "number",
"tags": [],
"label": "pageSize",
"description": [],
"source": {
"path": "x-pack/plugins/file_data_visualizer/common/types.ts",
"path": "x-pack/plugins/data_visualizer/common/types.ts",
"lineNumber": 15
},
"deprecated": false
},
{
"parentPluginId": "fileDataVisualizer",
"parentPluginId": "dataVisualizer",
"id": "def-common.DataVisualizerTableState.pageIndex",
"type": "number",
"tags": [],
"label": "pageIndex",
"description": [],
"source": {
"path": "x-pack/plugins/file_data_visualizer/common/types.ts",
"path": "x-pack/plugins/data_visualizer/common/types.ts",
"lineNumber": 16
},
"deprecated": false
},
{
"parentPluginId": "fileDataVisualizer",
"parentPluginId": "dataVisualizer",
"id": "def-common.DataVisualizerTableState.sortField",
"type": "string",
"tags": [],
"label": "sortField",
"description": [],
"source": {
"path": "x-pack/plugins/file_data_visualizer/common/types.ts",
"path": "x-pack/plugins/data_visualizer/common/types.ts",
"lineNumber": 17
},
"deprecated": false
},
{
"parentPluginId": "fileDataVisualizer",
"parentPluginId": "dataVisualizer",
"id": "def-common.DataVisualizerTableState.sortDirection",
"type": "string",
"tags": [],
"label": "sortDirection",
"description": [],
"source": {
"path": "x-pack/plugins/file_data_visualizer/common/types.ts",
"path": "x-pack/plugins/data_visualizer/common/types.ts",
"lineNumber": 18
},
"deprecated": false
},
{
"parentPluginId": "fileDataVisualizer",
"parentPluginId": "dataVisualizer",
"id": "def-common.DataVisualizerTableState.visibleFieldTypes",
"type": "Array",
"tags": [],
Expand All @@ -114,13 +114,13 @@
"string[]"
],
"source": {
"path": "x-pack/plugins/file_data_visualizer/common/types.ts",
"path": "x-pack/plugins/data_visualizer/common/types.ts",
"lineNumber": 19
},
"deprecated": false
},
{
"parentPluginId": "fileDataVisualizer",
"parentPluginId": "dataVisualizer",
"id": "def-common.DataVisualizerTableState.visibleFieldNames",
"type": "Array",
"tags": [],
Expand All @@ -130,20 +130,20 @@
"string[]"
],
"source": {
"path": "x-pack/plugins/file_data_visualizer/common/types.ts",
"path": "x-pack/plugins/data_visualizer/common/types.ts",
"lineNumber": 20
},
"deprecated": false
},
{
"parentPluginId": "fileDataVisualizer",
"parentPluginId": "dataVisualizer",
"id": "def-common.DataVisualizerTableState.showDistributions",
"type": "boolean",
"tags": [],
"label": "showDistributions",
"description": [],
"source": {
"path": "x-pack/plugins/file_data_visualizer/common/types.ts",
"path": "x-pack/plugins/data_visualizer/common/types.ts",
"lineNumber": 21
},
"deprecated": false
Expand All @@ -155,7 +155,7 @@
"enums": [],
"misc": [
{
"parentPluginId": "fileDataVisualizer",
"parentPluginId": "dataVisualizer",
"id": "def-common.ABSOLUTE_MAX_FILE_SIZE_BYTES",
"type": "number",
"tags": [],
Expand All @@ -165,14 +165,14 @@
"1073741274"
],
"source": {
"path": "x-pack/plugins/file_data_visualizer/common/constants.ts",
"path": "x-pack/plugins/data_visualizer/common/constants.ts",
"lineNumber": 14
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "fileDataVisualizer",
"parentPluginId": "dataVisualizer",
"id": "def-common.FILE_SIZE_DISPLAY_FORMAT",
"type": "string",
"tags": [],
Expand All @@ -182,14 +182,14 @@
"\"0,0.[0] b\""
],
"source": {
"path": "x-pack/plugins/file_data_visualizer/common/constants.ts",
"path": "x-pack/plugins/data_visualizer/common/constants.ts",
"lineNumber": 15
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "fileDataVisualizer",
"parentPluginId": "dataVisualizer",
"id": "def-common.INDEX_META_DATA_CREATED_BY",
"type": "string",
"tags": [],
Expand All @@ -199,14 +199,14 @@
"\"file-data-visualizer\""
],
"source": {
"path": "x-pack/plugins/file_data_visualizer/common/constants.ts",
"path": "x-pack/plugins/data_visualizer/common/constants.ts",
"lineNumber": 19
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "fileDataVisualizer",
"parentPluginId": "dataVisualizer",
"id": "def-common.InputData",
"type": "Type",
"tags": [],
Expand All @@ -216,31 +216,31 @@
"any[]"
],
"source": {
"path": "x-pack/plugins/file_data_visualizer/common/types.ts",
"path": "x-pack/plugins/data_visualizer/common/types.ts",
"lineNumber": 10
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "fileDataVisualizer",
"parentPluginId": "dataVisualizer",
"id": "def-common.JobFieldType",
"type": "Type",
"tags": [],
"label": "JobFieldType",
"description": [],
"signature": [
"\"number\" | \"boolean\" | \"date\" | \"keyword\" | \"text\" | \"ip\" | \"geo_point\" | \"geo_shape\" | \"unknown\""
"\"number\" | \"boolean\" | \"date\" | \"text\" | \"keyword\" | \"ip\" | \"geo_point\" | \"geo_shape\" | \"unknown\""
],
"source": {
"path": "x-pack/plugins/file_data_visualizer/common/types.ts",
"path": "x-pack/plugins/data_visualizer/common/types.ts",
"lineNumber": 12
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "fileDataVisualizer",
"parentPluginId": "dataVisualizer",
"id": "def-common.MAX_FILE_SIZE",
"type": "string",
"tags": [],
Expand All @@ -250,14 +250,14 @@
"\"100MB\""
],
"source": {
"path": "x-pack/plugins/file_data_visualizer/common/constants.ts",
"path": "x-pack/plugins/data_visualizer/common/constants.ts",
"lineNumber": 11
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "fileDataVisualizer",
"parentPluginId": "dataVisualizer",
"id": "def-common.MAX_FILE_SIZE_BYTES",
"type": "number",
"tags": [],
Expand All @@ -267,28 +267,28 @@
"104857600"
],
"source": {
"path": "x-pack/plugins/file_data_visualizer/common/constants.ts",
"path": "x-pack/plugins/data_visualizer/common/constants.ts",
"lineNumber": 12
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "fileDataVisualizer",
"parentPluginId": "dataVisualizer",
"id": "def-common.MB",
"type": "number",
"tags": [],
"label": "MB",
"description": [],
"source": {
"path": "x-pack/plugins/file_data_visualizer/common/constants.ts",
"path": "x-pack/plugins/data_visualizer/common/constants.ts",
"lineNumber": 10
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "fileDataVisualizer",
"parentPluginId": "dataVisualizer",
"id": "def-common.UI_SETTING_MAX_FILE_SIZE",
"type": "string",
"tags": [],
Expand All @@ -298,7 +298,7 @@
"\"fileUpload:maxFileSize\""
],
"source": {
"path": "x-pack/plugins/file_data_visualizer/common/constants.ts",
"path": "x-pack/plugins/data_visualizer/common/constants.ts",
"lineNumber": 8
},
"deprecated": false,
Expand All @@ -307,7 +307,7 @@
],
"objects": [
{
"parentPluginId": "fileDataVisualizer",
"parentPluginId": "dataVisualizer",
"id": "def-common.JOB_FIELD_TYPES",
"type": "Object",
"tags": [],
Expand All @@ -317,12 +317,12 @@
"{ readonly BOOLEAN: \"boolean\"; readonly DATE: \"date\"; readonly GEO_POINT: \"geo_point\"; readonly GEO_SHAPE: \"geo_shape\"; readonly IP: \"ip\"; readonly KEYWORD: \"keyword\"; readonly NUMBER: \"number\"; readonly TEXT: \"text\"; readonly UNKNOWN: \"unknown\"; }"
],
"source": {
"path": "x-pack/plugins/file_data_visualizer/common/constants.ts",
"path": "x-pack/plugins/data_visualizer/common/constants.ts",
"lineNumber": 21
},
"deprecated": false,
"initialIsOpen": false
}
]
}
}
}
File renamed without changes.
8 changes: 4 additions & 4 deletions docs/developer/plugin-list.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,10 @@ The client-side plugin configures following values:
|The data_enhanced plugin is the x-pack counterpart to the src/plguins/data plugin.
|{kib-repo}blob/{branch}/x-pack/plugins/data_visualizer/README.md[dataVisualizer]
|The data_visualizer plugin enables you to explore the fields in your data.
|{kib-repo}blob/{branch}/x-pack/plugins/discover_enhanced/README.md[discoverEnhanced]
|Contains the enhancements to the OSS discover app.
Expand Down Expand Up @@ -396,10 +400,6 @@ actitivies.
|The features plugin enhance Kibana with a per-feature privilege system.
|{kib-repo}blob/{branch}/x-pack/plugins/file_data_visualizer[fileDataVisualizer]
|WARNING: Missing README.
|{kib-repo}blob/{branch}/x-pack/plugins/file_upload[fileUpload]
|WARNING: Missing README.
Expand Down
2 changes: 1 addition & 1 deletion packages/kbn-optimizer/limits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ pageLoadAssetSize:
indexPatternFieldEditor: 90489
osquery: 107090
fileUpload: 25664
fileDataVisualizer: 27530
dataVisualizer: 27530
banners: 17946
mapsEms: 26072
timelines: 28613
Expand Down
2 changes: 1 addition & 1 deletion x-pack/.i18nrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"xpack.endpoint": "plugins/endpoint",
"xpack.enterpriseSearch": "plugins/enterprise_search",
"xpack.features": "plugins/features",
"xpack.fileDataVisualizer": "plugins/file_data_visualizer",
"xpack.dataVisualizer": "plugins/data_visualizer",
"xpack.fileUpload": "plugins/file_upload",
"xpack.globalSearch": ["plugins/global_search"],
"xpack.globalSearchBar": ["plugins/global_search_bar"],
Expand Down
1 change: 1 addition & 0 deletions x-pack/plugins/data_visualizer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The data_visualizer plugin enables you to explore the fields in your data.
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ export const JOB_FIELD_TYPES = {
TEXT: 'text',
UNKNOWN: 'unknown',
} as const;

export const OMIT_FIELDS: string[] = ['_source', '_type', '_index', '_id', '_version', '_score'];
Loading

0 comments on commit 0d4edb2

Please sign in to comment.