Updated at: 2022-12-09 03:49:50
Index Library acts as one of unified data management methods by classifying and categorizing the heterologous and heterogeneous logs to form related indexes. In Index Library, you can view, disable, delete / batch delete, and manually create Index Library.
Click Data Source > Log Library > Index Library, as follows:
Field Name Description Restrictive Condition
Index Name The unique identification to distinguish between different indexes Input range: 1-40 characters
Life Cycle The remaining retention period of the index -
Log Count The number of log entries contained in the index -
Current Storage The used storage capacity of the current index -
Index Storage The total storage capacity of the index -
Fulltext Index The fulltext index status, including 2 types of status: Enable/Disable
Note: Enabling Fulltext Index will increase storage costs and feedback delay in searching for processing results.
-
Hot-Warm The current hot-warm status of the index, including 2 types of status: Hot/Warm.
• Hot Data: the Elasticsearch instance is identified with the hot attribute and the index on it also have the hot attribute. The index of hot nodes supports frequent write and query, and such nodes typically use SSD disk as storage;
• Warm Data: the ES instance is identified with the warm attribute and the index on it also have the warm attribute. The index of warm nodes no longer has writing action and the frequency of query is very low. Such nodes usually use ordinary HDD as storage.
-
Index Status The running status of the index, including 4 types of status: Normal, Alert, Abnormal and Close.
• Normal: All primary shards and backups are allocated and running normally;
• Alert: Some copies are not allocated and running normally, but the primary shards are running properly. This state will affect the high availability of the cluster and the throughput of data.
• Abnormal: Some primary shards are not allocated and running normally.
-
Log Library The name of the log library to which the index is bound -
Log Type The log type of all logs in the index -
► Manually Create Index Library
1) Click Data Source > Log Library > Index Library > Create to create index library, as follows: 
2) Configure the index name and log library: click Log Library dropdown box to select the log library to be bound; click Check to view the details of the selected log library, as follows: 
3) Customized the configuration of Life Cycle as needed;
4) Click Save to return to Index Library and view the index created in the list.

Note: After index library has been created manually, data will be stored in the bound log library according to the manually created index library.
► Delete/Close Index
Click Data Source > Log Library > Index Library, select the target index and click Edit/Close to edit or close the selected index.

Note: If log data is being written into the index library, closing it may result in partial loss of cached data, so please be careful.
► Check Index Library Details
Click Data Source > Log Library > Index Library, and the steps are as follows: 
• Click the
icon to customize the column setting;
• Use the search box to filter search results on target index by Index Name or Log Library.
• Select the index to be checked and click the Check in the action column to view Index Library Details, as follows.
► Index Library Filtering
• Click Index Name, Log Count, Current Storage, and Create Time for ascending and descending order.
• The display can be filtered by Hot-Warm (Hot Data Index / Warm Data Index), Index Status (Normal / Alert / Abnormal / Close).