Elasticsearch Index Naming Convention
The following types of indexes are created by DataView in Elasticsearch:
- Temporary Index
- Re-Index
- CSV Connector Index
- Save Story Board Index
- Force Index
The following table details the Elasticsearch index naming convention for Normal Index and Purge Index:
|
|
---|---|
Syntax | "cielasticsearch_" + clientID + "_" + "temp_" + userID + "_" + clientID +"-" clientID+userID + DateTimeFormat.forPattern("YYYY.MM.dd-HH.mm.ss.SSS").print(now) + "-1"; |
Example | cielasticsearch_1_temp_5001_1_15001-2022.09.13-08.24.56.542-1 |
|
|
Syntax | "cielasticsearch_" + clientID + "_" + "temp_" + userID + "_" + clientID +"-" + DateTimeFormat.forPattern("YYYY.MM.dd-HH.mm.ss.SSS").print(now) + "-1"; |
Example | cielasticsearch_1_temp_3_1-2021.10.21-05.58.11.719-1 |
|
|
Syntax | "cielasticsearch_"+ clientID +"_report"+ clientID +"_"+ generateDatasetId+ DateTimeFormat.forPattern("YYYY.MM.dd-HH.mm.ss.SSS").print(now) + "-1" |
Example | cielasticsearch_1_report_1_6176-2022.04.28-07.10-1 |
Please Note:
- In the above syntax, "now" indicates Current Date and Time.
- In the above syntax, "Mills" indicates Current Time in milliseconds.
- To identify the Normal Index name related to the Dataset, user can refer index_name column of in_direct_elastic_search table.
Provide Feedback