Issue to cover the work to move the ML index data visualizer into a separate plugin.
Background
The index data visualizer allows users to view their indices and quickly get an understanding of the fields in their data using top values, maps and other quick views to show metrics and values in the data. It provides a contextual view into indices to show which fields are getting used, how many documents contain those fields, and the number of unique values and distribution in the field.

Apart from being a powerful part of the ML workflow, this tool has wider applications across Kibana, such as in Discover, where it could be added as an additional view into an index - see #97176. In order to facilitate this, the code should be moved out of ML into a separate plugin, in a similar approach as was recently completed for the file data visualizer - see #96408.
Progress
Issue to cover the work to move the ML index data visualizer into a separate plugin.
Background
The index data visualizer allows users to view their indices and quickly get an understanding of the fields in their data using top values, maps and other quick views to show metrics and values in the data. It provides a contextual view into indices to show which fields are getting used, how many documents contain those fields, and the number of unique values and distribution in the field.
Apart from being a powerful part of the ML workflow, this tool has wider applications across Kibana, such as in Discover, where it could be added as an additional view into an index - see #97176. In order to facilitate this, the code should be moved out of ML into a separate plugin, in a similar approach as was recently completed for the file data visualizer - see #96408.
Progress
file_data_visualizerpluginindex_existsandtime_field_rangeendpoints to thefileUploadplugin to assist with importing dataanalyze_fileendpoint fromfileUploadtofileDataVisualizerfile_data_visualizerpluginget_overall_statsandget_field_statsroutes and services to internal/data_visualizerIIndexPatternwithIndexPatternand replace deprecatedIFieldTypewithIndexPatternFieldRuntimeMappingswithestypes.RuntimeFields