Skip to content

Commit 0d4edb2

Browse files
authored
[7.x] [ML] Move Index Data Visualizer into separate plugin (Part 1) (#100922) (#101665)
* Resolve merge conflicts * Make sure CODEOWNERS file is empty
1 parent c604c8d commit 0d4edb2

File tree

371 files changed

+6232
-5074
lines changed

Some content is hidden

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

371 files changed

+6232
-5074
lines changed
Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id": "fileDataVisualizer",
2+
"id": "dataVisualizer",
33
"client": {
44
"classes": [],
55
"functions": [],
@@ -8,18 +8,18 @@
88
"misc": [],
99
"objects": [],
1010
"start": {
11-
"parentPluginId": "fileDataVisualizer",
12-
"id": "def-public.FileDataVisualizerPluginStart",
11+
"parentPluginId": "dataVisualizer",
12+
"id": "def-public.DataVisualizerPluginStart",
1313
"type": "Type",
1414
"tags": [],
15-
"label": "FileDataVisualizerPluginStart",
15+
"label": "DataVisualizerPluginStart",
1616
"description": [],
1717
"signature": [
1818
"{ getFileDataVisualizerComponent: () => Promise<React.FC<{}>>; getMaxBytesFormatted: () => string; }"
1919
],
2020
"source": {
21-
"path": "x-pack/plugins/file_data_visualizer/public/plugin.ts",
22-
"lineNumber": 36
21+
"path": "x-pack/plugins/data_visualizer/public/plugin.ts",
22+
"lineNumber": 33
2323
},
2424
"deprecated": false,
2525
"lifecycle": "start",
@@ -39,72 +39,72 @@
3939
"functions": [],
4040
"interfaces": [
4141
{
42-
"parentPluginId": "fileDataVisualizer",
42+
"parentPluginId": "dataVisualizer",
4343
"id": "def-common.DataVisualizerTableState",
4444
"type": "Interface",
4545
"tags": [],
4646
"label": "DataVisualizerTableState",
4747
"description": [],
4848
"source": {
49-
"path": "x-pack/plugins/file_data_visualizer/common/types.ts",
49+
"path": "x-pack/plugins/data_visualizer/common/types.ts",
5050
"lineNumber": 14
5151
},
5252
"deprecated": false,
5353
"children": [
5454
{
55-
"parentPluginId": "fileDataVisualizer",
55+
"parentPluginId": "dataVisualizer",
5656
"id": "def-common.DataVisualizerTableState.pageSize",
5757
"type": "number",
5858
"tags": [],
5959
"label": "pageSize",
6060
"description": [],
6161
"source": {
62-
"path": "x-pack/plugins/file_data_visualizer/common/types.ts",
62+
"path": "x-pack/plugins/data_visualizer/common/types.ts",
6363
"lineNumber": 15
6464
},
6565
"deprecated": false
6666
},
6767
{
68-
"parentPluginId": "fileDataVisualizer",
68+
"parentPluginId": "dataVisualizer",
6969
"id": "def-common.DataVisualizerTableState.pageIndex",
7070
"type": "number",
7171
"tags": [],
7272
"label": "pageIndex",
7373
"description": [],
7474
"source": {
75-
"path": "x-pack/plugins/file_data_visualizer/common/types.ts",
75+
"path": "x-pack/plugins/data_visualizer/common/types.ts",
7676
"lineNumber": 16
7777
},
7878
"deprecated": false
7979
},
8080
{
81-
"parentPluginId": "fileDataVisualizer",
81+
"parentPluginId": "dataVisualizer",
8282
"id": "def-common.DataVisualizerTableState.sortField",
8383
"type": "string",
8484
"tags": [],
8585
"label": "sortField",
8686
"description": [],
8787
"source": {
88-
"path": "x-pack/plugins/file_data_visualizer/common/types.ts",
88+
"path": "x-pack/plugins/data_visualizer/common/types.ts",
8989
"lineNumber": 17
9090
},
9191
"deprecated": false
9292
},
9393
{
94-
"parentPluginId": "fileDataVisualizer",
94+
"parentPluginId": "dataVisualizer",
9595
"id": "def-common.DataVisualizerTableState.sortDirection",
9696
"type": "string",
9797
"tags": [],
9898
"label": "sortDirection",
9999
"description": [],
100100
"source": {
101-
"path": "x-pack/plugins/file_data_visualizer/common/types.ts",
101+
"path": "x-pack/plugins/data_visualizer/common/types.ts",
102102
"lineNumber": 18
103103
},
104104
"deprecated": false
105105
},
106106
{
107-
"parentPluginId": "fileDataVisualizer",
107+
"parentPluginId": "dataVisualizer",
108108
"id": "def-common.DataVisualizerTableState.visibleFieldTypes",
109109
"type": "Array",
110110
"tags": [],
@@ -114,13 +114,13 @@
114114
"string[]"
115115
],
116116
"source": {
117-
"path": "x-pack/plugins/file_data_visualizer/common/types.ts",
117+
"path": "x-pack/plugins/data_visualizer/common/types.ts",
118118
"lineNumber": 19
119119
},
120120
"deprecated": false
121121
},
122122
{
123-
"parentPluginId": "fileDataVisualizer",
123+
"parentPluginId": "dataVisualizer",
124124
"id": "def-common.DataVisualizerTableState.visibleFieldNames",
125125
"type": "Array",
126126
"tags": [],
@@ -130,20 +130,20 @@
130130
"string[]"
131131
],
132132
"source": {
133-
"path": "x-pack/plugins/file_data_visualizer/common/types.ts",
133+
"path": "x-pack/plugins/data_visualizer/common/types.ts",
134134
"lineNumber": 20
135135
},
136136
"deprecated": false
137137
},
138138
{
139-
"parentPluginId": "fileDataVisualizer",
139+
"parentPluginId": "dataVisualizer",
140140
"id": "def-common.DataVisualizerTableState.showDistributions",
141141
"type": "boolean",
142142
"tags": [],
143143
"label": "showDistributions",
144144
"description": [],
145145
"source": {
146-
"path": "x-pack/plugins/file_data_visualizer/common/types.ts",
146+
"path": "x-pack/plugins/data_visualizer/common/types.ts",
147147
"lineNumber": 21
148148
},
149149
"deprecated": false
@@ -155,7 +155,7 @@
155155
"enums": [],
156156
"misc": [
157157
{
158-
"parentPluginId": "fileDataVisualizer",
158+
"parentPluginId": "dataVisualizer",
159159
"id": "def-common.ABSOLUTE_MAX_FILE_SIZE_BYTES",
160160
"type": "number",
161161
"tags": [],
@@ -165,14 +165,14 @@
165165
"1073741274"
166166
],
167167
"source": {
168-
"path": "x-pack/plugins/file_data_visualizer/common/constants.ts",
168+
"path": "x-pack/plugins/data_visualizer/common/constants.ts",
169169
"lineNumber": 14
170170
},
171171
"deprecated": false,
172172
"initialIsOpen": false
173173
},
174174
{
175-
"parentPluginId": "fileDataVisualizer",
175+
"parentPluginId": "dataVisualizer",
176176
"id": "def-common.FILE_SIZE_DISPLAY_FORMAT",
177177
"type": "string",
178178
"tags": [],
@@ -182,14 +182,14 @@
182182
"\"0,0.[0] b\""
183183
],
184184
"source": {
185-
"path": "x-pack/plugins/file_data_visualizer/common/constants.ts",
185+
"path": "x-pack/plugins/data_visualizer/common/constants.ts",
186186
"lineNumber": 15
187187
},
188188
"deprecated": false,
189189
"initialIsOpen": false
190190
},
191191
{
192-
"parentPluginId": "fileDataVisualizer",
192+
"parentPluginId": "dataVisualizer",
193193
"id": "def-common.INDEX_META_DATA_CREATED_BY",
194194
"type": "string",
195195
"tags": [],
@@ -199,14 +199,14 @@
199199
"\"file-data-visualizer\""
200200
],
201201
"source": {
202-
"path": "x-pack/plugins/file_data_visualizer/common/constants.ts",
202+
"path": "x-pack/plugins/data_visualizer/common/constants.ts",
203203
"lineNumber": 19
204204
},
205205
"deprecated": false,
206206
"initialIsOpen": false
207207
},
208208
{
209-
"parentPluginId": "fileDataVisualizer",
209+
"parentPluginId": "dataVisualizer",
210210
"id": "def-common.InputData",
211211
"type": "Type",
212212
"tags": [],
@@ -216,31 +216,31 @@
216216
"any[]"
217217
],
218218
"source": {
219-
"path": "x-pack/plugins/file_data_visualizer/common/types.ts",
219+
"path": "x-pack/plugins/data_visualizer/common/types.ts",
220220
"lineNumber": 10
221221
},
222222
"deprecated": false,
223223
"initialIsOpen": false
224224
},
225225
{
226-
"parentPluginId": "fileDataVisualizer",
226+
"parentPluginId": "dataVisualizer",
227227
"id": "def-common.JobFieldType",
228228
"type": "Type",
229229
"tags": [],
230230
"label": "JobFieldType",
231231
"description": [],
232232
"signature": [
233-
"\"number\" | \"boolean\" | \"date\" | \"keyword\" | \"text\" | \"ip\" | \"geo_point\" | \"geo_shape\" | \"unknown\""
233+
"\"number\" | \"boolean\" | \"date\" | \"text\" | \"keyword\" | \"ip\" | \"geo_point\" | \"geo_shape\" | \"unknown\""
234234
],
235235
"source": {
236-
"path": "x-pack/plugins/file_data_visualizer/common/types.ts",
236+
"path": "x-pack/plugins/data_visualizer/common/types.ts",
237237
"lineNumber": 12
238238
},
239239
"deprecated": false,
240240
"initialIsOpen": false
241241
},
242242
{
243-
"parentPluginId": "fileDataVisualizer",
243+
"parentPluginId": "dataVisualizer",
244244
"id": "def-common.MAX_FILE_SIZE",
245245
"type": "string",
246246
"tags": [],
@@ -250,14 +250,14 @@
250250
"\"100MB\""
251251
],
252252
"source": {
253-
"path": "x-pack/plugins/file_data_visualizer/common/constants.ts",
253+
"path": "x-pack/plugins/data_visualizer/common/constants.ts",
254254
"lineNumber": 11
255255
},
256256
"deprecated": false,
257257
"initialIsOpen": false
258258
},
259259
{
260-
"parentPluginId": "fileDataVisualizer",
260+
"parentPluginId": "dataVisualizer",
261261
"id": "def-common.MAX_FILE_SIZE_BYTES",
262262
"type": "number",
263263
"tags": [],
@@ -267,28 +267,28 @@
267267
"104857600"
268268
],
269269
"source": {
270-
"path": "x-pack/plugins/file_data_visualizer/common/constants.ts",
270+
"path": "x-pack/plugins/data_visualizer/common/constants.ts",
271271
"lineNumber": 12
272272
},
273273
"deprecated": false,
274274
"initialIsOpen": false
275275
},
276276
{
277-
"parentPluginId": "fileDataVisualizer",
277+
"parentPluginId": "dataVisualizer",
278278
"id": "def-common.MB",
279279
"type": "number",
280280
"tags": [],
281281
"label": "MB",
282282
"description": [],
283283
"source": {
284-
"path": "x-pack/plugins/file_data_visualizer/common/constants.ts",
284+
"path": "x-pack/plugins/data_visualizer/common/constants.ts",
285285
"lineNumber": 10
286286
},
287287
"deprecated": false,
288288
"initialIsOpen": false
289289
},
290290
{
291-
"parentPluginId": "fileDataVisualizer",
291+
"parentPluginId": "dataVisualizer",
292292
"id": "def-common.UI_SETTING_MAX_FILE_SIZE",
293293
"type": "string",
294294
"tags": [],
@@ -298,7 +298,7 @@
298298
"\"fileUpload:maxFileSize\""
299299
],
300300
"source": {
301-
"path": "x-pack/plugins/file_data_visualizer/common/constants.ts",
301+
"path": "x-pack/plugins/data_visualizer/common/constants.ts",
302302
"lineNumber": 8
303303
},
304304
"deprecated": false,
@@ -307,7 +307,7 @@
307307
],
308308
"objects": [
309309
{
310-
"parentPluginId": "fileDataVisualizer",
310+
"parentPluginId": "dataVisualizer",
311311
"id": "def-common.JOB_FIELD_TYPES",
312312
"type": "Object",
313313
"tags": [],
@@ -317,12 +317,12 @@
317317
"{ 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\"; }"
318318
],
319319
"source": {
320-
"path": "x-pack/plugins/file_data_visualizer/common/constants.ts",
320+
"path": "x-pack/plugins/data_visualizer/common/constants.ts",
321321
"lineNumber": 21
322322
},
323323
"deprecated": false,
324324
"initialIsOpen": false
325325
}
326326
]
327327
}
328-
}
328+
}
File renamed without changes.

