[Feature Anywhere] Add a augment-vis
saved object type
#2893
Labels
feature-anywhere
unified visualization UX
v2.7.0
visualizations
Issues and PRs related to visualizations
As part of #2880, we propose to create a new saved object type called
augment-vis
. The purpose of this new type will be to store the relationships between a plugin resource (e.g., anomaly detector or alerting monitor) to a visualization. The main components/fields include:vis_layer
expression function, including the name of the function and the args needed (for more details on this expression function, see [Feature Anywhere] Add avis_layers
expression function type #2894)references
field.To create and register this new type, we can do the following:
Client/public-side:
SavedObjectClass
SavedObjectLoader
to use as a wrapper for performing CRUD operations on the new saved object class / typeextractReferences
/injectReferences
helper fns for creating and parsing the storedreferences
to the saved objectsstart
lifecycle of dependent plugins (e.g., visualizations plugin, downstream plugins like Anomaly Detection), such that they can use the loader for creating/fetching the saved objectssaved_objects_management
plugin (this may not be needed)Server-side:
SavedObjectsType
, used for defining how the object as managed, and how the particular mappings will be stored in the system indexsetup
lifecycle of the pluginOpen questions:
Should this new type be registered & integrated with theUPDATE: yes we will support it see heresaved_objects_management
plugin? This will allow visibility into what is stored in the saved objects, but ideally users don't need or want access to it. Making changes to it may result in weird behaviorShould this new type be created in a standalone plugin, or in an existing plugin? If in an existing plugin, such asUPDATE: it will live in a standalone plugin - see [Feature Anywhere] Introduce a new Feature-Anywhere plugin #2958Visualizations
, it allows for less boilerplate code, but may not be logical if thefeature-anywhere
type is used for integration with other saved objects in the future, such as dashboards, saved searches, index patterns, other new saved object types, etc.The text was updated successfully, but these errors were encountered: