WARNING: Version 5.1 of the Elastic Stack has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Configuring Graph
editConfiguring Graph
editWhen a user saves a graph workspace in Kibana, it is stored in the .kibana
index along with other saved objects like visualizations and dashboards.
By default, both the configuration and data are saved for the workspace:
configuration |
The selected index pattern, fields, colors, icons, and settings. |
data |
The visualized content (the vertices and connections displayed in the workspace). |
The data in a saved workspace is like a report—it is a saved snapshot that potentially summarizes millions of raw documents. Once saved, these summaries are no longer controlled by security policies. Because the original documents might be deleted after a workspace is saved, there’s no practical basis for checking permissions for the data in a saved workspace.
For this reason, you can configure the save policy for graph workspaces to ensure appropriate handling of your data. You can allow users to save only the configuration information for a graph, require users to explicitly include the workspace data, or completely disable the ability to save a workspace.
For example, to disable the save option entirely, set
xpack.graph.savePolicy
to none
in kibana.yml
:
xpack.graph.savePolicy: none
The supported save policies are:
-
none
- Neither the configuration or data can be saved.
-
config
- Only the configuration is saved.
-
configAndData
- Both configuration and data are saved. This is the default policy.
-
configAndDataWithConsent
- Only the configuration is saved unless the user explicitly selects the include data option.
Disabling Drill Down Configuration
editBy default, users can configure drill down URLs to display additional information about a selected vertex in a new browser window. For example, you could configure a drill down URL to perform a web search for the selected vertex term.
To prevent users from adding drill down URLs, set
xpack.graph.canEditDrillDownUrls
to false
in kibana.yml
:
xpack.graph.canEditDrillDownUrls: false