Guance supports storage engines such as Opensearch, Elasticsearch, and Doris. Next, we will explain how to manage workspace index configurations for environments configured with these storage engines.
This applies when we initially deploy the system. For any subsequently added workspaces that require custom global index configurations, you can follow this procedure.
In the forethought-core namespace, modify the core ConfigMap by adding the following content:
Consistent with the data nodes of the Opensearch cluster, keep default for Doris
rollover_max_size
Size of a single shard
30
30
number_of_replicas
Whether to enable index replicas
1
It is recommended to enable if there is sufficient disk space
hot_retention
Duration for retaining hot data
24
Can be set to a longer retention period if disk space is sufficient; this setting does not take effect if ES does not have a hot-warm-cold architecture
After completing the addition, restart all services under the forethought-core namespace.
Updating Default Index Configuration for Existing Workspaces¶
Log in to the backend management page as an admin user (you can find the backend management URL in the top-right corner of the launcher, copy the address corresponding to "management"). Find the workspace whose default retention policy you want to modify, click on Index Configuration, enter the index page, and click Configure to configure indexes for different storage contents.