docs/developer/plugin-list.asciidoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,10 @@ The client-side plugin configures following values:
369369
|The data_enhanced plugin is the x-pack counterpart to the src/plguins/data plugin.
370370
371371
372+
|{kib-repo}blob/{branch}/x-pack/plugins/data_visualizer/README.md[dataVisualizer]
373+
|The data_visualizer plugin enables you to explore the fields in your data.
374+
375+
372376
|{kib-repo}blob/{branch}/x-pack/plugins/discover_enhanced/README.md[discoverEnhanced]
373377
|Contains the enhancements to the OSS discover app.
374378
@@ -396,10 +400,6 @@ actitivies.
396400
|The features plugin enhance Kibana with a per-feature privilege system.
397401
398402
399-
|{kib-repo}blob/{branch}/x-pack/plugins/file_data_visualizer[fileDataVisualizer]
400-
|WARNING: Missing README.
401-
402-
403403
|{kib-repo}blob/{branch}/x-pack/plugins/file_upload[fileUpload]
404404
|WARNING: Missing README.
405405

packages/kbn-optimizer/limits.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ pageLoadAssetSize:
104104
indexPatternFieldEditor: 90489
105105
osquery: 107090
106106
fileUpload: 25664
107-
fileDataVisualizer: 27530
107+
dataVisualizer: 27530
108108
banners: 17946
109109
mapsEms: 26072
110110
timelines: 28613

x-pack/.i18nrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"xpack.endpoint": "plugins/endpoint",
2020
"xpack.enterpriseSearch": "plugins/enterprise_search",
2121
"xpack.features": "plugins/features",
22-
"xpack.fileDataVisualizer": "plugins/file_data_visualizer",
22+
"xpack.dataVisualizer": "plugins/data_visualizer",
2323
"xpack.fileUpload": "plugins/file_upload",
2424
"xpack.globalSearch": ["plugins/global_search"],
2525
"xpack.globalSearchBar": ["plugins/global_search_bar"],
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The data_visualizer plugin enables you to explore the fields in your data.

x-pack/plugins/file_data_visualizer/common/constants.ts renamed to x-pack/plugins/data_visualizer/common/constants.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,5 @@ export const JOB_FIELD_TYPES = {
2929
TEXT: 'text',
3030
UNKNOWN: 'unknown',
3131
} as const;
32+
33+
export const OMIT_FIELDS: string[] = ['_source', '_type', '_index', '_id', '_version', '_score'];

0 commit comments

Comments
 (0)