diff --git a/x-pack/plugins/lens/server/usage/schema.ts b/x-pack/plugins/lens/server/usage/schema.ts index 1b1cb41e28839..a35d4d91845ee 100644 --- a/x-pack/plugins/lens/server/usage/schema.ts +++ b/x-pack/plugins/lens/server/usage/schema.ts @@ -41,17 +41,28 @@ const eventsSchema: MakeSchemaFrom = { indexpattern_dimension_operation_sum: { type: 'long' }, indexpattern_dimension_operation_count: { type: 'long' }, indexpattern_dimension_operation_cardinality: { type: 'long' }, + indexpattern_dimension_operation_filters: { type: 'long' }, }; const suggestionEventsSchema: MakeSchemaFrom = { back_to_current: { type: 'long' }, reload: { type: 'long' }, - position_0_of_5: { type: 'long' }, }; const savedSchema: MakeSchemaFrom = { + bar: { type: 'long' }, + bar_horizontal: { type: 'long' }, + line: { type: 'long' }, + area: { type: 'long' }, bar_stacked: { type: 'long' }, - // TODO: Extend this list as we know more visualizationTypes + bar_percentage_stacked: { type: 'long' }, + bar_horizontal_stacked: { type: 'long' }, + bar_horizontal_percentage_stacked: { type: 'long' }, + area_stacked: { type: 'long' }, + area_percentage_stacked: { type: 'long' }, + lnsDatatable: { type: 'long' }, + lnsPie: { type: 'long' }, + lnsMetric: { type: 'long' }, }; export const lensUsageSchema: MakeSchemaFrom = { diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json index 369dd44ea6407..86b7889957c9f 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json +++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json @@ -257,6 +257,9 @@ }, "indexpattern_dimension_operation_cardinality": { "type": "long" + }, + "indexpattern_dimension_operation_filters": { + "type": "long" } } }, @@ -360,6 +363,9 @@ }, "indexpattern_dimension_operation_cardinality": { "type": "long" + }, + "indexpattern_dimension_operation_filters": { + "type": "long" } } }, @@ -370,9 +376,6 @@ }, "reload": { "type": "long" - }, - "position_0_of_5": { - "type": "long" } } }, @@ -383,9 +386,6 @@ }, "reload": { "type": "long" - }, - "position_0_of_5": { - "type": "long" } } }, @@ -400,22 +400,130 @@ }, "saved_overall": { "properties": { + "bar": { + "type": "long" + }, + "bar_horizontal": { + "type": "long" + }, + "line": { + "type": "long" + }, + "area": { + "type": "long" + }, "bar_stacked": { "type": "long" + }, + "bar_percentage_stacked": { + "type": "long" + }, + "bar_horizontal_stacked": { + "type": "long" + }, + "bar_horizontal_percentage_stacked": { + "type": "long" + }, + "area_stacked": { + "type": "long" + }, + "area_percentage_stacked": { + "type": "long" + }, + "lnsDatatable": { + "type": "long" + }, + "lnsPie": { + "type": "long" + }, + "lnsMetric": { + "type": "long" } } }, "saved_30_days": { "properties": { + "bar": { + "type": "long" + }, + "bar_horizontal": { + "type": "long" + }, + "line": { + "type": "long" + }, + "area": { + "type": "long" + }, "bar_stacked": { "type": "long" + }, + "bar_percentage_stacked": { + "type": "long" + }, + "bar_horizontal_stacked": { + "type": "long" + }, + "bar_horizontal_percentage_stacked": { + "type": "long" + }, + "area_stacked": { + "type": "long" + }, + "area_percentage_stacked": { + "type": "long" + }, + "lnsDatatable": { + "type": "long" + }, + "lnsPie": { + "type": "long" + }, + "lnsMetric": { + "type": "long" } } }, "saved_90_days": { "properties": { + "bar": { + "type": "long" + }, + "bar_horizontal": { + "type": "long" + }, + "line": { + "type": "long" + }, + "area": { + "type": "long" + }, "bar_stacked": { "type": "long" + }, + "bar_percentage_stacked": { + "type": "long" + }, + "bar_horizontal_stacked": { + "type": "long" + }, + "bar_horizontal_percentage_stacked": { + "type": "long" + }, + "area_stacked": { + "type": "long" + }, + "area_percentage_stacked": { + "type": "long" + }, + "lnsDatatable": { + "type": "long" + }, + "lnsPie": { + "type": "long" + }, + "lnsMetric": { + "type": "long" } } }