Create and edit views
StackState Self-hosted v5.0.x
This page describes StackState version 5.0.
Overview
You can create and save views in StackState to bookmark a part of your topology that is of particular interest to your team. By default, saved views will be visible to all users, these can be secured by a StackState administrator if required.
Not all views are manually created. Many StackPacks generate views after installation. It is recommended to use these views only as starting points for creating your own views.
Create a view
To create a new view navigate to Explore Mode via the hamburger menu or use another view as a starting point. Whenever you change any of the View filters, a Save View button will appear at the top of the screen. Click this button to save your current selection to a view. To create a new view from the current view use the dropdown menu next to the button and select Save View As.
In the Save view as dialog, the following options can be set:
Field Name | Description |
---|---|
View name | The name of the view. |
View health state enabled | Whether the view has a health state. If this is disabled, the health state, depicted by the colored circle next to the view name, will always be gray. When disabled, the StackState backend will not need to spend resources calculating a view health state each time the view changes. |
Configuration function | When view health state is enabled, you can choose a function that is used to calculate the view health state whenever there are changes in the view. The default choice is minimum health states. |
Arguments | The required arguments will vary depending on the chosen configuration function. |
You can build your own view state configuration functions to customize how the view health state is calculated.
Views can be given an optional identifier. Identifiers make the view uniquely referencable from exported configuration, like the exported configuration in a StackPack.
Views can be secured by a StackState administrator.
Delete or edit a view
It is not recommended to delete or edit views created by StackPacks. When doing so, you will get a warning that the view is locked. If you proceed anyway the issue needs to be resolved when upgrading the StackPack that created the view.
Note that changes made to a view will be applied for all users.
A saved view can be edited or deleted from either the all views screen, or the right panel View summary tab.
All views screen:
Click Views in the main menu to open the all views screen.
Hover over the view you would like to edit or delete.
Click the Edit view or Delete view button on the right.
Right panel View summary tab:
Open the view.
Open the triple dots menu (to the right of the view name in the right panel View summary tab).
Click Edit or Delete.
Last updated